[61159] trunk/dports/math/octave
alakazam at macports.org
alakazam at macports.org
Thu Dec 3 09:41:57 PST 2009
Revision: 61159
http://trac.macports.org/changeset/61159
Author: alakazam at macports.org
Date: 2009-12-03 09:41:54 -0800 (Thu, 03 Dec 2009)
Log Message:
-----------
Patch octave 3.2.3 to correctly handle the +no_x11 variant (closes #22741).
Modified Paths:
--------------
trunk/dports/math/octave/Portfile
Added Paths:
-----------
trunk/dports/math/octave/files/patch-configure-no_x11.diff
Modified: trunk/dports/math/octave/Portfile
===================================================================
--- trunk/dports/math/octave/Portfile 2009-12-03 17:25:27 UTC (rev 61158)
+++ trunk/dports/math/octave/Portfile 2009-12-03 17:41:54 UTC (rev 61159)
@@ -5,6 +5,7 @@
name octave
version 3.2.3
+revision 1
categories math science
maintainers alakazam stechert
platforms darwin
@@ -97,7 +98,7 @@
default_variants +gcc43
}
-patchfiles patch-lo-specfun.cc.diff
+patchfiles patch-lo-specfun.cc.diff patch-configure-no_x11.diff
post-patch {
reinplace "s|-lcholmod|-lcholmod -lmetis|g" ${worksrcpath}/configure
Added: trunk/dports/math/octave/files/patch-configure-no_x11.diff
===================================================================
--- trunk/dports/math/octave/files/patch-configure-no_x11.diff (rev 0)
+++ trunk/dports/math/octave/files/patch-configure-no_x11.diff 2009-12-03 17:41:54 UTC (rev 61159)
@@ -0,0 +1,24 @@
+--- configure
++++ configure
+@@ -7443,9 +7443,9 @@
+ echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
+ fi
+
+-if test "$have_x"; then
++if test "$have_x" == yes; then
+
+ cat >>confdefs.h <<\_ACEOF
+ #define HAVE_X_WINDOWS 1
+ _ACEOF
+
+--- configure.in
++++ configure.in
+@@ -255,7 +255,7 @@
+ AC_SUBST(DEPEND_EXTRA_SED_PATTERN)
+
+ AC_PATH_X
+-if test "$have_x"; then
++if test "$have_x" == yes; then
+ AC_DEFINE(HAVE_X_WINDOWS, 1, [Define if you have X11])
+
+ if test "$x_includes" != "NONE"; then
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091203/9a632df9/attachment.html>
More information about the macports-changes
mailing list