diff options
author | markd <markd@pkgsrc.org> | 2011-01-25 11:39:33 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2011-01-25 11:39:33 +0000 |
commit | e3fd9fdc5595e210452472216c9413b88696b504 (patch) | |
tree | 59fca4fa4a73c71c073fcd84062dcfaf14e87138 | |
parent | 75bd29242d32d8670d9c5f28c459b33bba58a4ac (diff) | |
download | pkgsrc-e3fd9fdc5595e210452472216c9413b88696b504.tar.gz |
Add -D_GNU_SOURCE to CFLAGS on linux so that when configure decides to
set NATIVE_GNU_REGEX the code actually builds.
-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 |