diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2011-09-24 06:26:39 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2011-09-24 06:26:39 +0800 |
commit | e61d6a701f43e8cec5a4ec8c9641daf5376441de (patch) | |
tree | 920c5861867d049fb1f1e03285110561450a4ac1 /mail/courier-imap | |
parent | 124c6dcab8f89a37ab971e5ad23a959bfaa97426 (diff) | |
download | freebsd-ports-gnome-e61d6a701f43e8cec5a4ec8c9641daf5376441de.tar.gz freebsd-ports-gnome-e61d6a701f43e8cec5a4ec8c9641daf5376441de.tar.zst freebsd-ports-gnome-e61d6a701f43e8cec5a4ec8c9641daf5376441de.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 'mail/courier-imap')
-rw-r--r-- | mail/courier-imap/Makefile | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/mail/courier-imap/Makefile b/mail/courier-imap/Makefile index 75f9703af20a..9fb4ac1355fd 100644 --- a/mail/courier-imap/Makefile +++ b/mail/courier-imap/Makefile @@ -25,13 +25,10 @@ USE_GMAKE= yes USE_RC_SUBR= courier-imap-imapd courier-imap-imapd-ssl \ courier-imap-pop3d courier-imap-pop3d-ssl - CPPFLAGS+= -I${LOCALBASE}/include -I${PREFIX}/include LDFLAGS+= -L${LOCALBASE}/lib -L${PREFIX}/lib -CONFIGURE_ENV= REHASH=${SCRIPTDIR}/c_rehash \ - CPPFLAGS='${CPPFLAGS}' \ - CXXFLAGS='${CPPFLAGS}' \ - LDFLAGS='${LDFLAGS}' +CONFIGURE_ENV= REHASH=${SCRIPTDIR}/c_rehash + MAKE_ENV:= ${CONFIGURE_ENV} # @@ -100,8 +97,7 @@ CONFIGURE_ARGS+=--with-trashquota .endif .if defined(WITH_FAM) -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="${LDFLAGS}" +CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib USE_FAM= yes .endif |