Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jan 2018 15:02:40 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r460004 - head/devel/art
Message-ID:  <201801261502.w0QF2eUL018683@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Fri Jan 26 15:02:40 2018
New Revision: 460004
URL: https://svnweb.freebsd.org/changeset/ports/460004

Log:
  - Unbreak and undeprecate (chase libsigc++20 update)
  - Use CXXFLAGS for passing options to C++ compiler, not CFLAGS
  - Wrap overly long lines, utilize options helper target

Modified:
  head/devel/art/Makefile

Modified: head/devel/art/Makefile
==============================================================================
--- head/devel/art/Makefile	Fri Jan 26 15:02:10 2018	(r460003)
+++ head/devel/art/Makefile	Fri Jan 26 15:02:40 2018	(r460004)
@@ -15,21 +15,26 @@ LICENSE=	GPLv3
 
 LIB_DEPENDS=	libxml++-2.6.so:textproc/libxml++26
 
-BROKEN=		fails to compile: ustring.h: expected ';' at end of declaration list
-DEPRECATED=	Broken for more than 6 months
-EXPIRATION_DATE=	2018-01-27
+USES=		compiler:c++11-lang gmake pkgconfig
+USE_CXXSTD=	c++11
 
-USES=	gmake pkgconfig
-
 OPTIONS_DEFINE=	DOCS
 
+post-patch:
+	@${FIND} ${WRKSRC} -type f -name Makefile | ${XARGS} \
+		${REINPLACE_CMD} -e '/$$(CXX)/s,CFLAGS,CXXFLAGS,' \
+		-e 's,^CFLAGS+=,CXXFLAGS+=,'
+
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/artlibgen/src/artlibgen ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_PROGRAM} ${WRKSRC}/artrepgen/artrepgen ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/artlibgen/src/artlibgen \
+		${WRKSRC}/artrepgen/artrepgen ${STAGEDIR}${PREFIX}/bin
+
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for docs in posix-gcc-mt-file-lint.xml posix-gcc-mt-netw-lint.xml \
  posix-gcc-mt-file-special.xml
-	@${INSTALL_DATA} ${WRKSRC}/artlibgen/templates/${docs} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/artlibgen/templates/${docs} \
+		${STAGEDIR}${DOCSDIR}
 .endfor
 
 .if defined(MAINTAINER_MODE)



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