summaryrefslogtreecommitdiff
path: root/lang/metaocaml
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2006-11-05 15:45:28 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2006-11-05 15:45:28 +0000
commitd24c30270a3685e579a9da14a4cbd5bbf5f6a8c1 (patch)
tree0d29f7447d14befeb277287e1424bb5c2b9e47ea /lang/metaocaml
parentUpdate to 2.1.38 (diff)
- Remove USE_TK/USE_TK_BUILD (can only be used before bsd.port.pre.mk).
Notes
Notes: svn path=/head/; revision=176506
Diffstat (limited to 'lang/metaocaml')
-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)