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 31549 by niro, Fri Nov 30 08:41:04 2018 UTC revision 31550 by niro, Fri Nov 30 09:09:19 2018 UTC
# 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)"' \   -Dglibpth='"/$(mlibdir) /usr/$(mlibdir) "' \
95     -Dlocincpth='/usr/include ' \
96   || die   || die
97    
98   mmake || die   mmake || die

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