Lines 23-35
Link Here
|
23 |
INSTALLS_SHLIB= yes |
23 |
INSTALLS_SHLIB= yes |
24 |
USE_REINPLACE= yes |
24 |
USE_REINPLACE= yes |
25 |
|
25 |
|
|
|
26 |
.include <bsd.port.pre.mk> |
27 |
|
26 |
post-patch: |
28 |
post-patch: |
|
|
29 |
.if ${OSVERSION} >= 500000 |
27 |
@${REINPLACE_CMD} -e "s|netinet/if_fddi.h|net/fddi.h|g" \ |
30 |
@${REINPLACE_CMD} -e "s|netinet/if_fddi.h|net/fddi.h|g" \ |
28 |
${WRKSRC}/protocols/fddi/libnd_fddi.h |
31 |
${WRKSRC}/protocols/fddi/libnd_fddi.h |
|
|
32 |
.endif |
29 |
@${REINPLACE_CMD} -e 's|DOC_MODULE = libnetdude|DOC_MODULE =|' \ |
33 |
@${REINPLACE_CMD} -e 's|DOC_MODULE = libnetdude|DOC_MODULE =|' \ |
30 |
${WRKSRC}/docs/Makefile.in |
34 |
${WRKSRC}/docs/Makefile.in |
31 |
.if defined(NOPORTDOCS) |
35 |
.if defined(NOPORTDOCS) |
32 |
@${REINPLACE_CMD} -e 's|docs||' ${WRKSRC}/Makefile.in |
36 |
@${REINPLACE_CMD} -e 's|docs||' ${WRKSRC}/Makefile.in |
33 |
.endif |
37 |
.endif |
34 |
|
38 |
|
35 |
.include <bsd.port.mk> |
39 |
.include <bsd.port.post.mk> |