diff options
author | jlam <jlam@pkgsrc.org> | 2004-01-30 10:59:14 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-01-30 10:59:14 +0000 |
commit | 22aa620838a724890dadd52fdca2107752d180c8 (patch) | |
tree | 2da0af2cc6a5f15684358a9d74a76574ae3613a9 /security | |
parent | e2c107a7e9acda75ac20ac6232c9f680c9c3fb74 (diff) | |
download | pkgsrc-22aa620838a724890dadd52fdca2107752d180c8.tar.gz |
Ensure that -lcrypt appears before -lcrypto on the command line so that
the system crypt(), which is considerably smarter than the OpenSSL crypt(),
is used.
Diffstat (limited to 'security')
-rw-r--r-- | security/openssl/buildlink3.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/security/openssl/buildlink3.mk b/security/openssl/buildlink3.mk index 7da411a6593..e6a6f4fe61e 100644 --- a/security/openssl/buildlink3.mk +++ b/security/openssl/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.7 2004/01/24 03:12:32 jlam Exp $ +# $NetBSD: buildlink3.mk,v 1.8 2004/01/30 10:59:14 jlam Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ OPENSSL_BUILDLINK3_MK:= ${OPENSSL_BUILDLINK3_MK}+ @@ -150,6 +150,12 @@ BUILDLINK_DEPENDS+= rsaref .endif .if !empty(OPENSSL_BUILDLINK3_MK:M+) +# +# Ensure that -lcrypt comes before -lcrypto when linking so that the +# system crypt() routine is used. +# +BUILDLINK_TRANSFORM+= reorder:l:crypt:crypto + SSLBASE= ${BUILDLINK_PREFIX.openssl} BUILD_DEFS+= SSLBASE |