pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/libsetenv Don't exclude platforms. For DragonFly...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cd8cfb7398eb
branches:  trunk
changeset: 532784:cd8cfb7398eb
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Aug 30 19:10:46 2007 +0000

description:
Don't exclude platforms. For DragonFly, set _POSIX_SOURCE instead.

diffstat:

 devel/libsetenv/Makefile |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r f900700f796a -r cd8cfb7398eb devel/libsetenv/Makefile
--- a/devel/libsetenv/Makefile  Thu Aug 30 18:11:36 2007 +0000
+++ b/devel/libsetenv/Makefile  Thu Aug 30 19:10:46 2007 +0000
@@ -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_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}



Home | Main Index | Thread Index | Old Index