pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/stellarium Use BUILDLINK_TRANSFORM to drop unsupp...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1b468e2cd4a0
branches:  trunk
changeset: 604714:1b468e2cd4a0
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Sat Jun 02 19:35:47 2012 +0000

description:
Use BUILDLINK_TRANSFORM to drop unsupported -W options on netbsd-5.

diffstat:

 misc/stellarium/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 69863d76bea1 -r 1b468e2cd4a0 misc/stellarium/Makefile
--- a/misc/stellarium/Makefile  Sat Jun 02 19:28:05 2012 +0000
+++ b/misc/stellarium/Makefile  Sat Jun 02 19:35:47 2012 +0000
@@ -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_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"



Home | Main Index | Thread Index | Old Index