From 1fd1aa076de07cfe3fc738f8b56da67a99a48f78 Mon Sep 17 00:00:00 2001 From: mat Date: Wed, 14 Dec 2016 16:38:26 +0000 Subject: Fix building when libressl is not the default. PR: 215150 Sponsored by: Absolight --- net/openntpd/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'net') diff --git a/net/openntpd/Makefile b/net/openntpd/Makefile index 6378604954f4..2a6ab1b5ff92 100644 --- a/net/openntpd/Makefile +++ b/net/openntpd/Makefile @@ -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 -- cgit