[117869] trunk/dports/gnome/gdm
devans at macports.org
devans at macports.org
Sat Mar 15 09:15:24 PDT 2014
Revision: 117869
https://trac.macports.org/changeset/117869
Author: devans at macports.org
Date: 2014-03-15 09:15:24 -0700 (Sat, 15 Mar 2014)
Log Message:
-----------
gdm: in configure.ac patch, replace /opt/local with @MP_PREFIX@ and replace with ${prefix} in post-patch.
Modified Paths:
--------------
trunk/dports/gnome/gdm/Portfile
trunk/dports/gnome/gdm/files/patch-configure.ac.diff
Modified: trunk/dports/gnome/gdm/Portfile
===================================================================
--- trunk/dports/gnome/gdm/Portfile 2014-03-15 15:48:56 UTC (rev 117868)
+++ trunk/dports/gnome/gdm/Portfile 2014-03-15 16:15:24 UTC (rev 117869)
@@ -8,7 +8,7 @@
name gdm
version 3.10.0.1
-revision 1
+revision 2
license GPL-2
set branch [join [lrange [split ${version} .] 0 1] .]
description The Gnome Display Manager is a re-implementation of the well known xdm program.
@@ -55,7 +55,7 @@
patch-configure.ac.diff
post-patch {
- reinplace "s|@MP_PREFIX@|${prefix}|" ${worksrcpath}/configure
+ reinplace "s|@MP_PREFIX@|${prefix}|" ${worksrcpath}/configure.ac
file attributes ${worksrcpath}/install-sh -permissions +x
}
Modified: trunk/dports/gnome/gdm/files/patch-configure.ac.diff
===================================================================
--- trunk/dports/gnome/gdm/files/patch-configure.ac.diff 2014-03-15 15:48:56 UTC (rev 117868)
+++ trunk/dports/gnome/gdm/files/patch-configure.ac.diff 2014-03-15 16:15:24 UTC (rev 117869)
@@ -14,9 +14,9 @@
#
-if test -x /usr/X11/bin/Xserver; then
+if test -x @MP_PREFIX@/bin/Xquartz; then
-+ X_PATH="/opt/local/bin"
-+ X_SERVER_PATH="/opt/local/bin"
-+ X_SERVER="/opt/local/bin/Xquartz"
++ X_PATH="@MP_PREFIX@/bin"
++ X_SERVER_PATH="@MP_PREFIX@/bin"
++ X_SERVER="@MP_PREFIX@/bin/Xquartz"
+ X_CONFIG_OPTIONS="-audit 0"
+elif test -x /opt/X11/bin/Xquartz; then
+ X_PATH="/opt/X11/bin"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140315/1981ec94/attachment.html>
More information about the macports-changes
mailing list