CFLAGS from make.conf do not make it to uw-imap build. Following patch fixes it --- uw-imap-2002b.ebuild.orig Wed Apr 16 09:42:58 2003 +++ uw-imap-2002b.ebuild Wed Apr 16 09:50:23 2003 @@ -24,7 +24,6 @@ cd ${S}/src/osdep/unix/ cp Makefile Makefile.orig sed \ - -e "s:-g -fno-omit-frame-pointer -O6:\${CFLAGS}:" \ -e "s:SSLDIR=/usr/local/ssl:SSLDIR=/usr:" \ -e "s:SSLCERTS=\$(SSLDIR)/certs:SSLCERTS=/etc/ssl/certs:" \ < Makefile.orig > Makefile @@ -34,7 +33,10 @@ src_compile() { if use ssl; then cd ${S} - make lnp SPECIALAUTHENTICATORS=ssl SSLTYPE=unix.nopwd \ + make lnp SPECIALAUTHENTICATORS=ssl \ + SSLTYPE=unix.nopwd \ + EXTRACFLAGS="${CFLAGS}" \ + EXTRALDFLAGS="${LDFLAGS}" \ || die local i @@ -60,7 +62,10 @@ umask 022 done else - make lnp || die + make lnp \ + EXTRACFLAGS="${CFLAGS}" \ + EXTRALDFLAGS="${LDFLAGS}" \ + || die fi } Reproducible: Always Steps to Reproduce:
Created attachment 10761 [details, diff] Patch to fix the problem
it seems our current setup directly reflect our CFLAGS settings and yours the basic setting "-g -fno-omit<blah> -O6" + our CFLAGS . I prefer our current way of doing things. And i don't see any benefit in providing LDFLAGS .