pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/wasi-compiler-rt



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Jan 24 23:42:49 UTC 2023

Modified Files:
        pkgsrc/lang/wasi-compiler-rt: Makefile

Log Message:
wasi-cpmpiler-rt: revert conversion

weird breakage, to be investigated


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/lang/wasi-compiler-rt/Makefile

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

Modified files:

Index: pkgsrc/lang/wasi-compiler-rt/Makefile
diff -u pkgsrc/lang/wasi-compiler-rt/Makefile:1.18 pkgsrc/lang/wasi-compiler-rt/Makefile:1.19
--- pkgsrc/lang/wasi-compiler-rt/Makefile:1.18  Tue Jan 24 18:36:29 2023
+++ pkgsrc/lang/wasi-compiler-rt/Makefile       Tue Jan 24 23:42:49 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2023/01/24 18:36:29 wiz Exp $
+# $NetBSD: Makefile,v 1.19 2023/01/24 23:42:49 wiz Exp $
 
 .include "../../lang/llvm/version.mk"
 
@@ -16,12 +16,14 @@ DISTINFO_FILE=      ${.CURDIR}/../../lang/com
 
 NOT_FOR_PLATFORM=      NetBSD-[0-7].*-*
 
+USE_CMAKE=     yes
 USE_LANGUAGES= c99 c++11
 USE_TOOLS+=    ggrep
 
 SSP_SUPPORTED=         no
 PKGSRC_USE_STACK_CHECK=        no
 
+CONFIGURE_DIRS=        build
 CMAKE_ARG_PATH=        ${WRKSRC}/lib/builtins
 
 BUILDLINK_TRANSFORM+=  rm:-I/usr/include
@@ -55,6 +57,9 @@ CMAKE_INSTALL_PREFIX= ${PREFIX}/lib/clan
 GENERATE_PLIST+=       find ${DESTDIR}${PREFIX} \( -type f -o -type l \) -print | \
                        sed 's,${DESTDIR}${PREFIX}/,,' | ${SORT} ;
 
+post-extract:
+       ${MKDIR} ${WRKSRC}/build
+
 .include "../../mk/bsd.prefs.mk"
 
 # Run llvm-ranlib again on the archive. Fixes mystery build failure
@@ -71,7 +76,6 @@ CFLAGS=                       -O2
 CXXFLAGS=              -O2
 PKGSRC_COMPILER=       clang
 CLANGBASE=             ${PREFIX}
-.include "../../devel/cmake/build.mk"
 BUILDLINK_DEPMETHOD.clang=     build
 .include "../../lang/clang/buildlink3.mk"
 .include "../../lang/llvm/buildlink3.mk"



Home | Main Index | Thread Index | Old Index