diff options
author | dholland <dholland@pkgsrc.org> | 2012-06-02 19:35:47 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2012-06-02 19:35:47 +0000 |
commit | 5fc92ebf9bdaf55d6639e8aa9a2d745124e5279e (patch) | |
tree | 985de6db986a399d85057f35c7317c43478a6921 /misc | |
parent | 754192a7f245b7430e61aa955c33c5c8faf7b15c (diff) | |
download | pkgsrc-5fc92ebf9bdaf55d6639e8aa9a2d745124e5279e.tar.gz |
Use BUILDLINK_TRANSFORM to drop unsupported -W options on netbsd-5.
Diffstat (limited to 'misc')
-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" |