svn commit: r476390 - head/devel/dia2code+
Muhammad Moinur Rahman
bofh at FreeBSD.org
Sun Aug 5 05:35:37 UTC 2018
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
More information about the svn-ports-all
mailing list