summaryrefslogtreecommitdiff
path: root/devel/py-usb
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2013-12-10 11:55:41 +0000
committerjperkin <jperkin@pkgsrc.org>2013-12-10 11:55:41 +0000
commitc861e95f6716acfa697bac9880597fe0beb09108 (patch)
tree85a4889d725aadfebcb043464364e5b8ea8d24c9 /devel/py-usb
parentb10243b67d3bd7d930656274ed6ecc0487639db2 (diff)
downloadpkgsrc-c861e95f6716acfa697bac9880597fe0beb09108.tar.gz
Fix inttypes on SunOS. Patch from Sebastian Wiedenroth.
Diffstat (limited to 'devel/py-usb')
-rw-r--r--devel/py-usb/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/py-usb/Makefile b/devel/py-usb/Makefile
index 4938389115f..50d9ed0802b 100644
--- a/devel/py-usb/Makefile
+++ b/devel/py-usb/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2012/10/31 11:19:35 asau Exp $
+# $NetBSD: Makefile,v 1.6 2013/12/10 11:55:41 jperkin Exp $
VERSION= 0.4.2
DISTNAME= pyusb-${VERSION}
@@ -11,6 +11,8 @@ MAINTAINER= wiml@hhhh.org
HOMEPAGE= http://pyusb.berlios.de/
COMMENT= Python interface to USB via libusb
+CFLAGS.SunOS+= -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t
+
.include "../../devel/libusb/buildlink3.mk"
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"