ports/misc/lxde-common/files/patch-configure
Kris Moore 05197de7ca - Fix build to install the missing lxde-logout.desktop
- Bump portrevision

PR: 162951
Feature safe: yes
2012-03-09 21:27:33 +00:00

41 lines
1 KiB
Text

--- configure.orig 2011-07-29 10:12:19.000000000 -0400
+++ configure 2012-03-09 16:08:37.000000000 -0500
@@ -568,6 +568,7 @@
XMLCATALOG
XML_CATALOG_FILE
XSLTPROC
+xdgpath
xsesspath
LN_S
am__untar
@@ -636,6 +637,7 @@
enable_option_checking
enable_man
with_xsession_path
+with_xdg_path
with_xml_catalog
'
ac_precious_vars='build_alias
@@ -1265,6 +1267,9 @@
--with-xsession-path=PATH
set the install path of xsession data
[[DATAROOTDIR/xsessions]]
+ --with-xdg-path=PATH
+ set the install path of xdg data
+ [[DATAROOTDIR/applications]]
--with-xml-catalog=CATALOG
path to xml catalog to use
@@ -2235,6 +2240,12 @@
xsesspath="\${datarootdir}/xsessions"
fi
+# Check whether --with-xdg-path was given.
+if test "${with_xdg_path+set}" = set; then :
+ withval=$with_xdg_path; test x$withval != x && xdgpath="$withval"
+else
+ xdgpath="\${datarootdir}/applications"
+fi