summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2003-01-22 07:35:40 +0000
committeragc <agc@pkgsrc.org>2003-01-22 07:35:40 +0000
commit6971ca3b1924288eeb89f82b7a78d2f0fa70fc47 (patch)
tree7227019d516d4e7ec29d6a320e209cb075300f23 /pkgtools
parentf733af63b90b853ebb78bae154c95c4d2d9c4dfa (diff)
downloadpkgsrc-6971ca3b1924288eeb89f82b7a78d2f0fa70fc47.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