aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2010-07-03 03:53:50 +0800
committerarved <arved@FreeBSD.org>2010-07-03 03:53:50 +0800
commite9901658efb5c45940b91202b68ac3ef1e582e41 (patch)
tree1ab6172d29fb4c6f7ed9cf8f88f814a168e3ecc6
parent8f65403eb29e48d0a4129581eadfe7b52d4988c8 (diff)
downloadfreebsd-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/Makefile9
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