aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2015-07-26 18:31:34 +0800
committertijl <tijl@FreeBSD.org>2015-07-26 18:31:34 +0800
commit25995b2d6f7b2c73dcd064dfc2bfa899bb5e1352 (patch)
treecaf4bd6c3ac9a979adda435fdab6014ee7174933 /multimedia
parent1200c29ef3b3ed18c5df0bd0b87695571606d6a4 (diff)
downloadfreebsd-ports-gnome-25995b2d6f7b2c73dcd064dfc2bfa899bb5e1352.tar.gz
freebsd-ports-gnome-25995b2d6f7b2c73dcd064dfc2bfa899bb5e1352.tar.zst
freebsd-ports-gnome-25995b2d6f7b2c73dcd064dfc2bfa899bb5e1352.zip
r392902 removed a command from post-patch that looked like a duplicate
but wasn't. Restore it by combining both in one RE. Reported by: kwm
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/gstreamer1-plugins/Makefile15
1 files changed, 3 insertions, 12 deletions
diff --git a/multimedia/gstreamer1-plugins/Makefile b/multimedia/gstreamer1-plugins/Makefile
index 22f4dfb29a77..525d08295a24 100644
--- a/multimedia/gstreamer1-plugins/Makefile
+++ b/multimedia/gstreamer1-plugins/Makefile
@@ -137,18 +137,9 @@ post-patch:
.endif
.if ${DIST} != ugly
@${FIND} ${WRKSRC}/ext ${WRKSRC}/sys -name Makefile.in | \
- ${XARGS} -n 10 ${REINPLACE_CMD} -e \
- '/la_DEPENDENCIES/,/am__DEPENDENCIES/s,$$(top_builddir)/gst-libs/.*.la,,' -e \
- 's|$$(top_builddir)/gst-libs/gst/tag/libgsttag-@GST_API_VERSION@.la|-lgsttag-${VERSION}|; \
- s|$$(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la|-lgstaudio-${VERSION}|; \
- s|$$(top_builddir)/gst-libs/gst/pbutils/libgstpbutils-@GST_API_VERSION@.la|-lgstpbutils-${VERSION}|; \
- s|$$(top_builddir)/gst-libs/gst/riff/libgstriff-@GST_API_VERSION@.la|-lgstriff-${VERSION}|; \
- s|$$(top_builddir)/gst-libs/gst/signalprocessor/libgstsignalprocessor-@GST_API_VERSION@.la|-lgstsignalprocessor-${VERSION}|; \
- s|$$(top_builddir)/gst-libs/gst/video/libgstbasevideo-@GST_API_VERSION@.la|-lgstbasevideo-${VERSION}|; \
- s|$$(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la|-lgstvideo-${VERSION}|; \
- s|$$(top_builddir)/gst-libs/gst/base/libgstbadbase-@GST_API_VERSION@.la|-lgstbadbase-${VERSION}|; \
- s|$$(top_builddir)/gst-libs/gst/uridownloader/libgsturidownloader-@GST_API_VERSION@.la|-lgsturidownloader-${VERSION}|; \
- s|$$(top_builddir)/gst-libs/gst/video/libgstbadvideo-@GST_API_VERSION@.la|-lgstbadvideo-${VERSION}|'
+ ${XARGS} -n 10 ${REINPLACE_CMD} \
+ -e '/la_DEPENDENCIES/,/am__DEPENDENCIES/s,$$(top_builddir)/gst-libs/[^[:space:]]*\.la,,' \
+ -e 's|$$(top_builddir)/gst-libs/[^[:space:]]*/lib\([^/[:space:]]*\)\.la|-l\1|'
.endif
# workaround a crash in clang 3.3 crash llvm bug # 15840