Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Dec 2016 16:38:27 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r428572 - head/net/openntpd
Message-ID:  <201612141638.uBEGcRPa003870@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



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