blob: ceb2ff8c9f3f4097020d46eeeb61a05456f9c5df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
DEPENDS = db3
RDEPENDS = libc6 db3
SRC_URI = ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-${PV}.tar.gz \
file://${FILESDIR}/makedefs.patch;patch=1 \
file://${FILESDIR}/install.patch;patch=1
export SYSLIBS='-lpcre -ldb -lnsl -lresolv ${LDFLAGS}'
export EXPORT="AUXLIBS='-lpcre' CCARGS='-DHAS_PCRE ${CFLAGS}' OPT='' DEBUG='-g'"
export CC_append=" -DHAS_PCRE ${CFLAGS}"
export EXTRA_OEMAKE = "-e"
do_compile_prepend () {
unset CFLAGS CPPFLAGS CXXFLAGS
}
#do_compile_append () {
# rm -f src/postconf/postconf.o
# oe_runmake -C src/postconf \
# AR='${BUILD_AR}' \
# RANLIB='${BUILD_RANLIB}' \
# SYSLIBS='-lpcre -ldb -lnsl -lresolv ${BUILD_LDFLAGS}' \
# EXPORT="AUXLIBS='-lpcre' CCARGS='-DHAS_PCRE ${BUILD_CFLAGS}' OPT='' DEBUG='-g'" \
# CC='${BUILD_CC} -DHAS_PCRE ${BUILD_CFLAGS}' \
# PROG='postconf.native'
# touch src/postconf/postconf.c src/postconf/postconf.o bin/postconf.native bin/postconf
#}
#
#do_install () {
# sh ./postfix-install 'install_root=${D}' -non-interactive
#}
|