aboutsummaryrefslogtreecommitdiff
path: root/devel/libgamepad/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libgamepad/Makefile')
-rw-r--r--devel/libgamepad/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/libgamepad/Makefile b/devel/libgamepad/Makefile
index d935f197c4fc..9342adec1781 100644
--- a/devel/libgamepad/Makefile
+++ b/devel/libgamepad/Makefile
@@ -19,4 +19,10 @@ pre-build:
MAN3= libgamepad.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 800069
+EXTRA_PATCHES= ${FILESDIR}/extra-patch-gamepad_usbhid.c
+.endif
+
+.include <bsd.port.post.mk>