pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/mimalloc



Module Name:    pkgsrc
Committed By:   fcambus
Date:           Wed Jul 28 21:34:03 UTC 2021

Modified Files:
        pkgsrc/devel/mimalloc: Makefile PLIST

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

Pointed out by jperkin@, thanks!


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/mimalloc/Makefile \
    pkgsrc/devel/mimalloc/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/mimalloc/Makefile
diff -u pkgsrc/devel/mimalloc/Makefile:1.2 pkgsrc/devel/mimalloc/Makefile:1.3
--- pkgsrc/devel/mimalloc/Makefile:1.2  Wed Jul 28 14:23:13 2021
+++ pkgsrc/devel/mimalloc/Makefile      Wed Jul 28 21:34:03 2021
@@ -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 @@ USE_LANGUAGES=       c c++
 
 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"
Index: pkgsrc/devel/mimalloc/PLIST
diff -u pkgsrc/devel/mimalloc/PLIST:1.2 pkgsrc/devel/mimalloc/PLIST:1.3
--- pkgsrc/devel/mimalloc/PLIST:1.2     Wed Jul 28 14:23:13 2021
+++ pkgsrc/devel/mimalloc/PLIST Wed Jul 28 21:34:03 2021
@@ -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