aboutsummaryrefslogtreecommitdiff
path: root/devel/librevisa/Makefile
diff options
context:
space:
mode:
authorFernando ApesteguĂ­a <fernape@FreeBSD.org>2019-04-02 21:02:34 +0000
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2019-04-02 21:02:34 +0000
commitbae9287a218f4ccf71b20b2c9a5e9eb5bc39ad36 (patch)
treecedde3b5840daf1eeedb7ed07b177c70d62ff5bf /devel/librevisa/Makefile
parent9ebd0a5e420e120ce95a41e154dc650a58e497f7 (diff)
downloadports-bae9287a218f4ccf71b20b2c9a5e9eb5bc39ad36.tar.gz
ports-bae9287a218f4ccf71b20b2c9a5e9eb5bc39ad36.zip
devel/librevisa: fix build error
On FreeBSD versions where libusb.h defines LIBUSB_CLASS_APPLICATION, the extra definition from the Makefile prevents the port from building. Remove that extra definition. While here, add build dependency for pkg-config PR: 236750 Submitted by: jcfyecrayz@liamekaens.com
Notes
Notes: svn path=/head/; revision=497588
Diffstat (limited to 'devel/librevisa/Makefile')
-rw-r--r--devel/librevisa/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/devel/librevisa/Makefile b/devel/librevisa/Makefile
index d4bc10d93767..6476071500cf 100644
--- a/devel/librevisa/Makefile
+++ b/devel/librevisa/Makefile
@@ -10,12 +10,12 @@ MASTER_SITES= http://www.librevisa.org/download/
MAINTAINER= ports@FreeBSD.org
COMMENT= Library for interfacing test and measurement equipment
+BUILD_DEPENDS= pkg-config:devel/pkgconf
+
USES= gmake pathfix libtool
USE_LDCONFIG= yes
-GNU_CONFIGURE= yes
-# Workaround FreeBSD 9.1+ libusb not knowing LIBUSB_CLASS_APPLICATION
-CPPFLAGS+= -DLIBUSB_CLASS_APPLICATION=0xfe
+GNU_CONFIGURE= yes
post-install:
${STRIP_CMD} ${STAGEDIR}${LOCALBASE}/lib/libvisa.so