2016-03-05 12:27:40 +01:00
|
|
|
# $NetBSD: buildlink3.mk,v 1.51 2016/03/05 11:27:55 jperkin Exp $
|
2004-01-04 00:06:43 +01:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
BUILDLINK_TREE+= openssl
|
2004-01-04 00:06:43 +01:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
.if !defined(OPENSSL_BUILDLINK3_MK)
|
|
|
|
OPENSSL_BUILDLINK3_MK:=
|
2008-01-05 21:41:25 +01:00
|
|
|
|
|
|
|
. include "../../mk/bsd.fast.prefs.mk"
|
|
|
|
|
2014-02-13 00:16:21 +01:00
|
|
|
BUILDLINK_API_DEPENDS.openssl+= openssl>=1.0.1c
|
2016-03-05 12:27:40 +01:00
|
|
|
BUILDLINK_ABI_DEPENDS.openssl+= openssl>=1.0.2gnb1
|
2004-03-10 18:57:14 +01:00
|
|
|
BUILDLINK_PKGSRCDIR.openssl?= ../../security/openssl
|
|
|
|
|
2004-01-30 11:59:14 +01:00
|
|
|
# Ensure that -lcrypt comes before -lcrypto when linking so that the
|
|
|
|
# system crypt() routine is used.
|
|
|
|
#
|
2013-04-03 13:56:20 +02:00
|
|
|
.if ${OPSYS} != "Cygwin"
|
2004-12-03 21:33:18 +01:00
|
|
|
WRAPPER_REORDER_CMDS+= reorder:l:crypt:crypto
|
2013-04-03 13:56:20 +02:00
|
|
|
.endif
|
2004-01-30 11:59:14 +01:00
|
|
|
|
2004-01-04 00:06:43 +01:00
|
|
|
SSLBASE= ${BUILDLINK_PREFIX.openssl}
|
|
|
|
BUILD_DEFS+= SSLBASE
|
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
.endif # OPENSSL_BUILDLINK3_MK
|
2004-01-04 00:06:43 +01:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
BUILDLINK_TREE+= -openssl
|