summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjoerg <joerg>2007-08-30 19:10:46 +0000
committerjoerg <joerg>2007-08-30 19:10:46 +0000
commita2eb1fa3757c65bd8b126de8f71f47b528792483 (patch)
tree9d123b4a2e2e5bbcb0ec3299d3d7ffb640a00d5d /devel
parente4c8083cb82a47ea2ceefea56d9532d97c624ba3 (diff)
downloadpkgsrc-a2eb1fa3757c65bd8b126de8f71f47b528792483.tar.gz
Don't exclude platforms. For DragonFly, set _POSIX_SOURCE instead.
Diffstat (limited to 'devel')
-rw-r--r--devel/libsetenv/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/devel/libsetenv/Makefile b/devel/libsetenv/Makefile
index 6065348bce2..606abd5ea14 100644
--- a/devel/libsetenv/Makefile
+++ b/devel/libsetenv/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2007/08/21 16:31:51 tnn Exp $
+# $NetBSD: Makefile,v 1.3 2007/08/30 19:10:46 joerg Exp $
#
DISTNAME= libsetenv-0.1
@@ -14,7 +14,11 @@ NO_CHECKSUM= yes
NO_CONFIGURE= yes
USE_LIBTOOL= yes
-NOT_FOR_PLATFORM= DragonFly-*-* Darwin-*-*
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "DragonFly"
+CFLAGS+= -D_POSIX_SOURCE
+.endif
do-extract:
cp -R ${FILESDIR} ${WRKSRC}