ports/multimedia/ffmpeg/files/patch-configure

28 lines
759 B
Text

--- configure.orig 2018-04-20 10:02:55 UTC
+++ configure
@@ -3516,12 +3516,7 @@ target_os_default=$(tolower $(uname -s))
host_os=$target_os_default
# machine
-if test "$target_os_default" = aix; then
- arch_default=$(uname -p)
- strip_default="strip -X32_64"
-else
- arch_default=$(uname -m)
-fi
+arch_default=$(uname -p)
cpu="generic"
intrinsics="none"
@@ -6234,8 +6229,10 @@ else
EOF
fi
-enabled alsa && check_pkg_config alsa alsa "alsa/asoundlib.h" snd_pcm_htimestamp ||
+if enabled alsa; then
+ check_pkg_config alsa alsa "alsa/asoundlib.h" snd_pcm_htimestamp ||
check_lib alsa alsa/asoundlib.h snd_pcm_htimestamp -lasound
+fi
enabled libjack &&
require_pkg_config libjack jack jack/jack.h jack_port_get_latency_range