Accepting request 586392 from home:elvigia:branches:graphics
- libgd-config.patch: do not inject false dependencies into packages, GD does not need extra libs to be used. this also allows us to clean up -devel package dependencies. OBS-URL: https://build.opensuse.org/request/show/586392 OBS-URL: https://build.opensuse.org/package/show/graphics/gd?expand=0&rev=46
This commit is contained in:
22
libgd-config.patch
Normal file
22
libgd-config.patch
Normal file
@@ -0,0 +1,22 @@
|
||||
Index: libgd-2.2.5/config/gdlib-config.in
|
||||
===================================================================
|
||||
--- libgd-2.2.5.orig/config/gdlib-config.in
|
||||
+++ libgd-2.2.5/config/gdlib-config.in
|
||||
@@ -74,7 +74,7 @@ while test $# -gt 0; do
|
||||
echo @LDFLAGS@
|
||||
;;
|
||||
--libs)
|
||||
- echo -lgd @LIBS@ @LIBICONV@
|
||||
+ echo -lgd
|
||||
;;
|
||||
--cflags|--includes)
|
||||
echo -I@includedir@
|
||||
@@ -87,7 +87,7 @@ while test $# -gt 0; do
|
||||
echo "includedir: $includedir"
|
||||
echo "cflags: -I@includedir@"
|
||||
echo "ldflags: @LDFLAGS@"
|
||||
- echo "libs: @LIBS@ @LIBICONV@"
|
||||
+ echo "libs: -lgd"
|
||||
echo "libdir: $libdir"
|
||||
echo "features: @FEATURES@"
|
||||
;;
|
Reference in New Issue
Block a user