|
|
| |
inherit flag-o-matic | inherit flag-o-matic |
| |
IUSE="" |
IUSE="static" |
MY_P=${P/-/_} | MY_P=${P/-/_} |
S=${WORKDIR}/${MY_P}/${MY_P}_src | S=${WORKDIR}/${MY_P}/${MY_P}_src |
DESCRIPTION="Lists open files for running Unix processes" | DESCRIPTION="Lists open files for running Unix processes" |
|
|
# -taviso (15 Aug 03) | # -taviso (15 Aug 03) |
use alpha && filter-flags -fstack-protector | use alpha && filter-flags -fstack-protector |
| |
|
use static && LDFLAGS="${LDFLAGS} -static" |
|
|
#interactive script: Enable HASSECURITY, WARNINGSTATE, and HASKERNIDCK | #interactive script: Enable HASSECURITY, WARNINGSTATE, and HASKERNIDCK |
#is there a way to avoid the "echo to a file + file read"? | #is there a way to avoid the "echo to a file + file read"? |
#Just piping in the results didn't seem to work. | #Just piping in the results didn't seem to work. |
|
|
| |
#simple Makefile hack to insert CFLAGS | #simple Makefile hack to insert CFLAGS |
cp Makefile Makefile.orig | cp Makefile Makefile.orig |
sed -e "s/-DLINUXV/${CFLAGS} -DLINUXV/" Makefile.orig > Makefile |
sed -e "s/-DLINUXV/${CFLAGS} -DLINUXV/" -e "/^CFGL=/ s/\$/ ${LDFLAGS}/" Makefile.orig > Makefile |
| |
make all || die | make all || die |
} | } |