|
Lines 4-10
Link Here
|
| 4 |
|
4 |
|
| 5 |
inherit flag-o-matic |
5 |
inherit flag-o-matic |
| 6 |
|
6 |
|
| 7 |
IUSE="" |
7 |
IUSE="static" |
| 8 |
MY_P=${P/-/_} |
8 |
MY_P=${P/-/_} |
| 9 |
S=${WORKDIR}/${MY_P}/${MY_P}_src |
9 |
S=${WORKDIR}/${MY_P}/${MY_P}_src |
| 10 |
DESCRIPTION="Lists open files for running Unix processes" |
10 |
DESCRIPTION="Lists open files for running Unix processes" |
|
Lines 32-37
Link Here
|
| 32 |
# -taviso (15 Aug 03) |
32 |
# -taviso (15 Aug 03) |
| 33 |
use alpha && filter-flags -fstack-protector |
33 |
use alpha && filter-flags -fstack-protector |
| 34 |
|
34 |
|
|
|
35 |
use static && LDFLAGS="${LDFLAGS} -static" |
| 36 |
|
| 35 |
#interactive script: Enable HASSECURITY, WARNINGSTATE, and HASKERNIDCK |
37 |
#interactive script: Enable HASSECURITY, WARNINGSTATE, and HASKERNIDCK |
| 36 |
#is there a way to avoid the "echo to a file + file read"? |
38 |
#is there a way to avoid the "echo to a file + file read"? |
| 37 |
#Just piping in the results didn't seem to work. |
39 |
#Just piping in the results didn't seem to work. |
|
Lines 40-46
Link Here
|
| 40 |
|
42 |
|
| 41 |
#simple Makefile hack to insert CFLAGS |
43 |
#simple Makefile hack to insert CFLAGS |
| 42 |
cp Makefile Makefile.orig |
44 |
cp Makefile Makefile.orig |
| 43 |
sed -e "s/-DLINUXV/${CFLAGS} -DLINUXV/" Makefile.orig > Makefile |
45 |
sed -e "s/-DLINUXV/${CFLAGS} -DLINUXV/" -e "/^CFGL=/ s/\$/ ${LDFLAGS}/" Makefile.orig > Makefile |
| 44 |
|
46 |
|
| 45 |
make all || die |
47 |
make all || die |
| 46 |
} |
48 |
} |