Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jan 2014 15:44:33 +0000 (UTC)
From:      Vsevolod Stakhov <vsevolod@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340913 - head/math/gringo
Message-ID:  <201401241544.s0OFiXLM099911@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vsevolod
Date: Fri Jan 24 15:44:33 2014
New Revision: 340913
URL: http://svnweb.freebsd.org/changeset/ports/340913
QAT: https://qat.redports.org/buildarchive/r340913/

Log:
  - Unbreak on FreeBSD < 10
  - Disable lua support as it is terribly broken
  - Add license
  - Update portrevision accordingly

Modified:
  head/math/gringo/Makefile

Modified: head/math/gringo/Makefile
==============================================================================
--- head/math/gringo/Makefile	Fri Jan 24 15:43:44 2014	(r340912)
+++ head/math/gringo/Makefile	Fri Jan 24 15:44:33 2014	(r340913)
@@ -4,6 +4,7 @@
 PORTNAME=	gringo
 PORTVERSION=	4.2.1
 DISTVERSIONSUFFIX=	-source
+PORTREVISION=	1
 CATEGORIES=	math devel
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	potassco/${PORTNAME}/${PORTVERSION}
@@ -11,17 +12,24 @@ MASTER_SITE_SUBDIR=	potassco/${PORTNAME}
 MAINTAINER=	vsevolod@FreeBSD.org
 COMMENT=	Grounding algorithm based on semi-naive database evaluation
 
+LICENSE=	GPLv3
+
 BUILD_DEPENDS=	re2c:${PORTSDIR}/devel/re2c
 
-USES=	scons lua:51+ bison
+USES=	scons bison
 
-MAKE_ARGS+=	${MAKE_ENV} WITH_LUA="lua-${LUA_VER}"
-CXXFLAGS+=	-std=c++11 -I${LUA_INCDIR}
-LDFLAGS+=	-L${LUA_LIBDIR}
+MAKE_ARGS+=	${MAKE_ENV}
+CXXFLAGS+=	-std=c++11
 
 PLIST_FILES=	bin/${PORTNAME}
 
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 1000000
+USE_GCC=	4.8+
+.endif
+
 do-install:
 	${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/build/release/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>



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