aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-01-31 12:00:09 +0800
committerarved <arved@FreeBSD.org>2004-01-31 12:00:09 +0800
commita3a7ec85c32b9f8216d812003d0c755293c07054 (patch)
tree63c859644d88f84bfb948f5a23c4cc2d67e16fa0
parente1c506af51c4ca729d4bb2578e83aeac5bbebac3 (diff)
downloadfreebsd-ports-gnome-a3a7ec85c32b9f8216d812003d0c755293c07054.tar.gz
freebsd-ports-gnome-a3a7ec85c32b9f8216d812003d0c755293c07054.tar.zst
freebsd-ports-gnome-a3a7ec85c32b9f8216d812003d0c755293c07054.zip
Fix build on AMD64
Approved by: maintainer timeout (26 days)
-rw-r--r--math/djbfft/Makefile2
-rw-r--r--multimedia/ffmpeg-devel/Makefile4
-rw-r--r--multimedia/ffmpeg/Makefile4
3 files changed, 5 insertions, 5 deletions
diff --git a/math/djbfft/Makefile b/math/djbfft/Makefile
index b0dc99c039d2..2dad64bd2b9d 100644
--- a/math/djbfft/Makefile
+++ b/math/djbfft/Makefile
@@ -25,7 +25,7 @@ post-patch:
@${PERL} -pi -e 's|("include)|\1/${PORTNAME}|' ${WRKSRC}/hier.c
do-configure:
- @${ECHO_CMD} '${CC} ${CFLAGS}' > ${WRKSRC}/conf-cc
+ @${ECHO_CMD} '${CC} ${CFLAGS} -fPIC' > ${WRKSRC}/conf-cc
@${ECHO_CMD} '${CC}' > ${WRKSRC}/conf-ld
@${ECHO_CMD} ${PREFIX} > ${WRKSRC}/conf-home
.ifdef(WITH_OPT_PENTIUM)
diff --git a/multimedia/ffmpeg-devel/Makefile b/multimedia/ffmpeg-devel/Makefile
index e9e3425cb0b4..ea12abcd9f87 100644
--- a/multimedia/ffmpeg-devel/Makefile
+++ b/multimedia/ffmpeg-devel/Makefile
@@ -126,11 +126,11 @@ CONFIGURE_ARGS+= --enable-mp3lame
.endif
## optimization
.ifdef(WITH_OPTIMIZED_CFLAGS)
-CONFIGURE_ARGS+= --extra-cflags="-I${LOCALBASE}/include \
+CONFIGURE_ARGS+= --extra-cflags="-fPIC -I${LOCALBASE}/include \
-I${X11BASE}/include \
-ffast-math -fomit-frame-pointer"
.else
-CONFIGURE_ARGS+= --extra-cflags="-I${LOCALBASE}/include \
+CONFIGURE_ARGS+= --extra-cflags="-fPIC -I${LOCALBASE}/include \
-I${X11BASE}/include" \
--disable-opts
.endif
diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile
index e9e3425cb0b4..ea12abcd9f87 100644
--- a/multimedia/ffmpeg/Makefile
+++ b/multimedia/ffmpeg/Makefile
@@ -126,11 +126,11 @@ CONFIGURE_ARGS+= --enable-mp3lame
.endif
## optimization
.ifdef(WITH_OPTIMIZED_CFLAGS)
-CONFIGURE_ARGS+= --extra-cflags="-I${LOCALBASE}/include \
+CONFIGURE_ARGS+= --extra-cflags="-fPIC -I${LOCALBASE}/include \
-I${X11BASE}/include \
-ffast-math -fomit-frame-pointer"
.else
-CONFIGURE_ARGS+= --extra-cflags="-I${LOCALBASE}/include \
+CONFIGURE_ARGS+= --extra-cflags="-fPIC -I${LOCALBASE}/include \
-I${X11BASE}/include" \
--disable-opts
.endif