diff options
author | markd <markd> | 2011-01-25 11:39:33 +0000 |
---|---|---|
committer | markd <markd> | 2011-01-25 11:39:33 +0000 |
commit | 93be4dd650dfc93b54b5d6d5d0081269bb9881dd (patch) | |
tree | 59fca4fa4a73c71c073fcd84062dcfaf14e87138 /x11 | |
parent | 523cab99532a5747829f818016a993359ca8ba97 (diff) | |
download | pkgsrc-93be4dd650dfc93b54b5d6d5d0081269bb9881dd.tar.gz |
Add -D_GNU_SOURCE to CFLAGS on linux so that when configure decides to
set NATIVE_GNU_REGEX the code actually builds.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/gtksourceview/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/x11/gtksourceview/Makefile b/x11/gtksourceview/Makefile index f21ebb026b3..d988b4ea5f2 100644 --- a/x11/gtksourceview/Makefile +++ b/x11/gtksourceview/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.54 2011/01/13 13:36:26 wiz Exp $ +# $NetBSD: Makefile,v 1.55 2011/01/25 11:39:33 markd Exp $ # DISTNAME= gtksourceview-1.8.5 @@ -19,6 +19,8 @@ USE_LIBTOOL= yes USE_PKGLOCALEDIR= yes USE_TOOLS+= gmake intltool msgfmt perl pkg-config +CFLAGS.Linux+= -D_GNU_SOURCE + PKGCONFIG_OVERRIDE= gtksourceview-1.0.pc.in CONFIGURE_ARGS+= --disable-build-tests |