45 |
# enable autoconf (-Np1 is neccessary) |
# enable autoconf (-Np1 is neccessary) |
46 |
mpatch -Np1 ${PNAME}-1.7-autoconf.patch || die |
mpatch -Np1 ${PNAME}-1.7-autoconf.patch || die |
47 |
|
|
48 |
|
# fix hardcoded versions in the ac patch |
49 |
|
sed -i -e "s:^AM_INIT_AUTOMAKE(libmpeg3, 1.7):AM_INIT_AUTOMAKE(libmpeg3, ${PVER}):" \ |
50 |
|
-e "s:^AC_INIT([libmpeg3], [1.7], [mail]):AC_INIT([libmpeg3], [${PVER}], [mail]):" \ |
51 |
|
configure.ac || die |
52 |
|
sed -i "s:-release 1.7:-release ${PVER}:" Makefile.am || die |
53 |
|
|
54 |
# fixes textrels |
# fixes textrels |
55 |
mpatch ${PNAME}-1.7-textrel.patch || die |
mpatch ${PNAME}-1.7-textrel.patch || die |
56 |
|
|
92 |
# fix headers to use global includes |
# fix headers to use global includes |
93 |
# patching done in src_install or all wants to be rebuilt |
# patching done in src_install or all wants to be rebuilt |
94 |
cd ${BINDIR}/usr/include/libmpeg3 |
cd ${BINDIR}/usr/include/libmpeg3 |
95 |
mpatch ${PNAME}-${PVER}-fix-includes.patch || die |
mpatch ${PNAME}-1.7-fix-includes.patch || die |
96 |
} |
} |