summaryrefslogtreecommitdiff
path: root/audio/bmp
diff options
context:
space:
mode:
authorjmmv <jmmv>2004-11-14 19:26:08 +0000
committerjmmv <jmmv>2004-11-14 19:26:08 +0000
commit654bb5ea6d852452c4226d2c27f1406d831d6886 (patch)
tree8f437b8a138c97e5a130456c325f695cd3bf63c1 /audio/bmp
parentcd779ce136b93df208be66797700d4e3cefab812 (diff)
downloadpkgsrc-654bb5ea6d852452c4226d2c27f1406d831d6886.tar.gz
Add a workaround for PR pkg/26846 (fix a crash during bmp's shutdown).
A detailed analisys of the problem can be found in the report. Bump PKGREVISION to 4.
Diffstat (limited to 'audio/bmp')
-rw-r--r--audio/bmp/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/audio/bmp/Makefile b/audio/bmp/Makefile
index e563498f0b2..fc258dd6693 100644
--- a/audio/bmp/Makefile
+++ b/audio/bmp/Makefile
@@ -1,14 +1,21 @@
-# $NetBSD: Makefile,v 1.7 2004/10/03 00:13:05 tv Exp $
+# $NetBSD: Makefile,v 1.8 2004/11/14 19:26:08 jmmv Exp $
#
.include "Makefile.common"
-PKGREVISION= 3
+PKGREVISION= 4
CONFIGURE_ARGS:= ${CONFIGURE_ARGS:S/--disable-mp3/--enable-mp3/}
CONFIGURE_ARGS:= ${CONFIGURE_ARGS:S/--disable-oss/--enable-oss/}
CONFIGURE_ARGS:= ${CONFIGURE_ARGS:S/--disable-vorbis/--enable-vorbis/}
+# XXX Workaround a crash during shutdown that happens when dlclose(3)ing
+# any open plugin. libstdc++ gets dynamically linked in when the id3lib
+# library is loaded, and is the one causing problems. See PR pkg/26846
+# for more information.
+USE_LANGUAGES= c c++
+LDFLAGS.NetBSD= -lstdc++ -lm
+
.include "../../audio/id3lib/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../multimedia/libogg/buildlink3.mk"