--- /usr/portage/sys-apps/lsof/lsof-4.68.ebuild 2003-09-19 00:44:48.000000000 +0200 +++ lsof-4.68.ebuild 2003-09-21 17:59:20.000000000 +0200 @@ -4,7 +4,7 @@ inherit flag-o-matic -IUSE="" +IUSE="static" MY_P=${P/-/_} S=${WORKDIR}/${MY_P}/${MY_P}_src DESCRIPTION="Lists open files for running Unix processes" @@ -32,6 +32,8 @@ # -taviso (15 Aug 03) use alpha && filter-flags -fstack-protector + use static && LDFLAGS="${LDFLAGS} -static" + #interactive script: Enable HASSECURITY, WARNINGSTATE, and HASKERNIDCK #is there a way to avoid the "echo to a file + file read"? #Just piping in the results didn't seem to work. @@ -40,7 +42,7 @@ #simple Makefile hack to insert CFLAGS 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 }