freebsd-ports/audio/flite/files/patch-configure
Kurt Jaeger 997c3c9b63 audio/flite: upgrade 1.4 -> 2.1
PR:		216018
Submitted by:	Simun Mikecin <numisemis@yahoo.com>, pi, jrm
Reviewed by:	tobik
Approved by:	sobomax (maintainer timeout)
Differential Revision:	D19138
2019-02-10 16:34:42 +00:00

21 lines
476 B
Plaintext

--- configure.orig 2017-10-21 14:01:07 UTC
+++ configure
@@ -4213,7 +4213,7 @@ fi
if test "$shared" = true; then
case "$target_os" in
- linux*|k*bsd*-gnu|gnu*)
+ linux*|k*bsd*-gnu|gnu*|*bsd*)
SHFLAGS="-fPIC"
;;
solaris*)
@@ -4413,7 +4413,7 @@ if test "x$AUDIODEFS" = x; then
AUDIODEFS=-DCST_AUDIO_PULSEAUDIO
AUDIOLIBS='-lpulse-simple -lpulse'
;;
- *bsd)
+ *bsd*)
AUDIODRIVER=oss
AUDIODEFS=-DCST_AUDIO_FREEBSD
;;