summaryrefslogtreecommitdiff
path: root/net/netpipes/files/patch-aa
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1997-10-07 04:32:33 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1997-10-07 04:32:33 +0000
commit21040de0e2aea77dd534e221ffb9c56133c679e7 (patch)
tree549e9ac0dc8f1fd56964d0bef2f7f0e6ecea09d2 /net/netpipes/files/patch-aa
parentTurn on xskyroot (diff)
Netpipes is a collection of utilities which attempts to provide the
functionality of pipes over a network. PR: ports/4056 Submitted by: Daniel O'Connor doconnor@ist.flinders.edu.au
Notes
Notes: svn path=/head/; revision=8145
Diffstat (limited to 'net/netpipes/files/patch-aa')
-rw-r--r--net/netpipes/files/patch-aa43
1 files changed, 43 insertions, 0 deletions
diff --git a/net/netpipes/files/patch-aa b/net/netpipes/files/patch-aa
new file mode 100644
index 000000000000..d5603542cc41
--- /dev/null
+++ b/net/netpipes/files/patch-aa
@@ -0,0 +1,43 @@
+--- Makefile.orig Fri Jun 28 00:03:45 1996
++++ Makefile Tue Jul 8 15:15:40 1997
+@@ -17,7 +17,7 @@
+
+ # You probably want to change this:
+ #INSTROOT = ${HOME}
+-INSTROOT = /depot/collections0/netpipes3.2
++INSTROOT = ${PREFIX}
+ INSTBIN = ${INSTROOT}/bin
+ INSTMAN = ${INSTROOT}/man
+
+@@ -46,8 +46,12 @@
+ # (that system call is used by the -daemon argument to detach faucet from
+ # the controlling terminal)
+
++# FreeBSD 2.1.0
++CFLAGS = -DUSE_IOCTL $(CDEBUGFLAGS)
++CC = gcc
++
+ # SunOS 4.1.4
+-CFLAGS = -DUSE_IOCTL -DNO_MEMMOVE $(CDEBUGFLAGS)
++#CFLAGS = -DUSE_IOCTL -DNO_MEMMOVE $(CDEBUGFLAGS)
+
+ # Linux
+ #CFLAGS = -DUSE_IOCTL -DSYSV $(CDEBUGFLAGS)
+@@ -83,14 +87,9 @@
+ ${CC} ${CFLAGS} -o $@ ${GOBJS} ${LDLIBS}
+
+ install : all
+- [ -d ${INSTROOT} ] || mkdir ${INSTROOT}
+- [ -d ${INSTBIN} ] || mkdir ${INSTBIN}
+- cp ${PROGRAMS} ${INSTBIN}/
+- - rm -f ${INSTBIN}/getsockname
+- ln -s getpeername ${INSTBIN}/getsockname
+- [ -d ${INSTMAN} ] || mkdir ${INSTMAN}
+- [ -d ${INSTMAN}/man1 ] || mkdir ${INSTMAN}/man1
+- cp ${MANPAGES} ${INSTMAN}/man1/
++ ${BSD_INSTALL_MAN} ${MANPAGES} ${INSTMAN}/man1/
++ ${BSD_INSTALL_PROGRAM} ${PROGRAMS} ${INSTBIN}/
++ ln -f -s ${INSTBIN}/getpeername ${INSTBIN}/getsockname
+
+ clean :
+ rm -f ${FOBJS} ${HOBJS} ${SOBJS} ${GOBJS}