diff options
author | db <db@FreeBSD.org> | 2009-05-29 23:42:35 +0800 |
---|---|---|
committer | db <db@FreeBSD.org> | 2009-05-29 23:42:35 +0800 |
commit | 9c5bbe685db9e2252d5e6d356485b0be808b27c2 (patch) | |
tree | ff5b47db3c7bac5bb9d78bd067461fcbdcb3506b /net/tcpview | |
parent | 2d0ad039ac702c247220be3fd3e087a4f1841de2 (diff) | |
download | freebsd-ports-gnome-9c5bbe685db9e2252d5e6d356485b0be808b27c2.tar.gz freebsd-ports-gnome-9c5bbe685db9e2252d5e6d356485b0be808b27c2.tar.zst freebsd-ports-gnome-9c5bbe685db9e2252d5e6d356485b0be808b27c2.zip |
- Unbreak on FreeBSD-current
There is no more if_sl in -current, so disable the SLIP code for 8.
Reviewed by: droso
Diffstat (limited to 'net/tcpview')
-rw-r--r-- | net/tcpview/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/net/tcpview/Makefile b/net/tcpview/Makefile index 0d339c6b2d33..d662abfe72d5 100644 --- a/net/tcpview/Makefile +++ b/net/tcpview/Makefile @@ -20,12 +20,17 @@ USE_MOTIF= yes MAN1= tcpview.1 +.include <bsd.port.pre.mk> post-patch: .for f in nametoaddr.c addrtoname.c print-nfs.c detail-tcp.c tv_addrtoname.c @${REINPLACE_CMD} -e 's/NTOHL/ntohl/ ; s/NTOHS/ntohs/' ${WRKSRC}/${f} .endfor +.if ${OSVERSION} >= 800000 + @${REINPLACE_CMD} -e "s|-DCSLIP|-UCSLIP|" \ + ${WRKSRC}/Makefile +.endif post-install: ${INSTALL_DATA} ${WRKSRC}/DOC/Tcpview ${LOCALBASE}/lib/X11/app-defaults/ -.include <bsd.port.mk> +.include <bsd.port.post.mk> |