diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2013-05-09 20:06:38 +0800 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2013-05-09 20:06:38 +0800 |
commit | 56274cd6954fc8f0643971853f2af056bcc5620e (patch) | |
tree | b2e3e459c6c0bf8907183b4cfe99ab1a01439be5 /mail | |
parent | c81459f6143f48dfa7c73904f8dfe6f7a65d863e (diff) | |
download | freebsd-ports-gnome-56274cd6954fc8f0643971853f2af056bcc5620e.tar.gz freebsd-ports-gnome-56274cd6954fc8f0643971853f2af056bcc5620e.tar.zst freebsd-ports-gnome-56274cd6954fc8f0643971853f2af056bcc5620e.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>
Diffstat (limited to 'mail')
-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} |