From owner-svn-ports-head@freebsd.org Sat Sep 21 18:18:34 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 237C012BAF8; Sat, 21 Sep 2019 18:18:34 +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 46bJk15WzCz3Lhf; Sat, 21 Sep 2019 18:18:33 +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 9CB001A225; Sat, 21 Sep 2019 18:18:33 +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 x8LIIXw9054928; Sat, 21 Sep 2019 18:18:33 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x8LIIXLm054927; Sat, 21 Sep 2019 18:18:33 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <201909211818.x8LIIXLm054927@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Sat, 21 Sep 2019 18:18:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r512530 - head/audio/grip X-SVN-Group: ports-head X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: head/audio/grip X-SVN-Commit-Revision: 512530 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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, 21 Sep 2019 18:18:34 -0000 Author: linimon Date: Sat Sep 21 18:18:33 2019 New Revision: 512530 URL: https://svnweb.freebsd.org/changeset/ports/512530 Log: Fix build on GCC-based systems: /usr/local/lib/libgraphite2.so.3: undefined reference to `__cxa_throw_bad_array_new_length@CXXABI_1.3.8' Approved by: portmgr (tier-2 blanket) Modified: head/audio/grip/Makefile Modified: head/audio/grip/Makefile ============================================================================== --- head/audio/grip/Makefile Sat Sep 21 18:14:05 2019 (r512529) +++ head/audio/grip/Makefile Sat Sep 21 18:18:33 2019 (r512530) @@ -18,7 +18,8 @@ LIB_DEPENDS= libcurl.so:ftp/curl \ libid3.so:audio/id3lib \ libpopt.so:devel/popt -USES= gmake libtool localbase pathfix pkgconfig +USES= compiler:c++11-lang gmake gnome libtool localbase \ + pathfix pkgconfig xorg USE_XORG= ice sm x11 xext USE_GNOME= cairo gdkpixbuf2 gnomeprefix libgnomeui vte @@ -50,6 +51,8 @@ DEFAULT_CDROM_DEVICE=${WITH_CDROM_DEVICE} DEFAULT_CDROM_DEVICE=/dev/cd0 .endif +.include + pre-everything:: .if !defined(WITH_CDROM_DEVICE) @${ECHO_MSG} "===> The default CDROM device is ${DEFAULT_CDROM_DEVICE}" @@ -60,5 +63,8 @@ pre-everything:: post-patch: @${REINPLACE_CMD} -e 's|/dev/cdrom|${DEFAULT_CDROM_DEVICE}|' \ ${WRKSRC}/src/grip.c +.if ${CHOSEN_COMPILER_TYPE} == gcc && ${COMPILER_VERSION} <= 42 + ${REINPLACE_CMD} -e '/pragma/d' ${WRKSRC}/src/cdpar.c +.endif -.include +.include