From owner-svn-ports-all@freebsd.org Tue Apr 2 21:02:36 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 14B891531EBE; Tue, 2 Apr 2019 21:02:36 +0000 (UTC) (envelope-from fernape@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A76088024D; Tue, 2 Apr 2019 21:02:35 +0000 (UTC) (envelope-from fernape@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3AE103D48; Tue, 2 Apr 2019 21:02:35 +0000 (UTC) (envelope-from fernape@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x32L2Zjr016607; Tue, 2 Apr 2019 21:02:35 GMT (envelope-from fernape@FreeBSD.org) Received: (from fernape@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x32L2Z7g016606; Tue, 2 Apr 2019 21:02:35 GMT (envelope-from fernape@FreeBSD.org) Message-Id: <201904022102.x32L2Z7g016606@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: fernape set sender to fernape@FreeBSD.org using -f From: =?UTF-8?Q?Fernando_Apestegu=c3=ada?= Date: Tue, 2 Apr 2019 21:02:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r497588 - head/devel/librevisa X-SVN-Group: ports-head X-SVN-Commit-Author: fernape X-SVN-Commit-Paths: head/devel/librevisa X-SVN-Commit-Revision: 497588 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: A76088024D X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.99 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.99)[-0.987,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Apr 2019 21:02:36 -0000 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