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 | 18034daa60b35e7bb2e250e61c1c16e0c5d36368 (patch) | |
tree | 2da0af2cc6a5f15684358a9d74a76574ae3613a9 /security/openssl | |
parent | 80ff4702a10285aafc7a4aab97156097414e4085 (diff) | |
download | pkgsrc-18034daa60b35e7bb2e250e61c1c16e0c5d36368.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/openssl')
-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 |