aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
Diffstat (limited to 'science')
-rw-r--r--science/netcdf/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/science/netcdf/Makefile b/science/netcdf/Makefile
index e84fe7da52b8..92ce4e5a527f 100644
--- a/science/netcdf/Makefile
+++ b/science/netcdf/Makefile
@@ -22,13 +22,12 @@ DAP_DESC= Build DAP client and remote testing
SZIP_DESC= SZIP support (required if HDF5 was built with SZIP)
CONFIGURE_ARGS= --enable-netcdf-4
-CPPFLAGS+= -I${WRKSRC}/include -I${LOCALBASE}/include -fPIC -DPIC
+CPPFLAGS+= -fPIC -DPIC
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
-LIBS+= -L${LOCALBASE}/lib
TEST_TARGET= check
USE_LDCONFIG= yes
-USES= libtool pathfix
+USES= libtool localbase pathfix
DAP_CONFIGURE_OFF= --disable-dap
DAP_CONFIGURE_ON= --enable-dap