Magellan Linux

Diff of /trunk/core/perl/perl-5.10.1-r1.smage2

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

revision 3033 by niro, Wed Oct 7 17:26:38 2009 UTC revision 3034 by niro, Wed Oct 7 17:49:49 2009 UTC
# Line 10  STATE="unstable" Line 10  STATE="unstable"
10  DESCRIPTION="Larry Wall's Practical Extraction and Reporting Language."  DESCRIPTION="Larry Wall's Practical Extraction and Reporting Language."
11  HOMEPAGE="http://www.perl.org/"  HOMEPAGE="http://www.perl.org/"
12    
13  DEPEND=">= sys-apps/groff-1.20"  DEPEND=">= sys-apps/groff-1.20
14     >= sys-libs/zlib-1.2.3"
15    
16  SRCFILE="${PNAME}-${PVER}.tar.gz"  SRCFILE="${PNAME}-${PVER}.tar.gz"
17  SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"  SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
# Line 18  SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" Line 19  SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
19  SRC_URI=(  SRC_URI=(
20   http://ftp.funet.fi/pub/CPAN/src/${SRCFILE}   http://ftp.funet.fi/pub/CPAN/src/${SRCFILE}
21   mirror://${PNAME}/${SRCFILE}   mirror://${PNAME}/${SRCFILE}
22   mirror://${PNAME}/${PNAME}-5.8.7-picdl.patch   mirror://${PNAME}/${PNAME}-${PVER}-picdl.patch
23   mirror://${PNAME}/${PNAME}-5.8.7-sharedlinker.patch   mirror://${PNAME}/${PNAME}-5.8.7-sharedlinker.patch
24   mirror://${PNAME}/${PNAME}-5.8.7-Configure_multilib-1.patch   mirror://${PNAME}/${PNAME}-5.8.7-Configure_multilib-1.patch
25   mirror://${PNAME}/${PNAME}-5.8.7-libc_lib64-1.patch   mirror://${PNAME}/${PNAME}-5.8.7-libc_lib64-1.patch
# Line 34  src_prepare() Line 35  src_prepare()
35   cd ${SRCDIR}   cd ${SRCDIR}
36    
37   # enable dynamic loader   # enable dynamic loader
38   mpatch ${PNAME}-5.8.7-picdl.patch || die   mpatch ${PNAME}-5.8.7-${PVER}.patch || die
39    
40   # and proper ldflags for shrlibs   # and proper ldflags for shrlibs
41   mpatch ${PNAME}-5.8.7-sharedlinker.patch || die   mpatch ${PNAME}-5.8.7-sharedlinker.patch || die
# Line 47  src_prepare() Line 48  src_prepare()
48   mpatch ${PNAME}-5.8.7-libc_lib64-1.patch || die   mpatch ${PNAME}-5.8.7-libc_lib64-1.patch || die
49   fi   fi
50    
51     # force use of system-zlib
52     sed -i -e '/^BUILD_ZLIB/ s/True/False/' \
53     -e '/^INCLUDE/s|\./zlib-src|/usr/include|' \
54     -e '/^LIB/s|\./zlib-src|/usr/lib64|' \
55     ext/Compress-Raw-Zlib/config.in \
56     || die
57    
58   # tell perl where to install the libs to   # tell perl where to install the libs to
59   echo "installstyle=\"$(mlibdir)/perl5\"" >>hints/linux.sh || die   echo "installstyle=\"$(mlibdir)/perl5\"" >>hints/linux.sh || die
60  }  }

Legend:
Removed from v.3033  
changed lines
  Added in v.3034