FreeBSD Bugzilla – Attachment 220969 Details for
Bug 252162
science/wannier90: libwannier is not registered by ldconfig
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Register libwannier90
science_wannier90.diff (text/plain), 1.71 KB, created by
Thierry Thomas
on 2020-12-26 22:13:18 UTC
(
hide
)
Description:
Register libwannier90
Filename:
MIME Type:
Creator:
Thierry Thomas
Created:
2020-12-26 22:13:18 UTC
Size:
1.71 KB
patch
obsolete
>Index: science/wannier90/Makefile >=================================================================== >--- science/wannier90/Makefile (revision 559291) >+++ science/wannier90/Makefile (working copy) >@@ -1,8 +1,9 @@ > # $FreeBSD$ > > PORTNAME= wannier90 >+PORTVERSION= 3.1.0 > DISTVERSIONPREFIX= v >-DISTVERSION= 3.1.0 >+PORTREVISION= 1 > CATEGORIES= science > > MAINTAINER= yuri@FreeBSD.org >@@ -11,29 +12,35 @@ > LICENSE= GPLv2 > LICENSE_FILE= ${WRKSRC}/LICENSE > >-LIB_DEPENDS= libblas.so:math/blas \ >- liblapack.so:math/lapack >- >-USES= fortran gmake >+USES= blaslapack:netlib fortran gmake python:test shebangfix > USE_GITHUB= yes > GH_ACCOUNT= wannier-developers >+SHEBANG_FILES= test-suite/run_tests test-suite/clean_tests \ >+ test-suite/tools/fprettify-wrapper.py \ >+ test-suite/testcode/bin/testcode.py \ >+ test-suite/library-mode-test/compare_results.py \ >+ utility/k_mapper.py utility/gw2wannier90.py > USE_LDCONFIG= yes > > MAKE_ARGS= FCOPTS="-fPIC -O3" >+TEST_TARGET= tests > > PLIST_FILES= bin/postw90.x \ > bin/w90chk2chk.x \ > bin/wannier90.x \ >- lib/libwannier.so >+ lib/libwannier90.so \ >+ lib/libwannier90.so.0 > > post-patch: > @${REINPLACE_CMD} 's|F90 = gfortran|&${GCC_DEFAULT}|' ${WRKSRC}/config/make.inc.gfort > @${RLN} ${WRKSRC}/config/make.inc.gfort ${WRKSRC}/make.inc >+ @${REINPLACE_CMD} 's|make|${GMAKE}|' ${WRKSRC}/test-suite/run_tests > > do-install: > .for p in wannier90.x postw90.x w90chk2chk.x > ${INSTALL_PROGRAM} ${WRKSRC}/${p} ${STAGEDIR}${PREFIX}/bin/${p} > .endfor >- ${INSTALL_LIB} ${WRKSRC}/src/obj/libwannier.so ${STAGEDIR}${PREFIX}/lib >+ ${INSTALL_LIB} ${WRKSRC}/src/obj/libwannier.so ${STAGEDIR}${PREFIX}/lib/libwannier90.so.0 >+ ${LN} -sf libwannier90.so.0 ${STAGEDIR}${PREFIX}/lib/libwannier90.so > > .include <bsd.port.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 252162
:
220950
| 220969