From owner-svn-ports-head@freebsd.org Wed May 2 18:12:37 2018 Return-Path: Delivered-To: svn-ports-head@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 6167EFB0A7E; Wed, 2 May 2018 18:12:37 +0000 (UTC) (envelope-from adamw@adamw.org) Received: from apnoea.adamw.org (apnoea.adamw.org [104.225.5.94]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "apnoea.adamw.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 29D02799EE; Wed, 2 May 2018 18:12:35 +0000 (UTC) (envelope-from adamw@adamw.org) Received: by apnoea.adamw.org (OpenSMTPD) with ESMTPSA id b200fe9f TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Wed, 2 May 2018 12:12:28 -0600 (MDT) Content-Type: text/plain; charset=utf-8; delsp=yes; format=flowed Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\)) Subject: Re: svn commit: r468857 - in head/devel: . cpu_features From: Adam Weinberger In-Reply-To: <201805021720.w42HKuBC069211@repo.freebsd.org> Date: Wed, 2 May 2018 12:12:26 -0600 Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Content-Transfer-Encoding: 8bit Message-Id: <56A72AF2-EB6C-4411-B8EB-8D63159CE0B6@adamw.org> References: <201805021720.w42HKuBC069211@repo.freebsd.org> To: Steven Kreuzer X-Mailer: Apple Mail (2.3445.6.18) X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 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: Wed, 02 May 2018 18:12:37 -0000 > On 2 May, 2018, at 11:20, Steven Kreuzer wrote: > > Author: skreuzer > Date: Wed May 2 17:20:56 2018 > New Revision: 468857 > URL: https://svnweb.freebsd.org/changeset/ports/468857 > > Log: > A small, fast, and simple open source library to report CPU features at > runtime. Written in C89 for maximum portability, it allocates no memory and is > suitable for implementing fundamental functions and running in sandboxed > environments. > > WWW: https://github.com/google/cpu_features > > Added: > head/devel/cpu_features/ > head/devel/cpu_features/Makefile (contents, props changed) > head/devel/cpu_features/distinfo (contents, props changed) > head/devel/cpu_features/pkg-descr (contents, props changed) > head/devel/cpu_features/pkg-plist (contents, props changed) > Modified: > head/devel/Makefile > > Modified: head/devel/Makefile > ============================================================================== > --- head/devel/Makefile Wed May 2 17:16:40 2018 (r468856) > +++ head/devel/Makefile Wed May 2 17:20:56 2018 (r468857) > @@ -361,6 +361,7 @@ > SUBDIR += cppunit > SUBDIR += cpputest > SUBDIR += cproto > + SUBDIR += cpu_features > SUBDIR += cpuflags > SUBDIR += cquery > SUBDIR += cram > > Added: head/devel/cpu_features/Makefile > ============================================================================== > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/devel/cpu_features/Makefile Wed May 2 17:20:56 2018 (r468857) > @@ -0,0 +1,24 @@ > +# $FreeBSD$ > + > +PORTNAME= cpu_features > +PORTVERSION= 0.1.0 > +DISTVERSIONPREFIX= v > +CATEGORIES= devel > + > +MAINTAINER= skreuzer@FreeBSD.org > +COMMENT= Cross platform C99 library to get cpu features at runtime > + > +LICENSE= APACHE20 > + > +USES= cmake > +USE_GITHUB= yes > +GH_ACCOUNT= google > + > +do-install: > + ${INSTALL_PROGRAM} ${WRKSRC}/list_cpu_features ${STAGEDIR}${PREFIX}/bin > + ${INSTALL_LIB} ${WRKSRC}/libcpu_features.a ${STAGEDIR}${PREFIX}/lib Hi Steven, You don’t generally want to install static libraries with INSTALL_LIB, which strips stuff (and static libraries shouldn’t be stripped). I’m pretty sure you'll want to use INSTALL_DATA here instead. # Adam — Adam Weinberger adamw@adamw.org http://www.adamw.org