Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 May 2017 20:13:11 +0000 (UTC)
From:      Koop Mast <kwm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r440288 - in head: accessibility/atkmm devel/appstream-glib devel/glib20 devel/glibmm devel/libsigc++20 x11-toolkits/gtk30
Message-ID:  <201705062013.v46KDB8Q032152@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kwm
Date: Sat May  6 20:13:10 2017
New Revision: 440288
URL: https://svnweb.freebsd.org/changeset/ports/440288

Log:
  Sprinkle some fixes to make these ports build on ARCH's that don't
  have clang as the default compiler.
  
  Submitted by:	jhibbits@
  Differential Revision:	https://reviews.freebsd.org/D10628

Modified:
  head/accessibility/atkmm/Makefile
  head/devel/appstream-glib/Makefile
  head/devel/glib20/Makefile
  head/devel/glibmm/Makefile
  head/devel/libsigc++20/Makefile
  head/x11-toolkits/gtk30/Makefile

Modified: head/accessibility/atkmm/Makefile
==============================================================================
--- head/accessibility/atkmm/Makefile	Sat May  6 20:12:26 2017	(r440287)
+++ head/accessibility/atkmm/Makefile	Sat May  6 20:13:10 2017	(r440288)
@@ -13,7 +13,8 @@ PORTSCOUT=	limitw:1,even
 
 LICENSE=	LGPL20
 
-USES=		gmake localbase libtool pathfix pkgconfig tar:xz
+USES=		compiler:c++11-lang gmake localbase libtool pathfix \
+		pkgconfig tar:xz
 USE_GNOME=	atk glibmm
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes

Modified: head/devel/appstream-glib/Makefile
==============================================================================
--- head/devel/appstream-glib/Makefile	Sat May  6 20:12:26 2017	(r440287)
+++ head/devel/appstream-glib/Makefile	Sat May  6 20:13:10 2017	(r440288)
@@ -44,4 +44,12 @@ MANPAGE_BUILD_DEPENDS=	docbook-xml>=0:te
 		docbook-xsl>=0:textproc/docbook-xsl
 MANPAGES_USE=	GNOME=libxslt:build
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc || ${ARCH} == powerpc64
+post-patch:
+	@${REINPLACE_CMD} -e 's|-Wtype-limits||g' \
+		${WRKSRC}/configure
+.endif
+
 .include <bsd.port.mk>

Modified: head/devel/glib20/Makefile
==============================================================================
--- head/devel/glib20/Makefile	Sat May  6 20:12:26 2017	(r440287)
+++ head/devel/glib20/Makefile	Sat May  6 20:13:10 2017	(r440288)
@@ -26,8 +26,8 @@ GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 # iconv:wchar_t - our iconv in base doesn't support utf-8 -> wchar_t (boooo)
 # (wchar_t is used by glibmm, rawtherapee triggered this)
-USES+=		gettext gmake gnome iconv:wchar_t libtool localbase pathfix perl5 \
-		pkgconfig python shebangfix
+USES+=		compiler:c11 gettext gmake gnome iconv:wchar_t libtool \
+		localbase pathfix perl5 pkgconfig python shebangfix
 USE_PYTHON=	py3kplist
 CONFIGURE_ARGS=	--disable-gtk-doc --with-html-dir=${PREFIX}/share/doc \
 		--disable-man --without-xml-catalog \

Modified: head/devel/glibmm/Makefile
==============================================================================
--- head/devel/glibmm/Makefile	Sat May  6 20:12:26 2017	(r440287)
+++ head/devel/glibmm/Makefile	Sat May  6 20:13:10 2017	(r440288)
@@ -22,7 +22,8 @@ PLIST_SUB=	VERSION="2.4"
 
 BUILD_DEPENDS=	gm4:devel/m4
 
-USES+=		gettext gmake libtool pathfix perl5 pkgconfig
+USES+=		compiler:c++11-lang gettext gmake libtool pathfix \
+		perl5 pkgconfig
 USE_GNOME=	glib20 libsigc++20
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes

Modified: head/devel/libsigc++20/Makefile
==============================================================================
--- head/devel/libsigc++20/Makefile	Sat May  6 20:12:26 2017	(r440287)
+++ head/devel/libsigc++20/Makefile	Sat May  6 20:13:10 2017	(r440288)
@@ -15,7 +15,7 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 GNU_CONFIGURE=	yes
 INSTALL_TARGET=	install-strip
-USES=		gmake libtool pathfix perl5 tar:xz
+USES=		compiler:c++11-lang gmake libtool pathfix perl5 tar:xz
 USE_PERL5=	build
 USE_LDCONFIG=	yes
 

Modified: head/x11-toolkits/gtk30/Makefile
==============================================================================
--- head/x11-toolkits/gtk30/Makefile	Sat May  6 20:12:26 2017	(r440287)
+++ head/x11-toolkits/gtk30/Makefile	Sat May  6 20:13:10 2017	(r440288)
@@ -38,7 +38,8 @@ USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 USE_GNOME=	atk cairo gdkpixbuf2 introspection:build pango
 #gtk-update-icon-cache
-USES+=		gettext gmake gnome libtool localbase pathfix perl5 pkgconfig
+USES+=		compiler:c11 gettext gmake gnome libtool localbase \
+		pathfix perl5 pkgconfig
 USE_XORG=	xext xrender x11 xinerama xi xrandr xcursor xfixes xdamage \
 		xcomposite
 CONFIGURE_ARGS=	--enable-x11-backend \



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