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 /devel/atk | |
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 'devel/atk')
-rw-r--r-- | devel/atk/Makefile | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/devel/atk/Makefile b/devel/atk/Makefile index f27c7821851..eb344aa9ae6 100644 --- a/devel/atk/Makefile +++ b/devel/atk/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.57 2006/10/17 16:51:42 drochner Exp $ +# $NetBSD: Makefile,v 1.58 2006/12/02 22:32:59 jschauma Exp $ # DISTNAME= atk-1.12.3 @@ -16,6 +16,7 @@ PKG_DESTDIR_SUPPORT= user-destdir USE_TOOLS+= gmake pkg-config msgfmt GNU_CONFIGURE= yes USE_PKGLOCALEDIR= yes +USE_LANGUAGES+= c99 USE_LIBTOOL= yes PKGCONFIG_OVERRIDE= atk.pc.in @@ -27,12 +28,6 @@ UNLIMIT_RESOURCES= stacksize BUILDLINK_API_DEPENDS.glib2+= glib2>=2.6.3 -.include "../../mk/compiler.mk" - -.if !empty(PKGSRC_COMPILER:Mmipspro*) -CFLAGS+= -c99 -.endif - .include "../../devel/gettext-lib/buildlink3.mk" .include "../../devel/glib2/buildlink3.mk" |