aboutsummaryrefslogtreecommitdiff
path: root/audio/flite/files/patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'audio/flite/files/patch-configure')
-rw-r--r--audio/flite/files/patch-configure24
1 files changed, 24 insertions, 0 deletions
diff --git a/audio/flite/files/patch-configure b/audio/flite/files/patch-configure
new file mode 100644
index 000000000000..431ff29f0670
--- /dev/null
+++ b/audio/flite/files/patch-configure
@@ -0,0 +1,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
+ ;;