diff -ru a/files/site.config.m4 b/files/site.config.m4 --- a/files/site.config.m4 2005-05-29 11:35:42.000000000 -0500 +++ b/files/site.config.m4 2009-01-03 17:26:14.000000000 -0600 @@ -3,7 +3,7 @@ define(`confENVDEF', `@@confENVDEF@@') define(`confLIBS', `@@confLIBS@@') define(`confSTDIO_TYPE', `portable') -define(`confLDOPTS', `-Wl,-z,now -s') +define(`confLDOPTS', `-Wl,-z,now @@confLDOPTS@@') define(`confMANOWN', `root') define(`confMANGRP', `root') define(`confMANMODE', `644') diff -ru a/sendmail-8.14.2.ebuild b/sendmail-8.14.2.ebuild --- a/sendmail-8.14.2.ebuild 2007-11-02 15:34:08.000000000 -0500 +++ b/sendmail-8.14.2.ebuild 2009-01-03 17:24:39.000000000 -0600 @@ -36,6 +36,7 @@ epatch ${FILESDIR}/sendmail-delivered_hdr.patch || die confCCOPTS="${CFLAGS}" + confLDOPTS="${LDFLAGS}" confMAPDEF="-DMAP_REGEX" conf_sendmail_LIBS="" use sasl && confLIBS="${confLIBS} -lsasl2" \ @@ -56,6 +57,7 @@ -e "s/@@confMAPDEF@@/${confMAPDEF}/" \ -e "s/@@confENVDEF@@/${confENVDEF}/" \ -e "s/@@confLIBS@@/${confLIBS}/" \ + -e "s/@@confLDOPTS@@/${confLDOPTS}/" \ -e "s/@@conf_sendmail_LIBS@@/${conf_sendmail_LIBS}/" \ ${FILESDIR}/site.config.m4 > ${S}/devtools/Site/site.config.m4 }