aboutsummaryrefslogtreecommitdiff
path: root/x11/kde3/Makefile
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2003-12-13 10:39:52 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2003-12-13 10:39:52 +0000
commitf8d67015940f05d648b8a7d079e895109bc3ef0a (patch)
tree5c45a067ad92d77d5150c2bcc5d206eb62d2ba49 /x11/kde3/Makefile
parent64c4818f8e2cf14bd8766bb5bd48e2dc23d5ebfb (diff)
downloadports-f8d67015940f05d648b8a7d079e895109bc3ef0a.tar.gz
ports-f8d67015940f05d648b8a7d079e895109bc3ef0a.zip
Fix PREFIX-safeness-bug.
PR: ports/59656 Submitted by: Melvyn Sopacua
Notes
Notes: svn path=/head/; revision=95715
Diffstat (limited to 'x11/kde3/Makefile')
-rw-r--r--x11/kde3/Makefile4
1 files changed, 4 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