aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2008-09-16 01:48:59 +0800
committererwin <erwin@FreeBSD.org>2008-09-16 01:48:59 +0800
commit5c0f679733338ecbf601fe9b95ebe04e98db954a (patch)
tree3b0d0df409a269e042fd05651ecbab2a2de71831
parentebb237220270413ee1d5de09cda6532d53ebbcda (diff)
downloadfreebsd-ports-gnome-5c0f679733338ecbf601fe9b95ebe04e98db954a.tar.gz
freebsd-ports-gnome-5c0f679733338ecbf601fe9b95ebe04e98db954a.tar.zst
freebsd-ports-gnome-5c0f679733338ecbf601fe9b95ebe04e98db954a.zip
The fix for amd64 broke i386 builds. Attempt to unbreak on
i386 while not breaking amd64. Approved by: portmgr (self)
-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|' \