[51268] trunk/dports/gnome/gnucash

blb at macports.org blb at macports.org
Thu May 21 18:22:12 PDT 2009


Revision: 51268
          http://trac.macports.org/changeset/51268
Author:   blb at macports.org
Date:     2009-05-21 18:22:12 -0700 (Thu, 21 May 2009)
Log Message:
-----------
gnome/gnucash - make sure perl scripts all use MacPorts perl; ticket #19706

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

Added Paths:
-----------
    trunk/dports/gnome/gnucash/files/patch-src_quotes_gnc-fq-dump.diff

Modified: trunk/dports/gnome/gnucash/Portfile
===================================================================
--- trunk/dports/gnome/gnucash/Portfile	2009-05-22 01:09:21 UTC (rev 51267)
+++ trunk/dports/gnome/gnucash/Portfile	2009-05-22 01:22:12 UTC (rev 51268)
@@ -5,7 +5,7 @@
 
 name              gnucash
 version           2.2.9
-revision          2
+revision          3
 categories        gnome x11
 maintainers       nomaintainer
 platforms         darwin
@@ -53,13 +53,15 @@
                   --disable-dependency-tracking --enable-hbci --enable-ofx
 
 patchfiles        patch-configure.diff patch-lib_libc_libc-missing-noop.c.diff \
-                  patch-src_bin_gnucash.in.diff
+                  patch-src_bin_gnucash.in.diff \
+                  patch-src_quotes_gnc-fq-dump.diff
 
 post-patch {
     reinplace "s|DYLD_LIBRARY_PATH|DYLD_FALLBACK_LIBRARY_PATH|g" \
         ${worksrcpath}/configure ${worksrcpath}/src/bin/gnucash.in \
         ${worksrcpath}/src/bin/overrides/gnucash-env.in \
         ${worksrcpath}/src/gnc-test-env
+    reinplace "s|@@PREFIX@@|${prefix}|" ${worksrcpath}/src/quotes/gnc-fq-dump
     fs-traverse src_file ${worksrcpath}/src {
         if { [ file isfile ${src_file} ] } {
             reinplace "s|\\<guile\\/|\\<guile16\\/|g"   ${src_file}

Added: trunk/dports/gnome/gnucash/files/patch-src_quotes_gnc-fq-dump.diff
===================================================================
--- trunk/dports/gnome/gnucash/files/patch-src_quotes_gnc-fq-dump.diff	                        (rev 0)
+++ trunk/dports/gnome/gnucash/files/patch-src_quotes_gnc-fq-dump.diff	2009-05-22 01:22:12 UTC (rev 51268)
@@ -0,0 +1,8 @@
+--- src/quotes/gnc-fq-dump.orig	2008-01-07 18:05:22.000000000 -0700
++++ src/quotes/gnc-fq-dump	2009-05-21 18:03:40.000000000 -0600
+@@ -1,4 +1,4 @@
+-#!/usr/bin/perl
++#!@@PREFIX@@/bin/perl
+ #
+ #    Copyright (C) 2003, David Hampton <hampton at employees.org>
+ #
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090521/1bebee75/attachment-0001.html>


More information about the macports-changes mailing list