diff options
author | Diane Bruce <db@FreeBSD.org> | 2009-05-29 15:42:35 +0000 |
---|---|---|
committer | Diane Bruce <db@FreeBSD.org> | 2009-05-29 15:42:35 +0000 |
commit | b6db6254ec3061459ebb06430d3036aa484ea464 (patch) | |
tree | efda5942864168090b403cc58777651850c75e9a /net/tcpview | |
parent | cf52667d8e61316becf7dd045f6b26f4589bc3a1 (diff) | |
download | ports-b6db6254ec3061459ebb06430d3036aa484ea464.tar.gz ports-b6db6254ec3061459ebb06430d3036aa484ea464.zip |
Notes
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> |