summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2001-07-10 15:08:32 +0000
committertron <tron@pkgsrc.org>2001-07-10 15:08:32 +0000
commitcb49807a85d7cc529d6d1348a1f4b3410a14ae47 (patch)
tree83b701807838be220a1b116560c0fe7dd67b3865 /security
parent75d0cbc0b3d8fbe4bbd1de377adb491660f79d1b (diff)
downloadpkgsrc-cb49807a85d7cc529d6d1348a1f4b3410a14ae47.tar.gz
Add support for "SPARC_TARGET_ARCH".
Diffstat (limited to 'security')
-rw-r--r--security/openssl/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/security/openssl/Makefile b/security/openssl/Makefile
index 188a31805cc..22fbde70bac 100644
--- a/security/openssl/Makefile
+++ b/security/openssl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.41 2001/05/22 09:46:17 abs Exp $
+# $NetBSD: Makefile,v 1.42 2001/07/10 15:08:32 tron Exp $
DISTNAME= openssl-0.9.6
CATEGORIES= security
@@ -25,6 +25,7 @@ ONLY_FOR_PLATFORM= NetBSD-*-alpha NetBSD-*-arm32 NetBSD-*-i386 \
NetBSD-*-sparc NetBSD-*-vax \
SunOS-* Linux-*-*
+CONFIGURE_SCRIPT= config
CONFIGURE_ARGS= -fPIC -DPIC --openssldir=${PREFIX} --prefix=${PREFIX} \
${LDFLAGS}
CONFIGURE_ENV= CC="${CC}"
@@ -50,11 +51,16 @@ CONFIGURE_ARGS+= rsaref
PLIST_RSAREF= ${PKGDIR}/PLIST.rsaref
.endif
+.if (${OPSYS} == SunOS) && (${MACHINE_ARCH} == sparc)
+CONFIGURE_SCRIPT= Configure
+CONFIGURE_ARGS+= solaris-${SPARC_TARGET_ARCH}-${CC}
+.endif
+
# The Perl stuff doesn't work yet (nor did it work properly in SSLeay...)
do-configure:
@cd ${WRKSRC} && ${PERL5} util/perlpath.pl ${LOCALBASE}/bin
- @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./config ${CONFIGURE_ARGS}
-# @cd ${WRKSRC}/perl && ${SETENV} ${CONFIGURE_ENV} ${PERL5} Makefile.PL
+ @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} \
+ ${CONFIGURE_ARGS}
#post-build:
# @cd ${WRKSRC}/perl && ${MAKE}