pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/ham/lpcnetfreedv
Module Name: pkgsrc
Committed By: gdt
Date: Mon Aug 19 17:29:29 UTC 2024
Modified Files:
pkgsrc/ham/lpcnetfreedv: Makefile
Log Message:
ham/lpcnetfreedv: USE_CMAKE exorcism
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/ham/lpcnetfreedv/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/ham/lpcnetfreedv/Makefile
diff -u pkgsrc/ham/lpcnetfreedv/Makefile:1.3 pkgsrc/ham/lpcnetfreedv/Makefile:1.4
--- pkgsrc/ham/lpcnetfreedv/Makefile:1.3 Wed Aug 2 16:17:17 2023
+++ pkgsrc/ham/lpcnetfreedv/Makefile Mon Aug 19 17:29:29 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2023/08/02 16:17:17 nia Exp $
+# $NetBSD: Makefile,v 1.4 2024/08/19 17:29:29 gdt Exp $
# https://github.com/drowe67/LPCNet/archive/v0.2.tar.gz
# http://rowetel.com/downloads/deep/lpcnet_191005_v1.0.tgz
@@ -17,23 +17,23 @@ HOMEPAGE= https://github.com/drowe67/LPC
COMMENT= LPCNet library for use by FreeDV
LICENSE= modified-bsd
+# \todo File a bug upstream about not passing --std=c99.
+# error: 'for' loop initial declarations are only allowed in C99 mode
+FORCE_C_STD= c99
+
USE_TOOLS+= tar pkg-config
WRKSRC= ${WRKDIR}/${GITHUB_PROJECT}-${PKGVERSION_NOREV}
-USE_CMAKE= yes
-CONFIGURE_DIRS= build
-CMAKE_ARG_PATH= ..
-CMAKE_ARGS+= -DDISABLE_CPU_OPTIMIZATION=TRUE
-#CMAKE_ARGS+= -DAVX2=1 -DAVX=1
-#CMAKE_ARGS+= -DNEON=1
-
-# error: 'for' loop initial declarations are only allowed in C99 mode
-FORCE_C_STD= c99
+.include "../../devel/cmake/build.mk"
+CMAKE_CONFIGURE_ARGS+= -DDISABLE_CPU_OPTIMIZATION=TRUE
+#CMAKE_CONFIGURE_ARGS+= -DAVX2=1 -DAVX=1
+#CMAKE_CONFIGURE_ARGS+= -DNEON=1
+# \todo File a bug upstream; this seems like it should not be needed.
pre-configure:
- ${MKDIR} ${WRKSRC}/build
- ${CP} ${DISTDIR}/${NNDISTFILE} ${WRKSRC}/build/
+ ${MKDIR} ${WRKSRC}/${CMAKE_BUILD_DIR}
+ ${CP} ${DISTDIR}/${NNDISTFILE} ${WRKSRC}/${CMAKE_BUILD_DIR}
.include "../../ham/codec2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index