summaryrefslogtreecommitdiff
path: root/x11/gtksourceview
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2011-01-25 11:39:33 +0000
committermarkd <markd@pkgsrc.org>2011-01-25 11:39:33 +0000
commite3fd9fdc5595e210452472216c9413b88696b504 (patch)
tree59fca4fa4a73c71c073fcd84062dcfaf14e87138 /x11/gtksourceview
parent75bd29242d32d8670d9c5f28c459b33bba58a4ac (diff)
downloadpkgsrc-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.
Diffstat (limited to 'x11/gtksourceview')
-rw-r--r--x11/gtksourceview/Makefile4
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