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