From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Apr 22 06:10:01 2013 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]) by hub.freebsd.org (Postfix) with ESMTP id 402F5BF6 for ; Mon, 22 Apr 2013 06:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 22D781217 for ; Mon, 22 Apr 2013 06:10:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r3M6A1vA029150 for ; Mon, 22 Apr 2013 06:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r3M6A1te029149; Mon, 22 Apr 2013 06:10:01 GMT (envelope-from gnats) Resent-Date: Mon, 22 Apr 2013 06:10:01 GMT Resent-Message-Id: <201304220610.r3M6A1te029149@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, HATANO Tomomi Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8C9F4AB6 for ; Mon, 22 Apr 2013 06:04:29 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 7F1AA11E9 for ; Mon, 22 Apr 2013 06:04:29 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r3M64S84088412 for ; Mon, 22 Apr 2013 06:04:28 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r3M64Swn088411; Mon, 22 Apr 2013 06:04:28 GMT (envelope-from nobody) Message-Id: <201304220604.r3M64Swn088411@red.freebsd.org> Date: Mon, 22 Apr 2013 06:04:28 GMT From: HATANO Tomomi To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/178041: editors/libreoffice: WITH_GCC option should migrate to OptionsNG X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Apr 2013 06:10:01 -0000 >Number: 178041 >Category: ports >Synopsis: editors/libreoffice: WITH_GCC option should migrate to OptionsNG >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Apr 22 06:10:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: HATANO Tomomi >Release: 9.1-RELEASE-p2 >Organization: >Environment: FreeBSD minako 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243826: Tue Dec 4 06:55:39 UTC 2012 root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: On 9.1-RELEASE i386, editors/libreoffice built with clang doesn't run at all. Built with lang/gcc46 runs OK. (On amd64 machines, this problem doesn't appear.) Old style WITH_GCC option is left in Makefile. It should migrate to optionsNG. >How-To-Repeat: Build libreoffice on i386 machine and try running. >Fix: Apply attached patch. Patch attached with submission follows: --- editors/libreoffice/Makefile.orig 2013-04-22 14:18:23.000000000 +0900 +++ editors/libreoffice/Makefile 2013-04-22 14:17:53.000000000 +0900 @@ -181,7 +181,7 @@ MANCOMPRESSED= yes OPTIONS_DEFINE= CUPS DEBUG GNOME GTK2 GTK3 JAVA KDE4 MERGELIBS MMEDIA PGSQL \ - SDK SYSTRAY TEST WEBDAV + SDK SYSTRAY TEST WEBDAV GCC OPTIONS_DEFAULT=CUPS GTK2 JAVA_DESC= Add java support (XML Filters, macros) @@ -192,6 +192,7 @@ SYSTRAY_DESC= Enable systemtray quickstarter TEST_DESC= Run all regression tests WEBDAV_DESC= Enable webdav protocol +GCC_DESC= Use gcc to build .include @@ -348,7 +349,7 @@ .include -.if defined(WITH_GCC) +.if ${PORT_OPTIONS:MGCC} USE_GCC= 4.6+ CONFIGURE_ENV+= CXXCPP="${CPP}" .else >Release-Note: >Audit-Trail: >Unformatted: