aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/apcupsd
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2012-12-01 06:19:12 +0800
committeritetcu <itetcu@FreeBSD.org>2012-12-01 06:19:12 +0800
commitc8cc8286a049daffd912465f0f736616dbb425e4 (patch)
tree44b3ad64187ad62545aec94e4a82174f7683aaa9 /sysutils/apcupsd
parent91c227e2df6b0b2a6e6fdd40089d002a4dfbd5f8 (diff)
downloadfreebsd-ports-gnome-c8cc8286a049daffd912465f0f736616dbb425e4.tar.gz
freebsd-ports-gnome-c8cc8286a049daffd912465f0f736616dbb425e4.tar.zst
freebsd-ports-gnome-c8cc8286a049daffd912465f0f736616dbb425e4.zip
Fix build on 9-STABLE and HEAD.
Feature safe: yes
Diffstat (limited to 'sysutils/apcupsd')
-rw-r--r--sysutils/apcupsd/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysutils/apcupsd/Makefile b/sysutils/apcupsd/Makefile
index dddc54da795c..dca1f078f119 100644
--- a/sysutils/apcupsd/Makefile
+++ b/sysutils/apcupsd/Makefile
@@ -32,6 +32,8 @@ CONFIGURE_ARGS= --sbindir=${PREFIX}/sbin \
--sysconfdir=${ETCDIR} \
--with-serial-dev=/dev/usv
+CONFIGURE_ENV+= LD="${CXX}"
+#CONFIGURE_ENV+= LIBS="-lstdc++"
CPPFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
LDFLAGS+= -L${LOCALBASE}/lib
CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib