diff options
author | wiz <wiz@pkgsrc.org> | 2016-06-26 21:36:06 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2016-06-26 21:36:06 +0000 |
commit | 99e4f9895b15746e36c5e0bc93f961741b35a9d9 (patch) | |
tree | 29499d289f208332498c9ff55fa9f5444fa159da /security/libressl | |
parent | 6cb7b6fbc4e54edf8d3b9f93ef6835847cb46364 (diff) | |
download | pkgsrc-99e4f9895b15746e36c5e0bc93f961741b35a9d9.tar.gz |
Add buildlink3.mk that passes through directories and adds them to the
preprocessor and linker flags.
Diffstat (limited to 'security/libressl')
-rw-r--r-- | security/libressl/buildlink3.mk | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/security/libressl/buildlink3.mk b/security/libressl/buildlink3.mk new file mode 100644 index 00000000000..63de104837d --- /dev/null +++ b/security/libressl/buildlink3.mk @@ -0,0 +1,17 @@ +# $NetBSD: buildlink3.mk,v 1.1 2016/06/26 21:36:06 wiz Exp $ + +BUILDLINK_TREE+= libressl + +.if !defined(LIBRESSL_BUILDLINK3_MK) +LIBRESSL_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.libressl+= libressl>=2.2.6 +BUILDLINK_PKGSRCDIR.libressl?= ../../security/libressl + +BUILDLINK_PASSTHRU_DIRS+= libressl/include +BUILDLINK_PASSTHRU_DIRS+= libressl/lib +CPPFLAGS+= -I${PREFIX}/libressl/include +LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/libressl/lib -L${PREFIX}/libressl/lib +.endif # LIBRESSL_BUILDLINK3_MK + +BUILDLINK_TREE+= -libressl |