summaryrefslogtreecommitdiff
path: root/devel/libusb
diff options
context:
space:
mode:
authorpgoyette <pgoyette@pkgsrc.org>2019-05-16 16:17:52 +0000
committerpgoyette <pgoyette@pkgsrc.org>2019-05-16 16:17:52 +0000
commitccd81c817f9e1836b4d97eb22984b0a117d2e01f (patch)
treedf60497ebc81900589ac745047e212e307145eb3 /devel/libusb
parent532959d79c3bd5c638d56506e2713a7d446afe39 (diff)
downloadpkgsrc-ccd81c817f9e1836b4d97eb22984b0a117d2e01f.tar.gz
Disable -Werror when building. If it is enabled, current releases of
gcc (7.4.0) will generate lots of errors concerning snprintf(). Fix proposed by wiz@ and confirmed by me.
Diffstat (limited to 'devel/libusb')
-rw-r--r--devel/libusb/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/libusb/Makefile b/devel/libusb/Makefile
index 18bce3e95cd..62416ac2205 100644
--- a/devel/libusb/Makefile
+++ b/devel/libusb/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.42 2018/08/19 20:16:39 wiz Exp $
+# $NetBSD: Makefile,v 1.43 2019/05/16 16:17:52 pgoyette Exp $
DISTNAME= libusb-0.1.12
PKGREVISION= 5
@@ -79,4 +79,6 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/libusb.pc ${DESTDIR}${PREFIX}/lib/pkgconfig
.endif
+BUILDLINK_TRANSFORM+= rm:-Werror
+
.include "../../mk/bsd.pkg.mk"