summaryrefslogtreecommitdiff
path: root/audio/flite/files/patch-configure
blob: 431ff29f06701390ec2684a9be8fc20b756ab205 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$FreeBSD$

--- configure.orig
+++ configure
@@ -1113,6 +1113,9 @@
 OTHERLIBS=
 if test "$shared" = true; then
    case "$host_os" in
+	*bsd*)
+		SHFLAGS="-fPIC"
+	;;
 	linux*)
 		SHFLAGS="-fPIC"
         ;;
@@ -1498,7 +1501,7 @@
 	    AUDIODRIVER=oss
 	    AUDIODEFS=-DCST_AUDIO_LINUX
 	    ;;
-	*bsd)
+	*bsd*)
 	    AUDIODRIVER=oss
 	    AUDIODEFS=-DCST_AUDIO_FREEBSD
 	    ;;