diff options
author | hans <hans@pkgsrc.org> | 2012-03-21 19:58:47 +0000 |
---|---|---|
committer | hans <hans@pkgsrc.org> | 2012-03-21 19:58:47 +0000 |
commit | ef20c3a0b9514eb2500819c1b9c3ba31022946dc (patch) | |
tree | 5e522da2f07105adfecefeeebc2eb56add51419c /x11/gtk3/Makefile | |
parent | 3456506ba814d003a3bb1e4271f89b19bc23b2bd (diff) | |
download | pkgsrc-ef20c3a0b9514eb2500819c1b9c3ba31022946dc.tar.gz |
Don't override an existing _XOPEN_SOURCE definition. Define it on SunOS
to make this build with std=gnu99.
Diffstat (limited to 'x11/gtk3/Makefile')
-rw-r--r-- | x11/gtk3/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/x11/gtk3/Makefile b/x11/gtk3/Makefile index 6b0ed47cf67..c55ad9b743c 100644 --- a/x11/gtk3/Makefile +++ b/x11/gtk3/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2012/03/21 12:21:56 drochner Exp $ +# $NetBSD: Makefile,v 1.18 2012/03/21 19:58:47 hans Exp $ DISTNAME= gtk+-3.2.4 PKGNAME= ${DISTNAME:S/gtk/gtk3/} @@ -56,6 +56,8 @@ BUILD_DEPENDS+= grep-[0-9]*:../../textproc/grep TOOLS_PATH.grep= ${LOCALBASE}/bin/${GNU_PROGRAM_PREFIX}grep .endif +CFLAGS.SunOS+= -std=gnu99 -D_XOPEN_SOURCE=600 + CPPFLAGS+= -DPREFIX="\"${PREFIX}\"" # We remove the module databases during post-install since we create them |