-----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-----
--- 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

Attachment: blas.diff.sig
Description: Binary data

_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to