[72097] trunk/dports/gnome/libgnomeui
devans at macports.org
devans at macports.org
Sun Oct 3 00:07:02 PDT 2010
Revision: 72097
http://trac.macports.org/changeset/72097
Author: devans at macports.org
Date: 2010-10-03 00:06:59 -0700 (Sun, 03 Oct 2010)
Log Message:
-----------
libgnomeui: disable 'libX11 not found' configure error when building +no_x11, libx11 not needed here, closes #26700.
Modified Paths:
--------------
trunk/dports/gnome/libgnomeui/Portfile
Added Paths:
-----------
trunk/dports/gnome/libgnomeui/files/
trunk/dports/gnome/libgnomeui/files/patch-configure.diff
Modified: trunk/dports/gnome/libgnomeui/Portfile
===================================================================
--- trunk/dports/gnome/libgnomeui/Portfile 2010-10-03 03:05:04 UTC (rev 72096)
+++ trunk/dports/gnome/libgnomeui/Portfile 2010-10-03 07:06:59 UTC (rev 72097)
@@ -35,7 +35,8 @@
--x-libraries=${prefix}/lib
variant no_x11 {
- depends_lib-delete port:xorg-libsm
+ patchfiles-append patch-configure.diff
+ depends_lib-delete port:xorg-libsm
configure.args-delete --x-includes=${prefix}/include \
--x-libraries=${prefix}/lib
configure.args-append --without-x
Added: trunk/dports/gnome/libgnomeui/files/patch-configure.diff
===================================================================
--- trunk/dports/gnome/libgnomeui/files/patch-configure.diff (rev 0)
+++ trunk/dports/gnome/libgnomeui/files/patch-configure.diff 2010-10-03 07:06:59 UTC (rev 72097)
@@ -0,0 +1,15 @@
+--- configure.orig 2010-10-02 23:33:41.000000000 -0700
++++ configure 2010-10-02 23:34:29.000000000 -0700
+@@ -13839,9 +13839,9 @@
+ gnome_keyring_requirement="gnome-keyring-1 >= 0.4"
+ GNOME_KEYRING="gnome-keyring-1"
+
+- if test x$GNOME_HAVE_X11 != xyes ; then
+- as_fn_error $? "libX11 not found" "$LINENO" 5
+- fi
++ # if test x$GNOME_HAVE_X11 != xyes ; then
++ # as_fn_error $? "libX11 not found" "$LINENO" 5
++ # fi
+ ;;
+ esac
+ if test "$os_win32" = "yes"; then
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101003/ee5a4ebf/attachment.html>
More information about the macports-changes
mailing list