diff options
author | Fernando ApesteguĂa <fernape@FreeBSD.org> | 2019-04-02 21:02:34 +0000 |
---|---|---|
committer | Fernando ApesteguĂa <fernape@FreeBSD.org> | 2019-04-02 21:02:34 +0000 |
commit | bae9287a218f4ccf71b20b2c9a5e9eb5bc39ad36 (patch) | |
tree | cedde3b5840daf1eeedb7ed07b177c70d62ff5bf /devel/librevisa/Makefile | |
parent | 9ebd0a5e420e120ce95a41e154dc650a58e497f7 (diff) | |
download | ports-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/Makefile | 6 |
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 |