aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2013-07-24 14:53:48 +0800
committergahr <gahr@FreeBSD.org>2013-07-24 14:53:48 +0800
commit38e81a2b55edfd878ae2239547db41f885e425a9 (patch)
treeb6a3af48eb564a9ebc61b4fa795af9cf29d239be /cad
parente15d5bf7a433416692b6351095c2e41736419e80 (diff)
downloadfreebsd-ports-gnome-38e81a2b55edfd878ae2239547db41f885e425a9.tar.gz
freebsd-ports-gnome-38e81a2b55edfd878ae2239547db41f885e425a9.tar.zst
freebsd-ports-gnome-38e81a2b55edfd878ae2239547db41f885e425a9.zip
- Make graphics/togl's libraries location independent from the Tcl/Tk version
used to build it - Fix cad/netgen to use this new location Reported by: bapt
Diffstat (limited to 'cad')
-rw-r--r--cad/netgen/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/cad/netgen/Makefile b/cad/netgen/Makefile
index 164b586cfc7c..b3d48e963085 100644
--- a/cad/netgen/Makefile
+++ b/cad/netgen/Makefile
@@ -16,14 +16,13 @@ LIB_DEPENDS= Tix8.4.3:${PORTSDIR}/x11-toolkits/tix \
USE_LDCONFIG= yes
USES= gmake
-USE_TK= 85
-USE_TK_BUILD= 84
+USE_TK= yes
USE_GL= yes
USE_XORG= xmu xi
GNU_CONFIGURE= yes
MAKE_JOBS_UNSAFE= yes
LDFLAGS+= -L${LOCALBASE}/lib
-CPPFLAGS+= -I${LOCALBASE}/include -I${TCL_INCLUDEDIR} -I${TK_INCLUDEDIR} -I${TK_LIBDIR}/Togl-1.7
+CPPFLAGS+= -I${LOCALBASE}/include -I${TCL_INCLUDEDIR} -I${TK_INCLUDEDIR} -I${LOCALBASE}/lib/Togl-1.7
CONFIGURE_ARGS+= --with-tcl=${TCL_LIBDIR} --with-tk=${TK_LIBDIR} --enable-jpeglib
FETCH_BEFORE_ARGS+= -o ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}