[90132] trunk/dports/lang/qore
davidnichols at macports.org
davidnichols at macports.org
Wed Feb 22 23:15:24 PST 2012
Revision: 90132
http://trac.macports.org/changeset/90132
Author: davidnichols at macports.org
Date: 2012-02-22 23:15:22 -0800 (Wed, 22 Feb 2012)
Log Message:
-----------
patch to fix bug: https://trac.macports.org/ticket/31830 (bug setting svn revision in an automatically-generated header file with newer versions of subversion)
Modified Paths:
--------------
trunk/dports/lang/qore/Portfile
Added Paths:
-----------
trunk/dports/lang/qore/files/patch-next_build.sh.diff
Modified: trunk/dports/lang/qore/Portfile
===================================================================
--- trunk/dports/lang/qore/Portfile 2012-02-23 06:10:31 UTC (rev 90131)
+++ trunk/dports/lang/qore/Portfile 2012-02-23 07:15:22 UTC (rev 90132)
@@ -30,3 +30,6 @@
# the autoconf check for iconv() in libiconv fails with GNU iconv, but we need it, so we turn it on anyway
configure.ldflags -liconv
+
+# to fix: https://trac.macports.org/ticket/31830
+patchfiles patch-next_build.sh.diff
Added: trunk/dports/lang/qore/files/patch-next_build.sh.diff
===================================================================
--- trunk/dports/lang/qore/files/patch-next_build.sh.diff (rev 0)
+++ trunk/dports/lang/qore/files/patch-next_build.sh.diff 2012-02-23 07:15:22 UTC (rev 90132)
@@ -0,0 +1,13 @@
+--- next_build.sh.orig 2012-02-23 08:03:52.000000000 +0100
++++ next_build.sh 2012-02-23 08:05:36.000000000 +0100
+@@ -56,8 +56,8 @@
+ # see if svnversion is available
+ which svnversion >/dev/null 2>/dev/null
+ if [ $? -eq 0 ]; then
+- build=`svnversion|sed s/M//|sed s/:.*$//`
+- if [ "$build" != "exported" ]; then
++ build=`svnversion|sed -e s/M// -e s/:.*$// -e 's/ .*$//'`
++ if [ "$build" != "exported" -a "$build" != "Unversioned" ]; then
+ make_file $file
+ ok=1
+ fi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120222/1de69dd1/attachment-0001.html>
More information about the macports-changes
mailing list