pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/cpu_features cpu_features: pass -DBUILD_PIC=ON t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/53607b12ef1a
branches:  trunk
changeset: 443519:53607b12ef1a
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Mon Dec 14 17:15:35 2020 +0000

description:
cpu_features: pass -DBUILD_PIC=ON to cmake

diffstat:

 devel/cpu_features/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r b777c952ead6 -r 53607b12ef1a devel/cpu_features/Makefile
--- a/devel/cpu_features/Makefile       Mon Dec 14 16:51:16 2020 +0000
+++ b/devel/cpu_features/Makefile       Mon Dec 14 17:15:35 2020 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.1 2020/12/14 15:07:49 tnn Exp $
+# $NetBSD: Makefile,v 1.2 2020/12/14 17:15:35 tnn Exp $
 
 GITHUB_TAG=    v${PKGVERSION_NOREV}
 DISTNAME=      cpu_features-0.6.0
+PKGREVISION=   1
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=google/}
-
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/google/cpu_features/
 COMMENT=       Cross platform C99 library to get CPU features at runtime
@@ -12,6 +12,7 @@
 
 USE_CMAKE=     yes
 USE_LANGUAGES= c c++
+CMAKE_ARGS+=   -DBUILD_PIC=ON
 
 PLIST_SUBST+=  CPU_FEATURES_ARCH=${MACHINE_ARCH:S/i386/x86/:S/x86_64/x86/}
 



Home | Main Index | Thread Index | Old Index