View Single Post
  #7   (View Single Post)  
Old 12th January 2009
troberts troberts is offline
Port Guard
 
Join Date: May 2008
Posts: 27
Default

Quote:
Originally Posted by Carpetsmoker View Post
In my experience installing and using GCC from ports is a nightmare, I would definitely recommend using GCC from base unless you really need a different version.
I did not install GCC-4.3.3_20090101 from ports. It was installed when I updated blas-1.0_2. There is no direct mention of GCC4.3.3 in the Makefile for blas but it could be in the do-configure section
Code:
# New ports collection makefile for:    blas
# Date created:         27 October 1994
# Whom:                 ljo
#
# $FreeBSD: ports/math/blas/Makefile,v 1.45 2009/01/07 16:34:13 gerald Exp $
#

PORTNAME=	blas
PORTVERSION=	1.0
PORTREVISION=	3
CATEGORIES=	math
MASTER_SITES=	http://www.netlib.org/blas/ \
		ftp://ftp.mirrorservice.org/sites/netlib.bell-labs.com/netlib/blas/ \
		ftp://netlib.bell-labs.com/netlib/blas/
DISTNAME=	${PORTNAME}
EXTRACT_SUFX=	.tgz

MAINTAINER=	maho@FreeBSD.org
COMMENT=	Basic Linear Algebra, level 1, 2, and 3

USE_LDCONFIG=	yes
USE_FORTRAN=	yes
WRKSRC=		${WRKDIR}/BLAS

PLIST_FILES=	lib/libblas.a lib/libblas.so lib/libblas.so.2

do-configure:
	@${INSTALL_DATA} ${FILESDIR}/makefile.lib ${WRKSRC}/Makefile
	@${REINPLACE_CMD} -e 's+@FFLAGS@+${FFLAGS}+g' ${WRKSRC}/Makefile

.include <bsd.port.mk>
Reply With Quote