Magellan Linux

Diff of /trunk/extras/ldb/ldb-1.4.3-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 31773 by niro, Fri Dec 7 09:52:26 2018 UTC revision 31774 by niro, Fri Dec 7 10:36:14 2018 UTC
# Line 27  sminclude multilib mbuild Line 27  sminclude multilib mbuild
27  SRC_URI=(  SRC_URI=(
28   http://www.samba.org/ftp/${PNAME}/${SRCFILE}   http://www.samba.org/ftp/${PNAME}/${SRCFILE}
29   mirror://${PNAME}/${SRCFILE}   mirror://${PNAME}/${SRCFILE}
30     mirror://${PNAME}/0002-ldb-Run-at-least-some-tests-on-32-bit-machines.patch
31  )  )
32    
33  UP2DATE="updatecmd http://www.samba.org/ftp/${PNAME}/ | grep '/${PNAME}-' | highesttarball gz"  UP2DATE="updatecmd http://www.samba.org/ftp/${PNAME}/ | grep '/${PNAME}-' | highesttarball gz"
34    
35    src_prepare()
36    {
37     munpack ${SRCFILE} || die
38     mpatch 0002-ldb-Run-at-least-some-tests-on-32-bit-machines.patch || die
39    }
40    
41  src_compile()  src_compile()
42  {  {
43     local myconf
44    
45     if [[ ${ARCH} != x86_64 ]]
46     then
47     myconf+=" --without-ldb-lmdb"
48     fi
49     if [[ ${MULTILIB} = true ]]
50     then
51     myconf='$(MULTILIB_VERBOSE=false only-m32 echo "--without-ldb-lmdb")'
52     fi
53    
54   mconfigure \   mconfigure \
55   --disable-rpath \   --disable-rpath \
56   --disable-rpath-install \   --disable-rpath-install \
# Line 40  src_compile() Line 58  src_compile()
58   --builtin-libraries=replace \   --builtin-libraries=replace \
59   --with-modulesdir=/usr/'$(mlibdir)'/ldb/modules \   --with-modulesdir=/usr/'$(mlibdir)'/ldb/modules \
60   --with-privatelibdir=/usr/'$(mlibdir)'/ldb \   --with-privatelibdir=/usr/'$(mlibdir)'/ldb \
61     ${myconf} \
62   || die   || die
63    
64   mmake || die   mmake || die

Legend:
Removed from v.31773  
changed lines
  Added in v.31774