[80328] trunk/dports/gnome/gnucash/Portfile

dports at macports.org dports at macports.org
Fri Jul 8 22:50:46 PDT 2011


Revision: 80328
          http://trac.macports.org/changeset/80328
Author:   dports at macports.org
Date:     2011-07-08 22:50:46 -0700 (Fri, 08 Jul 2011)
Log Message:
-----------
gnucash: patch gnc-fq-dump to use MacPorts perl instead of
/usr/bin/perl (#30075)

Modified Paths:
--------------
    trunk/dports/gnome/gnucash/Portfile

Modified: trunk/dports/gnome/gnucash/Portfile
===================================================================
--- trunk/dports/gnome/gnucash/Portfile	2011-07-09 05:49:51 UTC (rev 80327)
+++ trunk/dports/gnome/gnucash/Portfile	2011-07-09 05:50:46 UTC (rev 80328)
@@ -5,6 +5,7 @@
 
 name              gnucash
 version           2.4.6
+revision          1
 categories        gnome x11
 maintainers       dports openmaintainer
 platforms         darwin
@@ -32,6 +33,12 @@
 # to use dbus-launch or muck with DYLD_LIBRARY_PATH.
 patchfiles        patch-configure.diff
 
+post-patch {
+    # gnc-fq-dump needs to be patched to use MacPorts perl.
+    # (autoconf takes care of the other perl scripts.)
+    reinplace "s|^#!/usr/bin/perl|#!${prefix}/bin/perl|" ${worksrcpath}/src/quotes/gnc-fq-dump
+}
+
 checksums         md5     b7d5fbb1bddf3618c97ebeeb76408ebe \
                   sha1    b6d4a6bc327ef5a260d070215a14a3180b474ad8 \
                   rmd160  af0f19749b38040c28f45ea0746a52cad3703d96
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110708/ff4306a2/attachment-0001.html>


More information about the macports-changes mailing list