diff options
author | grant <grant@pkgsrc.org> | 2005-01-18 10:25:17 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2005-01-18 10:25:17 +0000 |
commit | 70203a9abbd12c55a3ea7ef18c3b5c75cd60c027 (patch) | |
tree | e95668faa2ce4fdb82e45d73299033236305c05c /security/openssl | |
parent | 94fe2667873e3efeecd49fc6286197f9c86a60af (diff) | |
download | pkgsrc-70203a9abbd12c55a3ea7ef18c3b5c75cd60c027.tar.gz |
when building with SunPro on x86, do not use -fast argument to cc(1)
because:
- its behaviour changes between releases
- it uses build-host specific instructions where possible,
specifically on >= Solaris 9 update 6 and Sun Studio 9 (sse, sse2)
this breaks using the binary pkg when installed on systems with a
less capable processor. instead, just use -xO5 so the binary pkg will
work everywhere.
Diffstat (limited to 'security/openssl')
-rw-r--r-- | security/openssl/distinfo | 4 | ||||
-rw-r--r-- | security/openssl/patches/patch-ac | 13 |
2 files changed, 13 insertions, 4 deletions
diff --git a/security/openssl/distinfo b/security/openssl/distinfo index eb17ea5c04f..4d5806a321d 100644 --- a/security/openssl/distinfo +++ b/security/openssl/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.41 2005/01/13 18:33:48 jlam Exp $ +$NetBSD: distinfo,v 1.42 2005/01/18 10:25:17 grant Exp $ SHA1 (openssl-0.9.7e.tar.gz) = b2eb7f13cc09655ec2378c3dde3025bf7072af54 Size (openssl-0.9.7e.tar.gz) = 3043231 bytes SHA1 (patch-aa) = 5ab4ec9fdf15c9ded6a6205dc4801e053b3769fc -SHA1 (patch-ac) = e8e4802c2773f0c54886032f3c8438d2af3ad05b +SHA1 (patch-ac) = f470b63fe24795cb7bbb566262e8ae0b32404a05 SHA1 (patch-ad) = 3d0a5534c6946aeda219d670f241a01e72d86c6a SHA1 (patch-ae) = cb3ce622ef9efc4098d57b10059e5424272520c8 SHA1 (patch-af) = 6e1c0f674be9b0358b1e152b50eb5bc47f2fff17 diff --git a/security/openssl/patches/patch-ac b/security/openssl/patches/patch-ac index b3d914fa246..a68def8d8c4 100644 --- a/security/openssl/patches/patch-ac +++ b/security/openssl/patches/patch-ac @@ -1,7 +1,16 @@ -$NetBSD: patch-ac,v 1.25 2005/01/13 18:33:48 jlam Exp $ +$NetBSD: patch-ac,v 1.26 2005/01/18 10:25:17 grant Exp $ ---- Configure.orig Fri Oct 1 07:34:28 2004 +--- Configure.orig 2004-10-01 21:34:28.000000000 +1000 +++ Configure +@@ -171,7 +171,7 @@ my %table=( + "solaris-x86-gcc","gcc:-O3 -fomit-frame-pointer -m486 -Wall -DL_ENDIAN -DOPENSSL_NO_INLINE_ASM::-D_REENTRANT::-lsocket -lnsl -ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:solaris-shared:-fPIC:-shared:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", + + #### Solaris x86 with Sun C setups +-"solaris-x86-cc","cc:-fast -O -Xa::-D_REENTRANT::-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_PTR DES_UNROLL BF_PTR::::::::::dlfcn:solaris-shared:-KPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", ++"solaris-x86-cc","cc:-xO5 -Xa::-D_REENTRANT::-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_PTR DES_UNROLL BF_PTR::::::::::dlfcn:solaris-shared:-KPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", + + #### SPARC Solaris with GNU C setups + "solaris-sparcv7-gcc","gcc:-O3 -fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W::-D_REENTRANT::-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR::::::::::dlfcn:solaris-shared:-fPIC:-shared:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", @@ -400,9 +400,23 @@ my %table=( "linux-ia64", "gcc:-DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK RC4_CHAR:asm/ia64.o:::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", "linux-ia64-ecc", "ecc:-DL_ENDIAN -DTERMIO -O2 -Wall::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK RC4_CHAR:asm/ia64.o:::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", |