From 5dba8879e2f2a7a46909c3d9db596b5b8218fd6b Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Thu, 23 Apr 2015 13:43:02 +0000 Subject: [PATCH] - Add NEED_ROOT ("configure: error: Missing required tool; need any one of: shutdown shutdown.bsd" otherwise) Approved by: portmgr blanket --- sysutils/apcupsd/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/sysutils/apcupsd/Makefile b/sysutils/apcupsd/Makefile index c42430961616..537d51a6d3bb 100644 --- a/sysutils/apcupsd/Makefile +++ b/sysutils/apcupsd/Makefile @@ -26,6 +26,7 @@ CONFIGURE_ARGS= --sbindir=${PREFIX}/sbin \ CONFIGURE_ENV+= LD="${CXX}" LIBS="-lstdc++" CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib +NEED_ROOT= yes OPTIONS_DEFINE= APCSMART_DRV APCDUMB_DRV CLIENT_ONLY CGI PCNET_DRV USB SNMP_DRV \ SNMP_DRV_OLD TCP_WRAPPERS TEST_DRV GAPCMON DOCS MODBUS