summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorsno <sno@pkgsrc.org>2012-01-31 05:51:52 +0000
committersno <sno@pkgsrc.org>2012-01-31 05:51:52 +0000
commitfe67f603bf2bf1d52f727a88e01ac70173366b2d (patch)
tree59679dac058ca53cea957488602ac7ccd37017d9 /security
parent34e1efe8c3897698f4f08ef45dcc541902dd38ab (diff)
downloadpkgsrc-fe67f603bf2bf1d52f727a88e01ac70173366b2d.tar.gz
add HP-UX handling for Configure parameters
Diffstat (limited to 'security')
-rw-r--r--security/openssl/Makefile21
1 files changed, 20 insertions, 1 deletions
diff --git a/security/openssl/Makefile b/security/openssl/Makefile
index 796e1a03ee5..ca29e6563ec 100644
--- a/security/openssl/Makefile
+++ b/security/openssl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.160 2012/01/19 00:51:23 taca Exp $
+# $NetBSD: Makefile,v 1.161 2012/01/31 05:51:52 sno Exp $
OPENSSL_SNAPSHOT?= # empty
OPENSSL_STABLE?= # empty
@@ -108,6 +108,25 @@ SUBST_CLASSES+= soname
SUBST_STAGE.soname= post-configure
SUBST_FILES.soname= Makefile.shared
SUBST_SED.soname= -e 's/-Wl,-soname=/-Wl,-h,/g'
+
+.elif ${OPSYS} == "HPUX"
+
+CONFIGURE_SCRIPT= ./Configure
+
+. if ${ABI} == "64"
+. if ${MACHINE_ARCH} == "hppa"
+CONFIGURE_ARGS+= hpux64-parisc2-${CC}
+. else
+CONFIGURE_ARGS+= hpux64-ia64-${CC}
+. endif
+. else
+. if ${MACHINE_ARCH} == "hppa"
+CONFIGURE_ARGS+= hpux-parisc-${CC}
+. else
+CONFIGURE_ARGS+= hpux-ia64-${CC}
+. endif
+. endif
+
.endif
.include "../../security/openssl/options.mk"