aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorChin-San Huang <chinsan@FreeBSD.org>2008-08-24 17:49:32 +0000
committerChin-San Huang <chinsan@FreeBSD.org>2008-08-24 17:49:32 +0000
commite5b22182a15d24700a515e8d1a383e7c7aa4c838 (patch)
tree37470b655faab7b2e686b831c3421296e585b46b /multimedia
parentb1cd681a01c1628c0df330aa52809333d7f2dfc5 (diff)
downloadports-e5b22182a15d24700a515e8d1a383e7c7aa4c838.tar.gz
ports-e5b22182a15d24700a515e8d1a383e7c7aa4c838.zip
- Remove the last commit as maintainer's request[B.
- Use maintainer's patch which also fix build multimedia/mencoder. Thanks for all helpers: mezz, Kalten, Thomas E. Zander(maintainer), John Nielsen PR: ports/126354 Submitted by: Kalten <kalten at sbox.tu-graz.ac.at> Tested on: tinderbox and my home box Approved by: Thomas E. Zander(maintainer)
Notes
Notes: svn path=/head/; revision=219090
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mplayer/Makefile3
-rw-r--r--multimedia/mplayer/files/patch-ad11
2 files changed, 11 insertions, 3 deletions
diff --git a/multimedia/mplayer/Makefile b/multimedia/mplayer/Makefile
index 7e039a1fd33b..9a1f5301cf51 100644
--- a/multimedia/mplayer/Makefile
+++ b/multimedia/mplayer/Makefile
@@ -241,8 +241,7 @@ post-patch:
.endif
post-configure:
- @${REINPLACE_CMD} -e 's#-pthread#${PTHREAD_LIBS}#g; \
- s|= -I/usr/local/|= -I. -I... -I.../libavutil -I/usr/local/|g' \
+ @${REINPLACE_CMD} -e 's#-pthread#${PTHREAD_LIBS}#g' \
${WRKSRC}/config.mak
post-install:
diff --git a/multimedia/mplayer/files/patch-ad b/multimedia/mplayer/files/patch-ad
index ad4871aecd2a..7641c1e7227c 100644
--- a/multimedia/mplayer/files/patch-ad
+++ b/multimedia/mplayer/files/patch-ad
@@ -1,5 +1,5 @@
--- configure.orig 2007-10-08 03:49:33.000000000 +0800
-+++ configure 2007-11-11 13:09:59.000000000 +0800
++++ configure 2008-08-18 20:37:59.000000000 +0800
@@ -62,9 +62,9 @@
echo >> "$TMPLOG"
cat "$1" >> "$TMPLOG"
@@ -47,6 +47,15 @@
macppc|ppc|ppc64) host_arch=ppc ;;
alpha) host_arch=alpha ;;
sparc) host_arch=sparc ;;
+@@ -1307,7 +1299,7 @@
+
+ if freebsd ; then
+ _ld_extra="$_ld_extra -L/usr/local/lib"
+- _inc_extra="$_inc_extra -I/usr/local/include"
++ _inc_extra="$_inc_extra -I... -I.../libavutil"
+ fi
+
+ if darwin; then
@@ -1524,25 +1516,10 @@
# Cygwin has /proc/cpuinfo, but only supports Intel CPUs