[38552] trunk/dports/graphics/gd2/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Jul 24 21:08:09 PDT 2008


Revision: 38552
          http://trac.macosforge.org/projects/macports/changeset/38552
Author:   ryandesign at macports.org
Date:     2008-07-24 21:08:08 -0700 (Thu, 24 Jul 2008)
Log Message:
-----------
gd2: depend on autoconf and run autoreconf before configuring, to prevent configure from running twice, and to fix the build on Panther. See http://lists.macosforge.org/pipermail/macports-users/2008-July/011050.html

Modified Paths:
--------------
    trunk/dports/graphics/gd2/Portfile

Modified: trunk/dports/graphics/gd2/Portfile
===================================================================
--- trunk/dports/graphics/gd2/Portfile	2008-07-25 04:05:35 UTC (rev 38551)
+++ trunk/dports/graphics/gd2/Portfile	2008-07-25 04:08:08 UTC (rev 38552)
@@ -36,6 +36,9 @@
     sha1 ccf34a610abff2dbf133a20c4d2a4aa94939018a \
     rmd160 f452a2c333b2ba9b7b4c143983ec2af18a335516
 
+depends_build \
+    port:autoconf
+
 depends_lib \
     port:zlib \
     port:libpng \
@@ -51,6 +54,12 @@
     patch-Makefile.in.diff \
     patch-config-gdlib-config.in.diff
 
+pre-configure {
+    set cmd "cd ${worksrcpath} && autoreconf"
+    ui_debug ${cmd}
+    system "${cmd}"
+}
+
 platform darwin 6 {
     depends_lib lib:libdl:dlcompat
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080724/73d51df2/attachment.html 


More information about the macports-changes mailing list