From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Mar 13 17:20: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 388683CF for ; Thu, 13 Mar 2014 17:20: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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id F06B2623 for ; Thu, 13 Mar 2014 17:20: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 s2DHK0SJ090324 for ; Thu, 13 Mar 2014 17:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2DHK0Yu090313; Thu, 13 Mar 2014 17:20:00 GMT (envelope-from gnats) Resent-Date: Thu, 13 Mar 2014 17:20:00 GMT Resent-Message-Id: <201403131720.s2DHK0Yu090313@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, Matthieu Volat 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 8678B1A4 for ; Thu, 13 Mar 2014 17:11:50 +0000 (UTC) Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 738A53D1 for ; Thu, 13 Mar 2014 17:11:50 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s2DHBnlv087490 for ; Thu, 13 Mar 2014 17:11:49 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s2DHBnWQ087486; Thu, 13 Mar 2014 17:11:49 GMT (envelope-from nobody) Message-Id: <201403131711.s2DHBnWQ087486@cgiserv.freebsd.org> Date: Thu, 13 Mar 2014 17:11:49 GMT From: Matthieu Volat To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/187548: [PATCH] Fix graphic/ImageMagick OPENMP option X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Mar 2014 17:20:01 -0000 >Number: 187548 >Category: ports >Synopsis: [PATCH] Fix graphic/ImageMagick OPENMP option >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Mar 13 17:20:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Matthieu Volat >Release: 10.0-RELEASE >Organization: >Environment: >Description: The graphic/ImageMagick port has a OPENMP option, but this also require building it with gcc (either from older base, or port). As of now, if the option is set when the port compiler is clang, no error msg will be displayed, and the package will build and install fine, albeit without openmp support. >How-To-Repeat: Build ImageMagick with clang set as default compiler and OPENMP option set; check features after build installation with identify -version >Fix: Simply add a USE_GCC if OPENMP set Index: Makefile =================================================================== --- Makefile (revision 347895) +++ Makefile (working copy) @@ -119,6 +119,7 @@ . if ${_IMAGEMAGICK_THREADS} == "no" IGNORE=OpenMP requires threads${_IMAGEMAGICK_THREADS_IGNORE_MSG} . else +USE_GCC= yes CONFIGURE_ARGS+= --enable-openmp . endif .else >Release-Note: >Audit-Trail: >Unformatted: