--- trunk/core/perl/perl-5.28.1-r1.smage2 2018/11/30 09:12:34 31551 +++ trunk/core/perl/perl-5.28.1-r1.smage2 2018/11/30 10:31:31 31559 @@ -26,8 +26,6 @@ SRC_URI=( #http://www.cpan.org/src/${PVER%%.*}.0/${SRCFILE} mirror://${PNAME}/${SRCFILE} - mirror://${PNAME}/${PNAME}-5.10.1-picdl.patch - mirror://${PNAME}/${PNAME}-5.8.7-sharedlinker.patch mirror://${PNAME}/${PNAME}-5.8.7-Configure_multilib-1.patch ) @@ -39,12 +37,6 @@ munpack ${SRCFILE} || die cd ${SRCDIR} - # enable dynamic loader - mpatch ${PNAME}-5.10.1-picdl.patch || die - - # and proper ldflags for shrlibs - mpatch ${PNAME}-5.8.7-sharedlinker.patch || die - if [[ $(mlibdir) != lib ]] then # allow configure to run successfully on multilib builds @@ -65,13 +57,16 @@ # from gentoo: # set a hook to check for each detected library whether it actually works. export libscheck=" - ( echo 'main(){}' > '${SRCDIR}'/conftest.c && - ${CC} -o '${SRCDIR}'/conftest '${SRCDIR}'/conftest.c -l\$thislib >/dev/null 2>/dev/null + ( echo 'main(){}' > '${SRCDIR}'-$(mabi)/conftest.c && + '${CC}' -o '${SRCDIR}'-$(mabi)/conftest '${SRCDIR}'-$(mabi)/conftest.c -l\$thislib >/dev/null 2>/dev/null ) || xxx=/dev/null" + # filter -march from cflags + export CFLAGS=$(mfilterflag CFLAGS '-march=*') + all-abis ./Configure \ -des \ - -Darchname='"${CHOST}"' \ + -Darchname=${CHOST} \ -Doptimize='"${CFLAGS}"' \ -Dldflags='"${LDFLAGS}"' \ -Dcc='"${CC}"' \