diff options
author | pav <pav@FreeBSD.org> | 2004-05-10 01:15:08 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-05-10 01:15:08 +0800 |
commit | e30320cbc5b06aab7c3f665712b93f459868e6db (patch) | |
tree | b5647418cf3b9e5ed60914081bfa6e63e1bffbb0 /net | |
parent | cbedffbb35bc7d06b10031576f531b6eeaceb4e4 (diff) | |
download | freebsd-ports-gnome-e30320cbc5b06aab7c3f665712b93f459868e6db.tar.gz freebsd-ports-gnome-e30320cbc5b06aab7c3f665712b93f459868e6db.tar.zst freebsd-ports-gnome-e30320cbc5b06aab7c3f665712b93f459868e6db.zip |
- Fix build on 4.x
Reported by: kris
PR: ports/66374
Submitted by: Yann Berthier <yb@sainte-barbe.org> (maintainer)
Diffstat (limited to 'net')
-rw-r--r-- | net/libnetdude/Makefile | 6 |
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> |