summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authoragc <agc>2003-01-22 07:35:40 +0000
committeragc <agc>2003-01-22 07:35:40 +0000
commite5a7d57fd1dddc8eb820370d507741b7e4f95f39 (patch)
tree7227019d516d4e7ec29d6a320e209cb075300f23 /pkgtools
parentdeb0fdf064409605e182c3efcef73ae33cd03251 (diff)
downloadpkgsrc-e5a7d57fd1dddc8eb820370d507741b7e4f95f39.tar.gz
Make sure PKG_DBDIR exists before installation, "just in case".
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/digest/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgtools/digest/Makefile b/pkgtools/digest/Makefile
index 9fa0aa9e028..a4b09876f49 100644
--- a/pkgtools/digest/Makefile
+++ b/pkgtools/digest/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2003/01/09 13:11:44 schmonz Exp $
+# $NetBSD: Makefile,v 1.34 2003/01/22 07:35:40 agc Exp $
#
# When adding new digest algorithms, please use rmd160 as the template,
# and bump the VERSION definition.
@@ -28,6 +28,9 @@ VERSION!= ${AWK} -F "'" '/^PACKAGE_VERSION=/ {print $$2}' \
do-extract:
@${CP} -Rp ${FILESDIR} ${WRKSRC}
+pre-install:
+ -@${MKDIR} ${PKG_DBDIR}
+
test:
@${ECHO} "No news is good news"
@cd ${WRKSRC} && ${SETENV} DIGESTDIR=${WRKSRC} ${SH} ./regress.sh