aboutsummaryrefslogtreecommitdiff
path: root/net/redir
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2015-03-17 22:05:36 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2015-03-17 22:05:36 +0000
commitb828827f992bed0eff0b1927db5ab59c66cf8436 (patch)
treede359b730dfa35be6533f68f6c98fd9e130dc2c6 /net/redir
parentfc6f57637f2cd45869a2ab491ffd67282404f5ff (diff)
downloadports-b828827f992bed0eff0b1927db5ab59c66cf8436.tar.gz
ports-b828827f992bed0eff0b1927db5ab59c66cf8436.zip
Use gmake instead of using rules that may or may not work depending of the
version of sys.mk This fixes build on head after r279980
Notes
Notes: svn path=/head/; revision=381523
Diffstat (limited to 'net/redir')
-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}
-
-
-