aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/avifile
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2004-11-26 17:18:28 +0800
committerahze <ahze@FreeBSD.org>2004-11-26 17:18:28 +0800
commit4f38c918f4e997a5f44e86cf05aa188905f30e2a (patch)
treee1814f7a82463cafc9c08f7db1fcdd6e3fef1f41 /multimedia/avifile
parent9c4c3b466c082f68bcd9454cacac6123e3360945 (diff)
downloadfreebsd-ports-gnome-4f38c918f4e997a5f44e86cf05aa188905f30e2a.tar.gz
freebsd-ports-gnome-4f38c918f4e997a5f44e86cf05aa188905f30e2a.tar.zst
freebsd-ports-gnome-4f38c918f4e997a5f44e86cf05aa188905f30e2a.zip
Fix build on 6.x by always using WITH_OPTIMIZED_CFLAGS
which is --enable-x86opt (on i386) and --enable-release Reported by: pointyhat via kris Approved by: adamw (implicit)
Diffstat (limited to 'multimedia/avifile')
-rw-r--r--multimedia/avifile/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/multimedia/avifile/Makefile b/multimedia/avifile/Makefile
index 29fb0d66203f..6ab975170b10 100644
--- a/multimedia/avifile/Makefile
+++ b/multimedia/avifile/Makefile
@@ -64,6 +64,10 @@ PLIST_SUB+= QT="@comment "
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 600000
+WITH_OPTIMIZED_CFLAGS= yes
+.endif
+
.if (${ARCH} != "i386") && (${ARCH} != "amd64")
WITHOUT_A52=yes
BROKEN= "Does not compile on !i386"