Changeset View
Changeset View
Standalone View
Standalone View
net-mgmt/seafile-client/Makefile
Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Lines | |||||
OPTIONS_DEFINE= NLS | OPTIONS_DEFINE= NLS | ||||
NLS_USES= gettext | NLS_USES= gettext | ||||
.include <bsd.port.options.mk> | .include <bsd.port.options.mk> | ||||
post-patch: | post-patch: | ||||
# Fix P_KTHREAD r295435 | # Fix P_KTHREAD r295435 | ||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100097 | .if ${OPSYS} == FreeBSD | ||||
jbeich: DragonFly has neither `P_KTHREAD` nor `P_KPROC`. The port [builds fine](http://muscles. | |||||
${REINPLACE_CMD} 's/P_KTHREAD/P_KPROC/' ${WRKSRC}/lib/utils.c | ${REINPLACE_CMD} 's/P_KTHREAD/P_KPROC/' ${WRKSRC}/lib/utils.c | ||||
.endif | .endif | ||||
makesum-all: | makesum-all: | ||||
.for PORT in net-mgmt/ccnet-client net-mgmt/seafile-client net-mgmt/seafile-gui | .for PORT in net-mgmt/ccnet-client net-mgmt/seafile-client net-mgmt/seafile-gui | ||||
${MAKE} -C "${PORTSDIR}/${PORT}" makesum | ${MAKE} -C "${PORTSDIR}/${PORT}" makesum | ||||
.endfor | .endfor | ||||
.include "${.CURDIR}/Makefile.include" | .include "${.CURDIR}/Makefile.include" | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |
DragonFly has neither P_KTHREAD nor P_KPROC. The port builds fine beacause of #elif defined(__DragonFly__).