diff options
author | arved <arved@FreeBSD.org> | 2010-07-03 03:53:50 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2010-07-03 03:53:50 +0800 |
commit | e9901658efb5c45940b91202b68ac3ef1e582e41 (patch) | |
tree | 1ab6172d29fb4c6f7ed9cf8f88f814a168e3ecc6 | |
parent | 8f65403eb29e48d0a4129581eadfe7b52d4988c8 (diff) | |
download | freebsd-ports-gnome-e9901658efb5c45940b91202b68ac3ef1e582e41.tar.gz freebsd-ports-gnome-e9901658efb5c45940b91202b68ac3ef1e582e41.tar.zst freebsd-ports-gnome-e9901658efb5c45940b91202b68ac3ef1e582e41.zip |
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 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 |