packages: flimsel/flimsel-epeg.patch (NEW) - initial - newest epeg uses pkg...

uzsolt uzsolt at pld-linux.org
Sun Aug 16 12:30:05 CEST 2009


Author: uzsolt                       Date: Sun Aug 16 10:30:05 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial
- newest epeg uses pkg-config instead of own epeg-config

---- Files affected:
packages/flimsel:
   flimsel-epeg.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/flimsel/flimsel-epeg.patch
diff -u /dev/null packages/flimsel/flimsel-epeg.patch:1.1
--- /dev/null	Sun Aug 16 12:30:05 2009
+++ packages/flimsel/flimsel-epeg.patch	Sun Aug 16 12:30:00 2009
@@ -0,0 +1,22 @@
+--- flimsel-0.0.6-orig/configure.ac	2009-08-08 23:38:13.000000000 +0200
++++ flimsel-0.0.6/configure.ac	2009-08-16 11:28:14.845001152 +0200
+@@ -49,14 +49,13 @@
+ 
+ # Check for epeg
+ AC_PATH_PROG(EPEGCONFIG,epeg-config)
+-if test "x$EPEGCONFIG" = x; then
+-	echo "epeg-config not found"
++if (pkg-config epeg); then
++	CXXFLAGS="`pkg-config --cflags epeg` $CXXFLAGS"
++	LIBS="`pkg-config --libs epeg` $LIBS"
++else
++	echo "epeg.pc not found (check your pkg-config installation)"
+ 	exit 1
+ fi
+ 
+-CXXFLAGS="`$EPEGCONFIG --cflags` $CXXFLAGS"
+-LIBS="`$EPEGCONFIG --libs` $LIBS"
+-
+-
+ AC_CONFIG_FILES([Makefile src/Makefile])
+ AC_OUTPUT
================================================================


More information about the pld-cvs-commit mailing list