From owner-svn-ports-all@freebsd.org Wed Dec 9 12:13:06 2015 Return-Path: Delivered-To: svn-ports-all@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 581119D5E06; Wed, 9 Dec 2015 12:13:06 +0000 (UTC) (envelope-from vanilla@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 312661F34; Wed, 9 Dec 2015 12:13:06 +0000 (UTC) (envelope-from vanilla@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tB9CD5UF060280; Wed, 9 Dec 2015 12:13:05 GMT (envelope-from vanilla@FreeBSD.org) Received: (from vanilla@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tB9CD4Ra060275; Wed, 9 Dec 2015 12:13:04 GMT (envelope-from vanilla@FreeBSD.org) Message-Id: <201512091213.tB9CD4Ra060275@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: vanilla set sender to vanilla@FreeBSD.org using -f From: "Vanilla I. Shu" Date: Wed, 9 Dec 2015 12:13:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r403378 - in head/devel/papi: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 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: Wed, 09 Dec 2015 12:13:06 -0000 Author: vanilla Date: Wed Dec 9 12:13:04 2015 New Revision: 403378 URL: https://svnweb.freebsd.org/changeset/ports/403378 Log: 1: Upgrade to 5.4.1. 2: move all pkgconfig to libdata/ 3: use option helper. Modified: head/devel/papi/Makefile head/devel/papi/distinfo head/devel/papi/files/patch-configure head/devel/papi/files/patch-x86_cpuid_info.c head/devel/papi/pkg-plist Modified: head/devel/papi/Makefile ============================================================================== --- head/devel/papi/Makefile Wed Dec 9 12:06:49 2015 (r403377) +++ head/devel/papi/Makefile Wed Dec 9 12:13:04 2015 (r403378) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= papi -PORTVERSION= 5.4.1 +PORTVERSION= 5.4.2 CATEGORIES= devel MASTER_SITES= http://icl.cs.utk.edu/projects/papi/downloads/ @@ -19,16 +19,18 @@ NO_PACKAGE= Needs to be compiled for spe STRIP= # empty USE_LDCONFIG= yes -USES= gmake +USES= gmake pkgconfig GNU_CONFIGURE= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src WRKMAN= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/man INSTALL_TARGET= install-all +CONFIGURE_ARGS+= --with-tests=ctests OPTIONS_DEFINE= CORETEMP DEBUGINFO CORETEMP_DESC= Add Intel Core thermal sensor (need coretemp.ko) DEBUGINFO_DESC= Add debug information (increased verbosity) +CORETEMP_CONFIGURE_ON= --with-components=coretemp_freebsd DEBUGINFO_CONFIGURE_WITH= debug .include @@ -40,12 +42,6 @@ IGNORE= needs hwpmc module loaded or co Please consult hwpmc(4) on how to do it (or cat pkg-message) .endif -CONFIGURE_ARGS+= --with-tests=ctests - -.if ${PORT_OPTIONS:MCORETEMP} -CONFIGURE_ARGS+= --with-components=coretemp_freebsd -.endif - post-patch: ${REINPLACE_CMD} -e 's|||g' \ ${WRKSRC}/components/appio/tests/appio_test_pthreads.c \ Modified: head/devel/papi/distinfo ============================================================================== --- head/devel/papi/distinfo Wed Dec 9 12:06:49 2015 (r403377) +++ head/devel/papi/distinfo Wed Dec 9 12:13:04 2015 (r403378) @@ -1,2 +1,2 @@ -SHA256 (papi-5.4.1.tar.gz) = e131c1449786fe870322a949e44f974a5963824f683232e653fb570cc65d4e87 -SIZE (papi-5.4.1.tar.gz) = 4088726 +SHA256 (papi-5.4.2.tar.gz) = bb71919d197b43a12e07cdeb0dce4f471bd3158f101259a34579a5df8087f002 +SIZE (papi-5.4.2.tar.gz) = 4361516 Modified: head/devel/papi/files/patch-configure ============================================================================== --- head/devel/papi/files/patch-configure Wed Dec 9 12:06:49 2015 (r403377) +++ head/devel/papi/files/patch-configure Wed Dec 9 12:13:04 2015 (r403378) @@ -1,6 +1,6 @@ ---- configure.orig 2015-07-23 08:38:09 UTC +--- configure.orig 2015-12-03 22:41:27 UTC +++ configure -@@ -6944,7 +6944,7 @@ echo "$as_me: error: PAPI requires FreeB +@@ -6946,7 +6946,7 @@ echo "$as_me: error: PAPI requires FreeB { (exit 1); exit 1; }; } fi # Determine if HWPMC module is on the kernel Modified: head/devel/papi/files/patch-x86_cpuid_info.c ============================================================================== --- head/devel/papi/files/patch-x86_cpuid_info.c Wed Dec 9 12:06:49 2015 (r403377) +++ head/devel/papi/files/patch-x86_cpuid_info.c Wed Dec 9 12:13:04 2015 (r403378) @@ -1,4 +1,4 @@ ---- x86_cpuid_info.c.orig 2015-03-02 20:30:42 UTC +--- x86_cpuid_info.c.orig 2015-12-03 22:41:35 UTC +++ x86_cpuid_info.c @@ -1274,11 +1274,14 @@ cpuid2 ( unsigned int* eax, unsigned int unsigned int* ecx, unsigned int* edx, Modified: head/devel/papi/pkg-plist ============================================================================== --- head/devel/papi/pkg-plist Wed Dec 9 12:06:49 2015 (r403377) +++ head/devel/papi/pkg-plist Wed Dec 9 12:13:04 2015 (r403378) @@ -19,12 +19,12 @@ include/papiStdEventDefs.h lib/libpapi.a lib/libpapi.so lib/libpapi.so.5 -lib/libpapi.so.5.4.1 -lib/libpapi.so.5.4.1.0 -lib/pkgconfig/papi-5.4.1.0.pc -lib/pkgconfig/papi-5.4.1.pc -lib/pkgconfig/papi-5.pc -lib/pkgconfig/papi.pc +lib/libpapi.so.5.4.2 +lib/libpapi.so.5.4.2.0 +libdata/pkgconfig/papi-5.4.2.0.pc +libdata/pkgconfig/papi-5.4.2.pc +libdata/pkgconfig/papi-5.pc +libdata/pkgconfig/papi.pc man/man1/PAPI_derived_event_files.1.gz man/man1/papi_avail.1.gz man/man1/papi_clockres.1.gz