From e9901658efb5c45940b91202b68ac3ef1e582e41 Mon Sep 17 00:00:00 2001 From: arved Date: Fri, 2 Jul 2010 19:53:50 +0000 Subject: Fix build Feature safe: yes --- net/sharity-light/Makefile | 9 +++++---- 1 file 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 -.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 ,," ${WRKSRC}/nfs/syscalls.c +.endif + post-build: cd ${WRKDIR}/unshlight && make -- cgit