summaryrefslogtreecommitdiff
path: root/multimedia/ffmpeg/patches/patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/ffmpeg/patches/patch-configure')
-rw-r--r--multimedia/ffmpeg/patches/patch-configure16
1 files changed, 9 insertions, 7 deletions
diff --git a/multimedia/ffmpeg/patches/patch-configure b/multimedia/ffmpeg/patches/patch-configure
index 799b2455cb0..c9695ed4861 100644
--- a/multimedia/ffmpeg/patches/patch-configure
+++ b/multimedia/ffmpeg/patches/patch-configure
@@ -1,17 +1,19 @@
-$NetBSD: patch-configure,v 1.7 2009/08/30 11:01:58 jmmv Exp $
+$NetBSD: patch-configure,v 1.8 2009/09/07 20:05:30 ahoka Exp $
---- configure.orig 2009-06-10 21:50:53.000000000 +0100
+--- configure.orig 2009-06-10 22:50:53.000000000 +0200
+++ configure
-@@ -1619,6 +1619,8 @@ case $target_os in
+@@ -1619,6 +1619,10 @@ case $target_os in
add_cflags -D__EXTENSIONS__
;;
netbsd)
-+ LIBOBJFLAGS='$(PIC)'
-+ SHFLAGS='-shared'
++ if test $subarch != "x86_32"; then
++ LIBOBJFLAGS='$(PIC)'
++ SHFLAGS='-shared'
++ fi
oss_demuxer_extralibs="-lossaudio"
oss_muxer_extralibs="-lossaudio"
;;
-@@ -1632,6 +1634,8 @@ case $target_os in
+@@ -1632,6 +1636,8 @@ case $target_os in
freebsd)
disable need_memalign
;;
@@ -20,7 +22,7 @@ $NetBSD: patch-configure,v 1.7 2009/08/30 11:01:58 jmmv Exp $
bsd/os)
osextralibs="-lpoll -lgnugetopt"
strip="strip -d"
-@@ -1996,10 +2000,13 @@ enabled vis && add_cflags -mcpu=ultraspa
+@@ -1996,10 +2002,13 @@ enabled vis && add_cflags -mcpu=ultraspa
# ---
# big/little-endian test