From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Apr 19 16:30:01 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 06D449DB for ; Sat, 19 Apr 2014 16:30:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DB276125C for ; Sat, 19 Apr 2014 16:30:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s3JGU0U8092621 for ; Sat, 19 Apr 2014 16:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s3JGU07O092609; Sat, 19 Apr 2014 16:30:00 GMT (envelope-from gnats) Resent-Date: Sat, 19 Apr 2014 16:30:00 GMT Resent-Message-Id: <201404191630.s3JGU07O092609@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kurt Jaeger Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E459E9B2; Sat, 19 Apr 2014 16:26:49 +0000 (UTC) Received: from fa9.opsec.eu (zfs.opsec.eu [IPv6:2001:14f8:200:4::18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A3EEF1242; Sat, 19 Apr 2014 16:26:49 +0000 (UTC) Received: from pi by fa9.opsec.eu with local (Exim 4.82 (FreeBSD)) (envelope-from ) id 1WbY6L-00071E-Ju; Sat, 19 Apr 2014 18:26:49 +0200 Message-Id: Date: Sat, 19 Apr 2014 18:26:49 +0200 From: Kurt Jaeger To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/188797: [patch update] fix print/harfbuzz build on 9.2p4 Cc: kwm@FreeBSD.org X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Kurt Jaeger List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Apr 2014 16:30:01 -0000 >Number: 188797 >Category: ports >Synopsis: [patch update] fix print/harfbuzz build on 9.2p4 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Apr 19 16:30:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Kurt Jaeger >Release: FreeBSD 9.2-RELEASE-p4 amd64 >Organization: - >Environment: System: FreeBSD fa9.opsec.eu 9.2-RELEASE-p4 FreeBSD 9.2-RELEASE-p4 #0: Tue Apr 8 18:08:22 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: print/harfbuzz fails to build on 9.2p4 because configure adds ' --std=c++0x' to CXXFLAGS, which causes the build to fail. Fix USES while there. Does this require a PORTREVISION increment ? >How-To-Repeat: See http://opsec.eu/backup/harfbuzz-build-failure for a log of the failed build. >Fix: diff -r -u -N print/harfbuzz/Makefile /usr/home/pi/myp/print/harfbuzz/Makefile --- print/harfbuzz/Makefile 2014-04-17 21:20:04.000000000 +0200 +++ /usr/home/pi/myp/print/harfbuzz/Makefile 2014-04-19 18:22:11.000000000 +0200 @@ -14,9 +14,8 @@ libicudata.so:${PORTSDIR}/devel/icu \ libgraphite2.so:${PORTSDIR}/graphics/graphite2 -USE_BZIP2= yes USE_LDCONFIG= yes -USES= gmake pathfix pkgconfig +USES= gmake pathfix pkgconfig tar:bzip2 USE_GNOME= cairo glib20 ltverhack GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-graphite2 @@ -30,4 +29,17 @@ post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libharfbuzz*.so.0 +.if ${OSVERSION} < 1000024 +post-configure: + ${REINPLACE_CMD} -e 's/ --std=c++0x//' ${WRKSRC}/util/Makefile + ${REINPLACE_CMD} -e 's/ --std=c++0x//' ${WRKSRC}/docs/reference/Makefile + ${REINPLACE_CMD} -e 's/ --std=c++0x//' ${WRKSRC}/docs/Makefile + ${REINPLACE_CMD} -e 's/ --std=c++0x//' ${WRKSRC}/test/shaping/Makefile + ${REINPLACE_CMD} -e 's/ --std=c++0x//' ${WRKSRC}/test/api/Makefile + ${REINPLACE_CMD} -e 's/ --std=c++0x//' ${WRKSRC}/test/Makefile + ${REINPLACE_CMD} -e 's/ --std=c++0x//' ${WRKSRC}/src/hb-ucdn/Makefile + ${REINPLACE_CMD} -e 's/ --std=c++0x//' ${WRKSRC}/src/Makefile + ${REINPLACE_CMD} -e 's/ --std=c++0x//' ${WRKSRC}/Makefile +.endif + .include >Release-Note: >Audit-Trail: >Unformatted: