FreeBSD Bugzilla – Attachment 150836 Details for
Bug 196179
[revive port] science/mpb: update to 1.5, fix guile breakage and add option NLopt
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
update science/mpb, with guile2 and NLopt
patch-science__mpb.diff (text/plain), 2.44 KB, created by
Rainer Hurling
on 2014-12-21 18:04:14 UTC
(
hide
)
Description:
update science/mpb, with guile2 and NLopt
Filename:
MIME Type:
Creator:
Rainer Hurling
Created:
2014-12-21 18:04:14 UTC
Size:
2.44 KB
patch
obsolete
>diff -urN mpb.orig/Makefile mpb/Makefile >--- mpb.orig/Makefile 2014-11-28 17:13:00.000000000 +0100 >+++ mpb/Makefile 2014-12-21 18:30:15.000000000 +0100 >@@ -2,8 +2,8 @@ > # $FreeBSD: head/science/mpb/Makefile 373522 2014-11-27 21:31:47Z antoine $ > > PORTNAME= mpb >-PORTVERSION= 1.4.2 >-PORTREVISION= 17 >+PORTVERSION= 1.5 >+PORTREVISION= 0 > CATEGORIES= science > MASTER_SITES= http://ab-initio.mit.edu/mpb/ > >@@ -12,20 +12,17 @@ > > LICENSE= GPLv2 > >-BROKEN= Fails to build >-DEPRECATED= Broken for more than 6 months >-EXPIRATION_DATE= 2014-12-27 >- > BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash > LIB_DEPENDS= libfftw.so:${PORTSDIR}/math/fftw \ > libhdf5.so:${PORTSDIR}/science/hdf5 \ > libctl.so:${PORTSDIR}/science/libctl \ >- libguile.so:${PORTSDIR}/lang/guile >+ libguile-2.0.so:${PORTSDIR}/lang/guile2 > >-OPTIONS_DEFINE= ATLAS >+OPTIONS_DEFINE= ATLAS NLOPT > ATLAS_DESC= Use math/atlas instead of math/lapack >+NLOPT_DESC= Use math/nlopt (check also in science/libctl) > >-USES= fortran >+USES= fortran libtool pkgconfig > GNU_CONFIGURE= yes > MAKE_JOBS_UNSAFE= yes > >@@ -43,12 +40,16 @@ > CONFIGURE_ARGS+= --with-lapack=-llapack > .endif > >+.if ${PORT_OPTIONS:MNLOPT} >+LIB_DEPENDS+= libnlopt.so:${PORTSDIR}/math/nlopt >+.endif >+ > post-patch: > @${REINPLACE_CMD} -e 's|-lhdf5 |-lhdf5 ${PTHREAD_LIBS} |g' \ > ${WRKSRC}/configure > @${REINPLACE_CMD} \ > -e '/INSTALL/s/$$(prefix)/$$(DESTDIR)$$(prefix)/' \ > -e '/INSTALL/s/$$(mandir)/$$(DESTDIR)$$(mandir)/' \ >- ${WRKSRC}/mpb-ctl/Makefile.in ${WRKSRC}/utils/Makefile.in >+ ${WRKSRC}/mpb/Makefile.in ${WRKSRC}/utils/Makefile.in > > .include <bsd.port.mk> >diff -urN mpb.orig/distinfo mpb/distinfo >--- mpb.orig/distinfo 2014-01-22 18:04:18.000000000 +0100 >+++ mpb/distinfo 2014-12-21 17:28:59.000000000 +0100 >@@ -1,2 +1,2 @@ >-SHA256 (mpb-1.4.2.tar.gz) = e44c0720a5969a879fb93e48f6098d4d87e2f99d6ef49711d822f4c2249ccd61 >-SIZE (mpb-1.4.2.tar.gz) = 686488 >+SHA256 (mpb-1.5.tar.gz) = 3deafe79185eb9eb8a8fe97d9fe51624221f51c1cf4baff4b4a7242c51130bd7 >+SIZE (mpb-1.5.tar.gz) = 1056327 >diff -urN mpb.orig/pkg-plist mpb/pkg-plist >--- mpb.orig/pkg-plist 2014-11-13 16:53:44.000000000 +0100 >+++ mpb/pkg-plist 2014-12-21 17:28:59.000000000 +0100 >@@ -1,7 +1,13 @@ > bin/mpb >-bin/mpb-split > bin/mpb-data >-man/man1/mpb.1.gz >+bin/mpb-split >+include/mpb.h >+include/mpb/eigensolver.h >+include/mpb/matrices.h >+include/mpb/maxwell.h >+include/mpb/scalar.h >+lib/libmpb.a > man/man1/mpb-data.1.gz > man/man1/mpb-split.1.gz >-share/libctl/specs/mpb.scm >+man/man1/mpb.1.gz >+%%DATADIR%%/mpb.scm
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 196179
: 150836