aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/apcupsd
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-11-18 04:08:14 +0800
committerpav <pav@FreeBSD.org>2005-11-18 04:08:14 +0800
commitbbe50ebceae05c19ac28721dc213c48dbdb2307a (patch)
treeb185bdfbe08c6b337e12b22049fef880c6d6acf4 /sysutils/apcupsd
parent91c774f9e73829e9fb0308513d18f6193905ab56 (diff)
downloadfreebsd-ports-gnome-bbe50ebceae05c19ac28721dc213c48dbdb2307a.tar.gz
freebsd-ports-gnome-bbe50ebceae05c19ac28721dc213c48dbdb2307a.tar.zst
freebsd-ports-gnome-bbe50ebceae05c19ac28721dc213c48dbdb2307a.zip
- Add NOPTHREADS knob
PR: ports/88811 Submitted by: Josh Carroll <floyd@deblin.org> - Properly capitalize FreeBSD.org
Diffstat (limited to 'sysutils/apcupsd')
-rw-r--r--sysutils/apcupsd/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/sysutils/apcupsd/Makefile b/sysutils/apcupsd/Makefile
index 665ff11b9f36..542cf787b033 100644
--- a/sysutils/apcupsd/Makefile
+++ b/sysutils/apcupsd/Makefile
@@ -12,7 +12,7 @@ CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-MAINTAINER= ports@freebsd.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= A daemon for controlling APC UPS
USE_GETTEXT= yes
@@ -32,9 +32,14 @@ OPTIONS= CLIENT_ONLY "Build apcupsd client only (no network server)" off
OPTIONS+= CGI "Compile with CGI programms to show status" off
OPTIONS+= USB "Compile with USB Support (READ MANUAL!!!)" off
OPTIONS+= SNMP "Compile with SNMP Support (READ MANUAL!!!)" off
+OPTIONS+= NOPTHREADS "Compile without pthreads support (READ MANUAL!!!)" off
.include <bsd.port.pre.mk>
+.if defined(WITH_NOPTHREADS)
+CONFIGURE_ARGS+=--disable-pthreads
+.endif
+
.if defined(WITH_USB)
CONFIGURE_ARGS+=--enable-usb
.endif
@@ -82,6 +87,7 @@ pre-everything::
@${ECHO_MSG} " WITH_CLIENT_ONLY=yes if you only want a network client."
@${ECHO_MSG} " WITH_USB=yes to compile with USB support (READ MANUAL!!!)"
@${ECHO_MSG} " WITH_SNMP=yes to compile with SNMP support (READ MANUAL!!!)"
+ @${ECHO_MSG} " WITH_NOPTHREADS=yes to compile without pthreads support (READ MANUAL!!!)"
@${ECHO_MSG} ""
.if defined(WITH_CGI)
@${ECHO_MSG} "===> Building with CGI support."