svn commit: r317736 - head/mail/bogofilter
Bryan Drewery
bdrewery at FreeBSD.org
Thu May 9 12:06:39 UTC 2013
Author: bdrewery
Date: Thu May 9 12:06:38 2013
New Revision: 317736
URL: http://svnweb.freebsd.org/changeset/ports/317736
Log:
- Fix build after USES=iconv conversion in r316662,
USES must be defined before bsd.port.pre.mk
Reported by: John Marino <draco at marino.st>
Modified:
head/mail/bogofilter/Makefile
Modified: head/mail/bogofilter/Makefile
==============================================================================
--- head/mail/bogofilter/Makefile Thu May 9 11:44:36 2013 (r317735)
+++ head/mail/bogofilter/Makefile Thu May 9 12:06:38 2013 (r317736)
@@ -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${
CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc
.if ${PORT_OPTIONS:MUNICODE}
CONFIGURE_ARGS+= --enable-unicode
-USES+= iconv
BF_LIBS+= -liconv
.endif
.if ${PORT_OPTIONS:MGSL}
More information about the svn-ports-all
mailing list