Wed Jun 1 13:30:41 2016 UTC ()
Force creation of dep directories to prevent race conditions during the
actual build.


(joerg)
diff -r1.40 -r1.41 pkgsrc/cad/verilog/Makefile

cvs diff -r1.40 -r1.41 pkgsrc/cad/verilog/Attic/Makefile (expand / switch to unified diff)

--- pkgsrc/cad/verilog/Attic/Makefile 2014/10/09 14:06:02 1.40
+++ pkgsrc/cad/verilog/Attic/Makefile 2016/06/01 13:30:40 1.41
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.40 2014/10/09 14:06:02 wiz Exp $ 1# $NetBSD: Makefile,v 1.41 2016/06/01 13:30:40 joerg Exp $
2# 2#
3 3
4DISTNAME= verilog-0.9.7 4DISTNAME= verilog-0.9.7
5CATEGORIES= cad 5CATEGORIES= cad
6MASTER_SITES= ftp://icarus.com/pub/eda/verilog/v0.9/ 6MASTER_SITES= ftp://icarus.com/pub/eda/verilog/v0.9/
7 7
8MAINTAINER= dmcmahill@NetBSD.org 8MAINTAINER= dmcmahill@NetBSD.org
9HOMEPAGE= http://iverilog.icarus.com/ 9HOMEPAGE= http://iverilog.icarus.com/
10COMMENT= Verilog simulation and synthesis tool (stable release version) 10COMMENT= Verilog simulation and synthesis tool (stable release version)
11LICENSE= gnu-gpl-v2 11LICENSE= gnu-gpl-v2
12 12
13CONFLICTS+= verilog-current-[0-9]* 13CONFLICTS+= verilog-current-[0-9]*
14 14
@@ -35,26 +35,29 @@ SUBST_SED.destdir= '-e s, $$(libdir)/ivl @@ -35,26 +35,29 @@ SUBST_SED.destdir= '-e s, $$(libdir)/ivl
35SUBST_SED.destdir+= '-e s, $$(libdir)/ivl, $$(DESTDIR)$$(libdir)/ivl,g' 35SUBST_SED.destdir+= '-e s, $$(libdir)/ivl, $$(DESTDIR)$$(libdir)/ivl,g'
36# target: 36# target:
37SUBST_SED.destdir+= '-e s,^$$(libdir)/ivl,$$(DESTDIR)$$(libdir)/ivl,' 37SUBST_SED.destdir+= '-e s,^$$(libdir)/ivl,$$(DESTDIR)$$(libdir)/ivl,'
38 38
39SUBST_CLASSES+= vpi-dest 39SUBST_CLASSES+= vpi-dest
40SUBST_STAGE.vpi-dest= pre-configure 40SUBST_STAGE.vpi-dest= pre-configure
41SUBST_FILES.vpi-dest= vpi/Makefile.in 41SUBST_FILES.vpi-dest= vpi/Makefile.in
42SUBST_MESSAGE.vpi-dest= Fix DESTDIR in vpi/Makefile.in (watch target:) 42SUBST_MESSAGE.vpi-dest= Fix DESTDIR in vpi/Makefile.in (watch target:)
43SUBST_SED.vpi-dest= '-e s, $$(vpidir)/, $$(DESTDIR)$$(vpidir)/,g' 43SUBST_SED.vpi-dest= '-e s, $$(vpidir)/, $$(DESTDIR)$$(vpidir)/,g'
44# Leading TAB 44# Leading TAB
45SUBST_SED.vpi-dest+= '-e s, $$(vpidir)/, $$(DESTDIR)$$(vpidir)/,g' 45SUBST_SED.vpi-dest+= '-e s, $$(vpidir)/, $$(DESTDIR)$$(vpidir)/,g'
46SUBST_SED.vpi-dest+= '-e s,^$$(vpidir)/,$$(DESTDIR)$$(vpidir)/,g' 46SUBST_SED.vpi-dest+= '-e s,^$$(vpidir)/,$$(DESTDIR)$$(vpidir)/,g'
47 47
 48pre-build:
 49 cd ${WRKSRC} && ${BUILD_MAKE_CMD} dep
 50
48# Some missing files not installed are handled by SUBST (above) 51# Some missing files not installed are handled by SUBST (above)
49# and rest of them are by following target. 52# and rest of them are by following target.
50post-install: 53post-install:
51 (cd ${WRKSRC}; ${INSTALL_DATA} \ 54 (cd ${WRKSRC}; ${INSTALL_DATA} \
52 QUICK_START.txt \ 55 QUICK_START.txt \
53 README.txt \ 56 README.txt \
54 ${DESTDIR}${PREFIX}/share/ivl ) 57 ${DESTDIR}${PREFIX}/share/ivl )
55# include/iverilog 58# include/iverilog
56 (cd ${WRKSRC}; ${INSTALL_DATA} \ 59 (cd ${WRKSRC}; ${INSTALL_DATA} \
57 acc_user.h ivl_target.h veriuser.h vpi_user.h \ 60 acc_user.h ivl_target.h veriuser.h vpi_user.h \
58 ${DESTDIR}${PREFIX}/include/iverilog ) 61 ${DESTDIR}${PREFIX}/include/iverilog )
59# lib/ivl/include 62# lib/ivl/include
60 (cd ${WRKSRC}; ${INSTALL_DATA} \ 63 (cd ${WRKSRC}; ${INSTALL_DATA} \