diff options
author | dholland <dholland> | 2012-06-02 19:35:47 +0000 |
---|---|---|
committer | dholland <dholland> | 2012-06-02 19:35:47 +0000 |
commit | bea8499bfd39e477d09b23c83693d1c86109f34d (patch) | |
tree | 985de6db986a399d85057f35c7317c43478a6921 /misc/stellarium/Makefile | |
parent | c7d9003802637b8bc78c77c54550b03ffee213c9 (diff) | |
download | pkgsrc-bea8499bfd39e477d09b23c83693d1c86109f34d.tar.gz |
Use BUILDLINK_TRANSFORM to drop unsupported -W options on netbsd-5.
Diffstat (limited to 'misc/stellarium/Makefile')
-rw-r--r-- | misc/stellarium/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/misc/stellarium/Makefile b/misc/stellarium/Makefile index 413758db000..831cd8d2a3c 100644 --- a/misc/stellarium/Makefile +++ b/misc/stellarium/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.53 2012/04/11 12:10:01 drochner Exp $ +# $NetBSD: Makefile,v 1.54 2012/06/02 19:35:47 dholland Exp $ DISTNAME= stellarium-0.11.2 CATEGORIES= misc @@ -24,6 +24,11 @@ SUBST_FILES.mac= src/core/StelFileMgr.cpp SUBST_STAGE.mac= pre-configure SUBST_SED.mac= -e 's,Q_OS_MAC,Q_XX_MAC,' +.if !empty(MACHINE_PLATFORM:MNetBSD-5*) +BUILDLINK_TRANSFORM+= rm:-Wno-unused-but-set-parameter +BUILDLINK_TRANSFORM+= rm:-Wno-unused-but-set-variable +.endif + .include "../../audio/SDL_mixer/buildlink3.mk" .include "../../devel/boost-headers/buildlink3.mk" .include "../../graphics/freetype2/buildlink3.mk" |