[arch-commits] Commit in xorg-xdm/trunk (PKGBUILD)

Andreas Radke andyrtr at archlinux.org
Sun Feb 23 08:50:35 UTC 2020


    Date: Sunday, February 23, 2020 @ 08:50:34
  Author: andyrtr
Revision: 376099

upgpkg: xorg-xdm 1.1.12-2: set default system and user PATHs when running configure - FS#63867

Modified:
  xorg-xdm/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-23 08:13:54 UTC (rev 376098)
+++ PKGBUILD	2020-02-23 08:50:34 UTC (rev 376099)
@@ -3,7 +3,7 @@
 
 pkgname=xorg-xdm
 pkgver=1.1.12
-pkgrel=1
+pkgrel=2
 pkgdesc="X Display Manager"
 arch=('x86_64')
 url="https://xorg.freedesktop.org/"
@@ -38,12 +38,18 @@
 
 build() {
   cd xdm-${pkgver}
+
+  # FS#63867 XDM's default userPath / systemPath hide /usr/local 
+  unset DEF_USER_PATH
+
   ./configure --prefix=/usr \
       --disable-xdm-auth \
       --disable-static \
       --with-xdmconfigdir=/etc/X11/xdm \
       --with-xdmscriptdir=/etc/X11/xdm \
-      --with-pixmapdir=/usr/share/xdm/pixmaps
+      --with-pixmapdir=/usr/share/xdm/pixmaps \
+      DEF_USER_PATH="/usr/local/bin:/usr/bin:/bin" \
+      DEF_SYSTEM_PATH="/usr/local/bin:/usr/bin:/bin"
 
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
 



More information about the arch-commits mailing list