aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2003-12-13 18:39:52 +0800
committerlofi <lofi@FreeBSD.org>2003-12-13 18:39:52 +0800
commite3aa82a7234cef2ee63dd7db10ed074785b8b72a (patch)
tree5ced21c317f4b59ea4ac9d2461e0e940040ba92f /x11
parent47e18abc9921021efdfe8445761df9d283ed419d (diff)
downloadfreebsd-ports-gnome-e3aa82a7234cef2ee63dd7db10ed074785b8b72a.tar.gz
freebsd-ports-gnome-e3aa82a7234cef2ee63dd7db10ed074785b8b72a.tar.zst
freebsd-ports-gnome-e3aa82a7234cef2ee63dd7db10ed074785b8b72a.zip
Fix PREFIX-safeness-bug.
PR: ports/59656 Submitted by: Melvyn Sopacua
Diffstat (limited to 'x11')
-rw-r--r--x11/kde3/Makefile4
-rw-r--r--x11/kde4/Makefile4
2 files changed, 8 insertions, 0 deletions
diff --git a/x11/kde3/Makefile b/x11/kde3/Makefile
index 3147f159f27a..344d38b3a31e 100644
--- a/x11/kde3/Makefile
+++ b/x11/kde3/Makefile
@@ -24,7 +24,11 @@ CONFLICTS?= kde-lite-[0-9]*
## This is the file where the selections made in the interactive dialog
## are saved in and initialized from.
+.if defined(KDE_PREFIX)
+CONFIG_FILE= ${KDE_PREFIX}/etc/kde-meta.conf
+.else
CONFIG_FILE= ${LOCALBASE}/etc/kde-meta.conf
+.endif
## The list of all modules that make up KDE, excluding the base modules
## arts, kdebase and kdelibs
diff --git a/x11/kde4/Makefile b/x11/kde4/Makefile
index 3147f159f27a..344d38b3a31e 100644
--- a/x11/kde4/Makefile
+++ b/x11/kde4/Makefile
@@ -24,7 +24,11 @@ CONFLICTS?= kde-lite-[0-9]*
## This is the file where the selections made in the interactive dialog
## are saved in and initialized from.
+.if defined(KDE_PREFIX)
+CONFIG_FILE= ${KDE_PREFIX}/etc/kde-meta.conf
+.else
CONFIG_FILE= ${LOCALBASE}/etc/kde-meta.conf
+.endif
## The list of all modules that make up KDE, excluding the base modules
## arts, kdebase and kdelibs