parent
51f45d0dcf
commit
5960929a42
|
@ -1,7 +1,7 @@
|
|||
# Template build file for 'perl'.
|
||||
pkgname=perl
|
||||
version=5.22.2
|
||||
revision=1
|
||||
revision=2
|
||||
hostmakedepends="less"
|
||||
makedepends="zlib-devel bzip2-devel gdbm-devel db-devel"
|
||||
depends="less"
|
||||
|
@ -266,6 +266,7 @@ do_install() {
|
|||
}
|
||||
|
||||
post_install() {
|
||||
# remove -specs hardened-cc1
|
||||
sed -i 's/-specs=.*hardened-cc1//g' ${DESTDIR}/usr/lib/perl5/core_perl/Config_heavy.pl
|
||||
# Remove references to hardening -specs.
|
||||
sed -e "s|\(-specs=.*hardened-ld\)||g" -e "s|\(-specs=.*hardened-cc1\)||g" \
|
||||
-i ${DESTDIR}/usr/lib/perl5/core_perl/Config_heavy.pl
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue