diff options
author | ryoon <ryoon@pkgsrc.org> | 2014-05-05 21:21:47 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2014-05-05 21:21:47 +0000 |
commit | 837c1639ce88197038aa2e169058af6aa039ac12 (patch) | |
tree | b03268d2cab8525c824bbc0de2b4de2118efc2f0 /multimedia/gst-plugins0.10-base | |
parent | e533c793ebacdcd1e631993a6d50290935245c5e (diff) | |
download | pkgsrc-837c1639ce88197038aa2e169058af6aa039ac12.tar.gz |
Fix build under OpenBSD/amd64 5.5
Use /usr/bin/libtool instead of libtool-base from pkgsrc, ugly workaround
Diffstat (limited to 'multimedia/gst-plugins0.10-base')
-rw-r--r-- | multimedia/gst-plugins0.10-base/plugins.mk | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/multimedia/gst-plugins0.10-base/plugins.mk b/multimedia/gst-plugins0.10-base/plugins.mk index 3658da20e70..2cebd00797b 100644 --- a/multimedia/gst-plugins0.10-base/plugins.mk +++ b/multimedia/gst-plugins0.10-base/plugins.mk @@ -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 @@ SUBST_SED.libs= -e 's|$$(top_builddir)/gst-libs/gst/.*/libgst|${BUILDLINK_PREFI .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" |