Support SunOS/clang by reusing the GNU Platform files. Bump PKGREVISION.

This commit is contained in:
jperkin 2015-10-27 09:04:38 +00:00
parent 05d786d6c8
commit 1ed6a24b29
2 changed files with 10 additions and 2 deletions

View file

@ -1,6 +1,7 @@
# $NetBSD: Makefile,v 1.106 2015/09/29 08:34:14 wiz Exp $
# $NetBSD: Makefile,v 1.107 2015/10/27 09:04:38 jperkin Exp $
DISTNAME= cmake-${CMAKE_API}.2
PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://www.cmake.org/files/v${CMAKE_API}/
@ -58,6 +59,10 @@ SUBST_SED.flags= -e 's,-O.,,'
pre-configure:
${RM} -f ${WRKSRC}/Modules/*.orig ${WRKSRC}/Modules/Platform/*.orig
${LN} -f ${WRKSRC}/Modules/Platform/OpenBSD.cmake ${WRKSRC}/Modules/Platform/MirBSD.cmake
.for lang in C CXX Fortran
${LN} -f ${WRKSRC}/Modules/Platform/SunOS-GNU-${lang}.cmake \
${WRKSRC}/Modules/Platform/SunOS-Clang-${lang}.cmake
.endfor
INCOMPAT_CURSES= NetBSD-[0-5].*

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.38 2015/07/26 23:10:47 wiz Exp $
@comment $NetBSD: PLIST,v 1.39 2015/10/27 09:04:38 jperkin Exp $
bin/ccmake
bin/cmake
bin/cpack
@ -1737,6 +1737,9 @@ share/cmake-${CMAKE_API}/Modules/Platform/QNX.cmake
share/cmake-${CMAKE_API}/Modules/Platform/RISCos.cmake
share/cmake-${CMAKE_API}/Modules/Platform/SCO_SV.cmake
share/cmake-${CMAKE_API}/Modules/Platform/SINIX.cmake
share/cmake-${CMAKE_API}/Modules/Platform/SunOS-Clang-C.cmake
share/cmake-${CMAKE_API}/Modules/Platform/SunOS-Clang-CXX.cmake
share/cmake-${CMAKE_API}/Modules/Platform/SunOS-Clang-Fortran.cmake
share/cmake-${CMAKE_API}/Modules/Platform/SunOS-GNU-C.cmake
share/cmake-${CMAKE_API}/Modules/Platform/SunOS-GNU-CXX.cmake
share/cmake-${CMAKE_API}/Modules/Platform/SunOS-GNU-Fortran.cmake