52 |
src_prepare() |
src_prepare() |
53 |
{ |
{ |
54 |
munpack ${SRCFILE} || die |
munpack ${SRCFILE} || die |
|
cd ${SRCDIR} |
|
55 |
|
|
56 |
# adds support for PYTHON_DONTCOMPILE shell environment to |
# adds support for PYTHON_DONTCOMPILE shell environment to |
57 |
# supress automatic generation of .pyc and .pyo files |
# supress automatic generation of .pyc and .pyo files |
59 |
mpatch ${PNAME}-2.4-disable_modules_and_ssl.patch || die |
mpatch ${PNAME}-2.4-disable_modules_and_ssl.patch || die |
60 |
mpatch ${PNAME}-2.5.0-mimetypes-apache.patch || die |
mpatch ${PNAME}-2.5.0-mimetypes-apache.patch || die |
61 |
|
|
62 |
if [[ $(mlibdir) = lib64 ]] |
only-m64 mpatch ${PNAME}-2.7.0-lib64-3.patch || die |
|
then |
|
|
mpatch ${PNAME}-2.7.0-lib64-3.patch || die |
|
|
fi |
|
63 |
} |
} |
64 |
|
|
65 |
src_compile() |
src_compile() |
66 |
{ |
{ |
|
cd ${SRCDIR} |
|
|
|
|
67 |
mconfigure \ |
mconfigure \ |
68 |
--with-fpectl \ |
--with-fpectl \ |
69 |
--enable-shared \ |
--enable-shared \ |
76 |
|
|
77 |
src_install() |
src_install() |
78 |
{ |
{ |
|
cd ${SRCDIR} |
|
|
|
|
79 |
# install some missing directories |
# install some missing directories |
80 |
minstalldir /usr || die |
minstalldir /usr || die |
81 |
|
|