[45166] trunk/dports/gnome/gstreamer

mcalhoun at macports.org mcalhoun at macports.org
Fri Jan 9 11:41:46 PST 2009


Revision: 45166
          http://trac.macports.org/changeset/45166
Author:   mcalhoun at macports.org
Date:     2009-01-09 11:41:45 -0800 (Fri, 09 Jan 2009)
Log Message:
-----------
gstreamer: configure script is confused by bison version of x.y.z (instead of x.y).

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

Added Paths:
-----------
    trunk/dports/gnome/gstreamer/files/patch-configure.diff

Modified: trunk/dports/gnome/gstreamer/Portfile
===================================================================
--- trunk/dports/gnome/gstreamer/Portfile	2009-01-09 18:58:20 UTC (rev 45165)
+++ trunk/dports/gnome/gstreamer/Portfile	2009-01-09 19:41:45 UTC (rev 45166)
@@ -44,7 +44,7 @@
 
 use_bzip2 	yes
 
-patchfiles	patch-no-gtk-doc.diff
+patchfiles	patch-no-gtk-doc.diff patch-configure.diff
 
 configure.env-append  PERL_PATH=${prefix}/bin/perl
 

Added: trunk/dports/gnome/gstreamer/files/patch-configure.diff
===================================================================
--- trunk/dports/gnome/gstreamer/files/patch-configure.diff	                        (rev 0)
+++ trunk/dports/gnome/gstreamer/files/patch-configure.diff	2009-01-09 19:41:45 UTC (rev 45166)
@@ -0,0 +1,14 @@
+--- configure.orig	2008-10-02 17:54:25.000000000 -0400
++++ configure	2009-01-09 14:36:29.000000000 -0500
+@@ -25178,10 +25178,7 @@
+   { echo "$as_me:$LINENO: checking bison version $bison_version >= $bison_min_version" >&5
+ echo $ECHO_N "checking bison version $bison_version >= $bison_min_version... $ECHO_C" >&6; }
+ 
+-  if perl -w <<EOF
+-    exit ($bison_version < $bison_min_version) ? 0 : 1;
+-EOF
+-  then
++if perl -we "exit ((v$bison_version ge v$bison_min_version) ? 0 : 1)"; then
+     { echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6; }
+   else
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090109/71a155d9/attachment.html>


More information about the macports-changes mailing list