summaryrefslogtreecommitdiff
path: root/chat/phone/patches/patch-conv_Makefile
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2013-12-16 06:42:20 +0000
committerdholland <dholland@pkgsrc.org>2013-12-16 06:42:20 +0000
commit58788ca12e7a13de1facd4f82149799a8aed885a (patch)
tree4554ab3fbc5353eda1acdbbd2145c638f64f279b /chat/phone/patches/patch-conv_Makefile
parentb6b4d7388b9567312bb1be9d265c87344041a319 (diff)
downloadpkgsrc-58788ca12e7a13de1facd4f82149799a8aed885a.tar.gz
Add chat/phone, which is like VMS phone, written by Jonathan C. Broome
in 1985 and fixed up by Christos "last week". (I've apparently been sitting on this package since 20130101, so it was a year ago...) XXX: this should probably grow an rc script for the master daemon, phoned.
Diffstat (limited to 'chat/phone/patches/patch-conv_Makefile')
-rw-r--r--chat/phone/patches/patch-conv_Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/chat/phone/patches/patch-conv_Makefile b/chat/phone/patches/patch-conv_Makefile
new file mode 100644
index 00000000000..05a2f74cc47
--- /dev/null
+++ b/chat/phone/patches/patch-conv_Makefile
@@ -0,0 +1,28 @@
+$NetBSD: patch-conv_Makefile,v 1.1 2013/12/16 06:42:20 dholland Exp $
+
+Configure for pkgsrc.
+
+--- conv/Makefile~ 2013-01-01 19:20:59.000000000 +0000
++++ conv/Makefile
+@@ -10,17 +10,17 @@ CFLAGS+= -std=gnu99 -Wall -Wstrict-prot
+ CFLAGS += -g
+ SRCS = convd.c
+ DEST = convd
+-RDEST = /usr/etc/convd
++RDEST = ${PREFIX}/libexec/convd
+
+ all: ${DEST}
+
+ ${DEST}: ${SRCS}
+- /bin/rm -f ${DEST}
++ rm -f ${DEST}
+ ${CC} ${CFLAGS} -o ${DEST} ${SRCS}
+
+ install: ${DEST}
+- /bin/rm -f ${RDEST}
+- cp ${DEST} ${RDEST}
++ rm -f ${RDEST}
++ ${BSD_INSTALL_PROGRAM} ${DEST} ${DESTDIR}${RDEST}
+
+ clean:
+ /bin/rm -f ${DEST} core *.o