summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2016-06-01 13:30:40 +0000
committerjoerg <joerg@pkgsrc.org>2016-06-01 13:30:40 +0000
commitc950dbbae8ef17688579a20c86d2d56fb3b1a3df (patch)
tree212cf1c29349cf232f35c8f93d2059df3872f93a /cad
parentb4a40650d8ed1870fb6c58223c9c54b1dd94d59e (diff)
downloadpkgsrc-c950dbbae8ef17688579a20c86d2d56fb3b1a3df.tar.gz
Force creation of dep directories to prevent race conditions during the
actual build.
Diffstat (limited to 'cad')
-rw-r--r--cad/verilog/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/cad/verilog/Makefile b/cad/verilog/Makefile
index 2de40094c00..6603dc5c1ce 100644
--- a/cad/verilog/Makefile
+++ b/cad/verilog/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.40 2014/10/09 14:06:02 wiz Exp $
+# $NetBSD: Makefile,v 1.41 2016/06/01 13:30:40 joerg Exp $
#
DISTNAME= verilog-0.9.7
@@ -45,6 +45,9 @@ SUBST_SED.vpi-dest= '-e s, $$(vpidir)/, $$(DESTDIR)$$(vpidir)/,g'
SUBST_SED.vpi-dest+= '-e s, $$(vpidir)/, $$(DESTDIR)$$(vpidir)/,g'
SUBST_SED.vpi-dest+= '-e s,^$$(vpidir)/,$$(DESTDIR)$$(vpidir)/,g'
+pre-build:
+ cd ${WRKSRC} && ${BUILD_MAKE_CMD} dep
+
# Some missing files not installed are handled by SUBST (above)
# and rest of them are by following target.
post-install: