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 31555 by niro, Fri Nov 30 10:21:41 2018 UTC revision 31560 by niro, Fri Nov 30 10:35:54 2018 UTC
# Line 20  DEPEND="$(marchdepend) Line 20  DEPEND="$(marchdepend)
20  SRCFILE="${PNAME}-${PVER}.tar.gz"  SRCFILE="${PNAME}-${PVER}.tar.gz"
21  SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"  SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
22    
23    EMUL_LINUX_32=true
24  sminclude multilib  sminclude multilib
25  msetfeature "!check"  msetfeature "!check"
26    
# Line 57  src_compile() Line 58  src_compile()
58   # from gentoo:   # from gentoo:
59   # 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.
60   export libscheck="   export libscheck="
61   ( echo 'main(){}' > '${SRCDIR}'/conftest.c &&   ( echo 'main(){}' > '${SRCDIR}'-$(mabi)/conftest.c &&
62    ${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
63   ) || xxx=/dev/null"   ) || xxx=/dev/null"
64    
65   # filter -march from cflags   # filter -march from cflags
# Line 66  src_compile() Line 67  src_compile()
67    
68   all-abis ./Configure \   all-abis ./Configure \
69   -des \   -des \
70   -Darchname=${CHOST} \   -Darchname='"${CHOST}"' \
71   -Doptimize='"${CFLAGS}"' \   -Doptimize='"${CFLAGS}"' \
72   -Dldflags='"${LDFLAGS}"' \   -Dldflags='"${LDFLAGS}"' \
73   -Dcc='"${CC}"' \   -Dcc='"${CC}"' \

Legend:
Removed from v.31555  
changed lines
  Added in v.31560