[PATCH] Fix math/lapack port

Steve Kargl sgk at troutmask.apl.washington.edu
Sun May 28 14:53:04 PDT 2006


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'


More information about the freebsd-ports mailing list