Compare commits

...
Sign in to create a new pull request.

3 commits

Author SHA1 Message Date
Fedora Release Engineering
15925dfa22 dist-git conversion 2010-07-28 18:57:33 +00:00
Lubomir Rintel
4b4c279432 Merge from Rawhide 2010-02-21 12:57:54 +00:00
Jesse Keating
a592f46a6a Initialize branch F-13 for kBuild 2010-02-17 01:44:01 +00:00
6 changed files with 22 additions and 24 deletions

View file

@ -1 +0,0 @@
kBuild-0.1.5-p1-src.tar.gz

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
kBuild-0.1.5-p2-src.tar.gz

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: kBuild
# $Id: Makefile,v 1.1 2008/12/25 00:36:01 kevin Exp $
NAME := kBuild
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View file

@ -0,0 +1,12 @@
diff -up kBuild-0.1.5-p1/Config.kmk.pthreads kBuild-0.1.5-p1/Config.kmk
--- kBuild-0.1.5-p1/Config.kmk.pthreads 2010-02-18 08:27:24.287688965 +0100
+++ kBuild-0.1.5-p1/Config.kmk 2010-02-18 08:28:07.505493345 +0100
@@ -282,6 +282,8 @@ ifndef TEMPLATE_BIN_TOOL
endif
ifeq ($(KBUILD_TARGET),linux)
TEMPLATE_BIN_LIBS += rt
+ TEMPLATE_BIN_LIBS += pthread
+ TEMPLATE_BIN_LDFLAGS += -Wl,--as-needed
endif
TEMPLATE_BIN_CFLAGS.x86 += -m32
TEMPLATE_BIN_CFLAGS.sparc32 += -m32

View file

@ -1,4 +1,4 @@
%global patchlevel p1
%global patchlevel p2
Name: kBuild
Version: 0.1.5
@ -13,6 +13,7 @@ URL: http://svn.netlabs.org/kbuild
Source0: ftp://ftp.netlabs.org/pub/kbuild/%{name}-%{version}%{?patchlevel:-%{patchlevel}}-src.tar.gz
Patch0: kBuild-0.1.3-escape.patch
Patch1: kBuild-0.1.5-dprintf.patch
Patch2: kBuild-0.1.5-pthread.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: byacc libacl-devel flex
@ -32,6 +33,7 @@ repository.
%setup -q -n %{name}-%{version}%{?patchlevel:-%{patchlevel}}
%patch0 -p1 -b .escape
%patch1 -p1 -b .dprintf
%patch2 -p1 -b .pthreads
# Remove prebuilt stuff
rm -rf kBuild/bin/*
@ -51,6 +53,7 @@ rm -rf kBuild/bin/*
# The bootstrap would probably not be needed if we depended on ourselves,
# yet it is not guarranteed that new versions are compilable with older
# kmk versions, so with this we are on a safer side
find -name config.log -delete
kBuild/env.sh --full make -f bootstrap.gmk %{bootstrap_mflags}
kBuild/env.sh kmk %{mflags} rebuild
@ -77,6 +80,10 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Wed Feb 17 2010 Lubomir Rintel <lkundrak@v3.sk> - 0.1.5-6.p2
- Fix build
- Update to later patch level
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.5-6.p1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

View file

@ -1 +1 @@
148f821c0f9e729a1f65bc91e69f6e7a kBuild-0.1.5-p1-src.tar.gz
5e4e2193aa6cb3f095af2f99bf90d01d kBuild-0.1.5-p2-src.tar.gz