aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-05-28 00:06:02 +0800
committerbapt <bapt@FreeBSD.org>2013-05-28 00:06:02 +0800
commitfd2ae87046f6ea957b25c949bf411f7d3a0f0bb4 (patch)
tree2e25cf8aeb016ec8232ceb329727c2f24722afcc
parent8b1eacdb4ef5fa0f35ab4fa50cb2b43cb11b2da5 (diff)
downloadfreebsd-ports-gnome-fd2ae87046f6ea957b25c949bf411f7d3a0f0bb4.tar.gz
freebsd-ports-gnome-fd2ae87046f6ea957b25c949bf411f7d3a0f0bb4.tar.zst
freebsd-ports-gnome-fd2ae87046f6ea957b25c949bf411f7d3a0f0bb4.zip
Fix build on HEAD by adding USE_GCC=any (uses nested functions)
-rw-r--r--mail/xf-spf/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/mail/xf-spf/Makefile b/mail/xf-spf/Makefile
index 95289edc18d1..09618ed9824f 100644
--- a/mail/xf-spf/Makefile
+++ b/mail/xf-spf/Makefile
@@ -14,6 +14,7 @@ LIB_DEPENDS+= spf2.3:${PORTSDIR}/mail/libspf2
USES= qmail
USE_BZIP2= yes
+USE_GCC= any
SUB_FILES= pkg-message
SUB_LIST= QMAIL_PREFIX=${QMAIL_PREFIX}
@@ -21,13 +22,13 @@ PLIST_SUB= QMAIL_PREFIX=${QMAIL_PREFIX}
PORTDOCS= README TODO CHANGELOG COPYRIGHT
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
.endif
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>