[25441] trunk/dports/print/ghostscript/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Mon May 21 22:39:54 PDT 2007


Revision: 25441
          http://trac.macosforge.org/projects/macports/changeset/25441
Author:   takanori at macports.org
Date:     2007-05-21 22:39:53 -0700 (Mon, 21 May 2007)

Log Message:
-----------
Rewrote the last patch using configure.cppflags and configure.ldflags.

Modified Paths:
--------------
    trunk/dports/print/ghostscript/Portfile

Modified: trunk/dports/print/ghostscript/Portfile
===================================================================
--- trunk/dports/print/ghostscript/Portfile	2007-05-22 05:37:14 UTC (rev 25440)
+++ trunk/dports/print/ghostscript/Portfile	2007-05-22 05:39:53 UTC (rev 25441)
@@ -26,12 +26,11 @@
         ghostscript-fonts-std-8.11.tar.gz md5 6865682b095f8c4500c54b285ff05ef6 \
         ghostscript-fonts-other-6.0.tar.gz md5 1a643ae62ef166562e4d422b1a601272
 
-configure {
-        # MacPorts 1.4.1 or higher adds -I${prefix}/include and -L${prefix}/lib flags to the configure by default.
-        # This change may break building ghostscript. Here is a workaround to avoid this issue.
-        system "cd $worksrcpath && ./configure --prefix=${prefix}"
-}
-        
+# MacPorts 1.4.1 or higher adds -I${prefix}/include and -L${prefix}/lib flags to the configure by default.
+# This change may break building ghostscript. Here is a workaround to avoid this issue.
+configure.cppflags {}
+configure.ldflags {}
+
 build.target
 
 destroot.destdir    prefix=${destroot}/${prefix}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070521/32401736/attachment.html


More information about the macports-changes mailing list