svn commit: r497588 - head/devel/librevisa
Fernando Apesteguía
fernape at FreeBSD.org
Tue Apr 2 21:02:36 UTC 2019
Author: fernape
Date: Tue Apr 2 21:02:34 2019
New Revision: 497588
URL: https://svnweb.freebsd.org/changeset/ports/497588
Log:
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 at liamekaens.com
Modified:
head/devel/librevisa/Makefile
Modified: head/devel/librevisa/Makefile
==============================================================================
--- head/devel/librevisa/Makefile Tue Apr 2 20:48:08 2019 (r497587)
+++ head/devel/librevisa/Makefile Tue Apr 2 21:02:34 2019 (r497588)
@@ -10,12 +10,12 @@ MASTER_SITES= http://www.librevisa.org/download/
MAINTAINER= ports at 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
More information about the svn-ports-head
mailing list