From fe67f603bf2bf1d52f727a88e01ac70173366b2d Mon Sep 17 00:00:00 2001 From: sno Date: Tue, 31 Jan 2012 05:51:52 +0000 Subject: add HP-UX handling for Configure parameters --- security/openssl/Makefile | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) (limited to 'security') 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" -- cgit v1.2.3