FreeBSD Bugzilla – Attachment 155488 Details for
Bug 199383
math/levmar: [MAINTAINER] [PATCH] switch to use blaslapack.mk
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to r382199
levmar.diff (text/plain), 1.60 KB, created by
Eijiro Shibusawa
on 2015-04-12 00:18:21 UTC
(
hide
)
Description:
patch to r382199
Filename:
MIME Type:
Creator:
Eijiro Shibusawa
Created:
2015-04-12 00:18:21 UTC
Size:
1.60 KB
patch
obsolete
>diff -uNr /usr/ports/math/levmar/./Makefile ./Makefile >--- /usr/ports/math/levmar/./Makefile 2015-03-25 16:37:15.000000000 +0900 >+++ ./Makefile 2015-04-12 09:11:11.000000000 +0900 >@@ -17,34 +17,16 @@ > USES= fortran tar:tgz uidfix > > OPTIONS_DEFINE= DOCS EXAMPLES PROFILE >+OPTIONS_SINGLE= BLASLIB >+OPTIONS_DEFAULT= NETLIB >+OPTIONS_SINGLE_BLASLIB= ATLAS NETLIB OPENBLAS > PROFILE_DESC= Build a profiling library > >-.include <bsd.port.pre.mk> >- >-.if exists(${LOCALBASE}/lib/libgoto2p.so) >-WITH_BLAS?= gotoblas >-.elif exists(${LOCALBASE}/lib/libatlas.so) >-WITH_BLAS?= atlas >-.else >-WITH_BLAS?= reference >-.endif >+ATLAS_USES= blaslapack:atlas >+NETLIB_USES= blaslapack:netlib >+OPENBLAS_USES= blaslapack:openblas > >-.if ${WITH_BLAS} == "reference" >-LIB_DEPENDS+= libblas.so:${PORTSDIR}/math/blas \ >- liblapack.so:${PORTSDIR}/math/lapack >-BLAS= -lblas >-LAPACK= -llapack >-.elif ${WITH_BLAS} == "gotoblas" >-LDFLAGS+= -lpthread -L${LOCALBASE}/lib >-LIB_DEPENDS+= libgoto2p.so:${PORTSDIR}/math/gotoblas >-BLAS= -lgoto2p >-LAPACK= -lgoto2p >-.elif ${WITH_BLAS} == "atlas" >-LDFLAGS+= -lpthread -L${LOCALBASE}/lib >-LIB_DEPENDS+= libatlas.so:${PORTSDIR}/math/atlas >-BLAS= -lptf77blas >-LAPACK= -lalapack -lptcblas >-.endif >+.include <bsd.port.pre.mk> > > PORTDOCS= README.txt > PORTEXAMPLES= lmdemo.c Makefile.demo >@@ -73,8 +55,8 @@ > @${REINPLACE_CMD} -e 's+%%CC%%+${CC}+g' \ > -e 's+%%CFLAGS%%+${CFLAGS} -I${LOCALBASE}/include+g' \ > -e 's+%%LDFLAGS%%+${LDFLAGS}+g' \ >- -e 's+%%BLAS%%+${BLAS}+g' \ >- -e 's+%%LAPACK%%+${LAPACK}+g' \ >+ -e 's+%%BLAS%%+${BLASLIB}+g' \ >+ -e 's+%%LAPACK%%+${LAPACKLIB}+g' \ > ${WRKSRC}/Makefile.demo > > post-install:
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
Flags:
phd_kimberlite
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 199383
: 155488