summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/xawtv/Makefile9
-rw-r--r--graphics/xawtv/files/patch-libvbi::os.h8
-rw-r--r--multimedia/xawtv/Makefile9
-rw-r--r--multimedia/xawtv/files/patch-libvbi::os.h8
4 files changed, 32 insertions, 2 deletions
diff --git a/graphics/xawtv/Makefile b/graphics/xawtv/Makefile
index 2e3371862bab..5d6ed96e106d 100644
--- a/graphics/xawtv/Makefile
+++ b/graphics/xawtv/Makefile
@@ -36,6 +36,13 @@ MAN1= alevtd.1 dump-mixers.1 fbtv.1 motv.1 ntsc-cc.1 propwatch.1 record.1 \
MAN5= xawtvrc.5
MAN8= v4l-conf.8
+.include <bsd.port.pre.mk>
+
+.if ${XFREE86_VERSION} == 4
+BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11/XFree86-4-clients
+RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
+.endif
+
PLIST_SUB+= X11PREFIX=${X11BASE}
post-patch:
@@ -51,4 +58,4 @@ post-configure:
${PERL} -pi -e "s|^CFLAGS=|CFLAGS+=|g" ${WRKSRC}/$i/Makefile
.endfor
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/graphics/xawtv/files/patch-libvbi::os.h b/graphics/xawtv/files/patch-libvbi::os.h
new file mode 100644
index 000000000000..dd8788a0fe2c
--- /dev/null
+++ b/graphics/xawtv/files/patch-libvbi::os.h
@@ -0,0 +1,8 @@
+--- libvbi/os.h.orig Sun Mar 10 13:20:37 2002
++++ libvbi/os.h Sun Mar 10 13:19:45 2002
+@@ -1,4 +1,4 @@
+-#ifndef OS_H
++#if !defined(OS_H) && !defined(BSD)
+ #define OS_H
+
+ #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBsd__) \
diff --git a/multimedia/xawtv/Makefile b/multimedia/xawtv/Makefile
index 2e3371862bab..5d6ed96e106d 100644
--- a/multimedia/xawtv/Makefile
+++ b/multimedia/xawtv/Makefile
@@ -36,6 +36,13 @@ MAN1= alevtd.1 dump-mixers.1 fbtv.1 motv.1 ntsc-cc.1 propwatch.1 record.1 \
MAN5= xawtvrc.5
MAN8= v4l-conf.8
+.include <bsd.port.pre.mk>
+
+.if ${XFREE86_VERSION} == 4
+BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11/XFree86-4-clients
+RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
+.endif
+
PLIST_SUB+= X11PREFIX=${X11BASE}
post-patch:
@@ -51,4 +58,4 @@ post-configure:
${PERL} -pi -e "s|^CFLAGS=|CFLAGS+=|g" ${WRKSRC}/$i/Makefile
.endfor
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/multimedia/xawtv/files/patch-libvbi::os.h b/multimedia/xawtv/files/patch-libvbi::os.h
new file mode 100644
index 000000000000..dd8788a0fe2c
--- /dev/null
+++ b/multimedia/xawtv/files/patch-libvbi::os.h
@@ -0,0 +1,8 @@
+--- libvbi/os.h.orig Sun Mar 10 13:20:37 2002
++++ libvbi/os.h Sun Mar 10 13:19:45 2002
+@@ -1,4 +1,4 @@
+-#ifndef OS_H
++#if !defined(OS_H) && !defined(BSD)
+ #define OS_H
+
+ #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBsd__) \