[42205] trunk/dports/print/ghostscript/Portfile
mcalhoun at macports.org
mcalhoun at macports.org
Sun Nov 16 12:23:19 PST 2008
Revision: 42205
http://trac.macports.org/changeset/42205
Author: mcalhoun at macports.org
Date: 2008-11-16 12:23:18 -0800 (Sun, 16 Nov 2008)
Log Message:
-----------
ghostscript: modify dependencies
pkgconfig is only needed in the build process
use the MacPorts perl
zlib automatically get linked in (with or without framework option), so make is a dependency
partial fix of #17107 (maintainer timeout)
Modified Paths:
--------------
trunk/dports/print/ghostscript/Portfile
Modified: trunk/dports/print/ghostscript/Portfile
===================================================================
--- trunk/dports/print/ghostscript/Portfile 2008-11-16 20:18:50 UTC (rev 42204)
+++ trunk/dports/print/ghostscript/Portfile 2008-11-16 20:23:18 UTC (rev 42205)
@@ -25,13 +25,16 @@
ghostscript-fonts-std-8.11.tar.gz md5 6865682b095f8c4500c54b285ff05ef6 \
ghostscript-fonts-other-6.0.tar.gz md5 1a643ae62ef166562e4d422b1a601272
-depends_lib lib:libX11.6:XFree86 \
+depends_lib lib:libX11:xorg \
port:cairo \
port:expat \
port:fontconfig \
port:libiconv \
- port:pkgconfig
+ port:zlib \
+ path:bin/perl:perl5
+depends_build port:pkgconfig
+
# Can be removed once MacPorts 1.7.0 is released
if {![info exists frameworks_dir]} {
set frameworks_dir ${prefix}/Library/Frameworks
@@ -42,6 +45,11 @@
reinplace "s|@@DESTROOT@@|${destroot}|" ${worksrcpath}/${f}
reinplace "s|@@FRAMEWORKS_DIR@@|${frameworks_dir}|" ${worksrcpath}/${f}
}
+
+ # Ensure that MacPorts perl is used
+ foreach f {lib/fixmswrd.pl toolbin/pscet_status.pl} {
+ reinplace "s|#!/usr/bin/perl|#!${prefix}/bin/perl|" ${worksrcpath}/${f}
+ }
}
# Ticket #11901, Thanks to Christian Cornelssen (ccorn at cs.tu-berlin.de).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081116/cdb4b560/attachment.html>
More information about the macports-changes
mailing list