Date: Sun, 5 Aug 2018 05:35:36 +0000 (UTC) From: Muhammad Moinur Rahman <bofh@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r476390 - head/devel/dia2code+ Message-ID: <201808050535.w755ZaY8088090@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bofh Date: Sun Aug 5 05:35:36 2018 New Revision: 476390 URL: https://svnweb.freebsd.org/changeset/ports/476390 Log: devel/dia2code+: fix build on 10.3 with lang/gcc7 or later - Builds with clang PR: 222962 Submitted by: jbeich Modified: head/devel/dia2code+/Makefile Modified: head/devel/dia2code+/Makefile ============================================================================== --- head/devel/dia2code+/Makefile Sun Aug 5 05:10:50 2018 (r476389) +++ head/devel/dia2code+/Makefile Sun Aug 5 05:35:36 2018 (r476390) @@ -3,7 +3,7 @@ PORTNAME= dia2code+ PORTVERSION= 1.0.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= devel MASTER_SITES= SF/dia2code/dia2code+/${PORTVERSION} DISTNAME= dia2code-${PORTVERSION} @@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_powerpc64= fails to compile: GenerateCodePhp.cpp: 'stoi' is not a member of 'std' -USES= autoreconf:build compiler:gcc-c++11-lib iconv +USES= autoreconf:build compiler:c++11-lib iconv USE_GNOME= libxml2 GNU_CONFIGURE= yes @@ -25,6 +25,10 @@ LDFLAGS+= -L${LOCALBASE}/lib PLIST_FILES= bin/dia2code \ man/man1/dia2code.1.gz + +post-patch: + @${REINPLACE_CMD} '/dia2code_CXXFLAGS =/ s,-fprofile-arcs,,' \ + ${WRKSRC}/src/Makefile.in post-install: ${INSTALL_MAN} ${WRKSRC}/docs/dia2code.1 ${STAGEDIR}${MANPREFIX}/man/man1
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808050535.w755ZaY8088090>