From owner-svn-ports-head@freebsd.org Sat Dec 22 01:44:16 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 78793133CE23; Sat, 22 Dec 2018 01:44:16 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 20D7E8EB3D; Sat, 22 Dec 2018 01:44:16 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 116441DF45; Sat, 22 Dec 2018 01:44:16 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wBM1iFuP079296; Sat, 22 Dec 2018 01:44:15 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wBM1iF9J079295; Sat, 22 Dec 2018 01:44:15 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <201812220144.wBM1iF9J079295@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Sat, 22 Dec 2018 01:44:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r488043 - head/graphics/gimmage X-SVN-Group: ports-head X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: head/graphics/gimmage X-SVN-Commit-Revision: 488043 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 20D7E8EB3D X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.96)[-0.957,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-0.999,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Dec 2018 01:44:16 -0000 Author: linimon Date: Sat Dec 22 01:44:15 2018 New Revision: 488043 URL: https://svnweb.freebsd.org/changeset/ports/488043 Log: This port needs USES=compiler:c++11-lang to build on GCC-based architectures. Additionally, our CXXFLAGS conflict with GCC. Set them only on Clang- based architectures. -stdlib=libc++ isn't needed anymore, it's used by default. While here, also set USES=gnome. PR: 234190 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket) Modified: head/graphics/gimmage/Makefile Modified: head/graphics/gimmage/Makefile ============================================================================== --- head/graphics/gimmage/Makefile Sat Dec 22 01:31:58 2018 (r488042) +++ head/graphics/gimmage/Makefile Sat Dec 22 01:44:15 2018 (r488043) @@ -13,13 +13,11 @@ COMMENT= Simple image viewer LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING -BROKEN_powerpc64= fails to configure: C++ compiler cannot create executables - LIB_DEPENDS= libcurl.so:ftp/curl \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 -USES= compiler:c++11-lang desktop-file-utils gettext pkgconfig +USES= compiler:c++11-lang desktop-file-utils gettext gnome pkgconfig USE_GNOME= gtkmm24 gdkpixbuf2 GNU_CONFIGURE= yes USE_CXXSTD= c++11 @@ -28,9 +26,12 @@ OPTIONS_DEFINE= NLS NLS_USES= gettext NLS_CONFIGURE_ENABLE= gettext -CXXFLAGS+= -stdlib=libc++ -Wc++11-extensions -Wc++11-long-long \ +CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE} + +.if !exists(/usr/lib/libstdc++.so) +CXXFLAGS+= -Wc++11-extensions -Wc++11-long-long \ -Wunused-command-line-argument -Wreturn-type \ -Wwritable-strings -Wlogical-op-parentheses -CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE} +.endif .include