summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/redir/Makefile1
-rw-r--r--net/redir/files/patch-Makefile9
2 files changed, 1 insertions, 9 deletions
diff --git a/net/redir/Makefile b/net/redir/Makefile
index a094ec89bfa8..9c878659023a 100644
--- a/net/redir/Makefile
+++ b/net/redir/Makefile
@@ -10,6 +10,7 @@ MASTER_SITES= http://sammy.net/~sammy/hacks/
MAINTAINER= ports@FreeBSD.org
COMMENT= TCP connection redirection utility
+USES= gmake
USE_RC_SUBR= redir
PLIST_FILES= bin/redir man/man1/redir.1.gz
diff --git a/net/redir/files/patch-Makefile b/net/redir/files/patch-Makefile
index da1e2f685484..ce69c2c16b74 100644
--- a/net/redir/files/patch-Makefile
+++ b/net/redir/files/patch-Makefile
@@ -23,12 +23,3 @@
LDFLAGS = -s
# solaris, and others, may also need these libraries to link
-@@ -49,7 +48,7 @@
- rm -f $(OBJS) redir core
-
- redir: ${OBJS}
-- ${CC} ${LDFLAGS} -o redir ${OBJS} ${LIBS}
-+ ${CC} ${LDFLAGS} -o redir redir.o getopt.o getopt1.o ${LIBS}
-
-
-