- Unbreak on amd64 7.x and above

PR:		ports/120510
Submitted by:	Wes Morgan <morganw at chemikals.org>
Approved by:	maintainer
This commit is contained in:
Rong-En Fan 2008-02-20 01:19:09 +00:00
parent de16c1a592
commit b812277ca9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=207619
3 changed files with 23 additions and 1 deletions

View File

@ -64,7 +64,7 @@ APPLY?= /usr/bin/apply
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64"
.if ${ARCH} == "amd64" && ${OSVERSION} < 700000
BROKEN= Does not compile
.endif

View File

@ -0,0 +1,11 @@
--- contrib/a52dec/configure.orig 2008-02-19 19:53:29.000000000 +0800
+++ contrib/a52dec/configure 2008-02-19 19:54:14.000000000 +0800
@@ -9640,7 +9640,7 @@
-LIBA52_CFLAGS="$LIBA52_CFLAGS -prefer-non-pic"
+LIBA52_CFLAGS="$LIBA52_CFLAGS"
# Check whether --enable-double or --disable-double was given.
if test "${enable_double+set}" = set; then

View File

@ -0,0 +1,11 @@
--- contrib/mpeg2dec/configure.orig 2008-02-19 19:54:39.000000000 +0800
+++ contrib/mpeg2dec/configure 2008-02-19 19:55:08.000000000 +0800
@@ -23981,7 +23981,7 @@
cd ..; rm -fr ac_test_libtool; echo "$as_me:$LINENO: result: $ac_cv_libtool_non_pic" >&5
echo "${ECHO_T}$ac_cv_libtool_non_pic" >&6
if test x"$ac_cv_libtool_non_pic" = x"yes"; then
- LIBMPEG2_CFLAGS="$LIBMPEG2_CFLAGS -prefer-non-pic"
+ LIBMPEG2_CFLAGS="$LIBMPEG2_CFLAGS"
else
:
fi