summaryrefslogtreecommitdiff
path: root/math/tela/patches
diff options
context:
space:
mode:
authorjtb <jtb>2001-03-01 01:48:26 +0000
committerjtb <jtb>2001-03-01 01:48:26 +0000
commitf6ba5cf4948a843d790fe3059cbc154c41f84cf3 (patch)
tree3eb0a99a2e79b3820c3de49106bef399fac888a0 /math/tela/patches
parent4e34455f803e6f7aefd53e24b830550e939b146f (diff)
downloadpkgsrc-f6ba5cf4948a843d790fe3059cbc154c41f84cf3.tar.gz
Correct the location of the `ctpp' preprocessor in the `telakka' script.
Diffstat (limited to 'math/tela/patches')
-rw-r--r--math/tela/patches/patch-ad17
-rw-r--r--math/tela/patches/patch-ai13
2 files changed, 11 insertions, 19 deletions
diff --git a/math/tela/patches/patch-ad b/math/tela/patches/patch-ad
index 68ec813358f..4b917200ca9 100644
--- a/math/tela/patches/patch-ad
+++ b/math/tela/patches/patch-ad
@@ -1,4 +1,4 @@
-$NetBSD: patch-ad,v 1.1.1.1 2001/02/28 22:34:09 jtb Exp $
+$NetBSD: patch-ad,v 1.2 2001/03/01 01:48:26 jtb Exp $
--- Makefile.orig Tue Dec 5 07:43:56 2000
+++ Makefile
@@ -20,7 +20,7 @@ $NetBSD: patch-ad,v 1.1.1.1 2001/02/28 22:34:09 jtb Exp $
what help :
@echo 'make - same as make tela';\
-@@ -541,20 +541,20 @@
+@@ -541,20 +541,22 @@
if [ ! -d ct ]; then mkdir ct; chmod 755 ct; fi;\
if [ ! -d include ]; then mkdir include; chmod 755 include; fi;\
if [ ! -d include/templ ]; then mkdir include/templ; chmod 755 include/templ; fi
@@ -28,13 +28,18 @@ $NetBSD: patch-ad,v 1.1.1.1 2001/02/28 22:34:09 jtb Exp $
- $(INSTALL_PROGRAM) tela $(INSTALL_BINDIR)
+ $(INSTALL_PROGRAM) ctpp ${PREFIX}/bin
+ $(INSTALL_PROGRAM) tela ${PREFIX}/bin
++ sed -e 's@^CTTP="$BINDIR@CTTP="${PREFIX}/bin@g' \
++ <telakka > telakka.1
sed -e 's@^BINDIR=.*$$@BINDIR=$(INSTALL_BINDIR)@' \
-e 's@^INCLUDEDIR=.*$$@INCLUDEDIR=$(INSTALL_LIBDIR)/include@' \
- <telakka >telakka.1;\
- chmod +x telakka.1
+- <telakka >telakka.1;\
+- chmod +x telakka.1
- $(INSTALL_PROGRAM) telakka.1 $(INSTALL_BINDIR)/telakka;\
-+ $(BSD_INSTALL_SCRIPT) telakka.1 ${PREFIX}/bin/telakka;\
- rm telakka.1
+- rm telakka.1
++ <telakka.1 >telakka.2;\
++ chmod +x telakka.2
++ $(BSD_INSTALL_SCRIPT) telakka.2 ${PREFIX}/bin/telakka;\
++ rm telakka.1 telakka.2
cd $(srcdir); for i in *.ct local/*.ct; do $(INSTALL_DATA) $$i $(INSTALL_LIBDIR)/ct; done
cd $(srcdir)/opt; for i in *.ct; do $(INSTALL_DATA) $$i $(INSTALL_LIBDIR)/ct; done
cd $(srcdir)/t; for i in *.t *.hdf; do $(INSTALL_DATA) $$i $(INSTALL_LIBDIR)/t; done
diff --git a/math/tela/patches/patch-ai b/math/tela/patches/patch-ai
deleted file mode 100644
index b0ccd4f7069..00000000000
--- a/math/tela/patches/patch-ai
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ai,v 1.1.1.1 2001/02/28 22:34:09 jtb Exp $
-
---- telakka.in.orig Mon Dec 4 07:27:58 2000
-+++ telakka.in
-@@ -7,7 +7,7 @@
-
- nm_options=""
-
--CTPP="$BINDIR/ctpp"
-+CTPP="@PREFIX@/bin/ctpp"
- compileOnly=false
- shared=false
- outputFileSpecified=false