summaryrefslogtreecommitdiff
path: root/audio/arts
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2005-04-29 13:49:02 +0000
committerreed <reed@pkgsrc.org>2005-04-29 13:49:02 +0000
commitf1af018522db1565e5abbce49170de14c8e665e6 (patch)
tree43994e9ba60f794bfb948ce859fece77a9cfb6bf /audio/arts
parenta21ce190316ab5ebe68f0c6d3f1cf722e5e4db66 (diff)
downloadpkgsrc-f1af018522db1565e5abbce49170de14c8e665e6.tar.gz
For Linux, add workaround for bug noted in PR #25402.
arts fails to build under Linux with many lines like: .libs/kmedia2.o(.gnu.linkonce.d._ZTIN4Arts20VideoPlayObject_baseE+0x10):../mcop/common.h:72: undefined reference to `typeinfo for Arts::Object_base' Use BUILDLINK_TRANSFORM to remove -Wl,--allow-shlib-undefined -Wl,--no-undefined (Note that KDE packages still have same problem.)
Diffstat (limited to 'audio/arts')
-rw-r--r--audio/arts/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/audio/arts/Makefile b/audio/arts/Makefile
index adf2b259f02..3cdf142d58b 100644
--- a/audio/arts/Makefile
+++ b/audio/arts/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2005/04/12 15:11:18 tv Exp $
+# $NetBSD: Makefile,v 1.40 2005/04/29 13:49:02 reed Exp $
DISTNAME= arts-1.4.0
CATEGORIES= audio
@@ -17,6 +17,12 @@ LDFLAGS+= ${EXPORT_SYMBOLS_LDFLAGS}
_IN_ARTS_BUILD= yes
.include "../../meta-pkgs/kde3/kde3.mk"
+.if ${OPSYS} == "Linux"
+# workaround bug noted in PR #25402
+BUILDLINK_TRANSFORM+= rm:-Wl,--allow-shlib-undefined
+BUILDLINK_TRANSFORM+= rm:-Wl,--no-undefined
+.endif
+
.include "../../audio/esound/buildlink3.mk"
.include "../../audio/libaudiofile/buildlink3.mk"
.include "../../audio/libmad/buildlink3.mk"