diff options
author | itetcu <itetcu@FreeBSD.org> | 2012-12-01 06:19:12 +0800 |
---|---|---|
committer | itetcu <itetcu@FreeBSD.org> | 2012-12-01 06:19:12 +0800 |
commit | c8cc8286a049daffd912465f0f736616dbb425e4 (patch) | |
tree | 44b3ad64187ad62545aec94e4a82174f7683aaa9 /sysutils/apcupsd | |
parent | 91c227e2df6b0b2a6e6fdd40089d002a4dfbd5f8 (diff) | |
download | freebsd-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/Makefile | 2 |
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 |