Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Aug 2018 17:08:45 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r478230 - head/lang/angelscript
Message-ID:  <201808271708.w7RH8jOW009705@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Mon Aug 27 17:08:45 2018
New Revision: 478230
URL: https://svnweb.freebsd.org/changeset/ports/478230

Log:
  lang/angelscript: Remove hack for i386, using upstream clang fix
  
  PR:		230923
  Submitted by:	Nathan <ndowens@yahoo.com> (maintainer)

Modified:
  head/lang/angelscript/Makefile   (contents, props changed)

Modified: head/lang/angelscript/Makefile
==============================================================================
--- head/lang/angelscript/Makefile	Mon Aug 27 17:07:26 2018	(r478229)
+++ head/lang/angelscript/Makefile	Mon Aug 27 17:08:45 2018	(r478230)
@@ -3,6 +3,7 @@
 
 PORTNAME=	angelscript
 PORTVERSION=	2.32.0
+PORTREVISION=	1
 CATEGORIES=	lang
 MASTER_SITES=	http://www.angelcode.com/angelscript/sdk/files/
 DISTNAME=	${PORTNAME}_${PORTVERSION}
@@ -23,7 +24,9 @@ MAKE_ARGS=	CP_SYMLINK="${INSTALL_LIB}"
 
 .include <bsd.port.options.mk>
 .if ${ARCH} == "i386"
-USE_GCC=	yes
+pre-build:
+	(cd ${WRKDIR}/sdk/angelscript/source && ${REINPLACE_CMD} -e 's|ifdef __OPTIMIZE__|if defined(__OPTIMIZE__) \&\&\ !defined(__clang__)|g' \
+		-e 's,ifdef __OPTIMIZE__ifdef __OPTIMIZE__,,g' *.cpp)
 .endif
 
 WRKSRC=		${WRKDIR}/sdk/angelscript/projects/gnuc/



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