diff options
author | frueauf <frueauf> | 1998-09-17 12:34:28 +0000 |
---|---|---|
committer | frueauf <frueauf> | 1998-09-17 12:34:28 +0000 |
commit | 2938d2fa47378d0bb45f8a60eb36344548dd01ac (patch) | |
tree | 21b3b8e0979cf91b3ba5659b4c76cc35449028a0 /security | |
parent | f3b5d294f29d28240658b32184710a51492a15a4 (diff) | |
download | pkgsrc-2938d2fa47378d0bb45f8a60eb36344548dd01ac.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/Makefile | 5 | ||||
-rwxr-xr-x | security/ssleay/files/NetBSD.sh | 7 |
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 |