From 71da70ada5c64f70d2ae001d25e5ffbf9513b84c Mon Sep 17 00:00:00 2001 From: Ion-Mihai Tetcu Date: Mon, 16 Mar 2009 10:14:35 +0000 Subject: [PATCH] Despite portlint, CONFIGURE_ENV ain't added in by bsd.port.mk. Restore the old way. This fixes the failure to find gd.h thus enabling building WITH_CGI. [1] The strange thing is that it doen't fail w/o CONIFGURE_ENV on tindys, only on any other machine. Reported by: Robert Huff, Simon Wright [1] --- sysutils/apcupsd/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sysutils/apcupsd/Makefile b/sysutils/apcupsd/Makefile index 36d7f8717f24..06560f830c65 100644 --- a/sysutils/apcupsd/Makefile +++ b/sysutils/apcupsd/Makefile @@ -34,9 +34,9 @@ CONFIGURE_ARGS= --sbindir=${PREFIX}/sbin \ --sysconfdir=${ETCDIR} \ --with-serial-dev=/dev/usv -#CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -L${LOCALBASE}/lib" \ -# CFLAGS="-I${LOCALBASE}/include -L${LOCALBASE}/lib" \ -# LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -L${LOCALBASE}/lib" \ + CFLAGS="-I${LOCALBASE}/include -L${LOCALBASE}/lib" \ + LDFLAGS="-L${LOCALBASE}/lib" MAN8= apcupsd.8