Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jun 2019 18:46:02 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r504880 - head/deskutils/showdown
Message-ID:  <201906221846.x5MIk2v5082556@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Sat Jun 22 18:46:02 2019
New Revision: 504880
URL: https://svnweb.freebsd.org/changeset/ports/504880

Log:
  Fix build on powerpc64 by adding c++11-lang to USES and modifying
  GNUmakefile:
  
    unrecognized command line option "-Wno-incompatible-pointer-types"
  
  Approved by:	portmgr (tier-2 blanket)

Modified:
  head/deskutils/showdown/Makefile

Modified: head/deskutils/showdown/Makefile
==============================================================================
--- head/deskutils/showdown/Makefile	Sat Jun 22 17:36:09 2019	(r504879)
+++ head/deskutils/showdown/Makefile	Sat Jun 22 18:46:02 2019	(r504880)
@@ -10,14 +10,13 @@ COMMENT=	Simple markdown viewer, written in Vala and G
 
 LICENSE=	GPLv3
 
-BROKEN_powerpc64=	fails to compile: unrecognized command line option "-Wno-incompatible-pointer-types"
-
 BUILD_DEPENDS=	${LOCALBASE}/lib/libmarkdown.a:textproc/discount \
 		valac:lang/vala
 LIB_DEPENDS=	libsoup-2.4.so:devel/libsoup \
 		libwebkit2gtk-4.0.so:www/webkit2-gtk3
 
-USES=		desktop-file-utils gmake pkgconfig
+USES=		compiler:c++11-lang desktop-file-utils gmake gnome \
+		pkgconfig
 USE_GNOME=	atk cairo gdkpixbuf2 glib20 gtk30 pango
 USE_XORG=	x11
 USE_GITHUB=	yes
@@ -35,6 +34,12 @@ PLIST_FILES=	bin/showdown \
 
 OPTIONS_DEFINE=	DOCS
 
+.include <bsd.port.pre.mk>
+
+.if ${CHOSEN_COMPILER_TYPE} == gcc
+EXTRA_PATCHES=	${FILESDIR}/extra-patch-GNUmakefile
+.endif
+
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/showdown
 
@@ -42,4 +47,4 @@ post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 
-.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?201906221846.x5MIk2v5082556>