summaryrefslogtreecommitdiff
path: root/manualPorts/procmail/Pkgfile
blob: 98165a751b372362c5b48c7f1a99e72006854599 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Description: Highly configurable auto mail processing
# URL: http://www.procmail.org
# Maintainer: Erich Eckner, crux at eckner dot net

name=procmail
version=3.22
release=1
source=("http://ftp.osuosl.org/pub/blfs/conglomeration/procmail/${name}-${version}.tar.gz"
procmail-3.22-getline.patch formisc.c.patch fix_memory_allocation_bug.diff)

build() {

ls -lA
    cd ${name}-${version}

    patch -p1 -i "${SRC}/procmail-3.22-getline.patch"
    patch -p1 -i "${SRC}/formisc.c.patch"
    patch -p1 -i "${SRC}/fix_memory_allocation_bug.diff"

    yes n | make CFLAGS0="${CFLAGS} ${LDFLAGS}" LOCKINGTEST="/tmp ."
    make BASENAME=${PKG}/usr MANDIR=${PKG}/usr/share/man install

}