freebsd-ports/sysutils/geomWatch/Makefile
Jan Beich 867cda0ed9 sysutils/geomWatch: unbreak on 11.0C and ignore on DragonFly
/tmp/geomWatch-4db8f7.o: In function `ZPool::update()':
geomWatch.cpp:(.text+0x4a92): undefined reference to `nvlist_free'
geomWatch.cpp:(.text+0x5046): undefined reference to `nvlist_free'
geomWatch.cpp:(.text+0x537f): undefined reference to `nvlist_free'

geom.hpp:33:21: fatal error: libgeom.h: No such file or directory

Reported by:	pkg-fallout, DPorts
Approved by:	portmgr blanket
2015-05-20 17:18:31 +00:00

41 lines
1,010 B
Makefile

# Created by: Boris Kochergin <spawk@acm.poly.edu>
# $FreeBSD$
PORTNAME= geomWatch
PORTVERSION= 1.3.0
PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= http://isis.poly.edu/~bk/${PORTNAME}/ \
http://bk.macroblock.net/${PORTNAME}/ \
http://svnweb.freebsd.org/base/head/sys/cddl/compat/opensolaris/sys/:nvpair
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
nvpair.h\?revision=279437\&view=co:nvpair
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= spawk@acm.poly.edu
COMMENT= Watches for and e-mails admins about GEOM/ZFS state changes
LIB_DEPENDS= libesmtp.so:${PORTSDIR}/mail/libesmtp
USES= tar:tbz
SUB_FILES= pkg-message
USE_RC_SUBR= ${PORTNAME}
MAKE_ARGS= WITH_ZFS=28
.include <bsd.port.options.mk>
.if ${OPSYS} == DragonFly
IGNORE= requires geom(4) support
.endif
post-extract:
# base r279437 renamed libnvpair symbols
.if ${OSVERSION} > 1100062
${CP} ${_DISTDIR}/${DISTFILES:M*\:nvpair:C/:.*//} \
${WRKSRC}/zfs/v28/sys/cddl/compat/opensolaris/sys/nvpair.h
.endif
.include <bsd.port.mk>