summaryrefslogtreecommitdiff
path: root/audio/flite/files/patch-configure
blob: f3cadecb59c6d1a1f6f5bbf838883fc57f90a75f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- 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
 	    ;;