summaryrefslogtreecommitdiffstats
path: root/math/rpc/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/rpc/files/patch-Makefile')
-rw-r--r--math/rpc/files/patch-Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/math/rpc/files/patch-Makefile b/math/rpc/files/patch-Makefile
new file mode 100644
index 0000000..ffe3fd5
--- /dev/null
+++ b/math/rpc/files/patch-Makefile
@@ -0,0 +1,22 @@
+--- Makefile.orig Wed Mar 21 21:02:32 2001
++++ Makefile Wed Mar 21 21:03:58 2001
+@@ -1,5 +1,5 @@
+ CXXFLAGS = -c -O2 -Wall
+-LDFLAGS = -lm -lccm -lcurses
++LDFLAGS = -lm -lccm -lcurses -L${LOCALBASE}/lib
+
+ all: rpc
+
+@@ -7,10 +7,10 @@
+ cd src; $(MAKE)
+
+ install:
+- cp -f src/rpc /usr/bin
++ cp -f src/rpc ${PREFIX}/bin
+
+ uninstall:
+- rm /usr/bin/rpc
++ rm ${PREFIX}/bin/rpc
+
+ clean:
+ rm -f core src/rpc src/*.o src/*.co src/core
OpenPOWER on IntegriCloud