aboutsummaryrefslogtreecommitdiff
path: root/x11-drivers
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-01-15 02:54:57 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-01-15 02:54:57 +0000
commitb50137ab85326afd769f2fecc2f1ffd18c9fc8bb (patch)
tree7283a554ee116a8887168781b42fa9af77bd4b0a /x11-drivers
parentf2b1030e6ffae020ab7e30f53027b2f16da28c02 (diff)
downloadports-b50137ab85326afd769f2fecc2f1ffd18c9fc8bb.tar.gz
ports-b50137ab85326afd769f2fecc2f1ffd18c9fc8bb.zip
- USB module does not build on 8.x, turn it off by default in this case.
PR: ports/141829 Submitted by: Dominic Fandrey <lon_kamikaze@gmx.de>
Notes
Notes: svn path=/head/; revision=247908
Diffstat (limited to 'x11-drivers')
-rw-r--r--x11-drivers/input-wacom/Makefile17
1 files changed, 10 insertions, 7 deletions
diff --git a/x11-drivers/input-wacom/Makefile b/x11-drivers/input-wacom/Makefile
index 2232153b633c..d2a119458468 100644
--- a/x11-drivers/input-wacom/Makefile
+++ b/x11-drivers/input-wacom/Makefile
@@ -7,7 +7,7 @@
PORTNAME= input-wacom
PORTVERSION= ${KLD_VERSION}.${WACOM_VERSION:C/-/./g}
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= x11-drivers kld
MASTER_SITES= http://www.chillt.de/bsdwacom/:bsdwacom \
SF/linuxwacom/linuxwacom/${WACOM_VERSION}:linuxwacom
@@ -44,15 +44,18 @@ BSDWACOM= bsdwacom-${KLD_VERSION}
WACOM_VERSION= 0.8.2-2
KLD_VERSION= 40
-OPTIONS= UWACOMKLD "Install USB kernel module" On
-
-.include <bsd.port.pre.mk>
-
.if ${OSVERSION} >= 800064
-BROKEN= does not build
+OPTIONS= UWACOMKLD "Install USB kernel module (not supported on 8.x)" Off
+.else
+OPTIONS= UWACOMKLD "Install USB kernel module (not supported on 8.x)" On
.endif
+.include <bsd.port.options.mk>
+
.if defined(WITH_UWACOMKLD)
+.if ${OSVERSION} >= 800064
+BROKEN= does not build with USB support
+.endif
PLIST_SUB+= UWACOMKLD="uwacom.ko"
PORTTYPE= usb
.else
@@ -112,4 +115,4 @@ post-install:
@${ECHO} "===> Displaying pkg-message."
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>