diff options
author | arved <arved@FreeBSD.org> | 2010-07-02 19:53:50 +0000 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2010-07-02 19:53:50 +0000 |
commit | e9901658efb5c45940b91202b68ac3ef1e582e41 (patch) | |
tree | 1ab6172d29fb4c6f7ed9cf8f88f814a168e3ecc6 | |
parent | 8f65403eb29e48d0a4129581eadfe7b52d4988c8 (diff) | |
download | FreeBSD-ports-e9901658efb5c45940b91202b68ac3ef1e582e41.zip FreeBSD-ports-e9901658efb5c45940b91202b68ac3ef1e582e41.tar.gz |
Fix build
Feature safe: yes
-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 9fd7e8f..51a5ffc 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 |