pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/libressl Add buildlink3.mk that passes throug...
details: https://anonhg.NetBSD.org/pkgsrc/rev/03b03c780053
branches: trunk
changeset: 349080:03b03c780053
user: wiz <wiz%pkgsrc.org@localhost>
date: Sun Jun 26 21:36:06 2016 +0000
description:
Add buildlink3.mk that passes through directories and adds them to the
preprocessor and linker flags.
diffstat:
security/libressl/buildlink3.mk | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
diffs (21 lines):
diff -r bed8b5bb710d -r 03b03c780053 security/libressl/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/libressl/buildlink3.mk Sun Jun 26 21:36:06 2016 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index