pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/cad/verilog Force creation of dep directories to preve...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8f3a8a2b425a
branches:  trunk
changeset: 347871:8f3a8a2b425a
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Jun 01 13:30:40 2016 +0000

description:
Force creation of dep directories to prevent race conditions during the
actual build.

diffstat:

 cad/verilog/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r d87bc864fc2e -r 8f3a8a2b425a cad/verilog/Makefile
--- a/cad/verilog/Makefile      Wed Jun 01 12:46:08 2016 +0000
+++ b/cad/verilog/Makefile      Wed Jun 01 13:30:40 2016 +0000
@@ -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'
 
+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:



Home | Main Index | Thread Index | Old Index