pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/gst-plugins0.10-base Fix build under OpenBS...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5ec6b5b2d4ee
branches:  trunk
changeset: 633972:5ec6b5b2d4ee
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Mon May 05 21:21:47 2014 +0000

description:
Fix build under OpenBSD/amd64 5.5

Use /usr/bin/libtool instead of libtool-base from pkgsrc, ugly workaround

diffstat:

 multimedia/gst-plugins0.10-base/plugins.mk |  17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r 83a6e32702a0 -r 5ec6b5b2d4ee multimedia/gst-plugins0.10-base/plugins.mk
--- a/multimedia/gst-plugins0.10-base/plugins.mk        Mon May 05 21:19:40 2014 +0000
+++ b/multimedia/gst-plugins0.10-base/plugins.mk        Mon May 05 21:21:47 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: plugins.mk,v 1.10 2010/11/07 20:31:37 jmmv Exp $
+# $NetBSD: plugins.mk,v 1.11 2014/05/05 21:21:47 ryoon Exp $
 #
 # This file is shared across the gst-plugins-{base,good} packages to
 # simplify their code.  It provides a framework to write simple packages
@@ -76,6 +76,21 @@
 .include "../../multimedia/gst-plugins0.10-${GST_PLUGINS0.10_TYPE}/buildlink3.mk"
 .endif
 
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "OpenBSD"
+# libtool(1) of /usr/bin/libtool is required to build gstreamer 0.10.
+# I have no idea how to fix the build with libtool-base from pkgsrc...
+# https://bugzilla.gnome.org/show_bug.cgi?id=726518
+SUBST_CLASSES+=                        fix-libtool
+SUBST_STAGE.fix-libtool=       pre-configure
+SUBST_MESSAGE.fix-libtool=     Fix libtool path
+.for _d_ in pbutils audio app video fft cdda rtsp sdp riff tag interfaces rtp netbuffer
+SUBST_FILES.fix-libtool+=      gst-libs/gst/${_d_}/Makefile.in
+.endfor
+#SUBST_SED.fix-libtool=                -e 's,--libtool=\"$$(top_builddir)/libtool\",--libtool=\"$${LIBTOOL}\",g'
+SUBST_SED.fix-libtool=         -e 's,--libtool=\"$$(top_builddir)/libtool\",--libtool=\"/usr/bin/libtool\",g'
+.endif
+
 .include "../../converters/libiconv/buildlink3.mk"
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../devel/glib2/buildlink3.mk"



Home | Main Index | Thread Index | Old Index