Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 May 2013 12:06:38 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r317736 - head/mail/bogofilter
Message-ID:  <201305091206.r49C6cv7049763@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305091206.r49C6cv7049763>