summaryrefslogtreecommitdiff
path: root/math/calc/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'math/calc/scripts')
-rw-r--r--math/calc/scripts/configure12
1 files changed, 12 insertions, 0 deletions
diff --git a/math/calc/scripts/configure b/math/calc/scripts/configure
new file mode 100644
index 000000000000..1beb703997f7
--- /dev/null
+++ b/math/calc/scripts/configure
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+if [ $# != 3 ]; then exit 1; fi
+
+F=$3/Makefile
+
+chmod +w $F || exit 1;
+
+echo "BINDIR= /usr/local/bin" >> $F || exit 1;
+echo "TOPDIR= /usr/local/lib" >> $F
+echo "MANDIR=/usr/local/man/man1" >> $F
+echo "CCOPT= -Wall -Wno-implicit -Wno-comment" >> $F \ No newline at end of file