[112539] trunk/dports/science/lparse
snc at macports.org
snc at macports.org
Fri Oct 25 10:19:34 PDT 2013
Revision: 112539
https://trac.macports.org/changeset/112539
Author: snc at macports.org
Date: 2013-10-25 10:19:34 -0700 (Fri, 25 Oct 2013)
Log Message:
-----------
lparse: detect bison version, #40941
Modified Paths:
--------------
trunk/dports/science/lparse/Portfile
Added Paths:
-----------
trunk/dports/science/lparse/files/
trunk/dports/science/lparse/files/patch-configure.diff
Modified: trunk/dports/science/lparse/Portfile
===================================================================
--- trunk/dports/science/lparse/Portfile 2013-10-25 17:02:46 UTC (rev 112538)
+++ trunk/dports/science/lparse/Portfile 2013-10-25 17:19:34 UTC (rev 112539)
@@ -28,6 +28,8 @@
checksums rmd160 131f6ea6235eeb7529d2564bb9ce904e5bc2358a \
sha256 886d29723f7188296e48584a4a32b8f111414acb7ca8490af28ef6b7f1717298
+patchfiles patch-configure.diff
+
# this configure argument is only used for installing
configure.pre_args --prefix=${destroot}${prefix}/bin
Added: trunk/dports/science/lparse/files/patch-configure.diff
===================================================================
--- trunk/dports/science/lparse/files/patch-configure.diff (rev 0)
+++ trunk/dports/science/lparse/files/patch-configure.diff 2013-10-25 17:19:34 UTC (rev 112539)
@@ -0,0 +1,11 @@
+--- configure.orig 2013-10-25 12:31:49.000000000 -0400
++++ configure 2013-10-25 12:32:07.000000000 -0400
+@@ -51,7 +51,7 @@
+ my $bison_letter;
+ my $bison_found = 0;
+ while (<IN>) {
+- if (/[Bb]ison[^0-9]*(([0-9.]+)([a-z]+)?)*\s*$/) {
++ if (/[Bb]ison.*[^0-9]*(([0-9.]+)([a-z]+)?)*\s*$/) {
+ my $whole_version = $1;
+ $bison_version = $2;
+ $bison_letter = $3;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131025/c30ba8af/attachment.html>
More information about the macports-changes
mailing list