aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormikeh <mikeh@FreeBSD.org>2005-10-25 10:08:11 +0800
committermikeh <mikeh@FreeBSD.org>2005-10-25 10:08:11 +0800
commit36fdc1125d1676d5870524ba6680b57411febd64 (patch)
tree8c8ee5ff4d839980c9905214c88da86bd0be7ef1
parentb5ef2e74eee196ccffb0033ae38b9f9c953e789d (diff)
downloadfreebsd-ports-gnome-36fdc1125d1676d5870524ba6680b57411febd64.tar.gz
freebsd-ports-gnome-36fdc1125d1676d5870524ba6680b57411febd64.tar.zst
freebsd-ports-gnome-36fdc1125d1676d5870524ba6680b57411febd64.zip
* Patch for vga on i386.
PR: ports/87832
-rw-r--r--comms/lirc/Makefile6
-rw-r--r--comms/lirc/pkg-plist2
2 files changed, 7 insertions, 1 deletions
diff --git a/comms/lirc/Makefile b/comms/lirc/Makefile
index 1fd3250be662..cb4f6da6bf76 100644
--- a/comms/lirc/Makefile
+++ b/comms/lirc/Makefile
@@ -27,6 +27,12 @@ OPTIONS= IRMAN "Build with libirman support" On
.include <bsd.port.pre.mk>
+.if ${ARCH} == "i386"
+LIB_DEPENDS+= vga:${PORTSDIR}graphics/vga
+PLIST_SUB+= SMODE2=
+.else
+PLIST_SUB+= SMODE2="@comment "
+.endif
.if defined(WITH_IRMAN)
BUILD_DEPENDS= ${LOCALBASE}/lib/libirman.a:${PORTSDIR}/comms/libirman
CONFIGURE_ARGS+= --with-driver=irman
diff --git a/comms/lirc/pkg-plist b/comms/lirc/pkg-plist
index dccd8ac43e3c..365ddb2ba84d 100644
--- a/comms/lirc/pkg-plist
+++ b/comms/lirc/pkg-plist
@@ -6,7 +6,7 @@ bin/irsend
bin/irw
bin/irxevent
bin/mode2
-bin/smode2
+%%SMODE2%%bin/smode2
bin/xmode2
sbin/lircd
sbin/lircmd