diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2013-05-09 12:06:38 +0000 |
---|---|---|
committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2013-05-09 12:06:38 +0000 |
commit | db556054bcef6f6eb5f6062f10178a5d4438a1b6 (patch) | |
tree | b2e3e459c6c0bf8907183b4cfe99ab1a01439be5 /mail/bogofilter | |
parent | 1430278cdc066c70d985ffda931695d9f98a6a16 (diff) | |
download | ports-db556054bcef6f6eb5f6062f10178a5d4438a1b6.tar.gz ports-db556054bcef6f6eb5f6062f10178a5d4438a1b6.zip |
- Fix build after USES=iconv conversion in r316662,
USES must be defined before bsd.port.pre.mk
Reported by: John Marino <draco@marino.st>
Notes
Notes:
svn path=/head/; revision=317736
Diffstat (limited to 'mail/bogofilter')
-rw-r--r-- | mail/bogofilter/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mail/bogofilter/Makefile b/mail/bogofilter/Makefile index 522e46bc8adf..7d7b5da54b5c 100644 --- a/mail/bogofilter/Makefile +++ b/mail/bogofilter/Makefile @@ -29,6 +29,12 @@ MAKE_JOBS_SAFE= yes USE_AUTOTOOLS= aclocal automake autoconf autoheader ACLOCAL_ARGS= -Im4 +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MUNICODE} +USES+= iconv +.endif + .include <bsd.port.pre.mk> .if ${ARCH} == "sparc64" @@ -40,7 +46,6 @@ BF_CPPFLAGS?= -I${BDB_INCLUDE_DIR} -I${LOCALBASE}/include CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc .if ${PORT_OPTIONS:MUNICODE} CONFIGURE_ARGS+= --enable-unicode -USES+= iconv BF_LIBS+= -liconv .endif .if ${PORT_OPTIONS:MGSL} |