summaryrefslogtreecommitdiff
path: root/meta-pkgs
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2005-03-06 12:41:26 +0000
committermarkd <markd@pkgsrc.org>2005-03-06 12:41:26 +0000
commit0b7dde76bc2e8397023a06deca83f0f179f794f4 (patch)
tree5fcbcca2addb2b5ee7a54fc6b9701330759e36a4 /meta-pkgs
parentc43b0efcf9a062aaa4a336f038ebf5d059ffea6b (diff)
downloadpkgsrc-0b7dde76bc2e8397023a06deca83f0f179f794f4.tar.gz
$PKG_SYSCONFDIR support from Jeremy C. Reed with minor changes from me.
Diffstat (limited to 'meta-pkgs')
-rw-r--r--meta-pkgs/kde3/kde3.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta-pkgs/kde3/kde3.mk b/meta-pkgs/kde3/kde3.mk
index 480df16e399..700c09286c8 100644
--- a/meta-pkgs/kde3/kde3.mk
+++ b/meta-pkgs/kde3/kde3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: kde3.mk,v 1.4 2004/12/10 05:59:50 markd Exp $
+# $NetBSD: kde3.mk,v 1.5 2005/03/06 12:41:26 markd Exp $
#
# This Makefile fragment is included by packages that use the KDE3
# configure-and-build process.
@@ -46,6 +46,7 @@ KDEDIR?= ${PREFIX}
QTDIR?= ${PREFIX}/qt3
CONFIGURE_ARGS+= --datadir="${KDEDIR}/share/kde"
+CONFIGURE_ARGS+= --sysconfdir="${PKG_SYSCONFDIR}"
CONFIGURE_ARGS+= --with-qt-dir="${QTDIR}"
CONFIGURE_ARGS+= --with-extra-includes="${_KDE3_EXTRA_INCLUDES}"
CONFIGURE_ARGS+= --disable-rpath
@@ -60,7 +61,7 @@ LDFLAGS+= -L${QTDIR}/lib
_KDE3_EXTRA_INCLUDES?= ${LOCALBASE}/include:${X11BASE}/include
KDE_CONFIG_SITE?= ${KDEDIR}/share/kde/config.site \
- ${KDEDIR}/etc/config.site
+ ${PKG_SYSCONFDIR}/kde/config.site
CONFIGURE_ENV+= KDEDIR="${KDEDIR}"
CONFIGURE_ENV+= CONFIG_SITE="${KDE_CONFIG_SITE}"