From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Dec 16 10:20:14 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68FB51065674 for ; Thu, 16 Dec 2010 10:20:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2BFF78FC12 for ; Thu, 16 Dec 2010 10:20:14 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oBGAKEJm067273 for ; Thu, 16 Dec 2010 10:20:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oBGAKEVg067272; Thu, 16 Dec 2010 10:20:14 GMT (envelope-from gnats) Resent-Date: Thu, 16 Dec 2010 10:20:14 GMT Resent-Message-Id: <201012161020.oBGAKEVg067272@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, Tz-Huan Huang Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BBF7F1065672 for ; Thu, 16 Dec 2010 10:17:46 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (unknown [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id AB71E8FC16 for ; Thu, 16 Dec 2010 10:17:46 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id oBGAHkaR045053 for ; Thu, 16 Dec 2010 10:17:46 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id oBGAHkC0045051; Thu, 16 Dec 2010 10:17:46 GMT (envelope-from nobody) Message-Id: <201012161017.oBGAHkC0045051@red.freebsd.org> Date: Thu, 16 Dec 2010 10:17:46 GMT From: Tz-Huan Huang To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/153207: fix failure building X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Dec 2010 10:20:14 -0000 >Number: 153207 >Category: ports >Synopsis: fix failure building >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu Dec 16 10:20:13 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Tz-Huan Huang >Release: 9.0-CURRENT >Organization: National Taiwan University >Environment: FreeBSD tzhuan.csie.org 9.0-CURRENT FreeBSD 9.0-CURRENT #7 r215640M: Mon Nov 22 04:52:58 CST 2010 root@tzhuan.csie.org:/usr/obj/usr/src/sys/TZHUAN amd64 >Description: libtsnnls cannot be linked with blas/lapack, so the gotoblas is set to default now. >How-To-Repeat: >Fix: Patch attached with submission follows: diff -urN libtsnnls.orig/Makefile libtsnnls/Makefile --- libtsnnls.orig/Makefile 2010-12-16 17:57:00.245991837 +0800 +++ libtsnnls/Makefile 2010-12-16 17:59:29.895999589 +0800 @@ -17,16 +17,14 @@ USE_FORTRAN= yes USE_LDCONFIG= yes -OPTIONS= GOTOBLAS "Use gotoblas (conflict with USE_ATLAS)" off \ - ATLAS "Use atlas (conflict with USE_GOTOBLAS)" off +OPTIONS= ATLAS "Use atlas (default is gotoblas)" off +# GOTOBLAS "Use gotoblas (conflict with USE_ATLAS)" off \ +# ATLAS "Use atlas (conflict with USE_GOTOBLAS)" off # DMALLOC "Use dmalloc" off .include -WITH_BLAS?=reference -.if defined(WITH_GOTOBLAS) -WITH_BLAS=gotoblas -.endif +WITH_BLAS?=gotoblas .if defined(WITH_ATLAS) WITH_BLAS=atlas .endif @@ -37,12 +35,7 @@ #LIB_DEPENDS+=dmalloc.1:${PORTSDIR}/devel/dmalloc #.endif -.if ${WITH_BLAS} == reference -LIB_DEPENDS+=blas.2:${PORTSDIR}/math/blas -LIB_DEPENDS+=lapack.4:${PORTSDIR}/math/lapack -BLAS=-lblas -LAPACK=-llapack -.elif ${WITH_BLAS} == gotoblas +.if ${WITH_BLAS} == gotoblas LIB_DEPENDS+=goto2:${PORTSDIR}/math/gotoblas BLAS=-lgoto2p LAPACK=-lgoto2p >Release-Note: >Audit-Trail: >Unformatted: