1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/net/micro_inetd/files/patch-Makefile
Shaun Amott b2ed23561f Add net/micro_inetd.
Like inetd, this program listens on the net for requests and spawns a
server to handle them. However, it only handles one port and one
program. Other limitations:
  - only 'stream' socket type
  - only 'nowait'
  - doesn't switch user-ids

PR:		ports/101964
Submitted by:	Pankov Pavel <pankov_p@mail.ru>
2006-08-15 14:13:10 +00:00

25 lines
499 B
Plaintext

--- Makefile.orig Wed Jan 2 05:24:29 2002
+++ Makefile Tue Aug 15 14:43:17 2006
@@ -5,16 +5,15 @@
#SYSV_LIBS = -lnsl -lsocket
-CC = gcc
-CFLAGS = -O
-LDFLAGS = -s $(SYSV_LIBS)
-BINDIR = /usr/local/bin
-MANDIR = /usr/local/man/man1
+CC?= gcc
+CFLAGS?= -O
+LDFLAGS?= -s $(SYSV_LIBS)
+BINDIR?= /usr/local/bin
+MANDIR?= /usr/local/man/man1
all: micro_inetd
micro_inetd: micro_inetd.c
- $(CC) $(CFLAGS) micro_inetd.c $(LDFLAGS) -o micro_inetd
install: all
rm -f $(BINDIR)/micro_inetd