Date: Thu, 17 Oct 2013 14:55:34 +0000 (UTC) From: Brooks Davis <brooks@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r330648 - head/lang/dragonegg46 Message-ID: <201310171455.r9HEtYuR045689@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: brooks Date: Thu Oct 17 14:55:33 2013 New Revision: 330648 URL: http://svnweb.freebsd.org/changeset/ports/330648 Log: Only depend on one version of GCC. [1] Switch to USES=gmake. STAGIFY. Don't try to build when the default compiler uses libc++. Initiate deorbit burn sequence. Submitted by: John Marino <freebsd@marino.st> [1] Modified: head/lang/dragonegg46/Makefile Modified: head/lang/dragonegg46/Makefile ============================================================================== --- head/lang/dragonegg46/Makefile Thu Oct 17 14:52:37 2013 (r330647) +++ head/lang/dragonegg46/Makefile Thu Oct 17 14:55:33 2013 (r330648) @@ -2,6 +2,7 @@ PORTNAME= dragonegg46 PORTVERSION= 3.2 +PORTREVISION= 1 CATEGORIES= lang devel MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/ DISTNAME= dragonegg-${PORTVERSION}.src @@ -12,13 +13,15 @@ COMMENT= GCC plugin to use the LLVM back CONFLICTS= dragonegg46-devel-3* BUILD_DEPENDS+= llvm>=${PORTVERSION}:${PORTSDIR}/devel/llvm -RUN_DEPENDS+= ${CC}:${PORTSDIR}/lang/gcc \ - llvm>=${PORTVERSION}:${PORTSDIR}/devel/llvm +RUN_DEPENDS+= llvm>=${PORTVERSION}:${PORTSDIR}/devel/llvm + +DEPRECATED= Upgrade to dragonegg46-33 or dragonegg47-33 +EXPIRATION_DATE= 2013-11-01 OPTIONS_DEFINE= DOCS +USES= compiler:features gmake USE_GCC= 4.6 -USE_GMAKE= yes USE_LDCONFIG= yes DRAGONEGG_RELEASE= ${PORTVERSION:C/\.r[0-9]*//} @@ -31,13 +34,18 @@ MAKE_ARGS= GCC=${LOCALBASE}/bin/${CC} PLIST_FILES= ${GCC_LIBDIR}/${DRAGONEGG_SO} -NO_STAGE= yes .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MDOCS} PORTDOCS= README .endif +.include <bsd.port.pre.mk> + +.if ${COMPILER_FEATURES:Mlibc++} +IGNORE= dragonegg can't work if LLVM was built with libc++ +.endif + post-patch: ${REINPLACE_CMD} -e 's/%%CC%%/${CC}/' \ -e 's#%%PLUGINPATH%%#${LOCALBASE}/${DRAGONEGG_PATH}#' \ @@ -45,11 +53,12 @@ post-patch: ${WRKSRC}/README do-install: + ${MKDIR} ${STAGEDIR}${LOCALBASE}/${GCC_LIBDIR} ${INSTALL_LIB} ${WRKSRC}/dragonegg.so \ - ${LOCALBASE}/${GCC_LIBDIR}/${DRAGONEGG_SO} + ${STAGEDIR}${LOCALBASE}/${GCC_LIBDIR}/${DRAGONEGG_SO} .if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .endif -.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?201310171455.r9HEtYuR045689>