pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/musicbrainz strip -lstdc++ if not using gcc.
details: https://anonhg.NetBSD.org/pkgsrc/rev/d7d74cd65017
branches: trunk
changeset: 498343:d7d74cd65017
user: grant <grant%pkgsrc.org@localhost>
date: Sat Aug 20 11:17:52 2005 +0000
description:
strip -lstdc++ if not using gcc.
diffstat:
audio/musicbrainz/Makefile | 8 +++++++-
audio/musicbrainz/distinfo | 3 ++-
audio/musicbrainz/patches/patch-ab | 11 +++++++++++
3 files changed, 20 insertions(+), 2 deletions(-)
diffs (48 lines):
diff -r a1cb8738cff8 -r d7d74cd65017 audio/musicbrainz/Makefile
--- a/audio/musicbrainz/Makefile Sat Aug 20 11:14:47 2005 +0000
+++ b/audio/musicbrainz/Makefile Sat Aug 20 11:17:52 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2005/08/10 20:56:12 jlam Exp $
+# $NetBSD: Makefile,v 1.15 2005/08/20 11:17:52 grant Exp $
DISTNAME= libmusicbrainz-2.1.1
PKGNAME= ${DISTNAME:S/lib//}
@@ -20,5 +20,11 @@
CONFIGURE_ARGS+= --enable-cpp-headers
+.include "../../mk/compiler.mk"
+
+.if empty(CC_VERSION:Mgcc*)
+BUILDLINK_TRANSFORM+= rm:-lstdc++
+.endif
+
.include "../../textproc/expat/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r a1cb8738cff8 -r d7d74cd65017 audio/musicbrainz/distinfo
--- a/audio/musicbrainz/distinfo Sat Aug 20 11:14:47 2005 +0000
+++ b/audio/musicbrainz/distinfo Sat Aug 20 11:17:52 2005 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.7 2005/02/23 20:39:50 agc Exp $
+$NetBSD: distinfo,v 1.8 2005/08/20 11:17:52 grant Exp $
SHA1 (libmusicbrainz-2.1.1.tar.gz) = 83fb98534da266eb8c87d0cc14fb5f95a5feb37c
RMD160 (libmusicbrainz-2.1.1.tar.gz) = 9592c9e697087685b8937fe03dfb8e6f7d9b5860
Size (libmusicbrainz-2.1.1.tar.gz) = 528162 bytes
SHA1 (patch-aa) = 46b43c389f4445b5e7175041131cbdb0d6506b01
+SHA1 (patch-ab) = 0d81af6efb8fc2557a1b92d304deaf5499615e35
diff -r a1cb8738cff8 -r d7d74cd65017 audio/musicbrainz/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/musicbrainz/patches/patch-ab Sat Aug 20 11:17:52 2005 +0000
@@ -0,0 +1,11 @@
+$NetBSD: patch-ab,v 1.1 2005/08/20 11:17:52 grant Exp $
+
+--- libmusicbrainz.pc.in.orig 2004-01-11 20:26:17.000000000 +1100
++++ libmusicbrainz.pc.in
+@@ -7,5 +7,5 @@ Name: libmusicbrainz
+ Description: The Musicbrainz Client Library.
+ Version: @VERSION@
+ Requires:
+-Libs: -L${libdir} -lmusicbrainz -lstdc++ -lm
++Libs: -L${libdir} -lmusicbrainz -lm
+ Cflags: -I${includedir}
Home |
Main Index |
Thread Index |
Old Index