pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/mimalloc mimalloc: install *.cmake files in ${PR...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/366dce72f327
branches:  trunk
changeset: 456425:366dce72f327
user:      fcambus <fcambus%pkgsrc.org@localhost>
date:      Wed Jul 28 21:34:03 2021 +0000

description:
mimalloc: install *.cmake files in ${PREFIX}/lib/cmake/mimalloc.

Pointed out by jperkin@, thanks!

diffstat:

 devel/mimalloc/Makefile |   9 ++++++---
 devel/mimalloc/PLIST    |  11 +++++------
 2 files changed, 11 insertions(+), 9 deletions(-)

diffs (46 lines):

diff -r 10ddc42980a1 -r 366dce72f327 devel/mimalloc/Makefile
--- a/devel/mimalloc/Makefile   Wed Jul 28 17:48:46 2021 +0000
+++ b/devel/mimalloc/Makefile   Wed Jul 28 21:34:03 2021 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2021/07/28 14:23:13 fcambus Exp $
+# $NetBSD: Makefile,v 1.3 2021/07/28 21:34:03 fcambus Exp $
 
 DISTNAME=      mimalloc-2.0.2
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=microsoft/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -16,7 +16,10 @@
 
 CMAKE_ARGS+=   -DMI_INSTALL_TOPLEVEL=ON
 
+INSTALLATION_DIRS+=    lib/cmake/mimalloc
+
 post-install:
-       ${RM} -f ${DESTDIR}${PREFIX}/lib/mimalloc-2.0/mimalloc.o
+       ${RM} -f ${DESTDIR}${PREFIX}/lib/mimalloc.o
+       ${MV} ${DESTDIR}${PREFIX}/cmake/*.cmake ${DESTDIR}${PREFIX}/lib/cmake/mimalloc
 
 .include "../../mk/bsd.pkg.mk"
diff -r 10ddc42980a1 -r 366dce72f327 devel/mimalloc/PLIST
--- a/devel/mimalloc/PLIST      Wed Jul 28 17:48:46 2021 +0000
+++ b/devel/mimalloc/PLIST      Wed Jul 28 21:34:03 2021 +0000
@@ -1,12 +1,11 @@
-@comment $NetBSD: PLIST,v 1.2 2021/07/28 14:23:13 fcambus Exp $
-cmake/mimalloc-config-version.cmake
-cmake/mimalloc-config.cmake
-cmake/mimalloc-release.cmake
-cmake/mimalloc.cmake
+@comment $NetBSD: PLIST,v 1.3 2021/07/28 21:34:03 fcambus Exp $
 include/mimalloc-new-delete.h
 include/mimalloc-override.h
 include/mimalloc.h
+lib/cmake/mimalloc/mimalloc-config-version.cmake
+lib/cmake/mimalloc/mimalloc-config.cmake
+lib/cmake/mimalloc/mimalloc-release.cmake
+lib/cmake/mimalloc/mimalloc.cmake
 lib/libmimalloc.a
 lib/libmimalloc.so
 lib/libmimalloc.so.2.0
-lib/mimalloc.o



Home | Main Index | Thread Index | Old Index