pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/libvisual gcc 2.95 does not understand -Wno-unus...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b37a90d36a45
branches:  trunk
changeset: 483482:b37a90d36a45
user:      kristerw <kristerw%pkgsrc.org@localhost>
date:      Fri Nov 12 20:18:27 2004 +0000

description:
gcc 2.95 does not understand -Wno-unused-variable.  Use BUILDLINK_TRANSFORM
to remove it.

diffstat:

 audio/libvisual/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 53acb385594d -r b37a90d36a45 audio/libvisual/Makefile
--- a/audio/libvisual/Makefile  Fri Nov 12 19:50:10 2004 +0000
+++ b/audio/libvisual/Makefile  Fri Nov 12 20:18:27 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2004/11/05 20:55:48 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2004/11/12 20:18:27 kristerw Exp $
 #
 
 DISTNAME=              libvisual-0.1.7
@@ -15,6 +15,9 @@
 PKGCONFIG_OVERRIDE+=   ${WRKSRC}/libvisual.pc.in
 GNU_CONFIGURE=         yes
 
+# Remove option that gcc 2.95 does not understand.
+BUILDLINK_TRANSFORM+=  rm:-Wno-unused-variable
+
 .include "../../devel/pkgconfig/buildlink3.mk"
 .include "../../graphics/MesaLib/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index