aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1999-10-05 17:14:50 +0800
committertg <tg@FreeBSD.org>1999-10-05 17:14:50 +0800
commiteb9fe74de560e89f29ff66f95f164f1b1b4f91bd (patch)
tree50626a2b5badd9a3823a340d3aba22e2d9f1f03c /graphics
parent15b9a9b37c3a78eb1b3c9b00478f39c48098cacb (diff)
downloadfreebsd-ports-gnome-eb9fe74de560e89f29ff66f95f164f1b1b4f91bd.tar.gz
freebsd-ports-gnome-eb9fe74de560e89f29ff66f95f164f1b1b4f91bd.tar.zst
freebsd-ports-gnome-eb9fe74de560e89f29ff66f95f164f1b1b4f91bd.zip
Add netcdf support.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/opendx/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/graphics/opendx/Makefile b/graphics/opendx/Makefile
index fc6bdef3c1a6..92994a03b929 100644
--- a/graphics/opendx/Makefile
+++ b/graphics/opendx/Makefile
@@ -13,13 +13,16 @@ MASTER_SITES= http://opendx.npaci.edu/source/
MAINTAINER= ports@FreeBSD.org
-LIB_DEPENDS= GL.14:${PORTSDIR}/graphics/Mesa3
+LIB_DEPENDS= GL.14:${PORTSDIR}/graphics/Mesa3 \
+ netcdf.1:${PORTSDIR}/math/netcdf
USE_XLIB= yes
REQUIRES_MOTIF= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= CFLAGS="${CFLAGS} -Dfreebsd" \
- CXXFLAGS="${CFLAGS} -Dfreebsd"
+CONFIGURE_ENV= CFLAGS="${CFLAGS} -Dfreebsd -I${PREFIX}/include" \
+ CPPFLAGS="-I${PREFIX}/include" \
+ CXXFLAGS="${CFLAGS} -Dfreebsd -I${PREFIX}/include" \
+ LDFLAGS="-L${PREFIX}/lib"
NO_MTREE= yes
PLIST_SUB= ARCH=${MACHINE_ARCH}