freebsd-ports/multimedia/libxine/files/patch-configure
MANTANI Nobutaka de748f6d67 - Update to 1.1.14. [1]
- Enable XCB support by default. [2]

PR:		ports/125089 [1], ports/125331 [2]
Submitted by:	"Pedro F. Giffuni" <pfgshield-freebsd@yahoo.com> [1],
	  	Max Brazhnikov <makc@issp.ac.ru> [2]
2008-07-12 12:17:30 +00:00

42 lines
1.5 KiB
Text

--- configure.orig 2008-06-28 22:13:45.000000000 -0500
+++ configure 2008-06-28 22:13:45.000000000 -0500
@@ -10049,6 +10049,12 @@
fi
;;
+ freebsd* | kfreebsd*-gnu | dragonfly*)
+ archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
+ hardcode_direct=no
+ hardcode_minus_L=yes
+ ;;
+
netbsd* | netbsdelf*-gnu)
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
@@ -22431,7 +22437,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"
@@ -37670,6 +37676,8 @@
fi
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
+else
+no_theora=yes
fi
if test "x$no_libFLAC" = "x" ; then
@@ -50370,7 +50378,7 @@
xinelibdir='${libdir}/xine'
xinedatadir='${datadir}/xine'
-pkgconfigdir='${libdir}/pkgconfig'
+pkgconfigdir='${prefix}/libdata/pkgconfig'