pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/kbuild Import kBuild svn r. 2814 (0.1.9998-8) as...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b51898b095c7
branches: trunk
changeset: 349447:b51898b095c7
user: kamil <kamil%pkgsrc.org@localhost>
date: Fri Jul 08 09:42:53 2016 +0000
description:
Import kBuild svn r. 2814 (0.1.9998-8) as devel/kbuild ver. 0.1.9998.8.2814.25
kBuild is a makefile framework for writing simple makefiles for complex tasks.
Due to infrequent releases repackage the latest version from upstream SVN via
Fedora Source RPM package.
diffstat:
devel/kbuild/DESCR | 1 +
devel/kbuild/Makefile | 65 +++++++
devel/kbuild/PLIST | 141 ++++++++++++++++
devel/kbuild/distinfo | 16 +
devel/kbuild/patches/patch-Config.kmk | 20 ++
devel/kbuild/patches/patch-kBuild_header.kmk | 35 +++
devel/kbuild/patches/patch-src_kash_Makefile.kmk | 21 ++
devel/kbuild/patches/patch-src_kmk_Makefile.kmk | 33 +++
devel/kbuild/patches/patch-src_kmk_kmkbuiltin_install.c | 21 ++
devel/kbuild/patches/patch-src_kmk_kmkbuiltin_osdep.c | 18 ++
devel/kbuild/patches/patch-src_kmk_kmkbuiltin_rm.c | 16 +
devel/kbuild/patches/patch-src_lib_md5.c | 15 +
devel/kbuild/patches/patch-src_sed_Makefile.kmk | 22 ++
devel/kbuild/patches/patch-src_sed_lib_utils.c | 15 +
14 files changed, 439 insertions(+), 0 deletions(-)
diffs (truncated from 495 to 300 lines):
diff -r 698f5942d4d3 -r b51898b095c7 devel/kbuild/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/kbuild/DESCR Fri Jul 08 09:42:53 2016 +0000
@@ -0,0 +1,1 @@
+kBuild is a makefile framework for writing simple makefiles for complex tasks.
diff -r 698f5942d4d3 -r b51898b095c7 devel/kbuild/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/kbuild/Makefile Fri Jul 08 09:42:53 2016 +0000
@@ -0,0 +1,65 @@
+# $NetBSD: Makefile,v 1.1 2016/07/08 09:42:53 kamil Exp $
+#
+
+KBUILDNAME= kBuild
+KBUILDVERMAJ= 0.1.9998
+KBUILDVERMIN= 8
+KBUILDVERSVN= 2814
+KBUILDVERFDR= 25
+
+DISTNAME= ${KBUILDNAME}-${KBUILDVERMAJ}-${KBUILDVERMIN}.r${KBUILDVERSVN}.fc${KBUILDVERFDR}
+PKGNAME= ${KBUILDNAME:tl}-${KBUILDVERMAJ}.${KBUILDVERMIN}.${KBUILDVERSVN}.${KBUILDVERFDR}
+CATEGORIES= devel
+MASTER_SITES= http://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/source/tree/Packages/k/
+EXTRACT_SUFX= .src.rpm
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://trac.netlabs.org/kbuild/wiki/WikiStart
+COMMENT= Framework for writing simple makefiles for complex tasks
+# but also various other licenses in 3rd party code
+LICENSE= gnu-gpl-v3
+
+WRKSRC= ${WRKDIR}/${KBUILDNAME}
+
+MAKE_JOBS_SAFE= no
+
+USE_TOOLS+= pax lex gmake autoconf autoreconf automake autopoint
+
+KBUILD_VERSION_PATCH= ${KBUILDVERMAJ:E}
+
+INSTALL_ENV+= KBUILD_VERBOSE=2
+
+MAKE_ENV+= KBUILD_LIB_SEARCH_PATHS="/lib /usr/lib ${X11BASE}/lib ${PREFIX}/lib"
+
+post-extract:
+ ${RUN} cd ${WRKDIR} && ${EXTRACTOR} ${KBUILDNAME}-r${KBUILDVERSVN}.tar.gz
+ ${RUN} ${CP} ${FILESDIR}/strtofflags.c ${WRKSRC}/src/kmk/strtofflags.c
+
+pre-build:
+# Remove prebuilt files
+ ${RUN} cd ${WRKSRC} && rm -rf kBuild/bin/*
+
+do-build:
+ ${RUN} cd ${WRKSRC} && \
+ ${SETENV} ${MAKE_ENV} ./kBuild/env.sh \
+ --full ${GMAKE} -f bootstrap.gmk \
+ KBUILD_VERBOSE=2 \
+ KBUILD_VERSION_PATCH=${KBUILD_VERSION_PATCH} && \
+ ${SETENV} ${MAKE_ENV} ./kBuild/env.sh kmk \
+ NIX_INSTALL_DIR=${PREFIX} \
+ BUILD_TYPE=release \
+ MY_INST_MODE=${NONBINMODE} \
+ MY_INST_BIN_MODE=${BINMODE} \
+ rebuild
+
+do-install:
+ ${RUN} cd ${WRKSRC} && \
+ ${SETENV} ${INSTALL_ENV} ./kBuild/env.sh kmk \
+ NIX_INSTALL_DIR=${PREFIX} \
+ BUILD_TYPE=release \
+ MY_INST_MODE=${NONBINMODE} \
+ MY_INST_BIN_MODE=${BINMODE} \
+ PATH_INS=${DESTDIR} \
+ install
+
+.include "../../mk/bsd.pkg.mk"
diff -r 698f5942d4d3 -r b51898b095c7 devel/kbuild/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/kbuild/PLIST Fri Jul 08 09:42:53 2016 +0000
@@ -0,0 +1,141 @@
+@comment $NetBSD: PLIST,v 1.1 2016/07/08 09:42:53 kamil Exp $
+bin/kDepIDB
+bin/kDepObj
+bin/kDepPre
+bin/kObjCache
+bin/kmk
+bin/kmk_append
+bin/kmk_ash
+bin/kmk_cat
+bin/kmk_chmod
+bin/kmk_cmp
+bin/kmk_cp
+bin/kmk_echo
+bin/kmk_expr
+bin/kmk_gmake
+bin/kmk_install
+bin/kmk_ln
+bin/kmk_md5sum
+bin/kmk_mkdir
+bin/kmk_mv
+bin/kmk_printf
+bin/kmk_redirect
+bin/kmk_rm
+bin/kmk_rmdir
+bin/kmk_sed
+bin/kmk_sleep
+bin/kmk_test
+bin/kmk_time
+share/doc/kBuild-0.1.9998/QuickReference-kBuild.txt
+share/doc/kBuild-0.1.9998/QuickReference-kmk.html
+share/doc/kBuild-0.1.9998/QuickReference-kmk.txt
+share/kBuild/footer-inherit-uses-tools.kmk
+share/kBuild/footer-misc.kmk
+share/kBuild/footer-pass1.kmk
+share/kBuild/footer-pass2-compiling-targets.kmk
+share/kBuild/footer-pass2-fetches.kmk
+share/kBuild/footer-pass2-installs.kmk
+share/kBuild/footer-pass2-patches.kmk
+share/kBuild/footer-passes.kmk
+share/kBuild/footer.kmk
+share/kBuild/header.kmk
+share/kBuild/msgstyles/brief.kmk
+share/kBuild/msgstyles/brief2.kmk
+share/kBuild/rules.kmk
+share/kBuild/sdks/DXSDK.kmk
+share/kBuild/sdks/DXSDKAMD64.kmk
+share/kBuild/sdks/DXSDKX86.kmk
+share/kBuild/sdks/LIBSDL.kmk
+share/kBuild/sdks/MACOSX104.kmk
+share/kBuild/sdks/MACOSX104INCS.kmk
+share/kBuild/sdks/MACOSX105.kmk
+share/kBuild/sdks/MACOSX105INCS.kmk
+share/kBuild/sdks/NT4DDK.kmk
+share/kBuild/sdks/OS2DDKBASE32.kmk
+share/kBuild/sdks/ReorderCompilerIncs.kmk
+share/kBuild/sdks/W2K3DDK.kmk
+share/kBuild/sdks/W2K3DDKAMD64.kmk
+share/kBuild/sdks/W2K3DDKX86.kmk
+share/kBuild/sdks/W32API.kmk
+share/kBuild/sdks/WIN32SDK.kmk
+share/kBuild/sdks/WIN32SDK2002.kmk
+share/kBuild/sdks/WIN64SDK.kmk
+share/kBuild/sdks/WINDDK.kmk
+share/kBuild/sdks/WINDDK71.kmk
+share/kBuild/sdks/WINDDK71WLH.kmk
+share/kBuild/sdks/WINDDK71WNET.kmk
+share/kBuild/sdks/WINDDK71WXP.kmk
+share/kBuild/sdks/WINDDK80.kmk
+share/kBuild/sdks/WINDDK80W8.kmk
+share/kBuild/sdks/WINDDKW2K.kmk
+share/kBuild/sdks/WINDDKWLH.kmk
+share/kBuild/sdks/WINDDKWNET.kmk
+share/kBuild/sdks/WINDDKWXP.kmk
+share/kBuild/sdks/WINPSDK.kmk
+share/kBuild/sdks/WINPSDK71.kmk
+share/kBuild/sdks/WINPSDK71INCS.kmk
+share/kBuild/sdks/WINPSDKINCS.kmk
+share/kBuild/subfooter.kmk
+share/kBuild/subheader.kmk
+share/kBuild/templates/DUMMY.kmk
+share/kBuild/tools/ALP.kmk
+share/kBuild/tools/BISON.kmk
+share/kBuild/tools/FLEX.kmk
+share/kBuild/tools/GCC.kmk
+share/kBuild/tools/GCC3.kmk
+share/kBuild/tools/GCC32.kmk
+share/kBuild/tools/GCC3OMF.kmk
+share/kBuild/tools/GCC3PLAIN.kmk
+share/kBuild/tools/GCC42MACHO.kmk
+share/kBuild/tools/GCC4MACHO.kmk
+share/kBuild/tools/GCC64.kmk
+share/kBuild/tools/GXX.kmk
+share/kBuild/tools/GXX3.kmk
+share/kBuild/tools/GXX32.kmk
+share/kBuild/tools/GXX3OMF.kmk
+share/kBuild/tools/GXX3PLAIN.kmk
+share/kBuild/tools/GXX42MACHO.kmk
+share/kBuild/tools/GXX4MACHO.kmk
+share/kBuild/tools/GXX64.kmk
+share/kBuild/tools/JWASM.kmk
+share/kBuild/tools/LLVMGCC42MACHO.kmk
+share/kBuild/tools/LLVMGXX42MACHO.kmk
+share/kBuild/tools/MASM510.kmk
+share/kBuild/tools/MASM600.kmk
+share/kBuild/tools/MASM610.kmk
+share/kBuild/tools/MASM6PLUS.kmk
+share/kBuild/tools/MASM710.kmk
+share/kBuild/tools/MINGW32.kmk
+share/kBuild/tools/MINGWW64.kmk
+share/kBuild/tools/MSLINK510.kmk
+share/kBuild/tools/NASM.kmk
+share/kBuild/tools/OPENWATCOM-16.kmk
+share/kBuild/tools/OPENWATCOM-WL.kmk
+share/kBuild/tools/OPENWATCOM.kmk
+share/kBuild/tools/StandardDTrace.kmk
+share/kBuild/tools/TAR.kmk
+share/kBuild/tools/TARBZ2.kmk
+share/kBuild/tools/TARGZ.kmk
+share/kBuild/tools/VAC308.kmk
+share/kBuild/tools/VCC100.kmk
+share/kBuild/tools/VCC100AMD64.kmk
+share/kBuild/tools/VCC100X86.kmk
+share/kBuild/tools/VCC70.kmk
+share/kBuild/tools/VCC80.kmk
+share/kBuild/tools/VCC80AMD64.kmk
+share/kBuild/tools/VCC80X86.kmk
+share/kBuild/tools/WATCOMC11C-16.kmk
+share/kBuild/tools/WATCOMC11C-WL.kmk
+share/kBuild/tools/WATCOMC11C.kmk
+share/kBuild/tools/WGET.kmk
+share/kBuild/tools/XGCCAMD64LINUX.kmk
+share/kBuild/tools/YACC.kmk
+share/kBuild/tools/YASM.kmk
+share/kBuild/tools/ZIP.kmk
+share/kBuild/units/dtrace.kmk
+share/kBuild/units/lex.kmk
+share/kBuild/units/qt3.kmk
+share/kBuild/units/qt4.kmk
+share/kBuild/units/qt5.kmk
+share/kBuild/units/yacc.kmk
+share/kBuild/up.kmk
diff -r 698f5942d4d3 -r b51898b095c7 devel/kbuild/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/kbuild/distinfo Fri Jul 08 09:42:53 2016 +0000
@@ -0,0 +1,16 @@
+$NetBSD: distinfo,v 1.1 2016/07/08 09:42:53 kamil Exp $
+
+SHA1 (kBuild-0.1.9998-8.r2814.fc25.src.rpm) = e30482f4475673cf8824ac787f469b60aedf1263
+RMD160 (kBuild-0.1.9998-8.r2814.fc25.src.rpm) = 84b3cd3e4ee904c3ba5b2a95cd98aa3e4311902d
+SHA512 (kBuild-0.1.9998-8.r2814.fc25.src.rpm) = 103a6d35385348fdb63d5acc4662c6d6ef3a7cca42bfb6bb087445fdcc121e6bbbaca507b3313d83296c293116ebc478b1bce017023c4f438305e816ec443a6c
+Size (kBuild-0.1.9998-8.r2814.fc25.src.rpm) = 16094144 bytes
+SHA1 (patch-Config.kmk) = 87ef3f8419c39728b2a6eee51bb7d03dfdf7e8e9
+SHA1 (patch-kBuild_header.kmk) = 412b1bf3730c19072be494a9970acbda6c7e5d4f
+SHA1 (patch-src_kash_Makefile.kmk) = b2f1b4f47b5c1b51ebfa35f9e5efc75ec95ff642
+SHA1 (patch-src_kmk_Makefile.kmk) = 52730e797fa169775050b62ad4fdfa1562f8340b
+SHA1 (patch-src_kmk_kmkbuiltin_install.c) = 6a31de5ae58b7f92a8a3c13d8e6b89322d4c3c86
+SHA1 (patch-src_kmk_kmkbuiltin_osdep.c) = 1e450735063dd5bc1d9e4f8370c90720040d22d5
+SHA1 (patch-src_kmk_kmkbuiltin_rm.c) = 16196926da997aa5aeba5d2bd73407f334cd44a4
+SHA1 (patch-src_lib_md5.c) = f14e8fdd4d51e25fda8a876c09f31d11f32ffa6f
+SHA1 (patch-src_sed_Makefile.kmk) = eaebdbb2ce06d09f77b350bdaceb6161d9357575
+SHA1 (patch-src_sed_lib_utils.c) = 98df0a267680a4eb45fb93e4d699a234f5d8ec25
diff -r 698f5942d4d3 -r b51898b095c7 devel/kbuild/patches/patch-Config.kmk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/kbuild/patches/patch-Config.kmk Fri Jul 08 09:42:53 2016 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-Config.kmk,v 1.1 2016/07/08 09:42:54 kamil Exp $
+
+Add NetBSD support.
+
+--- Config.kmk.orig 2016-04-29 00:52:38.000000000 +0000
++++ Config.kmk
+@@ -361,7 +361,7 @@ endif
+ TEMPLATE_BIN-THREADED = Threaded command line binary
+ TEMPLATE_BIN-THREADED_EXTENDS = BIN
+ TEMPLATE_BIN-THREADED_EXTENDS_BY = appending
+-if1of ($(KBUILD_TARGET), dragonfly freebsd linux openbsd)
++if1of ($(KBUILD_TARGET), dragonfly freebsd linux openbsd netbsd)
+ TEMPLATE_BIN-THREADED_LIBS = pthread
+ endif
+
+@@ -377,4 +377,3 @@ TEMPLATE_LIB_TOOL = $(TEMPLATE_BIN_TO
+
+ LIB_KDEP = $(PATH_OBJ)/kDep/$(TOOL_$(TEMPLATE_LIB_TOOL)_ARLIBPREF)kDep$(TOOL_$(TEMPLATE_LIB_TOOL)_ARLIBSUFF)
+ LIB_KUTIL = $(PATH_OBJ)/kUtil/$(TOOL_$(TEMPLATE_LIB_TOOL)_ARLIBPREF)kUtil$(TOOL_$(TEMPLATE_LIB_TOOL)_ARLIBSUFF)
+-
diff -r 698f5942d4d3 -r b51898b095c7 devel/kbuild/patches/patch-kBuild_header.kmk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/kbuild/patches/patch-kBuild_header.kmk Fri Jul 08 09:42:53 2016 +0000
@@ -0,0 +1,35 @@
+$NetBSD: patch-kBuild_header.kmk,v 1.1 2016/07/08 09:42:54 kamil Exp $
+
+Add NetBSD support.
+
+--- kBuild/header.kmk.orig 2016-04-29 00:52:38.000000000 +0000
++++ kBuild/header.kmk
+@@ -610,10 +610,11 @@ SUFF_OBJ := .o
+ SUFF_LIB := .a
+ SUFF_DLL := .so
+ SUFF_EXE :=
+- if1of ($(KBUILD_TARGET), dragonfly freebsd linux netbsd openbsd) ## @todo check netbsd and openbsd.
++ if1of ($(KBUILD_TARGET), dragonfly freebsd linux)
+ SUFF_SYS := .ko
++else ifeq ($(KBUILD_TARGET),netbsd)
+ else
+-SUFF_SYS :=
++SUFF_SYS := .kmod
+ endif
+ SUFF_RES :=
+ endif
+@@ -1337,8 +1338,7 @@ else
+ KBUILD_LIB_SEARCH_SUBS :=
+ KBUILD_LIB_SEARCH_ROOTS :=
+ endif
+-KBUILD_LIB_SEARCH_PATHS := $(foreach root, $(KBUILD_LIB_SEARCH_ROOTS), $(addprefix $(root),$(KBUILD_LIB_SEARCH_SUBS)))
+-
++KBUILD_LIB_SEARCH_PATHS ?= $(foreach root, $(KBUILD_LIB_SEARCH_ROOTS), $(addprefix $(root),$(KBUILD_LIB_SEARCH_SUBS)))
+
+ #
+ # This is how we find the closest config.kmk.
+@@ -1617,4 +1617,3 @@ endif
+ # end-of-file-content
+ __header_kmk__ := 1
Home |
Main Index |
Thread Index |
Old Index