--- xfree-4.3.0-r3.ebuild.orig 2003-11-02 23:07:28.000000000 +0100 +++ xfree-4.3.0-r3.ebuild 2003-11-04 22:40:21.000000000 +0100 @@ -367,9 +368,13 @@ fi if has_version ">=sys-devel/hardened-gcc-1.2"; then - einfo "setting DoLoadableServer to NO for PaX" - sleep 10s - echo "#define DoLoadableServer NO" >>config/cf/host.def + einfo "Checking for forced propolice..." + if [ -n "`hcc -l | grep 'enable automatic -fstack-protector in the transparent specs file: yes'`" -o -n "`hcc -l | grep 'automatically introduce the libgcc.a for propolice in the specs file: yes'`" ] + then + einfo "Setting DoLoadableServer to NO due to forced propolice" + sleep 10s + echo "#define DoLoadableServer NO" >>config/cf/host.def + fi fi if use debug