diff options
-rw-r--r-- | net/sharity-light/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/net/sharity-light/Makefile b/net/sharity-light/Makefile index 9fd7e8f887ca..51a5ffc53a9b 100644 --- a/net/sharity-light/Makefile +++ b/net/sharity-light/Makefile @@ -21,15 +21,16 @@ PORTDOCS= * .include <bsd.port.pre.mk> -.if ${OSVERSION} >= 800100 -BROKEN= does not compile -.endif - post-extract: @${MKDIR} ${WRKDIR}/unshlight @${CP} ${FILESDIR}/unshlight.c ${WRKDIR}/unshlight @${CP} ${FILESDIR}/Makefile.unshlight ${WRKDIR}/unshlight/Makefile +post-patch: +.if ${OSVERSION} >= 800100 + ${REINPLACE_CMD} -e "s,#.*include <nfs/rpcv2.h>,," ${WRKSRC}/nfs/syscalls.c +.endif + post-build: cd ${WRKDIR}/unshlight && make |