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 31561 by niro, Fri Nov 30 10:52:59 2018 UTC revision 31562 by niro, Fri Nov 30 12:12:02 2018 UTC
# Line 44  src_prepare() Line 44  src_prepare()
44   mpatch ${PNAME}-5.8.7-Configure_multilib-1.patch || die   mpatch ${PNAME}-5.8.7-Configure_multilib-1.patch || die
45   fi   fi
46    
  # force use of system-zlib  
  all-abis 'sed -i "/^BUILD_ZLIB/s/True/False/" cpan/Compress-Raw-Zlib/config.in || die'  
  all-abis 'sed -i "/^INCLUDE/s,\./zlib-src,/usr/include," cpan/Compress-Raw-Zlib/config.in || die'  
  all-abis 'sed -i "/^LIB/s,\./zlib-src,/usr/lib," cpan/Compress-Raw-Zlib/config.in || die'  
   
47   # tell perl where to install the libs to   # tell perl where to install the libs to
48   all-abis 'echo "installstyle=\"$(mlibdir)/perl5\"" >>hints/linux.sh || die'   all-abis 'echo "installstyle=\"$(mlibdir)/perl5\"" >>hints/linux.sh || die'
49  }  }
# Line 59  src_compile() Line 54  src_compile()
54   # 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.
55   export libscheck="   export libscheck="
56   ( echo 'main(){}' > '${SRCDIR}'-$(mabi)/conftest.c &&   ( echo 'main(){}' > '${SRCDIR}'-$(mabi)/conftest.c &&
57   '${CC}' -o '${SRCDIR}'-$(mabi)/conftest '${SRCDIR}'-$(mabi)/conftest.c -l\$thislib >/dev/null 2>/dev/null   $(mabi-cc) -o '${SRCDIR}'-$(mabi)/conftest '${SRCDIR}'-$(mabi)/conftest.c -l\$thislib >/dev/null 2>/dev/null
58   ) || xxx=/dev/null"   ) || xxx=/dev/null"
59    
60   # filter -march from cflags   # filter -march from cflags

Legend:
Removed from v.31561  
changed lines
  Added in v.31562