svn commit: r384163 - head/databases/tora

Dmitry Marakasov amdmi3 at FreeBSD.org
Fri Apr 17 15:13:08 UTC 2015


Author: amdmi3
Date: Fri Apr 17 15:13:07 2015
New Revision: 384163
URL: https://svnweb.freebsd.org/changeset/ports/384163

Log:
  - Fix build on 10.x and 11.x

Modified:
  head/databases/tora/Makefile

Modified: head/databases/tora/Makefile
==============================================================================
--- head/databases/tora/Makefile	Fri Apr 17 14:03:31 2015	(r384162)
+++ head/databases/tora/Makefile	Fri Apr 17 15:13:07 2015	(r384163)
@@ -23,7 +23,7 @@ OPTIONS_DEFAULT=	PGSQL MYSQL
 
 USE_AUTOTOOLS=	aclocal automake autoconf autoheader libtoolize
 USE_QT4=	gui corelib sql xml network linguist moc_build uic_build rcc_build
-USES=		gmake libtool
+USES=		compiler:features gmake libtool makeinfo
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-pcre=${LOCALBASE}
 LDFLAGS+=	-L${LOCALBASE}/lib
@@ -31,7 +31,11 @@ INSTALL_TARGET=	install-strip
 
 PREFIX2FIX=	doc/help/preferences.texi doc/help/preferences.html
 
-.include <bsd.port.options.mk>
+.include <bsd.port.pre.mk>
+
+.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 36
+USE_GCC=	yes
+.endif
 
 .if ${PORT_OPTIONS:MDOCS}
 USES+=		makeinfo
@@ -66,4 +70,4 @@ pre-configure:
 	${REINPLACE_CMD} -e 's|test doc|test|' ${WRKSRC}/Makefile.am
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>


More information about the svn-ports-all mailing list