summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-12 19:05:21 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-12 19:05:21 +0100
commit8b7dd4220cd4a4a76155b7a787c710eb4a91db1b (patch)
treed0c4c0e1ce9e76d1fc15aaaaab3a57c9428087eb /package
parentabf607b563f8ab66536120681cc43230a3c053ce (diff)
fix cross-compile on Darwin
Diffstat (limited to 'package')
-rw-r--r--package/bogofilter/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/package/bogofilter/Makefile b/package/bogofilter/Makefile
index 4f83f73f4..120dfaf4e 100644
--- a/package/bogofilter/Makefile
+++ b/package/bogofilter/Makefile
@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= bogofilter
PKG_VERSION:= 1.2.2
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= 39d27c13eae8a5064d68e20d585e60de
PKG_DESCR:= mail filter
PKG_SECTION:= mail
@@ -14,8 +14,6 @@ PKG_BUILDDEP:= libiconv libdb
PKG_URL:= http://bogofilter.sourceforge.net/
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=bogofilter/}
-PKG_HOST_DEPENDS:= !darwin
-
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,BOGOFILTER,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -28,6 +26,9 @@ CONFIGURE_ARGS+= --without-libsqlite3-prefix \
--with-libdb-prefix=${STAGING_TARGET_DIR}/usr \
--disable-transactions
+pre-build:
+ touch $(WRKBUILD)/src/lexer_v3.l $(WRKBUILD)/src/Makefile.in $(WRKBUILD)/src/lexer_v3.c
+
post-install:
${INSTALL_DIR} ${IDIR_BOGOFILTER}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/bogofilter \