summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-electronics/irsim/files/irsim-9.7.79-datadir.patch')
-rw-r--r--sci-electronics/irsim/files/irsim-9.7.79-datadir.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/sci-electronics/irsim/files/irsim-9.7.79-datadir.patch b/sci-electronics/irsim/files/irsim-9.7.79-datadir.patch
new file mode 100644
index 00000000000..ca4fd462857
--- /dev/null
+++ b/sci-electronics/irsim/files/irsim-9.7.79-datadir.patch
@@ -0,0 +1,23 @@
+--- irsim-9.7.79/scripts/defs.mak.in
++++ irsim-9.7.79/scripts/defs.mak.in
+@@ -12,6 +12,7 @@
+ exec_prefix = @exec_prefix@
+ bindir = @bindir@
+ libdir = @libdir@
++datadir = @datadir@
+ mandir = @mandir@
+
+ VERSION = @VERSION@
+@@ -33,9 +34,9 @@
+ LIBDIR = ${libdir}
+ DOCDIR = ${libdir}/irsim/doc
+ SYSDIR = ${libdir}/irsim/sys
+-PRMDIR = ${libdir}/irsim/prm
+-TCLDIR = ${libdir}/irsim/tcl
+-XBMDIR = ${libdir}/irsim/tcl/bitmaps
++PRMDIR = ${datadir}/irsim/prm
++TCLDIR = ${libdir}/irsim/tcl
++XBMDIR = ${libdir}/irsim/tcl/bitmaps
+
+ MAIN_EXTRA_LIBS = @extra_libs@
+ LD_EXTRA_LIBS = @ld_extra_libs@