summaryrefslogtreecommitdiffstats
path: root/graphics/opendx
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1999-10-05 09:14:50 +0000
committertg <tg@FreeBSD.org>1999-10-05 09:14:50 +0000
commiteb9fe74de560e89f29ff66f95f164f1b1b4f91bd (patch)
tree50626a2b5badd9a3823a340d3aba22e2d9f1f03c /graphics/opendx
parent15b9a9b37c3a78eb1b3c9b00478f39c48098cacb (diff)
downloadFreeBSD-ports-eb9fe74de560e89f29ff66f95f164f1b1b4f91bd.zip
FreeBSD-ports-eb9fe74de560e89f29ff66f95f164f1b1b4f91bd.tar.gz
Add netcdf support.
Diffstat (limited to 'graphics/opendx')
-rw-r--r--graphics/opendx/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/graphics/opendx/Makefile b/graphics/opendx/Makefile
index fc6bdef..92994a0 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}
OpenPOWER on IntegriCloud