summaryrefslogtreecommitdiff
path: root/cad/electric/files/template-patch-prefix
diff options
context:
space:
mode:
Diffstat (limited to 'cad/electric/files/template-patch-prefix')
-rw-r--r--cad/electric/files/template-patch-prefix28
1 files changed, 28 insertions, 0 deletions
diff --git a/cad/electric/files/template-patch-prefix b/cad/electric/files/template-patch-prefix
new file mode 100644
index 000000000000..d7e0356b8a72
--- /dev/null
+++ b/cad/electric/files/template-patch-prefix
@@ -0,0 +1,28 @@
+This patch teaches it a little bit about hier(7)
+
+--- src/include/config.h.ORIG Thu May 4 01:19:57 2000
++++ src/include/config.h Thu May 4 01:22:03 2000
+@@ -110,15 +110,15 @@
+ # define ELECTRICLOG ".electric.log"
+ # define ELECTRICLOGSAVE ".electriclast.log"
+ # define OPTIONSFILE ".electricoptions.elib"
+-# define LIBDIR "lib/"
++# define LIBDIR "PREFIX/share/electric/lib/"
+ # define SORTLOC "/usr/bin/sort"
+-# define ESIMLOC "/usr/local/bin/esim"
+-# define RSIMLOC "/usr/local/bin/rsim"
+-# define PRESIMLOC "/usr/local/bin/presim"
+-# define RNLLOC "/usr/local/bin/rnl"
+-# define SPICELOC "/usr/local/bin/spice"
+-# define FLATDRCLOC "/usr/local/bin/ffindshort"
+-# define SFLATDRCLOC "/usr/local/bin/findshort"
++# define ESIMLOC "PREFIX/bin/esim"
++# define RSIMLOC "PREFIX/bin/rsim"
++# define PRESIMLOC "PREFIX/bin/presim"
++# define RNLLOC "PREFIX/bin/rnl"
++# define SPICELOC "PREFIX/bin/spice"
++# define FLATDRCLOC "PREFIX/bin/ffindshort"
++# define SFLATDRCLOC "PREFIX/bin/findshort"
+ # define HUGEINT 0x7FFFFFFF /* largest possible integer */
+ typedef long INTBIG; /* at least 32 bits, can hold address */
+ typedef short INTSML; /* at least 16 bits */