From owner-svn-ports-head@freebsd.org Thu Jun 16 11:46:44 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E9526A705D8; Thu, 16 Jun 2016 11:46:44 +0000 (UTC) (envelope-from marino@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 mx1.freebsd.org (Postfix) with ESMTPS id BA2621936; Thu, 16 Jun 2016 11:46:44 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u5GBkhTe038605; Thu, 16 Jun 2016 11:46:43 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u5GBkhvH038604; Thu, 16 Jun 2016 11:46:43 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201606161146.u5GBkhvH038604@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Thu, 16 Jun 2016 11:46:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r416957 - head/devel/acsccid X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jun 2016 11:46:45 -0000 Author: marino Date: Thu Jun 16 11:46:43 2016 New Revision: 416957 URL: https://svnweb.freebsd.org/changeset/ports/416957 Log: devel/acsccid: Genericize to enable build on DragonFly Also use OPSYS with OSVERSION. Approved by: non-invasive DF support blanket Modified: head/devel/acsccid/Makefile Modified: head/devel/acsccid/Makefile ============================================================================== --- head/devel/acsccid/Makefile Thu Jun 16 11:38:54 2016 (r416956) +++ head/devel/acsccid/Makefile Thu Jun 16 11:46:43 2016 (r416957) @@ -13,9 +13,9 @@ LICENSE= GPLv2 LIB_DEPENDS= libpcsclite.so:devel/pcsc-lite -USES= perl5 pkgconfig tar:bz2 +USES= perl5 pkgconfig tar:bz2 -PLIST_FILES= lib/pcsc/drivers/ifd-acsccid.bundle/Contents/FreeBSD/libacsccid.so \ +PLIST_FILES= lib/pcsc/drivers/ifd-acsccid.bundle/Contents/${OPSYS}/libacsccid.so \ lib/pcsc/drivers/ifd-acsccid.bundle/Contents/Info.plist GNU_CONFIGURE= yes @@ -23,12 +23,12 @@ GNU_CONFIGURE= yes .include # Old versions don't have pkgconfig files for libusb -.if ${OSVERSION} < 1000024 +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000024 CONFIGURE_ENV+= LIBUSB_CFLAGS="-I${LOCALBASE}/include" \ LIBUSB_LIBS="-L${LOCALBASE}/lib -lusb" .endif post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pcsc/drivers/ifd-acsccid.bundle/Contents/FreeBSD/libacsccid.so + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pcsc/drivers/ifd-acsccid.bundle/Contents/${OPSYS}/libacsccid.so .include