Magellan Linux

Diff of /trunk/core/perl/perl-5.28.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 31550 by niro, Fri Nov 30 09:09:19 2018 UTC revision 31557 by niro, Fri Nov 30 10:24:38 2018 UTC
# Line 26  msetfeature "!check" Line 26  msetfeature "!check"
26  SRC_URI=(  SRC_URI=(
27   #http://www.cpan.org/src/${PVER%%.*}.0/${SRCFILE}   #http://www.cpan.org/src/${PVER%%.*}.0/${SRCFILE}
28   mirror://${PNAME}/${SRCFILE}   mirror://${PNAME}/${SRCFILE}
  mirror://${PNAME}/${PNAME}-5.10.1-picdl.patch  
  mirror://${PNAME}/${PNAME}-5.8.7-sharedlinker.patch  
29   mirror://${PNAME}/${PNAME}-5.8.7-Configure_multilib-1.patch   mirror://${PNAME}/${PNAME}-5.8.7-Configure_multilib-1.patch
30  )  )
31    
# Line 39  src_prepare() Line 37  src_prepare()
37   munpack ${SRCFILE} || die   munpack ${SRCFILE} || die
38   cd ${SRCDIR}   cd ${SRCDIR}
39    
  # enable dynamic loader  
  mpatch ${PNAME}-5.10.1-picdl.patch || die  
   
  # and proper ldflags for shrlibs  
  mpatch ${PNAME}-5.8.7-sharedlinker.patch || die  
   
40   if [[ $(mlibdir) != lib ]]   if [[ $(mlibdir) != lib ]]
41   then   then
42   # allow configure to run successfully on multilib builds   # allow configure to run successfully on multilib builds
# Line 65  src_compile() Line 57  src_compile()
57   # from gentoo:   # from gentoo:
58   # set a hook to check for each detected library whether it actually works.   # set a hook to check for each detected library whether it actually works.
59   export libscheck="   export libscheck="
60   ( echo 'main(){}' > '${SRCDIR}'/conftest.c &&   ( echo 'main(){}' > '${SRCDIR}-$(mabi)'/conftest.c &&
61    ${CC} -o '${SRCDIR}'/conftest '${SRCDIR}'/conftest.c -l\$thislib >/dev/null 2>/dev/null   ${CC} -o '${SRCDIR}-$(mabi)'/conftest '${SRCDIR}-$(mabi)'/conftest.c -l\$thislib >/dev/null 2>/dev/null
62   ) || xxx=/dev/null"   ) || xxx=/dev/null"
63    
64     # filter -march from cflags
65     export CFLAGS=$(mfilterflag CFLAGS '-march=*')
66    
67   all-abis ./Configure \   all-abis ./Configure \
68   -des \   -des \
69   -Darchname=${CHOST} \   -Darchname=${CHOST} \

Legend:
Removed from v.31550  
changed lines
  Added in v.31557