[packages/tla] add libtool tag to make it build
glen
glen at pld-linux.org
Sun Sep 6 13:10:34 CEST 2015
commit 7a694066d83324ce0136383952fda503fc5ec3de
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Sep 6 14:10:07 2015 +0300
add libtool tag to make it build
libtool-tag.patch | 11 +++++++++++
tla.spec | 2 ++
2 files changed, 13 insertions(+)
---
diff --git a/tla.spec b/tla.spec
index 7cc3f22..462e0e9 100644
--- a/tla.spec
+++ b/tla.spec
@@ -9,6 +9,7 @@ Group: Development/Version Control
Source0: http://ftp.gnu.org/gnu/gnu-arch/%{name}-%{version}.tar.gz
# Source0-md5: db31ee89bc4788eef1eba1cee6c176ef
Patch0: %{name}-neon.patch
+Patch1: libtool-tag.patch
URL: http://www.gnu.org/software/gnu-arch/
BuildRequires: libtool
BuildRequires: neon-devel
@@ -40,6 +41,7 @@ arch w wersji tla to wersja w C wzorcowych idei arch.
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
rm -rf src/libneon src/expat
diff --git a/libtool-tag.patch b/libtool-tag.patch
new file mode 100644
index 0000000..170ab5e
--- /dev/null
+++ b/libtool-tag.patch
@@ -0,0 +1,11 @@
+--- tla-1.3.5/src/tla/tla/Makefile.in~ 2015-09-06 12:57:55.000000000 +0300
++++ tla-1.3.5/src/tla/tla/Makefile.in 2015-09-06 14:05:46.958413933 +0300
+@@ -21,7 +21,7 @@
+ endif
+
+ $(programs):%$(cfg__exec_suffix):%.o $(thelib) $(filter-out -L%, $(filter-out -l%, $(libs)))
+- libtool --mode=link $(CC) $(CFLAGS) -o $@ $< $(thelib) $(libs)
++ libtool --mode=link --tag=CC $(CC) $(CFLAGS) -o $@ $< $(thelib) $(libs)
+
+ clean: clean-prog
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/tla.git/commitdiff/7207e53431ef085219716fb67597679e01f05d1c
More information about the pld-cvs-commit
mailing list