pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/openssl add HP-UX handling for Configure para...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3a9553655a84
branches:  trunk
changeset: 598813:3a9553655a84
user:      sno <sno%pkgsrc.org@localhost>
date:      Tue Jan 31 05:51:52 2012 +0000

description:
add HP-UX handling for Configure parameters

diffstat:

 security/openssl/Makefile |  21 ++++++++++++++++++++-
 1 files changed, 20 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r 896ce3246f5b -r 3a9553655a84 security/openssl/Makefile
--- a/security/openssl/Makefile Tue Jan 31 02:45:46 2012 +0000
+++ b/security/openssl/Makefile Tue Jan 31 05:51:52 2012 +0000
@@ -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_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"



Home | Main Index | Thread Index | Old Index