summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-electronics/netgen/files')
-rw-r--r--sci-electronics/netgen/files/netgen-1.3.10-tcl-bin-name.patch14
-rw-r--r--sci-electronics/netgen/files/netgen-1.4.40-tcl-bin-name.patch14
2 files changed, 28 insertions, 0 deletions
diff --git a/sci-electronics/netgen/files/netgen-1.3.10-tcl-bin-name.patch b/sci-electronics/netgen/files/netgen-1.3.10-tcl-bin-name.patch
new file mode 100644
index 00000000000..c0caf10361a
--- /dev/null
+++ b/sci-electronics/netgen/files/netgen-1.3.10-tcl-bin-name.patch
@@ -0,0 +1,14 @@
+--- netgen-1.4.40/tcltk/Makefile
++++ netgen-1.4.40/tcltk/Makefile
+@@ -42,8 +42,8 @@
+ ${CP} $* $(DESTDIR)${TCLDIR}/$*
+
+ $(DESTDIR)${BINDIR}/netgen.sh: netgen.sh
+- ${RM} $(DESTDIR)${BINDIR}/netgen.sh $(DESTDIR)${BINDIR}/netgen
+- ${CP} netgen.sh $(DESTDIR)${BINDIR}/netgen
+- (cd $(DESTDIR)${BINDIR}; chmod 0755 netgen)
++ ${RM} $(DESTDIR)${BINDIR}/netgen.sh $(DESTDIR)${BINDIR}/netgen-tcl
++ ${CP} netgen.sh $(DESTDIR)${BINDIR}/netgen-tcl
++ (cd $(DESTDIR)${BINDIR}; chmod 0755 netgen-tcl)
+
+ include ${NETGENDIR}/rules.mak
diff --git a/sci-electronics/netgen/files/netgen-1.4.40-tcl-bin-name.patch b/sci-electronics/netgen/files/netgen-1.4.40-tcl-bin-name.patch
new file mode 100644
index 00000000000..c0caf10361a
--- /dev/null
+++ b/sci-electronics/netgen/files/netgen-1.4.40-tcl-bin-name.patch
@@ -0,0 +1,14 @@
+--- netgen-1.4.40/tcltk/Makefile
++++ netgen-1.4.40/tcltk/Makefile
+@@ -42,8 +42,8 @@
+ ${CP} $* $(DESTDIR)${TCLDIR}/$*
+
+ $(DESTDIR)${BINDIR}/netgen.sh: netgen.sh
+- ${RM} $(DESTDIR)${BINDIR}/netgen.sh $(DESTDIR)${BINDIR}/netgen
+- ${CP} netgen.sh $(DESTDIR)${BINDIR}/netgen
+- (cd $(DESTDIR)${BINDIR}; chmod 0755 netgen)
++ ${RM} $(DESTDIR)${BINDIR}/netgen.sh $(DESTDIR)${BINDIR}/netgen-tcl
++ ${CP} netgen.sh $(DESTDIR)${BINDIR}/netgen-tcl
++ (cd $(DESTDIR)${BINDIR}; chmod 0755 netgen-tcl)
+
+ include ${NETGENDIR}/rules.mak