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 31547 by niro, Fri Nov 30 08:26:13 2018 UTC revision 31550 by niro, Fri Nov 30 09:09:19 2018 UTC
# Line 24  sminclude multilib Line 24  sminclude multilib
24  msetfeature "!check"  msetfeature "!check"
25    
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}
29   mirror://${PNAME}/${PNAME}-5.10.1-picdl.patch   mirror://${PNAME}/${PNAME}-5.10.1-picdl.patch
30   mirror://${PNAME}/${PNAME}-5.8.7-sharedlinker.patch   mirror://${PNAME}/${PNAME}-5.8.7-sharedlinker.patch
# Line 62  src_prepare() Line 62  src_prepare()
62    
63  src_compile()  src_compile()
64  {  {
65     # from gentoo:
66     # set a hook to check for each detected library whether it actually works.
67     export libscheck="
68     ( echo 'main(){}' > '${SRCDIR}'/conftest.c &&
69      ${CC} -o '${SRCDIR}'/conftest '${SRCDIR}'/conftest.c -l\$thislib >/dev/null 2>/dev/null
70     ) || xxx=/dev/null"
71    
72   all-abis ./Configure \   all-abis ./Configure \
73   -des \   -des \
74   -Darchname=${CHOST} \   -Darchname=${CHOST} \
75   -Doptimize='"${CFLAGS}"' \   -Doptimize='"${CFLAGS}"' \
76     -Dldflags='"${LDFLAGS}"' \
77   -Dcc='"${CC}"' \   -Dcc='"${CC}"' \
78   -Dcccdlflags='-fPIC' \   -Dcccdlflags='-fPIC' \
79   -Dccdlflags='-rdynamic' \   -Dccdlflags='-rdynamic' \
# Line 82  src_compile() Line 90  src_compile()
90   -Dinstallman3dir=/usr/share/man/man3 \   -Dinstallman3dir=/usr/share/man/man3 \
91   -Dman1ext='1' \   -Dman1ext='1' \
92   -Dman3ext='3pm' \   -Dman3ext='3pm' \
93   -Dlibpth='"/usr/local/$(mlibdir) /$(mlibdir) /usr/$(mlibdir)"' \   -Dlibpth='"/usr/local/$(mlibdir) /$(mlibdir) /usr/$(mlibdir) "' \
94     -Dglibpth='"/$(mlibdir) /usr/$(mlibdir) "' \
95     -Dlocincpth='/usr/include ' \
96   || die   || die
97    
98   mmake || die   mmake || die

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