summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorfrueauf <frueauf@pkgsrc.org>1998-09-17 12:34:28 +0000
committerfrueauf <frueauf@pkgsrc.org>1998-09-17 12:34:28 +0000
commite1c6225922446c06a2602d74d759c6f6a7bdeed5 (patch)
tree21b3b8e0979cf91b3ba5659b4c76cc35449028a0 /security
parentb95e4921acecb61faec6da9b880085450da3fc63 (diff)
downloadpkgsrc-e1c6225922446c06a2602d74d759c6f6a7bdeed5.tar.gz
Don't hardcode install path in NetBSD.sh to /usr/pkg. Run perl from
${PREFIX}/bin/perl.
Diffstat (limited to 'security')
-rw-r--r--security/ssleay/Makefile5
-rwxr-xr-xsecurity/ssleay/files/NetBSD.sh7
2 files changed, 7 insertions, 5 deletions
diff --git a/security/ssleay/Makefile b/security/ssleay/Makefile
index 75a997f6ed1..bf0a9a6f558 100644
--- a/security/ssleay/Makefile
+++ b/security/ssleay/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 1998/09/17 00:48:02 garbled Exp $
+# $NetBSD: Makefile,v 1.5 1998/09/17 12:34:28 frueauf Exp $
# FreeBSD: Makefile,v 1.20 1998/08/27 16:38:02 markm Exp
#
@@ -22,7 +22,8 @@ CONFIGURE_SCRIPT= util/NetBSD.sh
CONFIGURE_ARGS= ${MACHINE_ARCH}
post-extract:
- ${CP} ${FILESDIR}/NetBSD.sh ${WRKSRC}/util/NetBSD.sh
+ ${SED} -e 's|@@@PREFIX@@@|${PREFIX}|g' < ${FILESDIR}/NetBSD.sh \
+ > ${WRKSRC}/util/NetBSD.sh
post-configure:
${CP} ${WRKSRC}/rsaref/rsaref.h ${WRKSRC}/include/rsaref.h
diff --git a/security/ssleay/files/NetBSD.sh b/security/ssleay/files/NetBSD.sh
index 227ad69318d..b3c0240d8c5 100755
--- a/security/ssleay/files/NetBSD.sh
+++ b/security/ssleay/files/NetBSD.sh
@@ -1,7 +1,8 @@
#!/bin/sh
+# $NetBSD: NetBSD.sh,v 1.3 1998/09/17 12:34:29 frueauf Exp $
-perl util/perlpath.pl /usr/pkg/bin
-perl util/ssldir.pl /usr/pkg
+@@@PREFIX@@@/bin/perl util/perlpath.pl @@@PREFIX@@@/bin
+@@@PREFIX@@@/bin/perl util/ssldir.pl @@@PREFIX@@@
case "$1" in
i386)
@@ -17,4 +18,4 @@ case "$1" in
echo "Not supported on this architecture, sorry."
;;
esac
-perl Configure $conf
+@@@PREFIX@@@/bin/perl Configure $conf