aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2004-02-23 12:26:01 +0800
committerkan <kan@FreeBSD.org>2004-02-23 12:26:01 +0800
commit322e1006acd9e002f4e8610bc10da4d2fa72c1b9 (patch)
tree7927ed999cddc842113981726a901c12747e7403 /multimedia
parentf5ac15b489621c0d0c067bf6392fec226dc32abd (diff)
downloadfreebsd-ports-gnome-322e1006acd9e002f4e8610bc10da4d2fa72c1b9.tar.gz
freebsd-ports-gnome-322e1006acd9e002f4e8610bc10da4d2fa72c1b9.tar.zst
freebsd-ports-gnome-322e1006acd9e002f4e8610bc10da4d2fa72c1b9.zip
Unbreak on 5.x. Define PIC when compiling with -fpic, some codecs
use that to decide whether to enable inline assemply optimisations.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/ffmpeg-devel/Makefile8
-rw-r--r--multimedia/ffmpeg/Makefile8
2 files changed, 4 insertions, 12 deletions
diff --git a/multimedia/ffmpeg-devel/Makefile b/multimedia/ffmpeg-devel/Makefile
index 82947564eff8..ac0388d52032 100644
--- a/multimedia/ffmpeg-devel/Makefile
+++ b/multimedia/ffmpeg-devel/Makefile
@@ -15,10 +15,6 @@ MASTER_SITE_SUBDIR= ffmpeg
MAINTAINER= lioux@FreeBSD.org
COMMENT= Hyper fast realtime audio/video encoder/converter, streaming server
-BROKEN= "Does not compile"
-DEPRECATED= ${BROKEN}
-EXPIRATION_DATE=2004-04-21
-
USE_GETOPT_LONG= yes
HAS_CONFIGURE= yes
USE_GMAKE= yes
@@ -131,11 +127,11 @@ CONFIGURE_ARGS+= --enable-mp3lame
.endif
## optimization
.ifdef(WITH_OPTIMIZED_CFLAGS)
-CONFIGURE_ARGS+= --extra-cflags="-fPIC -I${LOCALBASE}/include \
+CONFIGURE_ARGS+= --extra-cflags="-fPIC -DPIC -I${LOCALBASE}/include \
-I${X11BASE}/include \
-ffast-math -fomit-frame-pointer"
.else
-CONFIGURE_ARGS+= --extra-cflags="-fPIC -I${LOCALBASE}/include \
+CONFIGURE_ARGS+= --extra-cflags="-fPIC -DPIC -I${LOCALBASE}/include \
-I${X11BASE}/include" \
--disable-opts
.endif
diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile
index 82947564eff8..ac0388d52032 100644
--- a/multimedia/ffmpeg/Makefile
+++ b/multimedia/ffmpeg/Makefile
@@ -15,10 +15,6 @@ MASTER_SITE_SUBDIR= ffmpeg
MAINTAINER= lioux@FreeBSD.org
COMMENT= Hyper fast realtime audio/video encoder/converter, streaming server
-BROKEN= "Does not compile"
-DEPRECATED= ${BROKEN}
-EXPIRATION_DATE=2004-04-21
-
USE_GETOPT_LONG= yes
HAS_CONFIGURE= yes
USE_GMAKE= yes
@@ -131,11 +127,11 @@ CONFIGURE_ARGS+= --enable-mp3lame
.endif
## optimization
.ifdef(WITH_OPTIMIZED_CFLAGS)
-CONFIGURE_ARGS+= --extra-cflags="-fPIC -I${LOCALBASE}/include \
+CONFIGURE_ARGS+= --extra-cflags="-fPIC -DPIC -I${LOCALBASE}/include \
-I${X11BASE}/include \
-ffast-math -fomit-frame-pointer"
.else
-CONFIGURE_ARGS+= --extra-cflags="-fPIC -I${LOCALBASE}/include \
+CONFIGURE_ARGS+= --extra-cflags="-fPIC -DPIC -I${LOCALBASE}/include \
-I${X11BASE}/include" \
--disable-opts
.endif