mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
This fixes massive performance issues, but also loses IPv6 support. Updates will come back, once regressions have been corrected. PR: 281873
22 lines
528 B
Text
22 lines
528 B
Text
--- Makefile.orig 2024-12-09 14:53:18 UTC
|
|
+++ Makefile
|
|
@@ -1,9 +1,14 @@
|
|
-CFLAGS=-DLINUX -g
|
|
+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
|
|
+ install -s -m 755 rinetd ${DESTDIR}${PREFIX}/sbin
|
|
+ install -m 644 rinetd.8 ${DESTDIR}${PREFIX}/share/man/man8
|
|
|