aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2008-09-15 17:48:59 +0000
committerErwin Lansing <erwin@FreeBSD.org>2008-09-15 17:48:59 +0000
commit75ab8efd8b51e44b5fe6be4fa2cd7c555379b707 (patch)
tree93e0d5513bfff8ef98224c15cfbcfb1ee564d923 /multimedia
parent1c3811dee7e7a729364a069f8658553cc33c86c3 (diff)
downloadports-75ab8efd8b51e44b5fe6be4fa2cd7c555379b707.tar.gz
ports-75ab8efd8b51e44b5fe6be4fa2cd7c555379b707.zip
The fix for amd64 broke i386 builds. Attempt to unbreak on
i386 while not breaking amd64. Approved by: portmgr (self)
Notes
Notes: svn path=/head/; revision=220382
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/openquicktime/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/multimedia/openquicktime/Makefile b/multimedia/openquicktime/Makefile
index e5c4f55021f8..672545412888 100644
--- a/multimedia/openquicktime/Makefile
+++ b/multimedia/openquicktime/Makefile
@@ -24,7 +24,6 @@ USE_GNOME= gtk12
USE_GMAKE= yes
USE_LDCONFIG= yes
PKGDEINSTALL= ${PKGINSTALL}
-CFLAGS+= -fPIC
OPTIONS= DEBUG "Turn on debugging" off
@@ -38,6 +37,10 @@ CONFIGURE_ARGS+= --enable-debug=no
BROKEN= Does not install
.endif
+.if ${ARCH} == "amd64"
+CFLAGS+= -fPIC
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|xCC|xc| ; s|-O2||' \
-e 's|ftello64|ftello| ; s|fseeko64|fseeko|' \