Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Oct 2016 09:48:33 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r424554 - head/lang/erlang-java
Message-ID:  <201610240948.u9O9mXM4051384@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Oct 24 09:48:33 2016
New Revision: 424554
URL: https://svnweb.freebsd.org/changeset/ports/424554

Log:
  - Fix build on 9.x (no need to remove empty dirs)
  - Switch to options helpers
  
  Approved by:	portmgr blanket

Modified:
  head/lang/erlang-java/Makefile

Modified: head/lang/erlang-java/Makefile
==============================================================================
--- head/lang/erlang-java/Makefile	Mon Oct 24 09:43:02 2016	(r424553)
+++ head/lang/erlang-java/Makefile	Mon Oct 24 09:48:33 2016	(r424554)
@@ -70,11 +70,10 @@ do-install:
 	cd ${WRKSRC}/lib/jinterface && ${COPYTREE_SHARE} ebin ${STAGEDIR}${APP_DIR}
 	cd ${WRKSRC}/lib/jinterface && ${COPYTREE_SHARE} java_src ${STAGEDIR}${APP_DIR}
 	${INSTALL_DATA} ${WRKSRC}/lib/jinterface/priv/OtpErlang.jar ${STAGEDIR}${APP_DIR}/priv
-.if ${PORT_OPTIONS:MDOCS}
+
+do-install-DOCS-on:
 	cd ${WRKSRC}/lib/jinterface && ${COPYTREE_SHARE} doc ${STAGEDIR}${APP_DIR}
 	${TAR} --unlink -xzpf ${DISTDIR}/${DIST_SUBDIR}/${ERLANG_DOCS} \
 		-C ${STAGEDIR}${PREFIX}/lib/erlang lib/jinterface-${APP_VERSION}
-.endif
-	${FIND} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/* -type d -empty -delete
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610240948.u9O9mXM4051384>