Contents of /trunk/extras/perl-authen-sasl/perl-authen-sasl-2.16-r2.smage2
Parent Directory | Revision Log
Revision 29956 -
(show annotations)
(download)
Thu Oct 19 10:54:56 2017 UTC (6 years, 11 months ago) by niro
File size: 449 byte(s)
Thu Oct 19 10:54:56 2017 UTC (6 years, 11 months ago) by niro
File size: 449 byte(s)
-fix include issues with perl-5.26
1 | # $Id$ |
2 | |
3 | PNAME="perl-authen-sasl" |
4 | PVER="2.16" |
5 | PBUILD="r2" |
6 | |
7 | DESCRIPTION="SASL Authentication framework" |
8 | |
9 | CPAN_MODULE="Authen-SASL" |
10 | CPAN_AUTHOR="GBARR" |
11 | sminclude cpan |
12 | |
13 | postinstall() |
14 | { |
15 | _PNAME=authen-sasl |
16 | |
17 | if [[ ! -z $(magequery -n ${_PNAME}) ]] |
18 | then |
19 | echo "Uninstalling deprecated package '${_PNAME}'..." |
20 | mage uninstall "${_PNAME}" |
21 | fi |
22 | } |
23 | |
24 | src_compile() |
25 | { |
26 | # fixes perl-5.26 include changes |
27 | export PERL_USE_UNSAFE_INC=1 |
28 | cpan_src_compile || die |
29 | } |