aboutsummaryrefslogtreecommitdiff
path: root/net/libnetdude
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-05-09 17:15:08 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-05-09 17:15:08 +0000
commit84a9fda353e55215262e34102985baaffc3d266c (patch)
treea611d13a94aad2c96b3487abc120b45826d6120e /net/libnetdude
parent044c18b346e19c628e58559b0909a113ece45a33 (diff)
downloadports-84a9fda353e55215262e34102985baaffc3d266c.tar.gz
ports-84a9fda353e55215262e34102985baaffc3d266c.zip
- Fix build on 4.x
Reported by: kris PR: ports/66374 Submitted by: Yann Berthier <yb@sainte-barbe.org> (maintainer)
Notes
Notes: svn path=/head/; revision=108735
Diffstat (limited to 'net/libnetdude')
-rw-r--r--net/libnetdude/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/libnetdude/Makefile b/net/libnetdude/Makefile
index c078f32cd453..dd261abd2b11 100644
--- a/net/libnetdude/Makefile
+++ b/net/libnetdude/Makefile
@@ -23,13 +23,17 @@ CONFIGURE_ARGS= --disable-gtk-doc --with-html-dir=${DOCSDIR}
INSTALLS_SHLIB= yes
USE_REINPLACE= yes
+.include <bsd.port.pre.mk>
+
post-patch:
+.if ${OSVERSION} >= 500000
@${REINPLACE_CMD} -e "s|netinet/if_fddi.h|net/fddi.h|g" \
${WRKSRC}/protocols/fddi/libnd_fddi.h
+.endif
@${REINPLACE_CMD} -e 's|DOC_MODULE = libnetdude|DOC_MODULE =|' \
${WRKSRC}/docs/Makefile.in
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -e 's|docs||' ${WRKSRC}/Makefile.in
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>