summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2005-08-20 11:17:52 +0000
committergrant <grant@pkgsrc.org>2005-08-20 11:17:52 +0000
commitb9eaf960718eadd819a734f192b182a671a5be64 (patch)
tree04bc602e43844b1538bc70c00f4f363358738411 /audio
parentb3a520c0b3b96a7896f98247dff8180bc61781d5 (diff)
downloadpkgsrc-b9eaf960718eadd819a734f192b182a671a5be64.tar.gz
strip -lstdc++ if not using gcc.
Diffstat (limited to 'audio')
-rw-r--r--audio/musicbrainz/Makefile8
-rw-r--r--audio/musicbrainz/distinfo3
-rw-r--r--audio/musicbrainz/patches/patch-ab11
3 files changed, 20 insertions, 2 deletions
diff --git a/audio/musicbrainz/Makefile b/audio/musicbrainz/Makefile
index 59616554f48..6c87e22ae27 100644
--- a/audio/musicbrainz/Makefile
+++ b/audio/musicbrainz/Makefile
@@ -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 @@ PKGCONFIG_OVERRIDE= libmusicbrainz.pc.in
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 --git a/audio/musicbrainz/distinfo b/audio/musicbrainz/distinfo
index 7d16ee92d38..e46ca2be44f 100644
--- a/audio/musicbrainz/distinfo
+++ b/audio/musicbrainz/distinfo
@@ -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 --git a/audio/musicbrainz/patches/patch-ab b/audio/musicbrainz/patches/patch-ab
new file mode 100644
index 00000000000..17db7906fcd
--- /dev/null
+++ b/audio/musicbrainz/patches/patch-ab
@@ -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}