mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 16:32:57 +02:00
lsof: unbreak PIE build: apply our LDFLAGS.
This commit is contained in:
parent
2319028841
commit
02d96723dc
1 changed files with 3 additions and 3 deletions
|
@ -1,14 +1,14 @@
|
||||||
# Template file for 'lsof'
|
# Template file for 'lsof'
|
||||||
pkgname=lsof
|
pkgname=lsof
|
||||||
version=4.89
|
version=4.89
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc=lsof_${version}
|
wrksrc=lsof_${version}
|
||||||
hostmakedepends="perl"
|
hostmakedepends="perl"
|
||||||
short_desc="LiSt Open Files"
|
short_desc="LiSt Open Files"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="http://people.freebsd.org/~abe/"
|
homepage="http://people.freebsd.org/~abe/"
|
||||||
license="lsof"
|
license="lsof"
|
||||||
distfiles="ftp://sunsite.ualberta.ca/pub/Mirror/lsof/lsof_${version}.tar.bz2"
|
distfiles="http://fossies.org/linux/misc/lsof_${version}.tar.bz2"
|
||||||
checksum=81ac2fc5fdc944793baf41a14002b6deb5a29096b387744e28f8c30a360a3718
|
checksum=81ac2fc5fdc944793baf41a14002b6deb5a29096b387744e28f8c30a360a3718
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
|
@ -20,7 +20,7 @@ do_build() {
|
||||||
cd ${wrksrc}/lsof_${version}_src
|
cd ${wrksrc}/lsof_${version}_src
|
||||||
sed "s|/\* #define\tHASSECURITY\t1 \*/|#define\tHASSECURITY\t1|" \
|
sed "s|/\* #define\tHASSECURITY\t1 \*/|#define\tHASSECURITY\t1|" \
|
||||||
-i dialects/linux/machine.h
|
-i dialects/linux/machine.h
|
||||||
LSOF_CFGF="$CFLAGS" ./Configure -n linux
|
LSOF_CFGF="$CFLAGS" LSOF_CFGL="$LDFLAGS" ./Configure -n linux
|
||||||
make CC=$CC ${makejobs}
|
make CC=$CC ${makejobs}
|
||||||
}
|
}
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue