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