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

jeremyhu at macports.org jeremyhu at macports.org
Sat Dec 13 15:11:33 PST 2008


Revision: 43688
          http://trac.macports.org/changeset/43688
Author:   jeremyhu at macports.org
Date:     2008-12-13 15:11:32 -0800 (Sat, 13 Dec 2008)
Log Message:
-----------
ghostscript: autoreconf to detect X11 rather than using --x-include and --x-lib... updated X11 dependencies

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

Modified: trunk/dports/print/ghostscript/Portfile
===================================================================
--- trunk/dports/print/ghostscript/Portfile	2008-12-13 22:46:10 UTC (rev 43687)
+++ trunk/dports/print/ghostscript/Portfile	2008-12-13 23:11:32 UTC (rev 43688)
@@ -25,15 +25,17 @@
                 ghostscript-fonts-std-8.11.tar.gz md5 6865682b095f8c4500c54b285ff05ef6 \
                 ghostscript-fonts-other-6.0.tar.gz md5 1a643ae62ef166562e4d422b1a601272
 
-depends_lib     lib:libX11:xorg \
-                port:cairo \
+depends_lib     lib:libXext.6:xorg-libXext \
+                lib:libXt.6:xorg-libXt \
+                path:lib/pkgconfig/cairo.pc:cairo
                 port:expat \
                 port:fontconfig \
                 port:libiconv \
                 port:zlib \
                 path:bin/perl:perl5.8
 
-depends_build   port:pkgconfig
+depends_build   port:pkgconfig \
+		port:autoconf
 
 # Can be removed once MacPorts 1.7.0 is released
 if {![info exists frameworks_dir]} {
@@ -52,13 +54,15 @@
     }
 }
 
+use_autoconf yes
+autoconf.cmd autoreconf
+autoconf.args -fvi
+
 # Make included JasPer uses its own headers rather than the system ones
 configure.cppflags-delete       "-I${prefix}/include"
 configure.cppflags-append       "-isystem${prefix}/include"
 
 configure.args  --disable-compile-inits \
-                --x-includes=${x11prefix}/include \
-                --x-libraries=${x11prefix}/lib \
                 --disable-cups
 
 build.target
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081213/e505485f/attachment.html>


More information about the macports-changes mailing list