Changeset View
Changeset View
Standalone View
Standalone View
head/sysutils/geomWatch/Makefile
| Show All 12 Lines | |||||
| COMMENT= Watches for and e-mails admins about GEOM/ZFS state changes | COMMENT= Watches for and e-mails admins about GEOM/ZFS state changes | ||||
| LIB_DEPENDS= libesmtp.so:${PORTSDIR}/mail/libesmtp | LIB_DEPENDS= libesmtp.so:${PORTSDIR}/mail/libesmtp | ||||
| SUB_FILES= pkg-message | SUB_FILES= pkg-message | ||||
| USE_RC_SUBR= ${PORTNAME} | USE_RC_SUBR= ${PORTNAME} | ||||
| .include <bsd.port.pre.mk> | MAKE_ARGS= WITH_ZFS=28 | ||||
| .if ${OSVERSION} < 700036 | .include <bsd.port.mk> | ||||
| MAKE_ARGS+= WITHOUT_ZFS=yes | |||||
| .elif ${OSVERSION} < 702102 || \ | |||||
| (${OSVERSION} >= 800000 && ${OSVERSION} < 800054) | |||||
| MAKE_ARGS+= WITH_ZFS=6 | |||||
| .elif (${OSVERSION} >= 702102 && ${OSVERSION} < 800000) || \ | |||||
| (${OSVERSION} >= 800054 && ${OSVERSION} < 802506) || \ | |||||
| (${OSVERSION} >= 900000 && ${OSVERSION} < 900033) | |||||
| MAKE_ARGS+= WITH_ZFS=13 | |||||
| .else | |||||
| MAKE_ARGS+= WITH_ZFS=28 | |||||
| .endif | |||||
| .include <bsd.port.post.mk> | |||||