summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorjlam <jlam>2005-05-21 04:10:17 +0000
committerjlam <jlam>2005-05-21 04:10:17 +0000
commit238ec521bd38eb82c2336dbdd45076ead470e679 (patch)
tree11ff742379fef639c652a8c2c7c8c1de53e583ee /pkgtools
parent9402c4cf8218a8a0ad9645ea52630cc92a152cd6 (diff)
downloadpkgsrc-238ec521bd38eb82c2336dbdd45076ead470e679.tar.gz
SUBST_FILES.* must be relative to ${WRKSRC}.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkg_alternatives/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/pkg_alternatives/Makefile b/pkgtools/pkg_alternatives/Makefile
index c3e9211b033..4bcadcb0841 100644
--- a/pkgtools/pkg_alternatives/Makefile
+++ b/pkgtools/pkg_alternatives/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2005/04/11 21:47:05 tv Exp $
+# $NetBSD: Makefile,v 1.6 2005/05/21 04:10:18 jlam Exp $
#
DISTNAME= pkg_alternatives-1.3
@@ -34,7 +34,7 @@ CONF_FILES= ${EGDIR}/filter.conf ${PKG_SYSCONFDIR}/filter.conf
SUBST_CLASSES+= vars
SUBST_STAGE.vars= do-configure
SUBST_MESSAGE.vars= "Configuring sources."
-SUBST_FILES.vars= ${WRKSRC}/*
+SUBST_FILES.vars= *
SUBST_SED.vars= -e 's|@CONFDIR@|${PKG_SYSCONFDIR}|g'
SUBST_SED.vars+= -e 's|@DATADIR@|${DATADIR}|g'
SUBST_SED.vars+= -e 's|@DBDIR@|${DBDIR}|g'