freebsd-ports/devel/android-tools-simpleperf/Makefile
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00

44 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= android-tools-simpleperf
DISTVERSIONPREFIX= android-
DISTVERSION= 7.1.2_r17
PORTREVISION= 8
CATEGORIES= devel
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Android simpleperf tool
LICENSE= APACHE20
BUILD_DEPENDS= llvm-config${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT}
USE_GITHUB= yes
GH_ACCOUNT= android:bionic,core jbeich
GH_PROJECT= platform_bionic:bionic platform_system_core:core \
platform_system_extras
GH_SUBDIR= bionic:bionic
USES= compiler:c++11-lib ncurses uidfix
BUILD_WRKSRC= ${WRKSRC}/simpleperf
INSTALL_WRKSRC= ${BUILD_WRKSRC}
TEST_WRKSRC= ${BUILD_WRKSRC}
MAKEFILE= ${FILESDIR}/Makefile
MAKE_ENV= BINDIR="${PREFIX}/bin" LLVM_CONFIG="llvm-config${LLVM_DEFAULT}"
ALL_TARGET= all
TEST_TARGET= test
LDFLAGS+= -Wl,--as-needed # avoid overlinking (llvm deps)
PLIST_FILES= bin/simpleperf
OPTIONS_DEFINE= TEST
TEST_BUILD_DEPENDS= googletest>=1.6.0:devel/googletest
TEST_ALL_TARGET= simpleperf_test
post-extract:
# Adjust paths relative to extras
@(cd ${WRKSRC_core} && ${COPYTREE_SHARE} . ${WRKSRC})
pre-install-TEST-on: do-test
.include <bsd.port.mk>