FreeBSD Bugzilla – Attachment 67282 Details for
Bug 99189
Enhancements to math/superlu
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.20 KB, created by
giffunip
on 2006-06-19 23:20:15 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
giffunip
Created:
2006-06-19 23:20:15 UTC
Size:
1.20 KB
patch
obsolete
>diff -ruN superlu.orig/Makefile superlu/Makefile >--- superlu.orig/Makefile Mon Jun 19 16:19:39 2006 >+++ superlu/Makefile Mon Jun 19 16:38:28 2006 >@@ -20,19 +20,27 @@ > MAINTAINER= maho@FreeBSD.org > COMMENT= A library of routines for performing sparse factorization > >+.ifdef WITH_ATLAS > LIB_DEPENDS= atlas:${PORTSDIR}/math/atlas >+.else >+LIB_DEPENDS= blas.1:${PORTSDIR}/math/blas >+.endif > > P_VERSION= 3.0 > WRKSRC= ${WRKDIR}/SuperLU_${P_VERSION} > ALL_TARGET= superlulib > >-BLAS_LIBS= ${LOCALBASE}/lib/libf77blas.a ${LOCALBASE}/lib/libatlas.a >+.ifdef WITH_ATLAS >+BLAS_LIBS= -lf77blas -latlas >+.else >+BLAS_LIBS?= -lblas >+.endif > > ARCH2FIX= SRC/Makefile TESTING/MATGEN/Makefile CBLAS/Makefile make.inc \ > MAKE_INC/make.alpha MAKE_INC/make.inc > > post-patch: >- @${REINPLACE_CMD} -e 's+%%BLAS_LIBS%%+${BLAS_LIBS}+' \ >+ @${REINPLACE_CMD} -e 's+%%BLAS_LIBS%%+-L${LOCALBASE}/lib ${BLAS_LIBS}+' \ > ${WRKSRC}/make.inc > @${REINPLACE_CMD} -e 's+%%CC%%+${CC}+' \ > ${WRKSRC}/make.inc >@@ -59,4 +67,11 @@ > ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/superlu_ug.ps.gz ${DOCSDIR} > .endif > >-.include <bsd.port.mk> >+.include <bsd.port.pre.mk> >+ >+.if ${ARCH} == "amd64" || ${ARCH} == "ia64" >+CFLAGS+= -fPIC >+.endif >+ >+.include <bsd.port.post.mk>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 99189
: 67282