aboutsummaryrefslogtreecommitdiff
path: root/graphics/opendx
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1999-10-05 09:14:50 +0000
committerThomas Gellekum <tg@FreeBSD.org>1999-10-05 09:14:50 +0000
commit3228a619d12411e2a31e910adb0c98625ee4ca33 (patch)
treed8cbd1e4348d990a1d32834dccbb3ab3481c8d3b /graphics/opendx
parentc4fec6bf2a26e755bdb5b3b9b64280df5fd41b3c (diff)
downloadports-3228a619d12411e2a31e910adb0c98625ee4ca33.tar.gz
ports-3228a619d12411e2a31e910adb0c98625ee4ca33.zip
Notes
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 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}