|
|
251295 |
diff -up libdvdread-4.1.4/Makefile.multilib libdvdread-4.1.4/Makefile
|
|
|
251295 |
--- libdvdread-4.1.4/Makefile.multilib 2008-12-31 09:43:03.000000000 +0100
|
|
|
251295 |
+++ libdvdread-4.1.4/Makefile 2009-09-27 00:41:34.000000000 +0200
|
|
|
251295 |
@@ -131,9 +131,6 @@ distclean: clean
|
|
|
251295 |
dvdread-config: $(.OBJDIR)/dvdread-config
|
|
|
251295 |
$(.OBJDIR)/dvdread-config: $(BUILDDEPS)
|
|
|
251295 |
@echo '#!/bin/sh' > $(.OBJDIR)/dvdread-config
|
|
|
251295 |
- @echo 'prefix='$(PREFIX) >> $(.OBJDIR)/dvdread-config
|
|
|
251295 |
- @echo 'libdir='$(shlibdir) >> $(.OBJDIR)/dvdread-config
|
|
|
251295 |
- @echo 'version='$(SHLIB_VERSION) >> $(.OBJDIR)/dvdread-config
|
|
|
251295 |
@echo >> $(.OBJDIR)/dvdread-config
|
|
|
251295 |
cat $(SRC_PATH_BARE)/misc/dvdread-config.sh >> $(.OBJDIR)/dvdread-config
|
|
|
251295 |
chmod 0755 $(.OBJDIR)/dvdread-config
|
|
|
251295 |
diff -up libdvdread-4.1.4/misc/dvdread-config.sh.multilib libdvdread-4.1.4/misc/dvdread-config.sh
|
|
|
251295 |
--- libdvdread-4.1.4/misc/dvdread-config.sh.multilib 2008-09-23 11:14:45.000000000 +0200
|
|
|
251295 |
+++ libdvdread-4.1.4/misc/dvdread-config.sh 2009-09-27 00:39:39.000000000 +0200
|
|
|
251295 |
@@ -1,4 +1,3 @@
|
|
|
251295 |
-dvdreadlib="-ldvdread"
|
|
|
251295 |
|
|
|
251295 |
usage()
|
|
|
251295 |
{
|
|
|
251295 |
@@ -28,7 +27,7 @@ while test $# -gt 0; do
|
|
|
251295 |
echo_prefix=yes
|
|
|
251295 |
;;
|
|
|
251295 |
--version)
|
|
|
251295 |
- echo $version
|
|
|
251295 |
+ echo `pkg-config --modversion dvdread`
|
|
|
251295 |
;;
|
|
|
251295 |
--cflags)
|
|
|
251295 |
echo_cflags=yes
|
|
|
251295 |
@@ -44,13 +43,13 @@ while test $# -gt 0; do
|
|
|
251295 |
done
|
|
|
251295 |
|
|
|
251295 |
if test "$echo_prefix" = "yes"; then
|
|
|
251295 |
- echo $prefix
|
|
|
251295 |
+ echo `pkg-config --variable=prefix dvdread`
|
|
|
251295 |
fi
|
|
|
251295 |
|
|
|
251295 |
if test "$echo_cflags" = "yes"; then
|
|
|
251295 |
- echo -I$prefix/include $extracflags
|
|
|
251295 |
+ echo `pkg-config --cflags dvdread`
|
|
|
251295 |
fi
|
|
|
251295 |
|
|
|
251295 |
if test "$echo_libs" = "yes"; then
|
|
|
251295 |
- echo -L$libdir $dvdreadlib
|
|
|
251295 |
+ echo `pkg-config --libs dvdread`
|
|
|
251295 |
fi
|