freebsd-ports/audio/flite/files/patch-configure
Pav Lucistnik 4a25988c2e - Update to 1.3
PR:		ports/121609
Submitted by:	Richard Neese <r.neese@gmail.com>
Approved by:	maintainer timeout (sobomax; 20 days)
2008-03-31 13:23:57 +00:00

25 lines
387 B
Text

$FreeBSD$
--- configure.orig
+++ configure
@@ -2772,7 +2772,7 @@
OTHERLIBS=
if test "$shared" = true; then
case "$target_os" in
- linux*)
+ linux*|*bsd*)
SHFLAGS="-fPIC"
;;
solaris*)
@@ -3989,7 +3989,7 @@
AUDIODEFS=-DCST_AUDIO_ALSA
AUDIOLIBS=-lasound
;;
- *bsd)
+ *bsd*)
AUDIODRIVER=oss
AUDIODEFS=-DCST_AUDIO_FREEBSD
;;