ports/141829: [maintainer-update] x11-drivers/input-wacom
Dominic Fandrey
lon_kamikaze at gmx.de
Mon Dec 21 09:40:02 UTC 2009
>Number: 141829
>Category: ports
>Synopsis: [maintainer-update] x11-drivers/input-wacom
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Mon Dec 21 09:40:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Dominic Fandrey
>Release: RELENG_8
>Organization:
private
>Environment:
FreeBSD mobileKamikaze.norad 8.0-STABLE FreeBSD 8.0-STABLE #0: Tue Dec 15 22:48:25 CET 2009 root at mobileKamikaze.norad:/usr/obj/HP6510b-8/amd64/usr/src/sys/HP6510b-8 amd64
>Description:
USB module does not build on 8.x, turn it off by default in this case.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -Nur ports/x11-drivers/input-wacom.orig/Makefile ports/x11-drivers/input-wacom/Makefile
--- ports/x11-drivers/input-wacom.orig/Makefile 2009-12-21 10:20:10.000000000 +0100
+++ ports/x11-drivers/input-wacom/Makefile 2009-12-21 10:29:38.000000000 +0100
@@ -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 @@
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 @@
@${ECHO} "===> Displaying pkg-message."
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list