svn commit: r428572 - head/net/openntpd

Mathieu Arnold mat at FreeBSD.org
Wed Dec 14 16:38:28 UTC 2016


Author: mat
Date: Wed Dec 14 16:38:26 2016
New Revision: 428572
URL: https://svnweb.freebsd.org/changeset/ports/428572

Log:
  Fix building when libressl is not the default.
  
  PR:		215150
  Sponsored by:	Absolight

Modified:
  head/net/openntpd/Makefile   (contents, props changed)

Modified: head/net/openntpd/Makefile
==============================================================================
--- head/net/openntpd/Makefile	Wed Dec 14 16:13:31 2016	(r428571)
+++ head/net/openntpd/Makefile	Wed Dec 14 16:38:26 2016	(r428572)
@@ -48,9 +48,11 @@ LDFLAGS+=	-fstack-protector
 LIBS+=		-lssp_nonshared
 . endif
 
+# Don't use COPYTREE_SHARE here as it hard links files, and the original files
+# are owned by root, which creates problems of its own.
 pre-configure:
-	@cd `${MAKE} -V STAGEDIR -C ${PORTSDIR}/security/libressl`${LOCALBASE} \
-	    && ${COPYTREE_SHARE} . ${WRKDIR}/libressl "! -name *.so*"
+	@cd `${MAKE} -V STAGEDIR -C ${PORTSDIR}/security/libressl`${PREFIX} \
+	    && ${FIND} -E . ! -name *.so\* | ${CPIO} -dump ${WRKDIR}/libressl >/dev/null 2>&1
 .endif # SSL_DEFAULT
 
 .include <bsd.port.post.mk>


More information about the svn-ports-head mailing list