mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
27 lines
649 B
Makefile
27 lines
649 B
Makefile
# $NetBSD: buildlink3.mk,v 1.51 2016/03/05 11:27:55 jperkin Exp $
|
|
|
|
BUILDLINK_TREE+= openssl
|
|
|
|
.if !defined(OPENSSL_BUILDLINK3_MK)
|
|
OPENSSL_BUILDLINK3_MK:=
|
|
|
|
. include "../../mk/bsd.fast.prefs.mk"
|
|
|
|
BUILDLINK_API_DEPENDS.openssl+= openssl>=1.0.1c
|
|
BUILDLINK_ABI_DEPENDS.openssl+= openssl>=1.0.2gnb1
|
|
BUILDLINK_PKGSRCDIR.openssl?= ../../security/openssl
|
|
|
|
# Ensure that -lcrypt comes before -lcrypto when linking so that the
|
|
# system crypt() routine is used.
|
|
#
|
|
.if ${OPSYS} != "Cygwin"
|
|
WRAPPER_REORDER_CMDS+= reorder:l:crypt:crypto
|
|
.endif
|
|
|
|
SSLBASE= ${BUILDLINK_PREFIX.openssl}
|
|
BUILD_DEFS+= SSLBASE
|
|
|
|
.endif # OPENSSL_BUILDLINK3_MK
|
|
|
|
BUILDLINK_TREE+= -openssl
|