Accepting request 829743 from LibreOffice:Factory
- Add patch to not expect which to be in /bin: * hardcoded.patch - update to 1.9: * openbsd support * Enable sanitize target for new gccs and clang * cope with Apple clang version * Add support for INCLUDEDIR * Fix Build/HOST confusion * Fix quotation in case expansion for make selection OBS-URL: https://build.opensuse.org/request/show/829743 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/netsurf-buildsystem?expand=0&rev=3
This commit is contained in:
commit
b3eb89a325
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5c092afe653d1c6c0fadb39cc47659471e4741fdd2803127be42db4264e3ac44
|
||||
size 38814
|
BIN
buildsystem-1.9.tar.gz
(Stored with Git LFS)
Normal file
BIN
buildsystem-1.9.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
13
hardcoded.patch
Normal file
13
hardcoded.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: buildsystem-1.9/makefiles/Makefile.tools
|
||||
===================================================================
|
||||
--- buildsystem-1.9.orig/makefiles/Makefile.tools
|
||||
+++ buildsystem-1.9/makefiles/Makefile.tools
|
||||
@@ -135,7 +135,7 @@ else
|
||||
endif
|
||||
|
||||
# Search the path for the compiler
|
||||
- toolpath_ := $(shell /bin/which $(CC__))
|
||||
+ toolpath_ := $(shell which $(CC__))
|
||||
ifeq ($(toolpath_),)
|
||||
toolpath_ := /opt/netsurf/$(HOST)/cross/bin/
|
||||
CC__ := $(toolpath_)$(HOST)-gcc
|
@ -1,3 +1,20 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 26 12:08:36 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Add patch to not expect which to be in /bin:
|
||||
* hardcoded.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 25 15:32:49 UTC 2020 - Dirk Mueller <dmueller@suse.com>
|
||||
|
||||
- update to 1.9:
|
||||
* openbsd support
|
||||
* Enable sanitize target for new gccs and clang
|
||||
* cope with Apple clang version
|
||||
* Add support for INCLUDEDIR
|
||||
* Fix Build/HOST confusion
|
||||
* Fix quotation in case expansion for make selection
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 23 11:26:38 UTC 2014 - tchvatal@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package netsurf-buildsystem
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -12,20 +12,19 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define src_name buildsystem
|
||||
Name: netsurf-buildsystem
|
||||
Version: 1.1
|
||||
Version: 1.9
|
||||
Release: 0
|
||||
Summary: Makefiles shared by NetSurf projects
|
||||
License: MIT
|
||||
Group: Development/Tools
|
||||
Url: http://www.netsurf-browser.org/
|
||||
URL: https://www.netsurf-browser.org/
|
||||
Source: http://download.netsurf-browser.org/libs/releases/%{src_name}-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Patch0: hardcoded.patch
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
@ -33,15 +32,16 @@ BuildArch: noarch
|
||||
|
||||
%prep
|
||||
%setup -q -n %{src_name}-%{version}
|
||||
%autopatch -p1
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot} PREFIX=%{_prefix}
|
||||
%make_install PREFIX=%{_prefix}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING README
|
||||
%license COPYING
|
||||
%doc README
|
||||
%{_datadir}/%{name}
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user