blob: b2c19a2d03b2d9bac21441fc9f906ce04b78966f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# disable NIS/YP
sed -i 's@./configure@./configure --disable-nis@g' PKGBUILD
# no w3m, docboox-xml/xsl
# tons of tools needed to build documentation, we ommit the documentation right now
sed -i "/makedepends=/s/'w3m'//" PKGBUILD
sed -i "/makedepends=/s/'docbook-xml.*'//" PKGBUILD
sed -i "/makedepends=/s/'docbook-xsl'//" PKGBUILD
# unix_passwd.c:56:10: fatal error: rpcsvc/yp_prot.h: No such file or directory
# #include <rpcsvc/yp_prot.h>
# => pam-1.3.0-unix-passwd-no-yp.patch
sed -i 's@source=(@source=(pam-1.3.0-unix-passwd-no-yp.patch @' PKGBUILD
sed -i "s@md5sums=(@md5sums=('3f5edd685cdd2c0a2ca44bc6e75320d8' @" PKGBUILD
sed -i '/patch -Np/ a \ patch -Np1 -i "${srcdir}/pam-1.3.0-unix-passwd-no-yp.patch"' PKGBUILD
# disable docu rebuilding
sed -i 's@./configure@./configure --disable-regenerate-docu@' PKGBUILD
# no documentation built, so nothing to remove
sed -i '2!N; /# FS #40749\n \+rm/ s/rm/#rm/g' PKGBUILD
|