Gentoo Archives: gentoo-commits

From: "Andrey Grozin (grozin)" <grozin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-libs/matio/files: matio-1.3.4-autotools.patch
Date: Thu, 05 Apr 2012 20:26:42
Message-Id: 20120405202626.CB00B2004C@flycatcher.gentoo.org
1 grozin 12/04/05 20:26:26
2
3 Added: matio-1.3.4-autotools.patch
4 Log:
5 Import from science overlay
6
7 (Portage version: 2.2.0_alpha99/cvs/Linux i686)
8
9 Revision Changes Path
10 1.1 sci-libs/matio/files/matio-1.3.4-autotools.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/matio/files/matio-1.3.4-autotools.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/matio/files/matio-1.3.4-autotools.patch?rev=1.1&content-type=text/plain
14
15 Index: matio-1.3.4-autotools.patch
16 ===================================================================
17 --- configure.ac.orig 2010-08-10 20:36:52.000000000 +0100
18 +++ configure.ac 2010-08-10 20:39:03.000000000 +0100
19 @@ -5,7 +5,7 @@
20 AC_INIT([MATIO],[1.3.4],[cch@×××××××.com],[])
21 AC_CONFIG_SRCDIR([src/matio.h])
22 AC_CONFIG_AUX_DIR(config)
23 -AC_CONFIG_MACRO_DIR([m4])
24 +
25 dnl AM_INIT_AUTOMAKE([-no-undefined])
26 AM_INIT_AUTOMAKE
27 AM_MAINTAINER_MODE
28 --- src/Makefile.am.orig 2010-08-10 20:31:41.000000000 +0100
29 +++ src/Makefile.am 2010-08-10 20:34:44.000000000 +0100
30 @@ -17,6 +17,7 @@
31 lib_LTLIBRARIES = libmatio.la
32 libmatio_la_SOURCES = snprintf.c endian.c io.c $(ZLIB_SRC) read_data.c \
33 mat5.c mat4.c mat.c
34 +libmatio_la_LIBADD = $(ZLIB_LIBS)
35
36 if ENABLE_FORTRAN
37 AM_FCFLAGS = -I. -I$(top_builddir)/src/fortran
38 @@ -25,6 +26,7 @@
39 noinst_HEADERS += fortran/create.f90 fortran/read_data.f90 \
40 fortran/write_data.f90 fortran/write.f90
41 libmatio_la_SOURCES += fortran/matio_internal.c fortran/matio.f90
42 +$(top_builddir)/src/matio.mod: libmatio.la
43 endif
44
45 dosubst = sed -e 's,[@]PACKAGE[@],$(PACKAGE),g' \