diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2011-09-23 22:26:39 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2011-09-23 22:26:39 +0000 |
commit | 6f6fbe4bdf9851de1eb6ebef5287e3007846045e (patch) | |
tree | 3b556699991305af672fba96e0e8b6bb88bcc7da /sysutils/powerman | |
parent | 86f8cde1da39aadc3efbc11e60998d886c86c36e (diff) | |
download | freebsd-ports-6f6fbe4bdf9851de1eb6ebef5287e3007846045e.zip |
- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead
PR: 157936
Submitted by: myself
Exp-runs by: pav
Approved by: pav
Diffstat (limited to 'sysutils/powerman')
-rw-r--r-- | sysutils/powerman/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sysutils/powerman/Makefile b/sysutils/powerman/Makefile index 9db70a3b1539..cccca9448b45 100644 --- a/sysutils/powerman/Makefile +++ b/sysutils/powerman/Makefile @@ -19,7 +19,6 @@ LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl USE_PERL5_BUILD=yes GNU_CONFIGURE= yes -CONFIGURE_ENV= LDFLAGS="${LDFLAGS}" CONFIGURE_ARGS= --with-httppower --localstatedir=${DESTDIR}/var \ --with-pkgconfig-dir=${PREFIX}/libdata/pkgconfig USE_LDCONFIG= yes @@ -32,8 +31,8 @@ MAN3= libpowerman.3 MAN5= powerman.conf.5 powerman.dev.5 MAN8= httppower.8 plmpower.8 powermand.8 vpcd.8 -CPPFLAGS= -I${LOCALBASE}/include -LDFLAGS= -L${LOCALBASE}/lib +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib post-patch: @${REINPLACE_CMD} -e \ |