From owner-freebsd-ports@FreeBSD.ORG Mon Aug 30 23:41:42 2010 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E29410656AC for ; Mon, 30 Aug 2010 23:41:42 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id A89D38FC15 for ; Mon, 30 Aug 2010 23:41:41 +0000 (UTC) Received: by gxk24 with SMTP id 24so2557325gxk.13 for ; Mon, 30 Aug 2010 16:41:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:x-enigmail-version :content-type; bh=pfRNXcdfkJqebxJrzt7gDCHTAgFw40/V/XhWyuAukRM=; b=GLoSWM1WY2+D+ra/xjwPG89noatiNa7XH1Vk5jC7x5UdzLF+HsmV3L0iQdxQWg+ZWa f4eNN34+z5UHc278GnkYEOhAQlt72rqsl/paOZTDZKF4uu8l4yNRnB5X8ExTioUus5GM S3BZTpQylgmutbymoVkHFWAyLScv6n//6WBS8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :x-enigmail-version:content-type; b=Zq8ORRRi/w9W2IvdSl5okmncwY2Uy2QlKx1TilCfaTqROGsm4PJX/ZuzNs7zLTae1y 69NPex04X5qbuJ3FSMnS4FW5eDbMi8zfTarwPId+XGx+CxXSuVphW0Kxg/e1hP4BXwPZ iJ2UpOK8uH3TMdD4xEfEyBAPHiTT9uLw2nRPo= Received: by 10.220.62.5 with SMTP id v5mr3251902vch.101.1283211700533; Mon, 30 Aug 2010 16:41:40 -0700 (PDT) Received: from centel.dataix.local (adsl-99-181-137-20.dsl.klmzmi.sbcglobal.net [99.181.137.20]) by mx.google.com with ESMTPS id q12sm2682940vcf.11.2010.08.30.16.41.38 (version=SSLv3 cipher=RC4-MD5); Mon, 30 Aug 2010 16:41:39 -0700 (PDT) Sender: "J. Hellenthal" Message-ID: <4C7C41B1.6010409@DataIX.net> Date: Mon, 30 Aug 2010 19:41:37 -0400 From: jhell User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.8) Gecko/20100806 Lightning/1.0b1 Thunderbird MIME-Version: 1.0 To: maho@FreeBSD.org X-Enigmail-Version: 1.1.2 Content-Type: multipart/mixed; boundary="------------010608060302060706000704" Cc: FreeBSD Ports Subject: math/blas linking to gfortran with LDADD?= -lgfortran X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2010 23:41:42 -0000 This is a multi-part message in MIME format. --------------010608060302060706000704 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The subject listed port fails to link during an upgrade from the previous version. Looking into this further libblas.so.2 without being linked to gfortran is correct as in the already installed previous version installed inspected with ldd(1) shows the same linking as the new version without the -lgfortran linker flags. Attached is the patch that solves the linking problem. I do not see any dependents listed for this port for any of the gcc* ports that can be installed so therefore I have removed the -lgfortran from LDADD. $FreeBSD: ports/math/blas/Makefile,v 1.47 2010/08/30 07:26:27 bf Exp $ Regards, - -- jhell,v -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJMfEGwAAoJEJBXh4mJ2FR+cDUH/RfAGgADnpT862Ef2NrWYmvC l49FDRSDjPpyWEAOX2tpQ4Is7/88N0siumeVqKSLYesxb9tRL2sAAcmHvAo0UR7I JyufU49SIqvnsgMWV5Lkfb+l2Kb/7+C1BhQLA6PuotsyehGPgeH+1SynT/MtR+1I kIlVtWVz0f5BwQ4Tny8aeqPLEmCcnkCJlZtXWjYfvlhULE/qhjlK67Q0T71oaGfN Feyso8uDDsviwXEkwULRRIMmLTCNt5ZuJOsQe0VZiZR9Xfgc0MxVVcC4USvWHCiS ODME2TZiTS7Gau5aAw/NT5PuugkrBOzvmS62X5xaMLpSaEAcrlpi6zyTIC3dIbo= =Fabs -----END PGP SIGNATURE----- --------------010608060302060706000704 Content-Type: text/x-patch; name="blas.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="blas.diff" --- Makefile.orig 2010-08-30 19:27:57.024501012 -0400 +++ Makefile 2010-08-30 19:29:09.372193126 -0400 @@ -28,7 +28,7 @@ PLIST_FILES= lib/libblas.a lib/libblas.so lib/libblas.so.${SHLIB_MAJOR} LDFLAGS+= ${FFLAGS} -LDADD ?= -lgfortran -lm +LDADD ?= -lm MAKE_ENV+= LDADD="${LDADD}" LDFLAGS="${LDFLAGS}" \ SHLIB_MAJOR="${SHLIB_MAJOR}" .for _u in AR NM RANLIB --------------010608060302060706000704 Content-Type: application/octet-stream; name="blas.diff.sig" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="blas.diff.sig" iQEcBAABAgAGBQJMfEGwAAoJEJBXh4mJ2FR+7UsIAIO62UVOV8fZXkSJYxSrBCIrwujugCCe J7M18KJ+KHC/1K0xYThAP08STU1hAmgMxDT/1StA6B76C8wiYkT2Z1VNBNgRQEYybMiHtJ12 2Q1KI2L6X+iYjeJKhcz/SC9+AWcR0kZHAVPJ+a3Ickj9H4e6gZsfcTea01ZtH5R7FK2151QT KZaKghfQFy44TGd7VSk/RpKdE/AL5GbltQ1768n37yZ5x6ttWf5tD8iigRRgcXUKLboirA0h qOtxVKrIRjjivrkgiB/M6onBopxo/v4dcf0tvtRTCsn8u7x18/odj7DoJGL8WSWT35W9nvfc rWS6e0e+Ch81jZw/X97pDG8= --------------010608060302060706000704--