cups/cups-config-libs.patch
Johannes Meixner 5b595e87ba Accepting request 99539 from home:elvigia:branches:Printing
- Use explicit  buildrequires on the needed libraries.
  otherwise build will fail after libtiff-devel deps cleanup
- Cleanup requires of -devel package, which only needs glibc-devel
- Fix up, cups-config script, which with option --libs adds:
 LIBS="-lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto 
       -lz -lpthread -lm -lcrypt  "
 IMGLIBS="-ltiff -ljpeg -lpng"
 This only makes sense when using static linking but we dont ship
 static libraries and will only help bloating dependant packages.

OBS-URL: https://build.opensuse.org/request/show/99539
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=232
2012-01-10 10:02:58 +00:00

14 lines
354 B
Diff

--- cups-config.in.orig
+++ cups-config.in
@@ -35,8 +35,8 @@ INSTALLSTATIC=@INSTALLSTATIC@
# flags for C++ compiler:
CFLAGS=""
LDFLAGS="@EXPORT_LDFLAGS@"
-LIBS="@LIBGSSAPI@ @EXPORT_SSLLIBS@ @EXPORT_LIBZ@ @LIBS@"
-IMGLIBS="@EXPORT_LIBTIFF@ @EXPORT_LIBJPEG@ @EXPORT_LIBPNG@"
+LIBS=""
+IMGLIBS=""
# Check for local invocation...
selfdir=`dirname $0`