1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/net/rinetd/files/patch-aa

23 lines
569 B
Plaintext
Raw Normal View History

--- ../rinetd.orig/Makefile Mon Mar 1 13:41:50 1999
1999-06-14 05:01:45 +00:00
+++ Makefile Sat Jun 12 12:54:48 1999
@@ -1,9 +1,14 @@
-CFLAGS=-DLINUX -g
1999-06-14 05:01:45 +00:00
+CFLAGS+=-I. -DLINUX
-rinetd: rinetd.o match.o
- gcc rinetd.o match.o -o rinetd
+all: rinetd
+
+rinetd: rinetd.o match.o getopt.o
+ cc ${CFLAGS} rinetd.o match.o getopt.o -o rinetd
+
+getopt.o:
+ cc ${CFLAGS} -c getopt.c
install: rinetd
- install -m 700 rinetd /usr/sbin
- install -m 644 rinetd.8 /usr/man/man8
1999-06-14 05:01:45 +00:00
+ install -C -o root -g wheel -m 700 rinetd ${PREFIX}/sbin
+ install -C -o root -g wheel -m 644 rinetd.8 ${PREFIX}/man/man8