pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

p11-kit: cleaned up Makefile



Module Name:	pkgsrc-wip
Committed By:	coypu <coypu%sdf.org@localhost>
Pushed By:	coypu
Date:		Thu Jan 28 11:53:11 2016 +0200
Changeset:	d2d7063f7cde0213fb2d96f958fedecf241229f1

Modified Files:
	p11-kit/Makefile

Log Message:
p11-kit: cleaned up Makefile

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d2d7063f7cde0213fb2d96f958fedecf241229f1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 p11-kit/Makefile | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diffs:
diff --git a/p11-kit/Makefile b/p11-kit/Makefile
index 2f93189..3762dc3 100644
--- a/p11-kit/Makefile
+++ b/p11-kit/Makefile
@@ -21,11 +21,13 @@ PKG_SYSCONFSUBDIR=	pkcs11
 CONF_FILES+=		share/examples/p11-kit/pkcs11.conf.example \
 			${PKG_SYSCONFDIR}/pkcs11.conf
 
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "NetBSD"
+CFLAGS+=	-D_NETBSD_SOURCE
+.endif
+
 BUILDLINK_API_DEPENDS.libtasn1+=	libtasn1>=2.3
 .include "../../security/libtasn1/buildlink3.mk"
 BUILDLINK_API_DEPENDS.libffi+=		libffi>=3.0.0
 .include "../../devel/libffi/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
-.if ${OPSYS} == "NetBSD"
-CFLAGS+=	-D_NETBSD_SOURCE
-.endif


Home | Main Index | Thread Index | Old Index