diff options
author | jmmv <jmmv> | 2003-03-16 18:16:32 +0000 |
---|---|---|
committer | jmmv <jmmv> | 2003-03-16 18:16:32 +0000 |
commit | 602fbae0f6f0d00b72ce8617844ad37d260ba785 (patch) | |
tree | 9f9467b879b0c1c9fefa6162c07922593cef2a74 | |
parent | e9fb868d870b1796f20a5fb4c99405ae5ab3a15b (diff) | |
download | pkgsrc-602fbae0f6f0d00b72ce8617844ad37d260ba785.tar.gz |
Set kde_locale to PKGLOCALEDIR iff USE_PKGLOCALEDIR is set to "yes".
-rw-r--r-- | x11/kde3/buildlink2.mk | 6 |
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" |