forked from pool/lhasa
Automake-1.13 fixes
OBS-URL: https://build.opensuse.org/package/show/Archiving/lhasa?expand=0&rev=8
This commit is contained in:
parent
0709441762
commit
245741a280
36
0001-build-support-for-automake-1.13.patch
Normal file
36
0001-build-support-for-automake-1.13.patch
Normal file
@ -0,0 +1,36 @@
|
||||
From b639f8e30ff6d7190766c66129559fe3348ac58c Mon Sep 17 00:00:00 2001
|
||||
From: Jan Engelhardt <jengelh@inai.de>
|
||||
Date: Fri, 1 Mar 2013 00:05:37 +0100
|
||||
Subject: [PATCH] build: support for automake-1.13
|
||||
|
||||
AM_CONFIG_HEADER is long obsolete; replace by the more timely
|
||||
AC_CONFIG_HEADERS. Also nuke that ancient AM_INIT_AUTOMAKE syntax.
|
||||
---
|
||||
configure.ac | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 30ae86b..eaf920e 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -1,7 +1,7 @@
|
||||
AC_INIT(Lhasa, 0.0.7, fraggle@gmail.com, lhasa)
|
||||
AC_CONFIG_AUX_DIR(autotools)
|
||||
|
||||
-AM_INIT_AUTOMAKE($PACKAGE_TARNAME, $PACKAGE_VERSION, no-define)
|
||||
+AM_INIT_AUTOMAKE([no-define])
|
||||
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
|
||||
AM_PROG_CC_C_O
|
||||
|
||||
@@ -71,7 +71,7 @@ AC_SUBST(MAIN_CFLAGS)
|
||||
AC_SUBST(TEST_CFLAGS)
|
||||
AC_SUBST(ac_aux_dir)
|
||||
|
||||
-AM_CONFIG_HEADER(config.h:config.hin)
|
||||
+AC_CONFIG_HEADERS([config.h:config.hin])
|
||||
|
||||
AC_OUTPUT([
|
||||
liblhasa.pc
|
||||
--
|
||||
1.7.10.4
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 7 13:13:00 UTC 2013 - jengelh@inai.de
|
||||
|
||||
- Add 0001-build-support-for-automake-1.13.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 28 23:10:57 UTC 2013 - jengelh@inai.de
|
||||
|
||||
|
@ -24,12 +24,16 @@ Summary: Program to unpack LHARC archives
|
||||
License: ISC
|
||||
Group: Productivity/Archiving/Compression
|
||||
Url: http://fragglet.github.com/lhasa/
|
||||
#Freecode-URL: http://freecode.com/projects/lhasa
|
||||
|
||||
#Freecode-URL: http://freecode.com/projects/lhasa
|
||||
#Git-Clone: git://github.com/fragglet/lhasa
|
||||
#DL-URL: https://github.com/downloads/fragglet/lhasa/lhasa-0.0.7.tar.gz
|
||||
Source: %name-%version.tar.xz
|
||||
Patch1: 0001-build-support-for-automake-1.13.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: xz
|
||||
|
||||
@ -59,8 +63,10 @@ in %lname.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch -P 1 -p1
|
||||
|
||||
%build
|
||||
autoreconf -fi
|
||||
%configure --disable-static
|
||||
make %{?_smp_mflags};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user