aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authoralepulver <alepulver@FreeBSD.org>2006-11-05 23:45:28 +0800
committeralepulver <alepulver@FreeBSD.org>2006-11-05 23:45:28 +0800
commitbae4b3e1c8671f55719fbaec4e31eefa4ad1a2ed (patch)
tree5e2993baf27672fc516b1ee0beeadbe4a1052cb7 /lang
parent3b15b9a440eacad46d1634fb96e1c2e22c250250 (diff)
downloadfreebsd-ports-gnome-bae4b3e1c8671f55719fbaec4e31eefa4ad1a2ed.tar.gz
freebsd-ports-gnome-bae4b3e1c8671f55719fbaec4e31eefa4ad1a2ed.tar.zst
freebsd-ports-gnome-bae4b3e1c8671f55719fbaec4e31eefa4ad1a2ed.zip
- Remove USE_TK/USE_TK_BUILD (can only be used before bsd.port.pre.mk).
Diffstat (limited to 'lang')
-rw-r--r--lang/metaocaml/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/lang/metaocaml/Makefile b/lang/metaocaml/Makefile
index 76da0f4d28f9..4bad347e868a 100644
--- a/lang/metaocaml/Makefile
+++ b/lang/metaocaml/Makefile
@@ -84,9 +84,8 @@ PLIST_SUB+= X11="@comment "
# We would like to use bsd.tcl.mk here, but we can't USE_TCL after including
# bsd.port.pre.mk and we can't test WITH_LABLTK before including bsd.port.pre.mk
.if defined(WITH_LABLTK)
-USE_TK= 84
-USE_TK_BUILD= 84
-CONFIGURE_ARGS+=-tkdefs -I${TCL_INCLUDEDIR} -I${TK_INCLUDEDIR}
+LIB_DEPENDS+= tk84.1:${PORTSDIR}/x11-toolkits/tk84
+CONFIGURE_ARGS+=-tkdefs "-I${LOCALBASE}/include/tcl8.4 -I${LOCALBASE}/include/tk8.4"
CONFIGURE_ARGS+=-tklibs "-L${LOCALBASE}/lib"
PLIST_SUB+= LABLTK=""
.if defined(WITHOUT_X11)