diff options
author | jschauma <jschauma> | 2006-12-02 22:32:59 +0000 |
---|---|---|
committer | jschauma <jschauma> | 2006-12-02 22:32:59 +0000 |
commit | 6538aefdf7e668723a29797158b522ad24f1c6db (patch) | |
tree | 97923b6df098fa627f577ea81af4285038c9d84a /x11/gtk/Makefile | |
parent | 3398d954c0156c67233b4427d1a6ee2839a239ec (diff) | |
download | pkgsrc-6538aefdf7e668723a29797158b522ad24f1c6db.tar.gz |
Instead of setting compiler flags in each package if it uses C99,
allow USE_LANGUAGES+=c99 and let gcc and mipspro do the right thing.
May need to be reviewed/added for other compilers.
ok rillig@
Diffstat (limited to 'x11/gtk/Makefile')
-rw-r--r-- | x11/gtk/Makefile | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/x11/gtk/Makefile b/x11/gtk/Makefile index dfb6aad60b6..61317183725 100644 --- a/x11/gtk/Makefile +++ b/x11/gtk/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.119 2006/06/15 20:40:16 jlam Exp $ +# $NetBSD: Makefile,v 1.120 2006/12/02 22:33:00 jschauma Exp $ DISTNAME= gtk+-1.2.10 PKGREVISION= 9 @@ -20,6 +20,7 @@ USE_DIRS+= xdg-1.1 USE_X11BASE= yes USE_TOOLS+= gmake msgfmt perl USE_PKGLOCALEDIR= yes +USE_LANGUAGES+= c99 USE_LIBTOOL= yes PKGCONFIG_OVERRIDE= gdk.pc.in PKGCONFIG_OVERRIDE+= gtk+.pc.in @@ -44,12 +45,6 @@ GTK_MAJOR_VERSION= ${GTK_VERSION:C/\..*//} GTK_MINOR_VERSION= ${GTK_VERSION:C/[^.]*\.//:C/\..*//} GTK_MICRO_VERSION= ${GTK_VERSION:C/.*\.//} -.include "../../mk/compiler.mk" - -.if !empty(PKGSRC_COMPILER:Mmipspro*) -CFLAGS+= -c99 -.endif - # We patch the version info in the configure scripts for reasons related to # shared library numbering, but we don't want it to leak into the various # installed files. Explicitly replace the version number with the correct |