summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorexplorer <explorer>1998-09-05 00:00:06 +0000
committerexplorer <explorer>1998-09-05 00:00:06 +0000
commitd03bc522609d59e203cc611ebfc74f11f07648e9 (patch)
tree48dc9d07f5e65a230c6b2a22be5cac83b8d93641 /security
parentf12e2102bc175b4e0ab0ac8be0371d846497d0d0 (diff)
downloadpkgsrc-d03bc522609d59e203cc611ebfc74f11f07648e9.tar.gz
clean up how arch's are dealt with by adding ONLY_FOR_ARCHS= and
passing the MACHINE_ARCH off to the config script
Diffstat (limited to 'security')
-rw-r--r--security/ssleay/Makefile4
-rwxr-xr-xsecurity/ssleay/files/NetBSD.sh2
2 files changed, 4 insertions, 2 deletions
diff --git a/security/ssleay/Makefile b/security/ssleay/Makefile
index 70de9acbcca..6b1a6358633 100644
--- a/security/ssleay/Makefile
+++ b/security/ssleay/Makefile
@@ -1,6 +1,6 @@
# Eric Young's SSL/Crypto Library
# FreeBSD: Makefile,v 1.20 1998/08/27 16:38:02 markm Exp
-# $NetBSD: Makefile,v 1.1.1.1 1998/09/04 22:00:33 explorer Exp $
+# $NetBSD: Makefile,v 1.2 1998/09/05 00:00:06 explorer Exp $
#
DISTNAME= SSLeay-0.9.0b
@@ -10,6 +10,7 @@ MASTER_SITES= ftp://psych.psy.uq.oz.au/pub/Crypto/SSL/
MAINTAINER= explorer@netbsd.org
HOMEPAGE= http://www.psy.uq.oz.au/~ftp/Crypto/
+ONLY_FOR_ARCHS= i386 sparc m68k
DEPENDS= rsaref-2.0:../../security/rsaref
USE_PERL5= yes
@@ -19,6 +20,7 @@ MIRROR_DISTFILE= no
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= util/NetBSD.sh
+CONFIGURE_ARGS= ${MACHINE_ARCH}
post-extract:
${CP} ${FILESDIR}/NetBSD.sh ${WRKSRC}/util/NetBSD.sh
diff --git a/security/ssleay/files/NetBSD.sh b/security/ssleay/files/NetBSD.sh
index 1416c967d18..227ad69318d 100755
--- a/security/ssleay/files/NetBSD.sh
+++ b/security/ssleay/files/NetBSD.sh
@@ -3,7 +3,7 @@
perl util/perlpath.pl /usr/pkg/bin
perl util/ssldir.pl /usr/pkg
-case `uname -m` in
+case "$1" in
i386)
conf=NetBSD-x86
;;