summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorjlam <jlam>2005-06-11 22:16:15 +0000
committerjlam <jlam>2005-06-11 22:16:15 +0000
commit41fc832da1b9f65ed2cca62a2f4388553ee0c117 (patch)
treec98ab223ca51db1f57194771c6c0278022eab86c /security
parent4234e789c062a6c7e5f20cada30b470d583a55b1 (diff)
downloadpkgsrc-41fc832da1b9f65ed2cca62a2f4388553ee0c117.tar.gz
Some shells don't accept empty word lists in for loops. For those
Makefiles where this occurs, edit the file so that we avoid running the loop. This should fix PR pkg/28809.
Diffstat (limited to 'security')
-rw-r--r--security/openssl/Makefile17
1 files changed, 16 insertions, 1 deletions
diff --git a/security/openssl/Makefile b/security/openssl/Makefile
index 63589735257..db5a1188da6 100644
--- a/security/openssl/Makefile
+++ b/security/openssl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.104 2005/05/22 20:08:30 jlam Exp $
+# $NetBSD: Makefile,v 1.105 2005/06/11 22:16:15 jlam Exp $
OPENSSL_SNAPSHOT?= # empty
OPENSSL_STABLE?= # empty
@@ -90,7 +90,22 @@ CONF_FILES= ${PREFIX}/share/examples/openssl/openssl.cnf \
${PKG_SYSCONFDIR}/openssl.cnf
OWN_DIRS= ${PKG_SYSCONFDIR}/certs ${PKG_SYSCONFDIR}/private
+# Some shells don't accept empty word lists in for loops. For those
+# Makefiles where this occurs, edit the file so that we avoid running
+# the loop.
+#
+# Also, fix the path to perl in various scripts.
+#
pre-configure:
+ cd ${WRKSRC}; for file in \
+ fips/aes/Makefile fips/des/Makefile \
+ fips/dh/Makefile fips/dsa/Makefile \
+ fips/rsa/Makefile fips/sha1/Makefile; \
+ do \
+ ${MV} -f $$file $$file.preawk; \
+ ${AWK} '/^install:/ { printf "install:\n\nnot-install:\n"; next } { print }' \
+ $$file.preawk > $$file; \
+ done
cd ${WRKSRC} && ${PERL5} util/perlpath.pl ${PERL5}
.include "../../mk/bsd.pkg.mk"