[33828] trunk/dports/devel/libidl
dluke at macports.org
dluke at macports.org
Wed Feb 6 07:43:09 PST 2008
Revision: 33828
http://trac.macosforge.org/projects/macports/changeset/33828
Author: dluke at macports.org
Date: 2008-02-06 07:42:31 -0800 (Wed, 06 Feb 2008)
Log Message:
-----------
Force libidl to use /usr/bin/flex instead of macports flex (fixes #14144)
Also minor whitespace removal to make port lint happy.
Modified Paths:
--------------
trunk/dports/devel/libidl/Portfile
Added Paths:
-----------
trunk/dports/devel/libidl/files/
trunk/dports/devel/libidl/files/patch-configure.diff
Modified: trunk/dports/devel/libidl/Portfile
===================================================================
--- trunk/dports/devel/libidl/Portfile 2008-02-06 13:23:42 UTC (rev 33827)
+++ trunk/dports/devel/libidl/Portfile 2008-02-06 15:42:31 UTC (rev 33828)
@@ -7,9 +7,9 @@
version 0.8.10
maintainers nomaintainer
categories devel gnome
-platforms darwin
+platforms darwin
set branch [join [lrange [split ${version} .] 0 1] .]
-description libIDL is a library for creating CORBA IDL files.
+description libIDL is a library for creating CORBA IDL files.
long_description \
libIDL is a library licensed under the GNU LGPL \
@@ -36,7 +36,10 @@
port:libiconv \
port:gettext
+patchfiles patch-configure.diff
+
configure.cflags-append -no-cpp-precomp
+configure.env LEX=/usr/bin/flex
livecheck.check regex
livecheck.url http://ftp.gnome.org/pub/gnome/sources/${my_name}/${branch}/
Added: trunk/dports/devel/libidl/files/patch-configure.diff
===================================================================
--- trunk/dports/devel/libidl/files/patch-configure.diff (rev 0)
+++ trunk/dports/devel/libidl/files/patch-configure.diff 2008-02-06 15:42:31 UTC (rev 33828)
@@ -0,0 +1,13 @@
+--- configure.orig 2008-02-06 10:33:41.000000000 -0500
++++ configure 2008-02-06 10:33:50.000000000 -0500
+@@ -5034,11 +5034,6 @@
+ if test "$LEX" = :; then
+ LEX=${am_missing_run}flex
+ fi
+-if [ "$LEX" != "flex" ]; then
+- { { echo "$as_me:$LINENO: error: flex is required to create the libIDL scanner" >&5
+-echo "$as_me: error: flex is required to create the libIDL scanner" >&2;}
+- { (exit 1); exit 1; }; }
+-fi
+ LFLAGS="-8"
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080206/43fedba8/attachment.html
More information about the macports-changes
mailing list