summaryrefslogtreecommitdiff
path: root/sci-electronics/iverilog
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-02-05 18:44:56 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-02-05 18:44:56 +0000
commit29aabba0ea759c6a2864ff5631735b67ee38e5e0 (patch)
treeab466b4dfa7abecb401b2f8039d08af4689306bb /sci-electronics/iverilog
parentd42200bec37eef2a7478d88988ff00addd0a9202 (diff)
gentoo resync : 05.02.2020
Diffstat (limited to 'sci-electronics/iverilog')
-rw-r--r--sci-electronics/iverilog/Manifest6
-rw-r--r--sci-electronics/iverilog/files/iverilog-10.3-file-missing.patch191
-rw-r--r--sci-electronics/iverilog/files/iverilog-9999-file-missing.patch644
-rw-r--r--sci-electronics/iverilog/iverilog-10.3.ebuild4
-rw-r--r--sci-electronics/iverilog/iverilog-9999.ebuild4
5 files changed, 847 insertions, 2 deletions
diff --git a/sci-electronics/iverilog/Manifest b/sci-electronics/iverilog/Manifest
index 3d756b0719da..b5928a217987 100644
--- a/sci-electronics/iverilog/Manifest
+++ b/sci-electronics/iverilog/Manifest
@@ -1,3 +1,5 @@
+AUX iverilog-10.3-file-missing.patch 8849 BLAKE2B 2cb72c6d2b769ae0ac601f950b62dd0c3ad460df593a6a033794a5bfa482d1aa18e74502a8f54456c96df86ba12fe61827e0439764d05e0b5d5b00ae1d71d870 SHA512 bb954e9669fdfaea30a9bf711a2d7b5cf38906dc3665752746a9e0d8738dc07a79d90b33ba82dfe665a8181910b3b3083a78d06607562d684f6d9b8bc1741368
+AUX iverilog-9999-file-missing.patch 23993 BLAKE2B 8e4016f9aa65dc260f249a95cbd68e64719000fd23871af05f224d0b808b62a2568cc65768efc8a7f22e9fbb47784b18040cabf47a523f1f565cbc9a15fb501e SHA512 ffd4516b73bb776ad95fc792bf6c0c67cee05b472c637827823a17d3c074401f464a92d5d4c650bafe47d3bd4ffd5baabb157b67d0413f0b54c76b1fd7e5f24a
DIST iverilog-10.3.tar.gz 1600835 BLAKE2B 107c57c61fb27c18f4020f7853bf6ca83d1a86fdc73c57ea207828baf6b7a26d42e43ce7b33580f050a4c0b8f63bca6accecf678323a3bbbee1eb9c1d8fa2caa SHA512 67076e19a208576c21a0462ff7d15d00a9d47740c47518a5523bd928b3118360d85eb84c317963717d15e5246ece3727259f6ff3baf59e195340530cc9086a1d
DIST verilog-0.9.6.tar.gz 1219982 BLAKE2B 12f7dfb1ab8b7e4524cf0a3061ce801bfa741015fc1446aef7ffe51c42d76b5d0578e78ce13cd8c3fb6bac580e9da1ed11ca03e1fd02f8cb75dd74425546f851 SHA512 63c18f211eb9711547db65b859551063129cf18acb1196eaa88562f194231079fe929a6f7b8fbe2160863c521f02dde079e792f1b0bbe1c2514deafd55d5288c
DIST verilog-0.9.7.tar.gz 1238088 BLAKE2B c0b173b4857abc0d35ad05d9f11d5265763c92e625aadb1b487978c40e0679725b8e6de0fc05cc8e4bc7a6db6e1d9abacf886942b05e27d8513b9586cca156f9 SHA512 1a81f132c667f5cd33a11156364a366806ef9b6ef59b86f69df852af79cc92db17df8db0bace4e3c14929b0110df0aa7d83f35f664057e715842acf7bd21c1f5
@@ -5,6 +7,6 @@ DIST verilog-10.2.tar.gz 1695227 BLAKE2B ea2488de55ef60a248e7f5ffd5e06c6d86d57f3
EBUILD iverilog-0.9.6.ebuild 1123 BLAKE2B bd804cd0e062aad50ae3d13b86181431634a9ffc5e06f725bd3c3dba8e3cdcdcefe970ac5c5af9dd12bdcf6e6efe45158d8e262c445f155b51bc7289e8f84782 SHA512 b5bfe49d06522810054db72693e30220ceda8e0e1886a45a2094024b6e114cb3c8e943c333308fd0f17facdaa5bf7066aedc33120bed3fbb942ff0320733695a
EBUILD iverilog-0.9.7.ebuild 1127 BLAKE2B 0df427e1b40eb81301e3ad5a783ba439d11e29f64bba8db1bae0b814807525367a1009b7dd3daad2c04e315c0899b32e6b83fa5c034dc821350151e234546616 SHA512 0166372b9aec56da2edce510783bdd9aece5610f418d0ceea081a72f0b7277b62133fcd866360fea449395a7e9bd6a7f24ae03c2373184bd14c1c951e81d4e33
EBUILD iverilog-10.2.ebuild 645 BLAKE2B bfa32a5577961ef503b53654f1c076cfe8a1cb000a2986ca603404115502332f6c8be2ca10b925ce70f148ee394bed96c6e4f19c303664cde249de7e9dd8bc43 SHA512 de3c3cb13a45900e02cc90a9283a41f5d32e5a6fb6c9f8e261bd356fbcfafd98fd65e38c42324d246927360a6b1af17c0b9d110b38d6f2ce19921b350a19f905
-EBUILD iverilog-10.3.ebuild 1723 BLAKE2B f0b8caf5e2790f18ede1445111cbaf7cbc9c5dd8f2d9e741fd4b42fe8aadb36f149633d83dcde6e133038065a38535b9fd2cd6dc1b6ccd8c2fc5b6867e4aead6 SHA512 50b62bb39bdbd4d146b6cf71326548a9181b35c0de4091cac420e6a63753053880eeed91a6a021610f245fe2ab46f25481f18748c6239dd78322de0cf02aa930
-EBUILD iverilog-9999.ebuild 1723 BLAKE2B f0b8caf5e2790f18ede1445111cbaf7cbc9c5dd8f2d9e741fd4b42fe8aadb36f149633d83dcde6e133038065a38535b9fd2cd6dc1b6ccd8c2fc5b6867e4aead6 SHA512 50b62bb39bdbd4d146b6cf71326548a9181b35c0de4091cac420e6a63753053880eeed91a6a021610f245fe2ab46f25481f18748c6239dd78322de0cf02aa930
+EBUILD iverilog-10.3.ebuild 1789 BLAKE2B 5bf4353143abe8fcb5eed67518a27a46c592066abe99852bb5d8c052598e54ec5a259a5404d530908b2e4f867b46ebe42e2cccc1d136650c93026f96b4490a7c SHA512 14a540a5ad34bf3a45210fd7c3c7adf506012731277fa9dcfb4e2ecced7b4ebf0a8ff044796ba4e166453afbd23f2bca0e3878dd88caf97af8da7d3037a2010b
+EBUILD iverilog-9999.ebuild 1789 BLAKE2B 0c887609a7098d6512d4b313bc717cf4c1c8c9116e658c3f8de6f0069689943937b090a0d3d6b82cd7a578225a65cfdbe876caea5b6d69cb3c846828a2791897 SHA512 e4e96120099117b1bb2bfb993f7b9cb0e087e17ae21bab79cf77b1e09a0e80d982bc887d4bf83e4d7c3c63ef5868d7d02f47e5026e3b5360d3090ca498451167
MISC metadata.xml 904 BLAKE2B 92e78cfceee82ffb4feaee92810d496bf78c3321a81c97fbcc0038244e2ea58e87fec57254ebd90852a4d308bd08d944659ce59b339b2762ba26843c8ad59cb3 SHA512 8c3633d7bea101dc771c26355b40d309eb5b0b3ea7bbf3538faaa9c7098253eb623aac3f9e312aed25a9262116d013784adf02d9f2a3943a5fbec3733dab250f
diff --git a/sci-electronics/iverilog/files/iverilog-10.3-file-missing.patch b/sci-electronics/iverilog/files/iverilog-10.3-file-missing.patch
new file mode 100644
index 000000000000..2232fff2296f
--- /dev/null
+++ b/sci-electronics/iverilog/files/iverilog-10.3-file-missing.patch
@@ -0,0 +1,191 @@
+https://bugs.gentoo.org/705412
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -327,6 +327,7 @@ else
+ WIN32_INSTALL = $(bindir)/iverilog-vpi$(suffix)
+ endif
+
++.PHONY: all installdirs $(libdir)/ivl$(suffix)/ivl@EXEEXT@ $(libdir)/ivl$(suffix)/include/constants.vams $(libdir)/ivl$(suffix)/include/disciplines.vams $(includedir)/ivl_target.h $(includedir)/_pli_types.h $(includedir)/sv_vpi_user.h $(includedir)/vpi_user.h $(includedir)/acc_user.h $(includedir)/veriuser.h $(WIN32_INSTALL) $(INSTALL_DOC)
+ install: all installdirs $(libdir)/ivl$(suffix)/ivl@EXEEXT@ $(libdir)/ivl$(suffix)/include/constants.vams $(libdir)/ivl$(suffix)/include/disciplines.vams $(includedir)/ivl_target.h $(includedir)/_pli_types.h $(includedir)/sv_vpi_user.h $(includedir)/vpi_user.h $(includedir)/acc_user.h $(includedir)/veriuser.h $(WIN32_INSTALL) $(INSTALL_DOC)
+ $(foreach dir,$(SUBDIRS),$(MAKE) -C $(dir) $@ && ) true
+
+--- a/cadpli/Makefile.in
++++ b/cadpli/Makefile.in
+@@ -79,6 +79,7 @@ endif
+ cadpli.vpl: $O ../vvp/libvpi.a ../libveriuser/libveriuser.o
+ $(CC) @shared@ $(LDFLAGS) -o $@ $O ../libveriuser/libveriuser.o $(SYSTEM_VPI_LDFLAGS)
+
++.PHONY: all installdirs $(vpidir)/cadpli.vpl
+ install: all installdirs $(vpidir)/cadpli.vpl
+
+ $(vpidir)/cadpli.vpl: ./cadpli.vpl
+--- a/driver-vpi/Makefile.in
++++ b/driver-vpi/Makefile.in
+@@ -93,6 +93,7 @@ res.o: res.rc
+ $(WINDRES) -i res.rc -o res.o
+ #
+
++.PHONY: all installdirs $(bindir)/iverilog-vpi$(suffix)@EXEEXT@
+ install: all installdirs $(bindir)/iverilog-vpi$(suffix)@EXEEXT@
+
+ $(bindir)/iverilog-vpi$(suffix)@EXEEXT@: ./iverilog-vpi@EXEEXT@
+--- a/driver/Makefile.in
++++ b/driver/Makefile.in
+@@ -127,6 +127,7 @@ INSTALL_DOC = $(mandir)/man1/iverilog$(suffix).1
+ INSTALL_DOCDIR = $(mandir)/man1
+ endif
+
++.PHONY: all installdirs $(bindir)/iverilog$(suffix)@EXEEXT@ $(INSTALL_DOC)
+ install: all installdirs $(bindir)/iverilog$(suffix)@EXEEXT@ $(INSTALL_DOC)
+
+ $(bindir)/iverilog$(suffix)@EXEEXT@: ./iverilog@EXEEXT@
+--- a/ivlpp/Makefile.in
++++ b/ivlpp/Makefile.in
+@@ -71,6 +71,7 @@ ivlpp@EXEEXT@: $O
+ lexor.c: $(srcdir)/lexor.lex
+ $(LEX) -t $< > $@
+
++.PHONY: all installdirs $(libdir)/ivl$(suffix)/ivlpp@EXEEXT@
+ install: all installdirs $(libdir)/ivl$(suffix)/ivlpp@EXEEXT@
+
+ $(libdir)/ivl$(suffix)/ivlpp@EXEEXT@: ivlpp@EXEEXT@
+--- a/tgt-blif/Makefile.in
++++ b/tgt-blif/Makefile.in
+@@ -81,6 +81,7 @@ endif
+ blif.tgt: $O $(TGTDEPLIBS)
+ $(CXX) @shared@ $(LDFLAGS) -o $@ $O $(TGTLDFLAGS)
+
++.PHONY: all installdirs $(libdir)/ivl$(suffix)/blif.tgt $(INSTALL_DOC) $(libdir)/ivl$(suffix)/blif.conf $(libdir)/ivl$(suffix)/blif-s.conf
+ install: all installdirs $(libdir)/ivl$(suffix)/blif.tgt $(INSTALL_DOC) $(libdir)/ivl$(suffix)/blif.conf $(libdir)/ivl$(suffix)/blif-s.conf
+
+ $(libdir)/ivl$(suffix)/blif.tgt: ./blif.tgt
+--- a/tgt-fpga/Makefile.in
++++ b/tgt-fpga/Makefile.in
+@@ -100,6 +100,7 @@ INSTALL_DOC = $(mandir)/man1/iverilog-fpga$(suffix).1
+ INSTALL_DOCDIR = $(mandir)/man1
+ endif
+
++.PHONY: all installdirs $(libdir)/ivl$(suffix)/fpga.tgt $(INSTALL_DOC) $(libdir)/ivl$(suffix)/fpga.conf $(libdir)/ivl$(suffix)/fpga-s.conf
+ install: all installdirs $(libdir)/ivl$(suffix)/fpga.tgt $(INSTALL_DOC) $(libdir)/ivl$(suffix)/fpga.conf $(libdir)/ivl$(suffix)/fpga-s.conf
+
+ $(libdir)/ivl$(suffix)/fpga.tgt: ./fpga.tgt
+--- a/tgt-null/Makefile.in
++++ b/tgt-null/Makefile.in
+@@ -80,6 +80,7 @@ endif
+ null.tgt: $O $(TGTDEPLIBS)
+ $(CC) @shared@ $(LDFLAGS) -o $@ $O $(TGTLDFLAGS)
+
++.PHONY: all installdirs $(libdir)/ivl$(suffix)/null.tgt $(INSTALL_DOC) $(libdir)/ivl$(suffix)/null.conf $(libdir)/ivl$(suffix)/null-s.conf
+ install: all installdirs $(libdir)/ivl$(suffix)/null.tgt $(INSTALL_DOC) $(libdir)/ivl$(suffix)/null.conf $(libdir)/ivl$(suffix)/null-s.conf
+
+ $(libdir)/ivl$(suffix)/null.tgt: ./null.tgt
+--- a/tgt-pal/Makefile.in
++++ b/tgt-pal/Makefile.in
+@@ -79,6 +79,7 @@ endif
+ pal.tgt: $O $(TGTDEPLIBS)
+ $(CC) @shared@ $(LDFLAGS) -o $@ $O $(TGTLDFLAGS) -lipal
+
++.PHONY: all installdirs $(libdir)/ivl/pal.tgt
+ install: all installdirs $(libdir)/ivl/pal.tgt
+
+ $(libdir)/ivl/pal.tgt: ./pal.tgt
+--- a/tgt-pcb/Makefile.in
++++ b/tgt-pcb/Makefile.in
+@@ -104,6 +104,7 @@ endif
+ pcb.tgt: $O $(TGTDEPLIBS)
+ $(CXX) @shared@ $(LDFLAGS) -o $@ $O $(TGTLDFLAGS)
+
++.PHONY: all installdirs $(libdir)/ivl$(suffix)/pcb.tgt $(INSTALL_DOC) $(libdir)/ivl$(suffix)/pcb.conf $(libdir)/ivl$(suffix)/pcb-s.conf
+ install: all installdirs $(libdir)/ivl$(suffix)/pcb.tgt $(INSTALL_DOC) $(libdir)/ivl$(suffix)/pcb.conf $(libdir)/ivl$(suffix)/pcb-s.conf
+
+ $(libdir)/ivl$(suffix)/pcb.tgt: ./pcb.tgt
+--- a/tgt-sizer/Makefile.in
++++ b/tgt-sizer/Makefile.in
+@@ -80,6 +80,7 @@ endif
+ sizer.tgt: $O $(TGTDEPLIBS)
+ $(CXX) @shared@ $(LDFLAGS) -o $@ $O $(TGTLDFLAGS)
+
++.PHONY: all installdirs $(libdir)/ivl$(suffix)/sizer.tgt $(INSTALL_DOC) $(libdir)/ivl$(suffix)/sizer.conf $(libdir)/ivl$(suffix)/sizer-s.conf
+ install: all installdirs $(libdir)/ivl$(suffix)/sizer.tgt $(INSTALL_DOC) $(libdir)/ivl$(suffix)/sizer.conf $(libdir)/ivl$(suffix)/sizer-s.conf
+
+ $(libdir)/ivl$(suffix)/sizer.tgt: ./sizer.tgt
+--- a/tgt-stub/Makefile.in
++++ b/tgt-stub/Makefile.in
+@@ -81,6 +81,7 @@ endif
+ stub.tgt: $O $(TGTDEPLIBS)
+ $(CC) @shared@ $(LDFLAGS) -o $@ $O $(TGTLDFLAGS)
+
++.PHONY: all installdirs $(libdir)/ivl$(suffix)/stub.tgt $(libdir)/ivl$(suffix)/stub.conf $(libdir)/ivl$(suffix)/stub-s.conf
+ install: all installdirs $(libdir)/ivl$(suffix)/stub.tgt \
+ $(libdir)/ivl$(suffix)/stub.conf $(libdir)/ivl$(suffix)/stub-s.conf
+
+--- a/tgt-verilog/Makefile.in
++++ b/tgt-verilog/Makefile.in
+@@ -79,6 +79,7 @@ endif
+ verilog.tgt: $O $(TGTDEPLIBS)
+ $(CC) @shared@ $(LDFLAGS) -o $@ $O $(TGTLDFLAGS)
+
++.PHONY: all installdirs $(libdir)/ivl/verilog.tgt $(includedir)/vpi_user.h
+ install: all installdirs $(libdir)/ivl/verilog.tgt \
+ $(includedir)/vpi_user.h
+
+--- a/tgt-vhdl/Makefile.in
++++ b/tgt-vhdl/Makefile.in
+@@ -89,6 +89,7 @@ stamp-vhdl_config-h: $(srcdir)/vhdl_config.h.in ../config.status
+ cd ..; ./config.status --header=tgt-vhdl/vhdl_config.h
+ vhdl_config.h: stamp-vhdl_config-h
+
++.PHONY: all installdirs $(libdir)/ivl$(suffix)/vhdl.tgt $(libdir)/ivl$(suffix)/vhdl.conf $(libdir)/ivl$(suffix)/vhdl-s.conf
+ install: all installdirs $(libdir)/ivl$(suffix)/vhdl.tgt $(libdir)/ivl$(suffix)/vhdl.conf \
+ $(libdir)/ivl$(suffix)/vhdl-s.conf
+
+--- a/tgt-vlog95/Makefile.in
++++ b/tgt-vlog95/Makefile.in
+@@ -80,6 +80,7 @@ endif
+ vlog95.tgt: $O $(TGTDEPLIBS)
+ $(CC) @shared@ $(LDFLAGS) -o $@ $O -lm $(TGTLDFLAGS)
+
++.PHONY: all installdirs $(libdir)/ivl$(suffix)/vlog95.tgt $(INSTALL_DOC) $(libdir)/ivl$(suffix)/vlog95.conf $(libdir)/ivl$(suffix)/vlog95-s.conf
+ install: all installdirs $(libdir)/ivl$(suffix)/vlog95.tgt $(INSTALL_DOC) $(libdir)/ivl$(suffix)/vlog95.conf $(libdir)/ivl$(suffix)/vlog95-s.conf
+
+ $(libdir)/ivl$(suffix)/vlog95.tgt: ./vlog95.tgt
+--- a/tgt-vvp/Makefile.in
++++ b/tgt-vvp/Makefile.in
+@@ -103,6 +103,7 @@ stamp-vvp_config-h: $(srcdir)/vvp_config.h.in ../config.status
+ cd ..; ./config.status --header=tgt-vvp/vvp_config.h
+ vvp_config.h: stamp-vvp_config-h
+
++.PHONY: all installdirs $(libdir)/ivl$(suffix)/vvp.tgt $(libdir)/ivl$(suffix)/vvp.conf $(libdir)/ivl$(suffix)/vvp-s.conf
+ install: all installdirs $(libdir)/ivl$(suffix)/vvp.tgt $(libdir)/ivl$(suffix)/vvp.conf $(libdir)/ivl$(suffix)/vvp-s.conf
+
+ $(libdir)/ivl$(suffix)/vvp.tgt: ./vvp.tgt
+--- a/vhdlpp/Makefile.in
++++ b/vhdlpp/Makefile.in
+@@ -127,6 +127,7 @@ lexor_keyword.o: lexor_keyword.cc parse.h
+ lexor_keyword.cc: $(srcdir)/lexor_keyword.gperf
+ gperf -o -i 7 --ignore-case -C -k 1-4,6,9,$$ -H keyword_hash -N check_identifier -t $(srcdir)/lexor_keyword.gperf > lexor_keyword.cc || (rm -f lexor_keyword.cc ; false)
+
++.PHONY: all installdirs $(libdir)/ivl$(suffix)/vhdlpp@EXEEXT@
+ install: all installdirs $(libdir)/ivl$(suffix)/vhdlpp@EXEEXT@
+
+ $(libdir)/ivl$(suffix)/vhdlpp@EXEEXT@: vhdlpp@EXEEXT@
+--- a/vpi/Makefile.in
++++ b/vpi/Makefile.in
+@@ -171,6 +171,7 @@ stamp-vpi_config-h: $(srcdir)/vpi_config.h.in ../config.status
+ cd ..; ./config.status --header=vpi/vpi_config.h
+ vpi_config.h: stamp-vpi_config-h
+
++.PHONY: all installdirs $(vpidir)/system.vpi $(vpidir)/system.sft $(vpidir)/va_math.vpi $(vpidir)/va_math.sft $(vpidir)/v2005_math.vpi $(vpidir)/v2005_math.sft $(vpidir)/v2009.vpi $(vpidir)/v2009.sft $(vpidir)/vhdl_sys.vpi $(vpidir)/vhdl_sys.sft $(vpidir)/vpi_debug.vpi
+ install: all installdirs \
+ $(vpidir)/system.vpi $(vpidir)/system.sft \
+ $(vpidir)/va_math.vpi $(vpidir)/va_math.sft \
+--- a/vvp/Makefile.in
++++ b/vvp/Makefile.in
+@@ -205,6 +205,7 @@ stamp-config-h: $(srcdir)/config.h.in ../config.status
+ cd ..; ./config.status --header=vvp/config.h
+ config.h: stamp-config-h
+
++.PHONY: all installdirs $(bindir)/vvp$(suffix)@EXEEXT@ $(libdir)/libvpi$(suffix).a $(INSTALL_DOC)
+ install: all installdirs $(bindir)/vvp$(suffix)@EXEEXT@ $(libdir)/libvpi$(suffix).a $(INSTALL_DOC)
+
+ $(bindir)/vvp$(suffix)@EXEEXT@: ./vvp@EXEEXT@
diff --git a/sci-electronics/iverilog/files/iverilog-9999-file-missing.patch b/sci-electronics/iverilog/files/iverilog-9999-file-missing.patch
new file mode 100644
index 000000000000..a8d809cef8e2
--- /dev/null
+++ b/sci-electronics/iverilog/files/iverilog-9999-file-missing.patch
@@ -0,0 +1,644 @@
+https://bugs.gentoo.org/705412
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -308,67 +308,62 @@ version_tag.h version:
+
+ ifeq (@MINGW32@,yes)
+ ifeq ($(MAN),none)
+-INSTALL_DOC = $(mandir)/man1/iverilog-vpi$(suffix).1
++INSTALL_DOC = installman
+ else
+ ifeq ($(PS2PDF),none)
+-INSTALL_DOC = $(mandir)/man1/iverilog-vpi$(suffix).1
++INSTALL_DOC = installman
+ else
+-INSTALL_DOC = $(prefix)/iverilog-vpi$(suffix).pdf $(mandir)/man1/iverilog-vpi$(suffix).1
++INSTALL_DOC = installpdf installman
+ all: dep iverilog-vpi.pdf
+ endif
+ endif
+ INSTALL_DOCDIR = $(mandir)/man1
+ else
+-INSTALL_DOC = $(mandir)/man1/iverilog-vpi$(suffix).1
++INSTALL_DOC = installman
+ INSTALL_DOCDIR = $(mandir)/man1
+ endif
+
+ ifeq (@MINGW32@,yes)
+ WIN32_INSTALL =
+ else
+-WIN32_INSTALL = $(bindir)/iverilog-vpi$(suffix)
++WIN32_INSTALL = installwin32
+ endif
+
+-install: all installdirs $(libdir)/ivl$(suffix)/ivl@EXEEXT@ $(libdir)/ivl$(suffix)/include/constants.vams $(libdir)/ivl$(suffix)/include/disciplines.vams $(includedir)/ivl_target.h $(includedir)/_pli_types.h $(includedir)/sv_vpi_user.h $(includedir)/vpi_user.h $(includedir)/acc_user.h $(includedir)/veriuser.h $(WIN32_INSTALL) $(INSTALL_DOC)
++install: all installdirs installfiles
+ $(foreach dir,$(SUBDIRS),$(MAKE) -C $(dir) $@ && ) true
+
+-$(bindir)/iverilog-vpi$(suffix): ./iverilog-vpi installdirs
++F = ./ivl@EXEEXT@ \
++ $(srcdir)/constants.vams \
++ $(srcdir)/disciplines.vams \
++ $(srcdir)/ivl_target.h \
++ ./_pli_types.h \
++ $(srcdir)/sv_vpi_user.h \
++ $(srcdir)/vpi_user.h \
++ $(srcdir)/acc_user.h \
++ $(srcdir)/veriuser.h \
++ $(INSTALL_DOC) \
++ $(WIN32_INSTALL)
++
++installwin32: ./iverilog-vpi installdirs
+ $(INSTALL_SCRIPT) ./iverilog-vpi "$(DESTDIR)$(bindir)/iverilog-vpi$(suffix)"
+
+-$(libdir)/ivl$(suffix)/ivl@EXEEXT@: ./ivl@EXEEXT@ installdirs
+- $(INSTALL_PROGRAM) ./ivl@EXEEXT@ "$(DESTDIR)$(libdir)/ivl$(suffix)/ivl@EXEEXT@"
++installman: iverilog-vpi.man installdirs
++ $(INSTALL_DATA) iverilog-vpi.man "$(DESTDIR)$(mandir)/man1/iverilog-vpi$(suffix).1"
+
+-$(libdir)/ivl$(suffix)/include/constants.vams: $(srcdir)/constants.vams installdirs
+- $(INSTALL_DATA) $(srcdir)/constants.vams "$(DESTDIR)$(libdir)/ivl$(suffix)/include/constants.vams"
++installpdf: iverilog-vpi.pdf installdirs
++ $(INSTALL_DATA) iverilog-vpi.pdf "$(DESTDIR)$(prefix)/iverilog-vpi$(suffix).pdf"
+
+-$(libdir)/ivl$(suffix)/include/disciplines.vams: $(srcdir)/disciplines.vams installdirs
++installfiles: $(F) installdirs
++ $(INSTALL_PROGRAM) ./ivl@EXEEXT@ "$(DESTDIR)$(libdir)/ivl$(suffix)/ivl@EXEEXT@"
++ $(INSTALL_DATA) $(srcdir)/constants.vams "$(DESTDIR)$(libdir)/ivl$(suffix)/include/constants.vams"
+ $(INSTALL_DATA) $(srcdir)/disciplines.vams "$(DESTDIR)$(libdir)/ivl$(suffix)/include/disciplines.vams"
+-
+-$(includedir)/ivl_target.h: $(srcdir)/ivl_target.h installdirs
+ $(INSTALL_DATA) $(srcdir)/ivl_target.h "$(DESTDIR)$(includedir)/ivl_target.h"
+-
+-$(includedir)/_pli_types.h: _pli_types.h installdirs
+- $(INSTALL_DATA) $< "$(DESTDIR)$(includedir)/_pli_types.h"
+-
+-$(includedir)/sv_vpi_user.h: $(srcdir)/sv_vpi_user.h installdirs
++ $(INSTALL_DATA) ./_pli_types.h "$(DESTDIR)$(includedir)/_pli_types.h"
+ $(INSTALL_DATA) $(srcdir)/sv_vpi_user.h "$(DESTDIR)$(includedir)/sv_vpi_user.h"
+-
+-$(includedir)/vpi_user.h: $(srcdir)/vpi_user.h installdirs
+ $(INSTALL_DATA) $(srcdir)/vpi_user.h "$(DESTDIR)$(includedir)/vpi_user.h"
+-
+-$(includedir)/acc_user.h: $(srcdir)/acc_user.h installdirs
+ $(INSTALL_DATA) $(srcdir)/acc_user.h "$(DESTDIR)$(includedir)/acc_user.h"
+-
+-$(includedir)/veriuser.h: $(srcdir)/veriuser.h installdirs
+ $(INSTALL_DATA) $(srcdir)/veriuser.h "$(DESTDIR)$(includedir)/veriuser.h"
+
+-$(mandir)/man1/iverilog-vpi$(suffix).1: iverilog-vpi.man installdirs
+- $(INSTALL_DATA) iverilog-vpi.man "$(DESTDIR)$(mandir)/man1/iverilog-vpi$(suffix).1"
+-
+-$(prefix)/iverilog-vpi$(suffix).pdf: iverilog-vpi.pdf installdirs
+- $(INSTALL_DATA) iverilog-vpi.pdf "$(DESTDIR)$(prefix)/iverilog-vpi$(suffix).pdf"
+-
+-
+ installdirs: $(srcdir)/mkinstalldirs
+ $(srcdir)/mkinstalldirs "$(DESTDIR)$(bindir)" \
+ "$(DESTDIR)$(includedir)" \
+--- a/cadpli/Makefile.in
++++ b/cadpli/Makefile.in
+@@ -79,9 +79,11 @@ endif
+ cadpli.vpl: $O ../vpi/libvpi.a ../libveriuser/libveriuser.o
+ $(CC) @shared@ $(LDFLAGS) -o $@ $O ../libveriuser/libveriuser.o $(SYSTEM_VPI_LDFLAGS)
+
+-install: all installdirs $(vpidir)/cadpli.vpl
++install: all installdirs installfiles
+
+-$(vpidir)/cadpli.vpl: ./cadpli.vpl
++F = ./cadpli.vpl
++
++installfiles: $(F) installdirs
+ $(INSTALL_PROGRAM) ./cadpli.vpl "$(DESTDIR)$(vpidir)/cadpli.vpl"
+
+ installdirs: $(srcdir)/../mkinstalldirs
+--- a/driver-vpi/Makefile.in
++++ b/driver-vpi/Makefile.in
+@@ -94,9 +94,11 @@ res.o: res.rc
+ $(WINDRES) -i res.rc -o res.o
+ #
+
+-install: all installdirs $(bindir)/iverilog-vpi$(suffix)@EXEEXT@
++install: all installdirs installfiles
+
+-$(bindir)/iverilog-vpi$(suffix)@EXEEXT@: ./iverilog-vpi@EXEEXT@
++F = ./iverilog-vpi@EXEEXT@
++
++installfiles: $(F) installdirs
+ $(INSTALL_PROGRAM) ./iverilog-vpi@EXEEXT@ "$(bindir)/iverilog-vpi$(suffix)@EXEEXT@"
+ ifeq (@WIN32@,yes)
+ ifneq ($(HOSTCC),$(CC))
+--- a/driver/Makefile.in
++++ b/driver/Makefile.in
+@@ -112,32 +112,35 @@ iverilog.pdf: iverilog.ps
+
+ ifeq (@MINGW32@,yes)
+ ifeq ($(MAN),none)
+-INSTALL_DOC = $(mandir)/man1/iverilog$(suffix).1
++INSTALL_DOC = installman
+ else
+ ifeq ($(PS2PDF),none)
+-INSTALL_DOC = $(mandir)/man1/iverilog$(suffix).1
++INSTALL_DOC = installman
+ else
+-INSTALL_DOC = $(prefix)/iverilog$(suffix).pdf $(mandir)/man1/iverilog$(suffix).1
++INSTALL_DOC = installpdf installman
+ all: iverilog.pdf
+ endif
+ endif
+ INSTALL_DOCDIR = $(mandir)/man1
+ else
+-INSTALL_DOC = $(mandir)/man1/iverilog$(suffix).1
++INSTALL_DOC = installman
+ INSTALL_DOCDIR = $(mandir)/man1
+ endif
+
+-install: all installdirs $(bindir)/iverilog$(suffix)@EXEEXT@ $(INSTALL_DOC)
++install: all installdirs installfiles
+
+-$(bindir)/iverilog$(suffix)@EXEEXT@: ./iverilog@EXEEXT@
+- $(INSTALL_PROGRAM) ./iverilog@EXEEXT@ "$(DESTDIR)$(bindir)/iverilog$(suffix)@EXEEXT@"
++F = ./iverilog@EXEEXT@ \
++ $(INSTALL_DOC)
+
+-$(mandir)/man1/iverilog$(suffix).1: iverilog.man
++installman: iverilog.man installdirs
+ $(INSTALL_DATA) iverilog.man "$(DESTDIR)$(mandir)/man1/iverilog$(suffix).1"
+
+-$(prefix)/iverilog$(suffix).pdf: iverilog.pdf
++installpdf: iverilog.pdf installdirs
+ $(INSTALL_DATA) iverilog.pdf "$(DESTDIR)$(prefix)/iverilog$(suffix).pdf"
+
++installfiles: $(F) installdirs
++ $(INSTALL_PROGRAM) ./iverilog@EXEEXT@ "$(DESTDIR)$(bindir)/iverilog$(suffix)@EXEEXT@"
++
+ installdirs: $(srcdir)/../mkinstalldirs
+ $(srcdir)/../mkinstalldirs "$(DESTDIR)$(bindir)" "$(DESTDIR)$(INSTALL_DOCDIR)"
+
+--- a/ivlpp/Makefile.in
++++ b/ivlpp/Makefile.in
+@@ -71,9 +71,11 @@ ivlpp@EXEEXT@: $O
+ lexor.c: $(srcdir)/lexor.lex
+ $(LEX) -t $< > $@
+
+-install: all installdirs $(libdir)/ivl$(suffix)/ivlpp@EXEEXT@
++install: all installdirs installfiles
+
+-$(libdir)/ivl$(suffix)/ivlpp@EXEEXT@: ivlpp@EXEEXT@
++F = ivlpp@EXEEXT@
++
++installfiles: $(F) installdirs
+ $(INSTALL_PROGRAM) ./ivlpp@EXEEXT@ "$(DESTDIR)$(libdir)/ivl$(suffix)/ivlpp@EXEEXT@"
+
+ installdirs: $(srcdir)/../mkinstalldirs
+--- a/libveriuser/Makefile.in
++++ b/libveriuser/Makefile.in
+@@ -103,9 +103,11 @@ libveriuser.a: libveriuser.o
+ $(CC) $(CPPFLAGS) $(CFLAGS) @DEPENDENCY_FLAG@ -c $< -o $*.o
+ mv $*.d dep
+
+-install:: all installdirs $(libdir)/libveriuser$(suffix).a $(INSTALL32)
++install:: all installdirs installfiles
+
+-$(libdir)/libveriuser$(suffix).a: ./libveriuser.a
++F = ./libveriuser.a
++
++installfiles: $(F) installdirs
+ $(INSTALL_DATA) ./libveriuser.a "$(DESTDIR)$(libdir)/libveriuser$(suffix).a"
+
+ installdirs: $(srcdir)/../mkinstalldirs
+--- a/tgt-blif/Makefile.in
++++ b/tgt-blif/Makefile.in
+@@ -83,18 +83,17 @@ endif
+ blif.tgt: $O $(TGTDEPLIBS)
+ $(CXX) @shared@ $(LDFLAGS) -o $@ $O $(TGTLDFLAGS)
+
+-install: all installdirs $(libdir)/ivl$(suffix)/blif.tgt $(INSTALL_DOC) $(libdir)/ivl$(suffix)/blif.conf $(libdir)/ivl$(suffix)/blif-s.conf
++install: all installdirs installfiles
+
+-$(libdir)/ivl$(suffix)/blif.tgt: ./blif.tgt
+- $(INSTALL_PROGRAM) ./blif.tgt "$(DESTDIR)$(libdir)/ivl$(suffix)/blif.tgt"
++F = ./blif.tgt \
++ $(srcdir)/blif.conf \
++ $(srcdir)/blif-s.conf
+
+-$(libdir)/ivl$(suffix)/blif.conf: $(srcdir)/blif.conf
++installfiles: $(F) installdirs
++ $(INSTALL_PROGRAM) ./blif.tgt "$(DESTDIR)$(libdir)/ivl$(suffix)/blif.tgt"
+ $(INSTALL_DATA) $(srcdir)/blif.conf "$(DESTDIR)$(libdir)/ivl$(suffix)/blif.conf"
+-
+-$(libdir)/ivl$(suffix)/blif-s.conf: $(srcdir)/blif-s.conf
+ $(INSTALL_DATA) $(srcdir)/blif-s.conf "$(DESTDIR)$(libdir)/ivl$(suffix)/blif-s.conf"
+
+-
+ installdirs: $(srcdir)/../mkinstalldirs
+ $(srcdir)/../mkinstalldirs "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libdir)/ivl$(suffix)"
+
+--- a/tgt-fpga/Makefile.in
++++ b/tgt-fpga/Makefile.in
+@@ -93,38 +93,38 @@ iverilog-fpga.pdf: iverilog-fpga.ps
+ ps2pdf iverilog-fpga.ps iverilog-fpga.pdf
+
+ ifeq (@WIN32@,yes)
+-INSTALL_DOC = $(prefix)/iverilog-fpga$(suffix).pdf $(mandir)/man1/iverilog-fpga$(suffix).1
++INSTALL_DOC = installpdf installman
+ INSTALL_DOCDIR = $(mandir)/man1
+ all: iverilog-fpga.pdf
+ else
+-INSTALL_DOC = $(mandir)/man1/iverilog-fpga$(suffix).1
++INSTALL_DOC = installman
+ INSTALL_DOCDIR = $(mandir)/man1
+ endif
+
+-install: all installdirs $(libdir)/ivl$(suffix)/fpga.tgt $(INSTALL_DOC) $(libdir)/ivl$(suffix)/fpga.conf $(libdir)/ivl$(suffix)/fpga-s.conf
++install: all installdirs installfiles
+
+-$(libdir)/ivl$(suffix)/fpga.tgt: ./fpga.tgt
+- $(INSTALL_PROGRAM) ./fpga.tgt "$(DESTDIR)$(libdir)/ivl$(suffix)/fpga.tgt"
+-
+-$(libdir)/ivl$(suffix)/fpga.conf: $(srcdir)/fpga.conf
+- $(INSTALL_DATA) $(srcdir)/fpga.conf "$(DESTDIR)$(libdir)/ivl$(suffix)/fpga.conf"
+-
+-$(libdir)/ivl$(suffix)/fpga-s.conf: $(srcdir)/fpga-s.conf
+- $(INSTALL_DATA) $(srcdir)/fpga-s.conf "$(DESTDIR)$(libdir)/ivl$(suffix)/fpga-s.conf"
++F = ./fpga.tgt \
++ $(srcdir)/fpga.conf \
++ $(srcdir)/fpga-s.conf \
++ $(INSTALL_DOC)
+
+-
+-$(mandir)/man1/iverilog-fpga$(suffix).1: $(srcdir)/iverilog-fpga.man
++installman: $(srcdir)/iverilog-fpga.man installdirs
+ $(INSTALL_DATA) $(srcdir)/iverilog-fpga.man "$(DESTDIR)$(mandir)/man1/iverilog-fpga$(suffix).1"
+
+-$(prefix)/iverilog-fpga$(suffix).pdf: iverilog-fpga.pdf
++installpdf: iverilog-fpga.pdf installdirs
+ $(INSTALL_DATA) iverilog-fpga.pdf "$(DESTDIR)$(prefix)/iverilog-fpga$(suffix).pdf"
+
++installfiles: $(F) installdirs
++ $(INSTALL_PROGRAM) ./fpga.tgt "$(DESTDIR)$(libdir)/ivl$(suffix)/fpga.tgt"
++ $(INSTALL_DATA) $(srcdir)/fpga.conf "$(DESTDIR)$(libdir)/ivl$(suffix)/fpga.conf"
++ $(INSTALL_DATA) $(srcdir)/fpga-s.conf "$(DESTDIR)$(libdir)/ivl$(suffix)/fpga-s.conf"
++
+ installdirs: $(srcdir)/../mkinstalldirs
+- $(srcdir)/../mkinstalldirs "$(DESTDIR)$(libdir)/ivl$(suffix)"
++ $(srcdir)/../mkinstalldirs "$(DESTDIR)$(libdir)/ivl$(suffix)" "$(DESTDIR)$(INSTALL_DOCDIR)"
+
+ uninstall:
+ rm -f "$(DESTDIR)$(libdir)/ivl$(suffix)/fpga.tgt"
+- rm -f "$(DESTDIR)$(INSTALL_DOC)"
++ rm -f "$(DESTDIR)$(prefix)/iverilog-fpga$(suffix).pdf" "$(DESTDIR)$(mandir)/man1/iverilog-fpga$(suffix).1"
+ rm -f "$(DESTDIR)$(libdir)/ivl$(suffix)/fpga-s.conf"
+ rm -f "$(DESTDIR)$(libdir)/ivl$(suffix)/fpga.conf"
+
+--- a/tgt-null/Makefile.in
++++ b/tgt-null/Makefile.in
+@@ -81,18 +81,17 @@ endif
+ null.tgt: $O $(TGTDEPLIBS)
+ $(CC) @shared@ $(LDFLAGS) -o $@ $O $(TGTLDFLAGS)
+
+-install: all installdirs $(libdir)/ivl$(suffix)/null.tgt $(INSTALL_DOC) $(libdir)/ivl$(suffix)/null.conf $(libdir)/ivl$(suffix)/null-s.conf
++install: all installdirs installfiles
+
+-$(libdir)/ivl$(suffix)/null.tgt: ./null.tgt
+- $(INSTALL_PROGRAM) ./null.tgt "$(DESTDIR)$(libdir)/ivl$(suffix)/null.tgt"
++F = ./null.tgt \
++ $(srcdir)/null.conf \
++ $(srcdir)/null-s.conf
+
+-$(libdir)/ivl$(suffix)/null.conf: $(srcdir)/null.conf
++installfiles: $(F) installdirs
++ $(INSTALL_PROGRAM) ./null.tgt "$(DESTDIR)$(libdir)/ivl$(suffix)/null.tgt"
+ $(INSTALL_DATA) $(srcdir)/null.conf "$(DESTDIR)$(libdir)/ivl$(suffix)/null.conf"
+-
+-$(libdir)/ivl$(suffix)/null-s.conf: $(srcdir)/null-s.conf
+ $(INSTALL_DATA) $(srcdir)/null-s.conf "$(DESTDIR)$(libdir)/ivl$(suffix)/null-s.conf"
+
+-
+ installdirs: $(srcdir)/../mkinstalldirs
+ $(srcdir)/../mkinstalldirs "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libdir)/ivl$(suffix)"
+
+--- a/tgt-pal/Makefile.in
++++ b/tgt-pal/Makefile.in
+@@ -80,11 +80,12 @@ endif
+ pal.tgt: $O $(TGTDEPLIBS)
+ $(CC) @shared@ $(LDFLAGS) -o $@ $O $(TGTLDFLAGS) -lipal
+
+-install: all installdirs $(libdir)/ivl/pal.tgt
++install: all installdirs installfiles
+
+-$(libdir)/ivl/pal.tgt: ./pal.tgt
+- $(INSTALL_PROGRAM) ./pal.tgt "$(DESTDIR)$(libdir)/ivl/pal.tgt"
++F = ./pal.tgt
+
++installfiles: $(F) installdirs
++ $(INSTALL_PROGRAM) ./pal.tgt "$(DESTDIR)$(libdir)/ivl/pal.tgt"
+
+ installdirs: $(srcdir)/../mkinstalldirs
+ $(srcdir)/../mkinstalldirs "$(DESTDIR)/$(libdir)/ivl"
+--- a/tgt-pcb/Makefile.in
++++ b/tgt-pcb/Makefile.in
+@@ -105,18 +105,17 @@ endif
+ pcb.tgt: $O $(TGTDEPLIBS)
+ $(CXX) @shared@ $(LDFLAGS) -o $@ $O $(TGTLDFLAGS)
+
+-install: all installdirs $(libdir)/ivl$(suffix)/pcb.tgt $(INSTALL_DOC) $(libdir)/ivl$(suffix)/pcb.conf $(libdir)/ivl$(suffix)/pcb-s.conf
++install: all installdirs installfiles
+
+-$(libdir)/ivl$(suffix)/pcb.tgt: ./pcb.tgt
+- $(INSTALL_PROGRAM) ./pcb.tgt "$(DESTDIR)$(libdir)/ivl$(suffix)/pcb.tgt"
++F = ./pcb.tgt \
++ $(srcdir)/pcb.conf \
++ $(srcdir)/pcb-s.conf
+
+-$(libdir)/ivl$(suffix)/pcb.conf: $(srcdir)/pcb.conf
++installfiles: $(F) installdirs
++ $(INSTALL_PROGRAM) ./pcb.tgt "$(DESTDIR)$(libdir)/ivl$(suffix)/pcb.tgt"
+ $(INSTALL_DATA) $(srcdir)/pcb.conf "$(DESTDIR)$(libdir)/ivl$(suffix)/pcb.conf"
+-
+-$(libdir)/ivl$(suffix)/pcb-s.conf: $(srcdir)/pcb-s.conf
+ $(INSTALL_DATA) $(srcdir)/pcb-s.conf "$(DESTDIR)$(libdir)/ivl$(suffix)/pcb-s.conf"
+
+-
+ installdirs: $(srcdir)/../mkinstalldirs
+ $(srcdir)/../mkinstalldirs "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libdir)/ivl$(suffix)"
+
+--- a/tgt-sizer/Makefile.in
++++ b/tgt-sizer/Makefile.in
+@@ -81,18 +81,17 @@ endif
+ sizer.tgt: $O $(TGTDEPLIBS)
+ $(CXX) @shared@ $(LDFLAGS) -o $@ $O $(TGTLDFLAGS)
+
+-install: all installdirs $(libdir)/ivl$(suffix)/sizer.tgt $(INSTALL_DOC) $(libdir)/ivl$(suffix)/sizer.conf $(libdir)/ivl$(suffix)/sizer-s.conf
++install: all installdirs installfiles
+
+-$(libdir)/ivl$(suffix)/sizer.tgt: ./sizer.tgt
+- $(INSTALL_PROGRAM) ./sizer.tgt "$(DESTDIR)$(libdir)/ivl$(suffix)/sizer.tgt"
++F = ./sizer.tgt \
++ $(srcdir)/sizer.conf \
++ $(srcdir)/sizer-s.conf
+
+-$(libdir)/ivl$(suffix)/sizer.conf: $(srcdir)/sizer.conf
++installfiles: $(F) installdirs
++ $(INSTALL_PROGRAM) ./sizer.tgt "$(DESTDIR)$(libdir)/ivl$(suffix)/sizer.tgt"
+ $(INSTALL_DATA) $(srcdir)/sizer.conf "$(DESTDIR)$(libdir)/ivl$(suffix)/sizer.conf"
+-
+-$(libdir)/ivl$(suffix)/sizer-s.conf: $(srcdir)/sizer-s.conf
+ $(INSTALL_DATA) $(srcdir)/sizer-s.conf "$(DESTDIR)$(libdir)/ivl$(suffix)/sizer-s.conf"
+
+-
+ installdirs: $(srcdir)/../mkinstalldirs
+ $(srcdir)/../mkinstalldirs "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libdir)/ivl$(suffix)"
+
+--- a/tgt-stub/Makefile.in
++++ b/tgt-stub/Makefile.in
+@@ -82,17 +82,16 @@ endif
+ stub.tgt: $O $(TGTDEPLIBS)
+ $(CC) @shared@ $(LDFLAGS) -o $@ $O $(TGTLDFLAGS)
+
+-install: all installdirs $(libdir)/ivl$(suffix)/stub.tgt \
+- $(libdir)/ivl$(suffix)/stub.conf $(libdir)/ivl$(suffix)/stub-s.conf
++install: all installdirs installfiles
+
+-$(libdir)/ivl$(suffix)/stub.tgt: ./stub.tgt
+- $(INSTALL_PROGRAM) ./stub.tgt "$(DESTDIR)$(libdir)/ivl$(suffix)/stub.tgt"
+-
+-$(libdir)/ivl$(suffix)/stub.conf: stub.conf
+- $(INSTALL_DATA) $< "$(DESTDIR)$(libdir)/ivl$(suffix)/stub.conf"
++F = ./stub.tgt \
++ ./stub.conf \
++ ./stub-s.conf
+
+-$(libdir)/ivl$(suffix)/stub-s.conf: stub-s.conf
+- $(INSTALL_DATA) $< "$(DESTDIR)$(libdir)/ivl$(suffix)/stub-s.conf"
++installfiles: $(F) installdirs
++ $(INSTALL_PROGRAM) ./stub.tgt "$(DESTDIR)$(libdir)/ivl$(suffix)/stub.tgt"
++ $(INSTALL_DATA) ./stub.conf "$(DESTDIR)$(libdir)/ivl$(suffix)/stub.conf"
++ $(INSTALL_DATA) ./stub-s.conf "$(DESTDIR)$(libdir)/ivl$(suffix)/stub-s.conf"
+
+ installdirs: $(srcdir)/../mkinstalldirs
+ $(srcdir)/../mkinstalldirs "$(DESTDIR)$(libdir)/ivl$(suffix)"
+--- a/tgt-verilog/Makefile.in
++++ b/tgt-verilog/Makefile.in
+@@ -80,12 +80,14 @@ endif
+ verilog.tgt: $O $(TGTDEPLIBS)
+ $(CC) @shared@ $(LDFLAGS) -o $@ $O $(TGTLDFLAGS)
+
+-install: all installdirs $(libdir)/ivl/verilog.tgt \
+- $(includedir)/vpi_user.h
++install: all installdirs installfiles
+
+-$(libdir)/ivl/verilog.tgt: ./verilog.tgt
+- $(INSTALL_PROGRAM) ./verilog.tgt "$(DESTDIR)$(libdir)/ivl/verilog.tgt"
++F = ./verilog.tgt \
++ $(srcdir)/vpi_user.h
+
++installfiles: $(F) installdirs
++ $(INSTALL_PROGRAM) ./verilog.tgt "$(DESTDIR)$(libdir)/ivl/verilog.tgt"
++ $(INSTALL_DATA) $(srcdir)/vpi_user.h "$(DESTDIR)$(includedir)/vpi_user.h"
+
+ installdirs: $(srcdir)/../mkinstalldirs
+ $(srcdir)/../mkinstalldirs "$(DESTDIR)$(libdir)/ivl"
+--- a/tgt-vhdl/Makefile.in
++++ b/tgt-vhdl/Makefile.in
+@@ -90,17 +90,16 @@ stamp-vhdl_config-h: $(srcdir)/vhdl_config.h.in ../config.status
+ cd ..; ./config.status --header=tgt-vhdl/vhdl_config.h
+ vhdl_config.h: stamp-vhdl_config-h
+
+-install: all installdirs $(libdir)/ivl$(suffix)/vhdl.tgt $(libdir)/ivl$(suffix)/vhdl.conf \
+- $(libdir)/ivl$(suffix)/vhdl-s.conf
++install: all installdirs installfiles
+
+-$(libdir)/ivl$(suffix)/vhdl.tgt: ./vhdl.tgt
+- $(INSTALL_PROGRAM) ./vhdl.tgt "$(DESTDIR)$(libdir)/ivl$(suffix)/vhdl.tgt"
+-
+-$(libdir)/ivl$(suffix)/vhdl.conf: vhdl.conf
+- $(INSTALL_DATA) $< "$(DESTDIR)$(libdir)/ivl$(suffix)/vhdl.conf"
++F = ./vhdl.tgt \
++ ./vhdl.conf \
++ ./vhdl-s.conf
+
+-$(libdir)/ivl$(suffix)/vhdl-s.conf: vhdl-s.conf
+- $(INSTALL_DATA) $< "$(DESTDIR)$(libdir)/ivl$(suffix)/vhdl-s.conf"
++installfiles: $(F) installdirs
++ $(INSTALL_PROGRAM) ./vhdl.tgt "$(DESTDIR)$(libdir)/ivl$(suffix)/vhdl.tgt"
++ $(INSTALL_DATA) ./vhdl.conf "$(DESTDIR)$(libdir)/ivl$(suffix)/vhdl.conf"
++ $(INSTALL_DATA) ./vhdl-s.conf "$(DESTDIR)$(libdir)/ivl$(suffix)/vhdl-s.conf"
+
+ installdirs: $(srcdir)/../mkinstalldirs
+ $(srcdir)/../mkinstalldirs "$(DESTDIR)$(libdir)/ivl$(suffix)"
+--- a/tgt-vlog95/Makefile.in
++++ b/tgt-vlog95/Makefile.in
+@@ -81,18 +81,17 @@ endif
+ vlog95.tgt: $O $(TGTDEPLIBS)
+ $(CC) @shared@ $(LDFLAGS) -o $@ $O -lm $(TGTLDFLAGS)
+
+-install: all installdirs $(libdir)/ivl$(suffix)/vlog95.tgt $(INSTALL_DOC) $(libdir)/ivl$(suffix)/vlog95.conf $(libdir)/ivl$(suffix)/vlog95-s.conf
++install: all installdirs installfiles
+
+-$(libdir)/ivl$(suffix)/vlog95.tgt: ./vlog95.tgt
+- $(INSTALL_PROGRAM) ./vlog95.tgt "$(DESTDIR)$(libdir)/ivl$(suffix)/vlog95.tgt"
++F = ./vlog95.tgt \
++ $(srcdir)/vlog95.conf \
++ $(srcdir)/vlog95-s.conf
+
+-$(libdir)/ivl$(suffix)/vlog95.conf: $(srcdir)/vlog95.conf
++installfiles: $(F) installdirs
++ $(INSTALL_PROGRAM) ./vlog95.tgt "$(DESTDIR)$(libdir)/ivl$(suffix)/vlog95.tgt"
+ $(INSTALL_DATA) $(srcdir)/vlog95.conf "$(DESTDIR)$(libdir)/ivl$(suffix)/vlog95.conf"
+-
+-$(libdir)/ivl$(suffix)/vlog95-s.conf: $(srcdir)/vlog95-s.conf
+ $(INSTALL_DATA) $(srcdir)/vlog95-s.conf "$(DESTDIR)$(libdir)/ivl$(suffix)/vlog95-s.conf"
+
+-
+ installdirs: $(srcdir)/../mkinstalldirs
+ $(srcdir)/../mkinstalldirs "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libdir)/ivl$(suffix)"
+
+--- a/tgt-vvp/Makefile.in
++++ b/tgt-vvp/Makefile.in
+@@ -104,17 +104,16 @@ stamp-vvp_config-h: $(srcdir)/vvp_config.h.in ../config.status
+ cd ..; ./config.status --header=tgt-vvp/vvp_config.h
+ vvp_config.h: stamp-vvp_config-h
+
+-install: all installdirs $(libdir)/ivl$(suffix)/vvp.tgt $(libdir)/ivl$(suffix)/vvp.conf $(libdir)/ivl$(suffix)/vvp-s.conf
++install: all installdirs installfiles
+
+-$(libdir)/ivl$(suffix)/vvp.tgt: ./vvp.tgt
+- $(INSTALL_PROGRAM) ./vvp.tgt "$(DESTDIR)$(libdir)/ivl$(suffix)/vvp.tgt"
+-
+-$(libdir)/ivl$(suffix)/vvp.conf: vvp.conf
+- $(INSTALL_DATA) $< "$(DESTDIR)$(libdir)/ivl$(suffix)/vvp.conf"
+-
+-$(libdir)/ivl$(suffix)/vvp-s.conf: vvp-s.conf
+- $(INSTALL_DATA) $< "$(DESTDIR)$(libdir)/ivl$(suffix)/vvp-s.conf"
++F = ./vvp.tgt \
++ ./vvp.conf \
++ ./vvp-s.conf
+
++installfiles: $(F) installdirs
++ $(INSTALL_PROGRAM) ./vvp.tgt "$(DESTDIR)$(libdir)/ivl$(suffix)/vvp.tgt"
++ $(INSTALL_DATA) ./vvp.conf "$(DESTDIR)$(libdir)/ivl$(suffix)/vvp.conf"
++ $(INSTALL_DATA) ./vvp-s.conf "$(DESTDIR)$(libdir)/ivl$(suffix)/vvp-s.conf"
+
+ installdirs: $(srcdir)/../mkinstalldirs
+ $(srcdir)/../mkinstalldirs "$(DESTDIR)$(libdir)/ivl$(suffix)"
+--- a/vhdlpp/Makefile.in
++++ b/vhdlpp/Makefile.in
+@@ -127,9 +127,11 @@ lexor_keyword.o: lexor_keyword.cc parse.h
+ lexor_keyword.cc: $(srcdir)/lexor_keyword.gperf
+ gperf -o -i 7 --ignore-case -C -k 1-4,6,9,$$ -H keyword_hash -N check_identifier -t $(srcdir)/lexor_keyword.gperf > lexor_keyword.cc || (rm -f lexor_keyword.cc ; false)
+
+-install: all installdirs $(libdir)/ivl$(suffix)/vhdlpp@EXEEXT@
++install: all installdirs installfiles
+
+-$(libdir)/ivl$(suffix)/vhdlpp@EXEEXT@: vhdlpp@EXEEXT@
++F = vhdlpp@EXEEXT@
++
++installfiles: $(F) installdirs
+ $(INSTALL_PROGRAM) ./vhdlpp@EXEEXT@ "$(DESTDIR)$(libdir)/ivl$(suffix)/vhdlpp@EXEEXT@"
+
+ installdirs: $(srcdir)/../mkinstalldirs
+--- a/vpi/Makefile.in
++++ b/vpi/Makefile.in
+@@ -187,38 +187,25 @@ stamp-vpi_config-h: $(srcdir)/vpi_config.h.in ../config.status
+ cd ..; ./config.status --header=vpi/vpi_config.h
+ vpi_config.h: stamp-vpi_config-h
+
+-install: all installdirs \
+- $(libdir)/libvpi$(suffix).a \
+- $(vpidir)/system.vpi \
+- $(vpidir)/va_math.vpi \
+- $(vpidir)/v2005_math.vpi \
+- $(vpidir)/v2009.vpi \
+- $(vpidir)/vhdl_sys.vpi \
+- $(vpidir)/vhdl_textio.vpi \
+- $(vpidir)/vpi_debug.vpi
+-
+-$(libdir)/libvpi$(suffix).a : ./libvpi.a
+- $(INSTALL_DATA) libvpi.a "$(DESTDIR)$(libdir)/libvpi$(suffix).a"
+-
+-$(vpidir)/system.vpi: ./system.vpi
++install: all installdirs installfiles
++
++F = ./libvpi.a \
++ ./system.vpi \
++ ./va_math.vpi \
++ ./v2005_math.vpi \
++ ./v2009.vpi \
++ ./vhdl_sys.vpi \
++ ./vhdl_textio.vpi \
++ ./vpi_debug.vpi
++
++installfiles: $(F) installdirs
++ $(INSTALL_DATA) ./libvpi.a "$(DESTDIR)$(libdir)/libvpi$(suffix).a"
+ $(INSTALL_PROGRAM) ./system.vpi "$(DESTDIR)$(vpidir)/system.vpi"
+-
+-$(vpidir)/va_math.vpi: ./va_math.vpi
+ $(INSTALL_PROGRAM) ./va_math.vpi "$(DESTDIR)$(vpidir)/va_math.vpi"
+-
+-$(vpidir)/v2005_math.vpi: ./v2005_math.vpi
+ $(INSTALL_PROGRAM) ./v2005_math.vpi "$(DESTDIR)$(vpidir)/v2005_math.vpi"
+-
+-$(vpidir)/v2009.vpi: ./v2009.vpi
+ $(INSTALL_PROGRAM) ./v2009.vpi "$(DESTDIR)$(vpidir)/v2009.vpi"
+-
+-$(vpidir)/vhdl_sys.vpi: ./vhdl_sys.vpi
+ $(INSTALL_PROGRAM) ./vhdl_sys.vpi "$(DESTDIR)$(vpidir)/vhdl_sys.vpi"
+-
+-$(vpidir)/vhdl_textio.vpi: ./vhdl_textio.vpi
+ $(INSTALL_PROGRAM) ./vhdl_textio.vpi "$(DESTDIR)$(vpidir)/vhdl_textio.vpi"
+-
+-$(vpidir)/vpi_debug.vpi: ./vpi_debug.vpi
+ $(INSTALL_PROGRAM) ./vpi_debug.vpi "$(DESTDIR)$(vpidir)/vpi_debug.vpi"
+
+ installdirs: $(srcdir)/../mkinstalldirs
+--- a/vvp/Makefile.in
++++ b/vvp/Makefile.in
+@@ -162,18 +162,18 @@ vvp.pdf: vvp.ps
+
+ ifeq (@MINGW32@,yes)
+ ifeq ($(MAN),none)
+-INSTALL_DOC = $(mandir)/man1/vvp$(suffix).1
++INSTALL_DOC = installman
+ else
+ ifeq ($(PS2PDF),none)
+-INSTALL_DOC = $(mandir)/man1/vvp$(suffix).1
++INSTALL_DOC = installman
+ else
+-INSTALL_DOC = $(prefix)/vvp$(suffix).pdf $(mandir)/man1/vvp$(suffix).1
++INSTALL_DOC = installpdf installman
+ all: vvp.pdf
+ endif
+ endif
+ INSTALL_DOCDIR = $(mandir)/man1
+ else
+-INSTALL_DOC = $(mandir)/man1/vvp$(suffix).1
++INSTALL_DOC = installman
+ INSTALL_DOCDIR = $(mandir)/man1
+ endif
+
+@@ -182,17 +182,19 @@ stamp-config-h: $(srcdir)/config.h.in ../config.status
+ cd ..; ./config.status --header=vvp/config.h
+ config.h: stamp-config-h
+
+-install: all installdirs $(bindir)/vvp$(suffix)@EXEEXT@ $(INSTALL_DOC)
++install: all installdirs installfiles
+
+-$(bindir)/vvp$(suffix)@EXEEXT@: ./vvp@EXEEXT@
+- $(INSTALL_PROGRAM) ./vvp@EXEEXT@ "$(DESTDIR)$(bindir)/vvp$(suffix)@EXEEXT@"
++F = ./vvp@EXEEXT@ $(INSTALL_DOC)
+
+-$(mandir)/man1/vvp$(suffix).1: vvp.man
++installman: vvp.man installdirs
+ $(INSTALL_DATA) vvp.man "$(DESTDIR)$(mandir)/man1/vvp$(suffix).1"
+
+-$(prefix)/vvp$(suffix).pdf: vvp.pdf
++installpdf: vvp.pdf installdirs
+ $(INSTALL_DATA) vvp.pdf "$(DESTDIR)$(prefix)/vvp$(suffix).pdf"
+
++installfiles: $(F) installdirs
++ $(INSTALL_PROGRAM) ./vvp@EXEEXT@ "$(DESTDIR)$(bindir)/vvp$(suffix)@EXEEXT@"
++
+ installdirs: $(srcdir)/../mkinstalldirs
+ $(srcdir)/../mkinstalldirs "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libdir)" "$(DESTDIR)$(INSTALL_DOCDIR)"
+
diff --git a/sci-electronics/iverilog/iverilog-10.3.ebuild b/sci-electronics/iverilog/iverilog-10.3.ebuild
index 183ed6f2023f..ae61d822ad4f 100644
--- a/sci-electronics/iverilog/iverilog-10.3.ebuild
+++ b/sci-electronics/iverilog/iverilog-10.3.ebuild
@@ -38,6 +38,10 @@ DEPEND="
${RDEPEND}
"
+PATCHES=(
+ "${FILESDIR}"/${PN}-10.3-file-missing.patch #705412
+)
+
src_prepare() {
default
diff --git a/sci-electronics/iverilog/iverilog-9999.ebuild b/sci-electronics/iverilog/iverilog-9999.ebuild
index 183ed6f2023f..46f342bfb5ad 100644
--- a/sci-electronics/iverilog/iverilog-9999.ebuild
+++ b/sci-electronics/iverilog/iverilog-9999.ebuild
@@ -38,6 +38,10 @@ DEPEND="
${RDEPEND}
"
+PATCHES=(
+ "${FILESDIR}"/${PN}-9999-file-missing.patch #705412
+)
+
src_prepare() {
default