diff options
Diffstat (limited to 'net/libnetdude/Makefile')
-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> |