pkgsrc-Changes archive

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

CVS commit: pkgsrc/audio/libsoxr



Module Name:    pkgsrc
Committed By:   nia
Date:           Mon Mar 31 15:56:46 UTC 2025

Modified Files:
        pkgsrc/audio/libsoxr: Makefile

Log Message:
libsoxr: Fix build on Darwin/aarch64.

While here, convert to build.mk.

Problem identified by drecklypkg ci.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/audio/libsoxr/Makefile

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

Modified files:

Index: pkgsrc/audio/libsoxr/Makefile
diff -u pkgsrc/audio/libsoxr/Makefile:1.4 pkgsrc/audio/libsoxr/Makefile:1.5
--- pkgsrc/audio/libsoxr/Makefile:1.4   Sun Aug 25 06:18:24 2024
+++ pkgsrc/audio/libsoxr/Makefile       Mon Mar 31 15:56:46 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2024/08/25 06:18:24 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2025/03/31 15:56:46 nia Exp $
 
 DISTNAME=      soxr-0.1.3-Source
 PKGNAME=       lib${DISTNAME:S/-Source//}
@@ -11,12 +11,18 @@ HOMEPAGE=   https://sourceforge.net/p/soxr
 COMMENT=       SoX Resample library
 LICENSE=       gnu-lgpl-v2.1
 
-USE_CMAKE=     yes
 USE_LANGUAGES= c c++
 
 CMAKE_CONFIGURE_ARGS+= -DBUILD_TESTS=NO
 
+.include "../../mk/bsd.fast.prefs.mk"
+
+.if ${MACHINE_PLATFORM:MDarwin-*-aarch64*}
+CMAKE_CONFIGURE_ARGS+= -DWITH_CR32S=NO
+.endif
+
 PKGCONFIG_OVERRIDE+=   src/soxr.pc.in
 PKGCONFIG_OVERRIDE+=   src/soxr-lsr.pc.in
 
+.include "../../devel/cmake/build.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index