aboutsummaryrefslogtreecommitdiff
path: root/sysutils/apcupsd
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-06-05 05:13:27 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-06-05 05:13:27 +0000
commit53c08878c3e745ebc0ac0d1574fc9d3990f7de2d (patch)
tree7762f8deabae91920e8b9cf22b29ecd2d9e06717 /sysutils/apcupsd
parent1f38c725e27cb6ba9ee18380b9964a63bcf8a5fd (diff)
Actually fix build as a user
While here remove LIBS from CONFIGURE_ENV it was no-op since LIBS+= has been added (and not needed anymore) Reported by: amdmi3
Notes
Notes: svn path=/head/; revision=388568
Diffstat (limited to 'sysutils/apcupsd')
-rw-r--r--sysutils/apcupsd/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysutils/apcupsd/Makefile b/sysutils/apcupsd/Makefile
index c42430961616..03b839ef07d4 100644
--- a/sysutils/apcupsd/Makefile
+++ b/sysutils/apcupsd/Makefile
@@ -23,7 +23,8 @@ CONFIGURE_ARGS= --sbindir=${PREFIX}/sbin \
--sysconfdir=${ETCDIR} \
--with-serial-dev=/dev/usv
-CONFIGURE_ENV+= LD="${CXX}" LIBS="-lstdc++"
+CONFIGURE_ENV+= LD="${CXX}" \
+ ac_cv_path_SHUTDOWN="/sbin/shtdown"
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib