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
28 lines
592 B
Makefile
28 lines
592 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= p8-platform
|
|
PORTVERSION= 2.1.0.1
|
|
PORTREVISION= 2
|
|
DISTVERSIONPREFIX= ${PORTNAME}-
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= mickael.maillot@gmail.com
|
|
COMMENT= Platform support library used by libCEC and binary add-ons for Kodi
|
|
|
|
LICENSE= GPLv2+
|
|
|
|
USES= cmake compiler:c++11-lang
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= Pulse-Eight
|
|
GH_PROJECT= platform
|
|
|
|
USE_LDCONFIG= yes
|
|
CMAKE_ARGS= -DBUILD_SHARED_LIBS:BOOL=ON
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/SOVERSION/ s|\.0||' \
|
|
-e 's|$${CMAKE_INSTALL_LIBDIR_NOARCH}/pkgconfig|libdata/pkgconfig|' \
|
|
${WRKSRC}/CMakeLists.txt
|
|
|
|
.include <bsd.port.mk>
|