mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-30 10:38:37 +00:00
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
This commit is contained in:
parent
9ebd0a5e42
commit
bae9287a21
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=497588
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user