summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2003-03-16 18:16:32 +0000
committerjmmv <jmmv@pkgsrc.org>2003-03-16 18:16:32 +0000
commite879ee99e6f86dfedb6d50b3378211138f4c7504 (patch)
tree9f9467b879b0c1c9fefa6162c07922593cef2a74 /x11
parentdb0ed223ce1914c9910dcef92508beae67a7d3c9 (diff)
downloadpkgsrc-e879ee99e6f86dfedb6d50b3378211138f4c7504.tar.gz
Set kde_locale to PKGLOCALEDIR iff USE_PKGLOCALEDIR is set to "yes".
Diffstat (limited to 'x11')
-rw-r--r--x11/kde3/buildlink2.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/x11/kde3/buildlink2.mk b/x11/kde3/buildlink2.mk
index 547460e39a5..3ea5e99fe8d 100644
--- a/x11/kde3/buildlink2.mk
+++ b/x11/kde3/buildlink2.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink2.mk,v 1.3 2003/01/06 07:39:23 skrll Exp $
+# $NetBSD: buildlink2.mk,v 1.4 2003/03/16 18:16:32 jmmv Exp $
#
# This Makefile fragment is included by packages that use the KDE3
# configure-and-build process.
@@ -73,7 +73,11 @@ CONFIGURE_ENV+= kde_confdir="${KDEDIR}/share/kde/config"
CONFIGURE_ENV+= kde_datadir="${KDEDIR}/share/kde/apps"
CONFIGURE_ENV+= kde_htmldir="${KDEDIR}/share/doc/kde/HTML"
CONFIGURE_ENV+= kde_icondir="${KDEDIR}/share/kde/icons"
+.if defined(USE_PKGLOCALEDIR) && !empty(USE_PKGLOCALEDIR:M[Yy][Ee][Ss])
+CONFIGURE_ENV+= kde_locale="${KDEDIR}/${PKGLOCALEDIR}/locale"
+.else
CONFIGURE_ENV+= kde_locale="${KDEDIR}/share/kde/locale"
+.endif
CONFIGURE_ENV+= kde_mimedir="${KDEDIR}/share/kde/mimelnk"
CONFIGURE_ENV+= kde_servicesdir="${KDEDIR}/share/kde/services"
CONFIGURE_ENV+= kde_servicetypesdir="${KDEDIR}/share/kde/servicetypes"