- 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)
This commit is contained in:
Chin-San Huang 2008-08-24 17:49:32 +00:00
parent b1cd681a01
commit e5b22182a1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=219090
2 changed files with 11 additions and 3 deletions

View file

@ -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:

View file

@ -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