From owner-freebsd-ports@FreeBSD.ORG Sun May 28 21:52:58 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF02316BFC4 for ; Sun, 28 May 2006 21:45:03 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7999743D5A for ; Sun, 28 May 2006 21:44:58 +0000 (GMT) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.13.6/8.13.6) with ESMTP id k4SLid1e019909 for ; Sun, 28 May 2006 14:44:39 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.13.6/8.13.6/Submit) id k4SLid6q019908 for freebsd-ports@freebsd.org; Sun, 28 May 2006 14:44:39 -0700 (PDT) (envelope-from sgk) Date: Sun, 28 May 2006 14:44:39 -0700 From: Steve Kargl To: freebsd-ports@freebsd.org Message-ID: <20060528214439.GA19871@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: [PATCH] Fix math/lapack port 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: Sun, 28 May 2006 21:53:04 -0000 This patch fixes the math/lapack port to correctly build with a Fortran compiler other than /usr/bin/f77. -- Steve --- configure.orig Sun May 28 14:38:00 2006 +++ configure Sun May 28 14:38:20 2006 @@ -1,9 +1,3 @@ -if [ ${OSVERSION} -lt 400012 ]; then - LIBG2C=f2c -else - LIBG2C=g2c -fi - cd $WRKSRC/SRC || exit 1 mv Makefile Makefile.old @@ -11,8 +5,6 @@ LIB= lapack SHLIB_MAJOR= 3 SHLIB_MINOR= 0 - -LDADD= -l${LIBG2C} END cat >>Makefile <<'END'