View | Details | Raw Unified
Collapse All | Expand All

(-) /usr/portage/sys-apps/lsof/lsof-4.68.ebuild (-2 / +4 lines)
 Lines 4-10    Link Here 
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"
 Lines 32-37    Link Here 
	# -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.
 Lines 40-46    Link Here 
	#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
}
}