svn commit: r484991 - in head/science/libgridxc: . files
Yuri Victorovich
yuri at FreeBSD.org
Thu Nov 15 02:56:35 UTC 2018
Author: yuri
Date: Thu Nov 15 02:56:34 2018
New Revision: 484991
URL: https://svnweb.freebsd.org/changeset/ports/484991
Log:
science/libgridxc: Update 0.8.0 -> 0.8.3
Reported by: portscout
Modified:
head/science/libgridxc/Makefile
head/science/libgridxc/distinfo
head/science/libgridxc/files/patch-build.sh
Modified: head/science/libgridxc/Makefile
==============================================================================
--- head/science/libgridxc/Makefile Thu Nov 15 02:22:10 2018 (r484990)
+++ head/science/libgridxc/Makefile Thu Nov 15 02:56:34 2018 (r484991)
@@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= libgridxc
-DISTVERSION= 0.8.0
-PORTREVISION= 2
+DISTVERSION= 0.8.3
CATEGORIES= science
MASTER_SITES= https://launchpad.net/${PORTNAME}/trunk/${DISTVERSION:R}/+download/
@@ -22,7 +21,7 @@ WRKSRC_SUBDIR= src
BUILD_WRKSRC= ${WRKSRC}/../build
TMP_STAGEDIR= ${WRKDIR}/tmp_stage
-MAKE_ENV= INSTALL_DIR=${TMP_STAGEDIR}${PREFIX} FREEBSD_LOCALBASE=${LOCALBASE}
+MAKE_ENV= INSTALL_DIR=${TMP_STAGEDIR}${PREFIX} FREEBSD_LOCALBASE=${LOCALBASE} LIBXC_ROOT=${LOCALBASE}
BINARY_ALIAS= make=${GMAKE}
@@ -41,7 +40,6 @@ post-patch:
@${CAT} ${WRKSRC}/../extra/fortran.mk \
| ${SED} '\
s|FC_SERIAL=gfortran|&${GCC_DEFAULT}|; \
- s|LIBXC_ROOT=/usr/local|LIBXC_ROOT=${LOCALBASE}|; \
s|FFLAGS= -O2|& -fPIC|' \
> ${BUILD_WRKSRC}/fortran.mk
Modified: head/science/libgridxc/distinfo
==============================================================================
--- head/science/libgridxc/distinfo Thu Nov 15 02:22:10 2018 (r484990)
+++ head/science/libgridxc/distinfo Thu Nov 15 02:56:34 2018 (r484991)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1536009612
-SHA256 (libgridxc-0.8.0.tgz) = 823002baa3e5e18eddef05b2ea55ff08cf9c311dd655dd7147df26a3f7096390
-SIZE (libgridxc-0.8.0.tgz) = 222704
+TIMESTAMP = 1542249909
+SHA256 (libgridxc-0.8.3.tgz) = 015c97fd5e1f105d1e32ef5d197f7b2aa7935ea0b64b9cb82853cd77542ee89f
+SIZE (libgridxc-0.8.3.tgz) = 224190
Modified: head/science/libgridxc/files/patch-build.sh
==============================================================================
--- head/science/libgridxc/files/patch-build.sh Thu Nov 15 02:22:10 2018 (r484990)
+++ head/science/libgridxc/files/patch-build.sh Thu Nov 15 02:56:34 2018 (r484991)
@@ -1,10 +1,10 @@
---- build.sh.orig 2018-02-01 10:48:08 UTC
+--- build.sh.orig 2018-11-01 22:36:58 UTC
+++ build.sh
-@@ -39,14 +39,17 @@
- # libGridXC installations in the old style.
+@@ -40,14 +40,16 @@
#
#
--inPREFIX=${PREFIX}
+ # Set to "." if empty or unset
+-inPREFIX=${PREFIX:-.}
+inPREFIX=${INSTALL_DIR}
#
# Build first without MPI
@@ -16,7 +16,6 @@
+if [ "${WITH_MPI}" = "" ]
+then
+ echo "==> make WITH_LIBXC=${WITH_LIBXC} WITH_MPI= PREFIX=${inPREFIX}/serial"
-+ #sleep 1
+ make clean
+ make WITH_LIBXC=${WITH_LIBXC} WITH_MPI= PREFIX=${inPREFIX}/serial
+fi
More information about the svn-ports-all
mailing list