aboutsummaryrefslogtreecommitdiff
path: root/mbone/vic/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mbone/vic/Makefile')
-rw-r--r--mbone/vic/Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/mbone/vic/Makefile b/mbone/vic/Makefile
index 92a1a4825342..d1ad10b8651f 100644
--- a/mbone/vic/Makefile
+++ b/mbone/vic/Makefile
@@ -16,18 +16,21 @@ COMMENT= MBONE video tool
BUILD_DEPENDS+= v4l_compat>=1.0.20060801:${PORTSDIR}/multimedia/v4l_compat
-LIB_DEPENDS= tk84:${PORTSDIR}/x11-toolkits/tk84 \
- uclmmbase:${PORTSDIR}/devel/uclmmbase
+LIB_DEPENDS= uclmmbase:${PORTSDIR}/devel/uclmmbase
+USE_TK= yes
+USE_TK_BUILD= yes
USE_AUTOTOOLS= autoconf:213
USE_X_PREFIX= yes
-CONFIGURE_ARGS= -x-libraries=${PREFIX}/lib \
- -x-includes=${PREFIX}/include \
+CONFIGURE_ARGS= -x-libraries=${X11BASE}/lib \
+ -x-includes=${X11BASE}/include \
-without-ucltcl \
-with-tcl=${LOCALBASE} \
-without-ucltk \
- -with-tk=${LOCALBASE} \
- -enable-ipv6
+ -with-tk=${LOCALBASE}
+.ifndef (NO_INET6)
+CONFIGURE_ARGS+=-enable-ipv6
+.endif
MAN1= vic.1
post-patch: