pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/xf86-input-joystick xf86-input-joystick: workaroun...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ae272f9851e3
branches:  trunk
changeset: 362336:ae272f9851e3
user:      maya <maya%pkgsrc.org@localhost>
date:      Fri May 12 03:18:03 2017 +0000

description:
xf86-input-joystick: workaround dflybsd placing usbhid headers
in a different location.

diffstat:

 x11/xf86-input-joystick/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r c8b90f63cca1 -r ae272f9851e3 x11/xf86-input-joystick/Makefile
--- a/x11/xf86-input-joystick/Makefile  Fri May 12 02:41:54 2017 +0000
+++ b/x11/xf86-input-joystick/Makefile  Fri May 12 03:18:03 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2016/11/18 08:10:24 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2017/05/12 03:18:03 maya Exp $
 
 DISTNAME=      xf86-input-joystick-1.6.3
 CATEGORIES=    x11
@@ -18,6 +18,13 @@
 
 CONFIGURE_ENV.SunOS+=  DRIVER_MAN_SUFFIX=4
 
+SUBST_CLASSES.DragonFly+=      usbhid
+SUBST_STAGE.usbhid=            post-patch
+SUBST_FILES.usbhid=            configure
+SUBST_FILES.usbhid+=           src/backend_bsd.c
+SUBST_SED.usbhid=              -e 's,dev/usb/,bus/u4b/,g'
+SUBST_MESSAGE.usbhid=          Correct usbhid include paths
+
 .include "../../x11/kbproto/buildlink3.mk"
 .include "../../devel/xorg-util-macros/buildlink3.mk"
 .include "../../x11/xproto/buildlink3.mk"



Home | Main Index | Thread Index | Old Index