pkgsrc-Changes archive

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

CVS commit: pkgsrc/misc/sd-mux-ctrl



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Aug 19 14:12:41 UTC 2025

Modified Files:
        pkgsrc/misc/sd-mux-ctrl: Makefile

Log Message:
sd-mux-ctrl: fix build with cmake 4

Convert to cmake/build.mk


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/misc/sd-mux-ctrl/Makefile

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

Modified files:

Index: pkgsrc/misc/sd-mux-ctrl/Makefile
diff -u pkgsrc/misc/sd-mux-ctrl/Makefile:1.2 pkgsrc/misc/sd-mux-ctrl/Makefile:1.3
--- pkgsrc/misc/sd-mux-ctrl/Makefile:1.2        Tue Aug 18 05:29:46 2020
+++ pkgsrc/misc/sd-mux-ctrl/Makefile    Tue Aug 19 14:12:41 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2020/08/18 05:29:46 tnn Exp $
+# $NetBSD: Makefile,v 1.3 2025/08/19 14:12:41 wiz Exp $
 
 DISTNAME=      sd-mux-9dd189d973da64e033a0c5c2adb3d94b23153d94
 PKGNAME=       sd-mux-ctrl-0.0.20200217
@@ -11,16 +11,17 @@ HOMEPAGE=   https://wiki.tizen.org/SD_MUX
 COMMENT=       Control software for sd-mux devices
 LICENSE=       apache-2.0
 
-USE_CMAKE=     yes
 USE_LANGUAGES= c c++
 USE_TOOLS+=    pkg-config
 
-INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
+CMAKE_CONFIGURE_ARGS+= -DCMAKE_POLICY_VERSION_MINIMUM=3.5
+INSTALLATION_DIRS=     ${PKGMANDIR}/man1
 
 post-install:
        ${INSTALL_DATA} ${WRKSRC}/doc/man/sd-mux-ctrl.1 \
                ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
 
+.include "../../devel/cmake/build.mk"
 .include "../../devel/libftdi1/buildlink3.mk"
 BUILDLINK_API_DEPENDS.libftdi1+=       libftdi1>=1.4
 .include "../../devel/popt/buildlink3.mk"



Home | Main Index | Thread Index | Old Index