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}" |
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 |
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 |
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 |
} |
} |