summaryrefslogtreecommitdiffstats
path: root/math/rpc/files
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-03-21 13:25:33 +0000
committerijliao <ijliao@FreeBSD.org>2001-03-21 13:25:33 +0000
commit4f9a9238a748473ed3425062481439c5949aaa5c (patch)
treefd3c981a4dd6426e4b8b17c722eb7418fe0591a2 /math/rpc/files
parent8d708cbc2159b74a1cc05aaa479a1c549e39214e (diff)
downloadFreeBSD-ports-4f9a9238a748473ed3425062481439c5949aaa5c.zip
FreeBSD-ports-4f9a9238a748473ed3425062481439c5949aaa5c.tar.gz
add rpc
rpc is a full-screen RPN calculator program
Diffstat (limited to 'math/rpc/files')
-rw-r--r--math/rpc/files/patch-Makefile22
-rw-r--r--math/rpc/files/patch-src::Makefile11
2 files changed, 33 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
diff --git a/math/rpc/files/patch-src::Makefile b/math/rpc/files/patch-src::Makefile
new file mode 100644
index 0000000..c73bb6e
--- /dev/null
+++ b/math/rpc/files/patch-src::Makefile
@@ -0,0 +1,11 @@
+--- src/Makefile.orig Sun Feb 25 15:54:19 2001
++++ src/Makefile Wed Mar 21 21:09:40 2001
+@@ -1,6 +1,6 @@
+ CXXFLAGS = -c -O2 -Wall
+-CFLAGS = -c -O2 -Wall
+-LDFLAGS = -lm -lccm -lcurses
++CFLAGS = -c -O2 -Wall -I${LOCALBASE}/include
++LDFLAGS = -lm -lccm -lcurses -L${LOCALBASE}/lib
+
+ all: rpc
+
OpenPOWER on IntegriCloud