[34193] trunk/dports/graphics/gd2
ricci at macports.org
ricci at macports.org
Sat Feb 16 21:33:48 PST 2008
Revision: 34193
http://trac.macosforge.org/projects/macports/changeset/34193
Author: ricci at macports.org
Date: 2008-02-16 21:33:48 -0800 (Sat, 16 Feb 2008)
Log Message:
-----------
Add patches to Makefile.in and config/gdlib-config.in to do a better job
linking against libiconv and reporting said linking...
Modified Paths:
--------------
trunk/dports/graphics/gd2/Portfile
Added Paths:
-----------
trunk/dports/graphics/gd2/files/patch-Makefile.in.diff
trunk/dports/graphics/gd2/files/patch-config-gdlib-config.in.diff
Modified: trunk/dports/graphics/gd2/Portfile
===================================================================
--- trunk/dports/graphics/gd2/Portfile 2008-02-17 05:26:45 UTC (rev 34192)
+++ trunk/dports/graphics/gd2/Portfile 2008-02-17 05:33:48 UTC (rev 34193)
@@ -46,7 +46,9 @@
lib:libX11.6:XFree86
patchfiles \
- gdft.c.diff
+ gdft.c.diff \
+ patch-Makefile.in.diff \
+ patch-config-gdlib-config.in.diff
platform darwin 6 {
depends_lib lib:libdl:dlcompat
Added: trunk/dports/graphics/gd2/files/patch-Makefile.in.diff
===================================================================
--- trunk/dports/graphics/gd2/files/patch-Makefile.in.diff (rev 0)
+++ trunk/dports/graphics/gd2/files/patch-Makefile.in.diff 2008-02-17 05:33:48 UTC (rev 34193)
@@ -0,0 +1,11 @@
+--- Makefile.in.orig 2007-04-23 07:57:51.000000000 -0700
++++ Makefile.in 2008-02-06 21:20:20.000000000 -0800
+@@ -347,7 +347,7 @@
+ libgd_la_SOURCES = gd.c gdfx.c gd_security.c gd_gd.c gd_gd2.c gd_io.c gd_io_dp.c gd_gif_in.c gd_gif_out.c gd_io_file.c gd_io_ss.c gd_jpeg.c gd_png.c gd_ss.c gd_topal.c gd_wbmp.c gdcache.c gdfontg.c gdfontl.c gdfontmb.c gdfonts.c gdfontt.c gdft.c gdhelpers.c gdhelpers.h gdkanji.c gdtables.c gdxpm.c jisx0208.h wbmp.c wbmp.h
+ libgd_la_LDFLAGS = -version-info 2:0:0 $(XTRA_LDFLAGS)
+ libgd_la_LIBADD = $(LTLIBICONV)
+-LDADD = ./libgd.la $(LIBICONV)
++LDADD = ./libgd.la $(LTLIBICONV)
+ all: config.h
+ $(MAKE) $(AM_MAKEFLAGS) all-recursive
+
Added: trunk/dports/graphics/gd2/files/patch-config-gdlib-config.in.diff
===================================================================
--- trunk/dports/graphics/gd2/files/patch-config-gdlib-config.in.diff (rev 0)
+++ trunk/dports/graphics/gd2/files/patch-config-gdlib-config.in.diff 2008-02-17 05:33:48 UTC (rev 34193)
@@ -0,0 +1,20 @@
+--- config/gdlib-config.in.orig 2006-10-11 02:46:22.000000000 -0700
++++ config/gdlib-config.in 2008-02-06 21:35:40.000000000 -0800
+@@ -71,7 +71,7 @@
+ echo @LDFLAGS@
+ ;;
+ --libs)
+- echo @LIBS@ @LIBICONV@
++ echo @LIBS@ @LTLIBICONV@
+ ;;
+ --cflags|--includes)
+ echo -I at includedir@
+@@ -84,7 +84,7 @@
+ echo "includedir: $includedir"
+ echo "cflags: -I at includedir@"
+ echo "ldflags: @LDFLAGS@"
+- echo "libs: @LIBS@ @LIBICONV@"
++ echo "libs: @LIBS@ @LTLIBICONV@"
+ echo "libdir: $libdir"
+ echo "features: @FEATURES@"
+ ;;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080216/5578b682/attachment-0001.html
More information about the macports-changes
mailing list