aboutsummaryrefslogtreecommitdiff
path: root/multimedia/vic
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2007-03-26 05:48:58 +0000
committerMikhail Teterin <mi@FreeBSD.org>2007-03-26 05:48:58 +0000
commit59bdf3ddbdd8e60be09b63773b995a2bd8a7415e (patch)
treef07f460fa0ac83e8c9689834c4aac72598f30a7a /multimedia/vic
parent169543ed500a3b9f81b4d52ecf8c55bfb6df0a97 (diff)
downloadports-59bdf3ddbdd8e60be09b63773b995a2bd8a7415e.tar.gz
ports-59bdf3ddbdd8e60be09b63773b995a2bd8a7415e.zip
Notes
Diffstat (limited to 'multimedia/vic')
-rw-r--r--multimedia/vic/Makefile15
-rw-r--r--multimedia/vic/files/patch-warns9
2 files changed, 18 insertions, 6 deletions
diff --git a/multimedia/vic/Makefile b/multimedia/vic/Makefile
index 92a1a4825342..d1ad10b8651f 100644
--- a/multimedia/vic/Makefile
+++ b/multimedia/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:
diff --git a/multimedia/vic/files/patch-warns b/multimedia/vic/files/patch-warns
new file mode 100644
index 000000000000..8db7f714fc0a
--- /dev/null
+++ b/multimedia/vic/files/patch-warns
@@ -0,0 +1,9 @@
+--- codec/p64/p64.cpp Thu Sep 9 08:46:10 1999
++++ codec/p64/p64.cpp Mon Mar 26 01:44:44 2007
+@@ -1069,5 +1069,5 @@
+ * with 8 bits; otherwise, prime it with a 16.
+ */
+- if ((int)bp & 1) {
++ if ((intptr_t)bp & 1) {
+ bs_ = (u_short*)(bp + 1);
+ bb_ = *bp;