- Add patch to not expect which to be in /bin:
* hardcoded.patch OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/netsurf-buildsystem?expand=0&rev=5
This commit is contained in:
parent
1f77b021a5
commit
bcbe3a1fd0
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,9 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
@ -21,11 +21,10 @@ Name: netsurf-buildsystem
|
||||
Version: 1.9
|
||||
Release: 0
|
||||
Summary: Makefiles shared by NetSurf projects
|
||||
# FIXME: use correct group or remove it, see "https://en.opensuse.org/openSUSE:Package_group_guidelines"
|
||||
License: MIT
|
||||
Group: Development/Tools
|
||||
URL: https://www.netsurf-browser.org/
|
||||
Source: http://download.netsurf-browser.org/libs/releases/%{src_name}-%{version}.tar.gz
|
||||
Patch0: hardcoded.patch
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
@ -33,11 +32,12 @@ BuildArch: noarch
|
||||
|
||||
%prep
|
||||
%setup -q -n %{src_name}-%{version}
|
||||
%autopatch -p1
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot} PREFIX=%{_prefix}
|
||||
%make_install PREFIX=%{_prefix}
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
|
Loading…
Reference in New Issue
Block a user