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

source_changes at macosforge.org source_changes at macosforge.org
Mon May 21 09:36:55 PDT 2007


Revision: 25413
          http://trac.macosforge.org/projects/macports/changeset/25413
Author:   digdog at macports.org
Date:     2007-05-21 09:36:54 -0700 (Mon, 21 May 2007)

Log Message:
-----------
patch for #11901

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

Modified: trunk/dports/print/ghostscript/Portfile
===================================================================
--- trunk/dports/print/ghostscript/Portfile	2007-05-21 16:28:48 UTC (rev 25412)
+++ trunk/dports/print/ghostscript/Portfile	2007-05-21 16:36:54 UTC (rev 25413)
@@ -26,6 +26,12 @@
         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}" 
+} 
+        
 build.target
 
 destroot.destdir    prefix=${destroot}/${prefix}

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


More information about the macports-changes mailing list