summaryrefslogtreecommitdiff
path: root/multimedia/libxine/files/patch-configure
blob: 1be0276339f5025c5e7501d62a1e4eff89abda2f (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
25
26
27
28
29
30
31
32
33
--- configure.orig	Thu Dec  7 00:50:39 2006
+++ configure	Thu Dec  7 01:20:03 2006
@@ -8768,6 +8768,12 @@
       fi
       ;;
 
+    freebsd* | kfreebsd*-gnu | dragonfly*)
+      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
+      hardcode_direct=no
+      hardcode_minus_L=yes
+      ;;
+
     linux*)
       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 	tmp_addflag=
@@ -21903,7 +21909,7 @@
                     if test -z "$haveit"; then
                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
                     fi
-                    if test "$hardcode_minus_L" != no; then
+                    if test "$hardcode_minus_L" = no; then
                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
                     else
                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
@@ -36572,6 +36578,8 @@
 fi
        CFLAGS="$ac_save_CFLAGS"
        LIBS="$ac_save_LIBS"
+else
+no_theora=yes
   fi
 
   if test "x$no_libFLAC" = "x" ; then