pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/openssl Some shells don't accept empty word l...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/142526669522
branches:  trunk
changeset: 495500:142526669522
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sat Jun 11 22:16:15 2005 +0000

description:
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:

 security/openssl/Makefile |  17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r 56aebf44bb12 -r 142526669522 security/openssl/Makefile
--- a/security/openssl/Makefile Sat Jun 11 21:57:11 2005 +0000
+++ b/security/openssl/Makefile Sat Jun 11 22:16:15 2005 +0000
@@ -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 @@
                        ${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"



Home | Main Index | Thread Index | Old Index