aboutsummaryrefslogtreecommitdiff
path: root/multimedia/libav
diff options
context:
space:
mode:
authorMarcus von Appen <mva@FreeBSD.org>2013-12-17 20:14:24 +0000
committerMarcus von Appen <mva@FreeBSD.org>2013-12-17 20:14:24 +0000
commit81f9ec07fe04f47bae1c5e9ffd480eeb85c336f3 (patch)
tree4eb2af320f1e792a0ad22f1c612f02e7a5b9cfbe /multimedia/libav
parentd89b0162e69c0f808f54fd9b02b3b967752d3301 (diff)
downloadports-81f9ec07fe04f47bae1c5e9ffd480eeb85c336f3.tar.gz
ports-81f9ec07fe04f47bae1c5e9ffd480eeb85c336f3.zip
Notes
Diffstat (limited to 'multimedia/libav')
-rw-r--r--multimedia/libav/Makefile2
-rw-r--r--multimedia/libav/files/patch-configure13
2 files changed, 14 insertions, 1 deletions
diff --git a/multimedia/libav/Makefile b/multimedia/libav/Makefile
index 935dc237dd1f..466aff7591a9 100644
--- a/multimedia/libav/Makefile
+++ b/multimedia/libav/Makefile
@@ -205,7 +205,7 @@ post-patch:
@${REINPLACE_CMD} -e 's|gsm/gsm.h|gsm.h|' \
${WRKSRC}/configure \
${WRKSRC}/libavcodec/libgsm.c
- ${REINPLACE_CMD} -e 's|$$(LIBDIR)/pkgconfig|${STAGEDIR}${PREFIX}/libdata/pkgconfig|' \
+ @${REINPLACE_CMD} -e 's|$$(LIBDIR)/pkgconfig|${STAGEDIR}${PREFIX}/libdata/pkgconfig|' \
${WRKSRC}/library.mak
.include <bsd.port.post.mk>
diff --git a/multimedia/libav/files/patch-configure b/multimedia/libav/files/patch-configure
new file mode 100644
index 000000000000..c82d551e4060
--- /dev/null
+++ b/multimedia/libav/files/patch-configure
@@ -0,0 +1,13 @@
+--- configure.orig 2013-12-17 19:12:24.000000000 +0100
++++ configure 2013-12-17 19:12:49.000000000 +0100
+@@ -730,8 +730,8 @@
+
+ check_ld(){
+ log check_ld "$@"
+- flags=$(filter_out '-l*' "$@")
+- libs=$(filter '-l*' "$@")
++ flags=$(filter_out '-l*|*.so' "$@")
++ libs=$(filter '-l*|*.so' "$@")
+ check_cc $($cflags_filter $flags) || return
+ flags=$($ldflags_filter $flags)
+ libs=$($ldflags_filter $libs)