FreeBSD Bugzilla – Attachment 118795 Details for
Bug 161154
[maintainer-update] please update math/lapacke
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
lapacke_patch.txt
lapacke_patch.txt (text/plain), 3.26 KB, created by
Eijiro Shibusawa
on 2011-09-30 12:43:10 UTC
(
hide
)
Description:
lapacke_patch.txt
Filename:
MIME Type:
Creator:
Eijiro Shibusawa
Created:
2011-09-30 12:43:10 UTC
Size:
3.26 KB
patch
obsolete
>diff -uNr /usr/ports/math/lapacke/./Makefile ./Makefile >--- /usr/ports/math/lapacke/./Makefile 2011-09-24 07:24:04.000000000 +0900 >+++ ./Makefile 2011-09-30 20:01:00.000000000 +0900 >@@ -7,20 +7,24 @@ > > PORTNAME= lapacke > PORTVERSION= 1.0.0.009 >+PORTREVISION= 1 > CATEGORIES= math >-MASTER_SITES= ftp://ftp.netlib.org/lapack/ \ >- http://netlib.org/lapack/ >+MASTER_SITES= NL >+MASTER_SITE_SUBDIR= lapack > DISTNAME= ${PORTNAME} > EXTRACT_SUFX= .tgz > > MAINTAINER= phd_kimberlite@yahoo.co.jp > COMMENT= Standard C language APIs for LAPACK > >-#LICENSE= BSD >+LICENSE= BSD > LICENSE_FILE= ${WRKSRC}/LICENSE > > USE_LDCONFIG= yes > USE_FORTRAN= yes >+MAKE_JOBS_SAFE= yes >+ >+OPTIONS= PROFILE "Build a profiling library" Off > > .include <bsd.port.pre.mk> > >@@ -28,7 +32,7 @@ > > .if exists(${LOCALBASE}/lib/libgoto2p.so) > WITH_BLAS?= gotoblas >-.elif exists(${LOCALBASE}/lib/libatlas_r.so) >+.elif exists(${LOCALBASE}/lib/libatlas.so) > WITH_BLAS?= atlas > .else > WITH_BLAS?= reference >@@ -40,34 +44,46 @@ > BLAS= -lblas > LAPACK= -llapack > .elif ${WITH_BLAS} == "gotoblas" >-LIB_DEPENDS= goto2:${PORTSDIR}/math/gotoblas >-BLAS= -lpthread -lgoto2p >-LAPACK= -lpthread -lgoto2p >+CFLAGS+= ${PTHREAD_CFLAGS} >+LDFLAGS+= ${PTHREAD_LIBS} >+LIB_DEPENDS= goto2.1:${PORTSDIR}/math/gotoblas >+BLAS= -lgoto2p >+LAPACK= -lgoto2p > WITHOUT_LAPACK_LATEST= yes > .elif ${WITH_BLAS} == "atlas" >-LIB_DEPENDS= atlas:${PORTSDIR}/math/atlas >-BLAS= -lpthread -lptf77blas -lptcblas -latlas_r >-LAPACK= -lpthread -lalapack_r >+CFLAGS+= ${PTHREAD_CFLAGS} >+LDFLAGS+= ${PTHREAD_LIBS} >+LIB_DEPENDS= atlas.2:${PORTSDIR}/math/atlas >+BLAS= -lptf77blas -lptcblas -latlas >+LAPACK= -lalapack > .endif > >-LDFLAGS+= -L${LOCALBASE}/lib -lgfortran -lgcc_s >-LDADD?= -lgfortran -lgcc_s >-MAKE_ENV= LDADD="${LDADD}" >+LDFLAGS+= -L${LOCALBASE}/lib > .if defined(WITHOUT_LAPACK_LATEST) > MAKE_ENV+= WITHOUT_LAPACK_LATEST=yes > .endif > > .if !defined(NOPORTDOCS) >-PORTDOCS= README \ >- LICENSE >+PORTDOCS= README >+ > .endif > PLIST_FILES= include/lapacke.h \ > include/lapacke_utils.h \ > lib/liblapacke.a \ > lib/liblapacke.so \ > lib/liblapacke.so.1 >-.if !(defined(NOPROFILE) || defined(NO_PROFILE) || defined(WITHOUT_PROFILE)) >+ >+.if defined(WITH_PROFILE) >+.if defined(NOPROFILE) || defined(NO_PROFILE) || defined(WITHOUT_PROFILE) >+IGNORE = you have defined WITH_PROFILE, but have also defined\ >+WITHOUT_PROFILE, NOPROFILE, or NO_PROFILE >+.elif !exists(/usr/lib/libc_p.a) >+IGNORE = you have chosen WITH_PROFILE, but have not installed the\ >+base system profiling libraries >+.endif > PLIST_FILES+= lib/liblapacke_p.a >+.else >+MAKE_ENV+= NO_PROFILE= > .endif > > post-patch: >diff -uNr /usr/ports/math/lapacke/./files/patch-testing+Makefile ./files/patch-testing+Makefile >--- /usr/ports/math/lapacke/./files/patch-testing+Makefile 1970-01-01 09:00:00.000000000 +0900 >+++ ./files/patch-testing+Makefile 2011-09-30 20:01:00.000000000 +0900 >@@ -0,0 +1,16 @@ >+--- ./testing/Makefile.orig 2010-10-01 17:17:25.000000000 +0900 >++++ ./testing/Makefile 2011-09-30 19:38:00.000000000 +0900 >+@@ -35,9 +35,9 @@ >+ include ../make.inc >+ >+ all: >+- cd utils && $(MAKE) >+- cd interface && $(MAKE) >++ cd ${.CURDIR}/utils && $(MAKE) >++ cd ${.CURDIR}/interface && $(MAKE) >+ >+ clean: >+- cd utils && $(MAKE) clean >+- cd interface && $(MAKE) clean >++ cd ${.CURDIR}/utils && $(MAKE) clean >++ cd ${.CURDIR}/interface && $(MAKE) clean
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 Raw
Actions:
View
Attachments on
bug 161154
: 118795