File cupsddk-1.2.3-nostatic_libcups.patch of Package cupsddk
--- cupsddk-1.2.3/cups/Makefile.orig 2007-07-13 21:52:48.000000000 +0200
+++ cupsddk-1.2.3/cups/Makefile 2008-04-14 18:12:19.000000000 +0200
@@ -164,7 +164,7 @@
testcmyk: testcmyk.o libcupsdriver.a
$(CC) $(LDFLAGS) -o $@ testcmyk.o libcupsdriver.a \
- $(CUPSLIBS_ST) $(LIBS)
+ $(CUPSLIBS) $(LIBS)
./testcmyk
@@ -174,7 +174,7 @@
testdither: testdither.o libcupsdriver.a
$(CC) $(LDFLAGS) -o $@ testdither.o libcupsdriver.a \
- $(CUPSLIBS_ST) $(LIBS)
+ $(CUPSLIBS) $(LIBS)
if test ! -d images; then \
mkdir images; \
fi
@@ -194,7 +194,7 @@
testrgb: testrgb.o libcupsdriver.a
$(CC) $(LDFLAGS) -o $@ testrgb.o libcupsdriver.a \
- $(CUPSLIBS_ST) $(LIBS)
+ $(CUPSLIBS) $(LIBS)
./testrgb
--- cupsddk-1.2.3/ppdc/Makefile.orig 2007-10-01 22:03:46.000000000 +0200
+++ cupsddk-1.2.3/ppdc/Makefile 2008-04-14 18:17:38.000000000 +0200
@@ -146,7 +146,7 @@
foo.drv foo-fr.po
echo Linking $@...
$(CXX) $(LDFLAGS) -o ppdc-static ppdc.o libppdc.a \
- ../cups/libcupsdriver.a $(CUPSLIBS_ST) $(LIBS)
+ ../cups/libcupsdriver.a $(CUPSLIBS) $(LIBS)
echo Testing PPD compiler...
./ppdc-static -l en,fr -I ../data foo.drv
./ppdc-static -l en,fr -z -I ../data foo.drv