Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-libs/colamd/files: colamd-2.7.1-autotools.patch
Date: Tue, 05 Feb 2008 18:02:47
Message-Id: E1JMS7v-0005ox-Am@stork.gentoo.org
1 bicatali 08/02/05 18:02:35
2
3 Added: colamd-2.7.1-autotools.patch
4 Log:
5 Initial import. Thanks to Justin Bronder for his work, see bug #173900
6 (Portage version: 2.1.4)
7
8 Revision Changes Path
9 1.1 sci-libs/colamd/files/colamd-2.7.1-autotools.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/colamd/files/colamd-2.7.1-autotools.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/colamd/files/colamd-2.7.1-autotools.patch?rev=1.1&content-type=text/plain
13
14 Index: colamd-2.7.1-autotools.patch
15 ===================================================================
16 --- Makefile.am 1970-01-01 01:00:00.000000000 +0100
17 +++ Makefile.am 2008-01-29 19:06:31.000000000 +0000
18 @@ -0,0 +1,3 @@
19 +SUBDIRS = Source Demo
20 +include_HEADERS = $(top_srcdir)/Include/colamd.h
21 +EXTRA_DIST = README.txt
22 --- configure.ac 1970-01-01 01:00:00.000000000 +0100
23 +++ configure.ac 2008-01-29 19:06:31.000000000 +0000
24 @@ -0,0 +1,12 @@
25 +# -*- Autoconf -*-
26 +AC_PREREQ(2.59)
27 +AC_INIT(colamd, 2.7.1, davis@××××××××.edu)
28 +AM_INIT_AUTOMAKE([foreign])
29 +AC_PROG_INSTALL
30 +AC_PROG_LIBTOOL
31 +AC_CHECK_LIB(m, sqrt)
32 +AC_CHECK_HEADER( UFconfig.h )
33 +AC_OUTPUT(
34 + Makefile \
35 + Demo/Makefile \
36 + Source/Makefile)
37 --- Source/Makefile.am 1970-01-01 01:00:00.000000000 +0100
38 +++ Source/Makefile.am 2008-01-29 19:06:31.000000000 +0000
39 @@ -0,0 +1,11 @@
40 +AM_CFLAGS = -I$(top_builddir)/Include
41 +lib_LTLIBRARIES = libcolamd.la
42 +noinst_LTLIBRARIES = libcolamdi.la libcolamdl.la
43 +
44 +libcolamdl_la_SOURCES = colamd.c
45 +libcolamdl_la_CPPFLAGS = -DDLONG
46 +
47 +libcolamdi_la_SOURCES = colamd.c
48 +
49 +libcolamd_la_SOURCES = colamd_global.c
50 +libcolamd_la_LIBADD = libcolamdi.la libcolamdl.la
51 --- Demo/Makefile.am 1970-01-01 01:00:00.000000000 +0100
52 +++ Demo/Makefile.am 2008-01-29 19:06:31.000000000 +0000
53 @@ -0,0 +1,20 @@
54 +LDADD = $(top_builddir)/Source/libcolamd.la
55 +AM_CPPFLAGS = -I$(top_srcdir)/Include
56 +
57 +check_PROGRAMS = colamd_example colamd_l_example
58 +colamd_example_SOURCES = colamd_example.c
59 +colamd_l_example_SOURCES = colamd_l_example.c
60 +colamd_l_example_CPPFLAGS = $(AM_CPPFLAGS) -DDLONG
61 +
62 +check-local: $(check_PROGRAMS)
63 + @for i in $(check_PROGRAMS); do \
64 + echo "Testing $$i"; \
65 + ./$$i > my_$$i.out; \
66 + if ! diff $$i.out my_$$i.out; then \
67 + echo "Testing $$i failed"; \
68 + exit 1; \
69 + fi \
70 + done;
71 +
72 +clean-local:
73 + rm -f my*.out
74
75
76
77 --
78 gentoo-commits@l.g.o mailing list