Date: Tue, 2 Apr 2019 21:02:35 +0000 (UTC) From: =?UTF-8?Q?Fernando_Apestegu=c3=ada?= <fernape@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r497588 - head/devel/librevisa Message-ID: <201904022102.x32L2Z7g016606@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904022102.x32L2Z7g016606>