aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2004-04-14 22:34:50 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2004-04-14 22:34:50 +0000
commitafb03701440cfd071465e4e59440ed58928ef3e8 (patch)
treea728243d39243a69b694ae3698ea79b52ae7e642 /multimedia
parent6f4354d282b9d1f028bdf5fcd3e7497f48787d3d (diff)
downloadports-afb03701440cfd071465e4e59440ed58928ef3e8.tar.gz
ports-afb03701440cfd071465e4e59440ed58928ef3e8.zip
Notes
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/ffmpeg-devel/Makefile7
-rw-r--r--multimedia/ffmpeg/Makefile7
2 files changed, 6 insertions, 8 deletions
diff --git a/multimedia/ffmpeg-devel/Makefile b/multimedia/ffmpeg-devel/Makefile
index 633774d51e18..311af3bd5356 100644
--- a/multimedia/ffmpeg-devel/Makefile
+++ b/multimedia/ffmpeg-devel/Makefile
@@ -54,10 +54,9 @@ WITHOUT_MMX= yes
.else
# only for i386
EXTRA_PATCHES+= ${FILESDIR}/extra-bktr-patch-libavformat::Makefile
-.endif
-
-.if ${ARCH} == "i386" && ${OSVERSION} > 502104
-BROKEN= "Does not compile on i386 5.x"
+. if ${OSVERSION} >= 502000 && !defined(WITH_OPTIMIZED_CFLAGS)
+CFLAGS+= -fomit-frame-pointer
+. endif
.endif
## lib detection
diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile
index 633774d51e18..311af3bd5356 100644
--- a/multimedia/ffmpeg/Makefile
+++ b/multimedia/ffmpeg/Makefile
@@ -54,10 +54,9 @@ WITHOUT_MMX= yes
.else
# only for i386
EXTRA_PATCHES+= ${FILESDIR}/extra-bktr-patch-libavformat::Makefile
-.endif
-
-.if ${ARCH} == "i386" && ${OSVERSION} > 502104
-BROKEN= "Does not compile on i386 5.x"
+. if ${OSVERSION} >= 502000 && !defined(WITH_OPTIMIZED_CFLAGS)
+CFLAGS+= -fomit-frame-pointer
+. endif
.endif
## lib detection