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/camd/files: camd-2.2.0-autotools.patch
Date: Tue, 05 Feb 2008 18:06:46
Message-Id: E1JMSBo-00065F-AZ@stork.gentoo.org
1 bicatali 08/02/05 18:06:36
2
3 Added: camd-2.2.0-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/camd/files/camd-2.2.0-autotools.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/camd/files/camd-2.2.0-autotools.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/camd/files/camd-2.2.0-autotools.patch?rev=1.1&content-type=text/plain
13
14 Index: camd-2.2.0-autotools.patch
15 ===================================================================
16 --- configure.ac 1970-01-01 01:00:00.000000000 +0100
17 +++ configure.ac 2008-01-31 15:35:15.579030692 +0000
18 @@ -0,0 +1,12 @@
19 +# -*- Autoconf -*-
20 +AC_PREREQ(2.59)
21 +AC_INIT(camd, 2.2.0, davis@××××××××.edu)
22 +AM_INIT_AUTOMAKE([foreign])
23 +AC_PROG_INSTALL
24 +AC_PROG_LIBTOOL
25 +AC_CHECK_LIB(m, sqrt)
26 +AC_CHECK_HEADERS(UFconfig.h)
27 +AC_CONFIG_FILES([Source/Makefile
28 + Demo/Makefile
29 + Makefile])
30 +AC_OUTPUT
31 --- ./Demo/Makefile.am 1970-01-01 01:00:00.000000000 +0100
32 +++ ./Demo/Makefile.am 2008-01-31 15:36:57.492838429 +0000
33 @@ -0,0 +1,26 @@
34 +AM_CPPFLAGS = -I$(top_srcdir)/Include
35 +check_PROGRAMS = \
36 + camd_demo \
37 + camd_l_demo \
38 + camd_demo2 \
39 + camd_simple
40 +
41 +LDADD = $(top_builddir)/Source/libcamd.la -lm
42 +
43 +camd_demo_SOURCES = camd_demo.c
44 +camd_l_demo_SOURCES = camd_l_demo.c
45 +camd_demo2_SOURCES = camd_demo2.c
46 +camd_simple_SOURCES = camd_simple.c
47 +
48 +check-local: $(check_PROGRAMS)
49 + @for i in $(check_PROGRAMS); do \
50 + echo "Testing $$i"; \
51 + ./$$i > my_$$i.out; \
52 + if ! diff $$i.out my_$$i.out; then \
53 + echo "Test $$i failed!"; \
54 + exit 1; \
55 + fi \
56 + done;
57 +
58 +clean-local:
59 + rm -f my*.out
60 --- ./Source/Makefile.am 1970-01-01 01:00:00.000000000 +0100
61 +++ ./Source/Makefile.am 2008-01-31 15:37:17.205961816 +0000
62 @@ -0,0 +1,17 @@
63 +CAMDCSRC = \
64 + camd_aat.c camd_1.c camd_2.c camd_dump.c camd_postorder.c \
65 + camd_defaults.c camd_order.c camd_control.c camd_info.c \
66 + camd_valid.c camd_preprocess.c
67 +
68 +lib_LTLIBRARIES = libcamd.la
69 +noinst_LTLIBRARIES = libcamdi.la libcamdl.la
70 +AM_CPPFLAGS = -I$(top_srcdir)/Include
71 +
72 +libcamdi_la_SOURCES = $(CAMDCSRC)
73 +libcamdi_la_CPPFLAGS = $(AM_CPPFLAGS) -DDINT
74 +libcamdl_la_SOURCES = $(CAMDCSRC)
75 +libcamdl_la_CPPFLAGS = $(AM_CPPFLAGS) -DDLONG
76 +
77 +libcamd_la_SOURCES = camd_global.c
78 +libcamd_la_LIBADD = libcamdl.la libcamdi.la -lm
79 +
80 --- ./Makefile.am 1970-01-01 01:00:00.000000000 +0100
81 +++ ./Makefile.am 2008-01-31 15:34:59.202097424 +0000
82 @@ -0,0 +1,3 @@
83 +SUBDIRS = Demo Source
84 +EXTRA_DIST = README.txt
85 +include_HEADERS = Include/camd.h Include/camd_internal.h
86
87
88
89 --
90 gentoo-commits@l.g.o mailing list