summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorfelix2016-06-22 22:57:46 +0200
committerfelix2016-06-22 22:57:46 +0200
commit2333c8d735de1c61fd1bd7a437e889a923d893e1 (patch)
tree7174f74af892b2b96879ee287196af8fd69afd6c
parentd00547acfd3d04d2321f7cfdc9784cd543c3e23d (diff)
downloadaur-2333c8d735de1c61fd1bd7a437e889a923d893e1.tar.gz
Move patches to prepare()
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 847596cb36b..fcbe220d29a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -30,16 +30,16 @@ validpgpkeys=('CB6A07CA90C54234E8A3C8D02C3D4E4C17F231A4') # Derek R. Price <moc
prepare() {
cd "${srcdir}/cvs-${pkgver}"
patch -Np1 < ../cvs_1.12.13+real-15.diff
+ sed -i -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.in
+ find . -name Makefile.am | xargs sed -i -e 's/^INCLUDES/AM_CPPFLAGS/'
}
build() {
cd "${srcdir}/cvs-${pkgver}"
unset EDITOR VISUAL
- sed -i -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.in
- find . -name Makefile.am | xargs sed -i -e 's/^INCLUDES/AM_CPPFLAGS/'
AUTOMAKE='automake --add-missing' autoreconf
- ./configure --prefix=/usr LIBS="-lbsd"
+ ./configure LIBS="-lbsd" --prefix=/usr
make
}