diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2009-04-10 07:54:00 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2009-04-10 07:54:00 +0800 |
commit | 57a7af07d17ba9171b017deed1f66e751590c0c7 (patch) | |
tree | a5c827ad53cf0ad3936a36ffc811b062f806ee56 /sysutils/monit | |
parent | d132b266d5d52fb09eb24406e3600259bdf2de67 (diff) | |
download | freebsd-ports-gnome-57a7af07d17ba9171b017deed1f66e751590c0c7.tar.gz freebsd-ports-gnome-57a7af07d17ba9171b017deed1f66e751590c0c7.tar.zst freebsd-ports-gnome-57a7af07d17ba9171b017deed1f66e751590c0c7.zip |
- add an OPTION to enable/disable kvm
PR: 133536
Submitted by: Tomoyuki Sakurai <cherry at trombik dot org>
Approved by: Martin Pala <martinp at tildeslash dot com> (maintainer)
Diffstat (limited to 'sysutils/monit')
-rw-r--r-- | sysutils/monit/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sysutils/monit/Makefile b/sysutils/monit/Makefile index 675d8feb1ef5..211501f83e2c 100644 --- a/sysutils/monit/Makefile +++ b/sysutils/monit/Makefile @@ -7,6 +7,7 @@ PORTNAME= monit PORTVERSION= 4.10.1 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://www.tildeslash.com/monit/dist/ @@ -25,7 +26,8 @@ CONFIGURE_ENV= CC="${CC}" CPPFLAGS="${CPPFLAGS}" \ LDFLAGS="${LDFLAGS}" CONFIG_SHELL="${SH}" \ LOCALBASE="${LOCALBASE}" -OPTIONS= SSL "Enable SSL support" on +OPTIONS= SSL "Enable SSL support" on \ + RESOURCE "Enable resource support (not for jail)" on PLIST_FILES= bin/monit \ etc/monitrc.sample @@ -44,6 +46,12 @@ CONFIGURE_ARGS+= --enable-ssl --with-openssl="${OPENSSLBASE}" CONFIGURE_ARGS+= --without-ssl .endif +.if defined(WITH_RESOURCE) +CONFIGURE_ARGS+= --with-resource +.else +CONFIGURE_ARGS+= --without-resource +.endif + post-install: ${INSTALL_SCRIPT} -m 600 ${WRKDIR}/${DISTNAME}/monitrc ${PREFIX}/etc/monitrc.sample .if !defined(NOPORTDOCS) |