aboutsummaryrefslogtreecommitdiffstats
path: root/main/procmail
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-09-18 06:56:56 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-09-18 06:56:56 +0000
commit478789434d5dd7bacc141d5be97b3cfcdb2dd6a0 (patch)
treef19221a3a3e930b5bd271c90aacf6bedd218ec2c /main/procmail
parent46cf7d6b61e4547ba3d3a5bd6692cfa4a77b90c3 (diff)
downloadaports-478789434d5dd7bacc141d5be97b3cfcdb2dd6a0.tar.bz2
aports-478789434d5dd7bacc141d5be97b3cfcdb2dd6a0.tar.xz
main/procmail: fix LDFLAGS
and clean up the build. we should not call 'yes'
Diffstat (limited to 'main/procmail')
-rw-r--r--main/procmail/APKBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/main/procmail/APKBUILD b/main/procmail/APKBUILD
index 618d927049..3e458752ab 100644
--- a/main/procmail/APKBUILD
+++ b/main/procmail/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=procmail
pkgver=3.22
-pkgrel=1
+pkgrel=2
pkgdesc="Highly configurable auto mail processing"
url="http://www.procmail.org"
arch="all"
@@ -30,13 +30,13 @@ prepare() {
build() {
cd "$_builddir"
- yes n | make CFLAGS0="${CFLAGS} ${LDFLAGS}" \
- LOCKINGTEST="/tmp ." || return 1
+ make CFLAGS0="${CFLAGS}" LDFLAGS0="${LDFLAGS}" \
+ LOCKINGTEST="'$srcdir' ." || return 1
}
package() {
cd "$_builddir"
- make BASENAME=${pkgdir}/usr MANDIR=${pkgdir}/usr/share/man \
+ make BASENAME="${pkgdir}"/usr MANDIR="${pkgdir}"/usr/share/man \
install || return 1
rm -f "$pkgdir"/usr/lib/*.la
install -D -m644 Artistic ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE