aboutsummaryrefslogtreecommitdiff
path: root/net/ntraceroute
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2018-11-02 13:32:34 +0000
committerRene Ladan <rene@FreeBSD.org>2018-11-02 13:32:34 +0000
commit8a502cb2d43b4059a5678ee4539ca03603104107 (patch)
tree2c2c3d0def8d9d1ad349013f7b532f0065f57789 /net/ntraceroute
parentf60d4bacdc58ec061406d72cace1ac1266952e39 (diff)
downloadports-8a502cb2d43b4059a5678ee4539ca03603104107.tar.gz
ports-8a502cb2d43b4059a5678ee4539ca03603104107.zip
Remove compatibility code for FreeBSD < 11.2 from all ports.
Simplify some ports where DragonFlyBSD no longer needs to be special-cased. Submitted by: rene Reviewed by: bapt, jbeich Differential Revision: https://reviews.freebsd.org/D17724
Notes
Notes: svn path=/head/; revision=483807
Diffstat (limited to 'net/ntraceroute')
-rw-r--r--net/ntraceroute/Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/net/ntraceroute/Makefile b/net/ntraceroute/Makefile
index 276b133d45db..5016b1b9d6a3 100644
--- a/net/ntraceroute/Makefile
+++ b/net/ntraceroute/Makefile
@@ -21,11 +21,7 @@ EXTRACT_AFTER_ARGS= .
PLIST_FILES= sbin/${PORTNAME}
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100030
BUILD_FLAGS= -DBYTESWAP_IP_FLAGS -DBYTESWAP_IP_LEN
-.endif
do-build:
${CC} ${BUILD_FLAGS} -o ${WRKSRC}/${PORTNAME} -lm \
@@ -34,4 +30,4 @@ do-build:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>