aboutsummaryrefslogtreecommitdiff
path: root/math/octave-forge-netcdf
diff options
context:
space:
mode:
authorStephen Montgomery-Smith <stephen@FreeBSD.org>2018-04-18 03:12:36 +0000
committerStephen Montgomery-Smith <stephen@FreeBSD.org>2018-04-18 03:12:36 +0000
commitff65cddc269a86810ffb17e7ad216c05c1d5b371 (patch)
treed61498efe5dd8f725079623a1a58c5ebfa6df55b /math/octave-forge-netcdf
parentb0c5358af03525316a90739a37e912c833264162 (diff)
downloadports-ff65cddc269a86810ffb17e7ad216c05c1d5b371.tar.gz
ports-ff65cddc269a86810ffb17e7ad216c05c1d5b371.zip
Notes
Diffstat (limited to 'math/octave-forge-netcdf')
-rw-r--r--math/octave-forge-netcdf/Makefile6
-rw-r--r--math/octave-forge-netcdf/distinfo6
-rw-r--r--math/octave-forge-netcdf/files/patch-Makefile11
-rw-r--r--math/octave-forge-netcdf/files/patch-configure11
4 files changed, 17 insertions, 17 deletions
diff --git a/math/octave-forge-netcdf/Makefile b/math/octave-forge-netcdf/Makefile
index 804313ae8ffb..faeab7633421 100644
--- a/math/octave-forge-netcdf/Makefile
+++ b/math/octave-forge-netcdf/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= octave-forge-netcdf
-PORTVERSION= 1.0.11
-PORTREVISION= 4
+PORTVERSION= 1.0.12
CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org
@@ -14,9 +13,10 @@ LICENSE_FILE= ${WRKDIR}/${OCTSRC}/COPYING
# OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
-OCTSRC= ${OCTAVE_PKGNAME}
+OCTSRC= ${DISTNAME}
WRKSRC= ${WRKDIR}/${OCTSRC}/src
+GNU_CONFIGURE= yes
LIB_DEPENDS+= libnetcdf.so:science/netcdf
diff --git a/math/octave-forge-netcdf/distinfo b/math/octave-forge-netcdf/distinfo
index 53fa7f46d85a..8a983eef05a7 100644
--- a/math/octave-forge-netcdf/distinfo
+++ b/math/octave-forge-netcdf/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1497927016
-SHA256 (octave-forge/netcdf-1.0.11.tar.gz) = e02da3a27b281be15a13e0126d1235cbe1da704398a313ae21db6f4de79fa5c2
-SIZE (octave-forge/netcdf-1.0.11.tar.gz) = 70741
+TIMESTAMP = 1524017893
+SHA256 (octave-forge/netcdf-1.0.12.tar.gz) = 62f5ae3355d20b792169e2e1f8056c319a3a51ded876b3d79c9418eec7a0b7f9
+SIZE (octave-forge/netcdf-1.0.12.tar.gz) = 69984
diff --git a/math/octave-forge-netcdf/files/patch-Makefile b/math/octave-forge-netcdf/files/patch-Makefile
deleted file mode 100644
index 96ca14c0b8b2..000000000000
--- a/math/octave-forge-netcdf/files/patch-Makefile
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile-orig 2015-02-26 03:30:37.000000000 +0000
-+++ Makefile 2015-02-26 03:30:57.000000000 +0000
-@@ -18,7 +18,7 @@
- rm ../PKG_ADD ../inst/import_netcdf.m
-
- __netcdf__.oct: $(SRC) netcdf_constants.h
-- $(MKOCTFILE) $(CFLAGS) $(SRC) $(LIBS)
-+ $(MKOCTFILE) $(SRC) $(LIBS)
-
- ../PKG_ADD: $(SRC)
- sh PKG_ADD.sh
diff --git a/math/octave-forge-netcdf/files/patch-configure b/math/octave-forge-netcdf/files/patch-configure
new file mode 100644
index 000000000000..8886a945c90d
--- /dev/null
+++ b/math/octave-forge-netcdf/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig 2018-04-18 01:56:27 UTC
++++ configure
+@@ -2487,7 +2487,7 @@ if test -z "$NC_CONFIG"; then
+ fi
+
+ NETCDF_LIBS=`$NC_CONFIG --libs`
+-NETCDF_CPPFLAGS=`$NC_CONFIG --cflags`
++NETCDF_CPPFLAGS=`--cflags`
+
+
+