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/ldl/files: ldl-2.0.1-autotools.patch
Date: Tue, 05 Feb 2008 18:39:10
Message-Id: E1JMShH-0007nd-F0@stork.gentoo.org
1 bicatali 08/02/05 18:39:07
2
3 Added: ldl-2.0.1-autotools.patch
4 Log:
5 Initial import, part of the suitesparse
6 (Portage version: 2.1.4)
7
8 Revision Changes Path
9 1.1 sci-libs/ldl/files/ldl-2.0.1-autotools.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/ldl/files/ldl-2.0.1-autotools.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/ldl/files/ldl-2.0.1-autotools.patch?rev=1.1&content-type=text/plain
13
14 Index: ldl-2.0.1-autotools.patch
15 ===================================================================
16 --- configure.ac 1970-01-01 01:00:00.000000000 +0100
17 +++ configure.ac 2008-01-30 12:45:53.174426797 +0000
18 @@ -0,0 +1,10 @@
19 +# -*- Autoconf -*-
20 +AC_PREREQ(2.59)
21 +AC_INIT(ldl, 2.0.1, 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([Makefile Source/Makefile Demo/Makefile])
28 +AC_OUTPUT
29 --- Makefile.am 1970-01-01 01:00:00.000000000 +0100
30 +++ Makefile.am 2008-01-30 15:49:41.835515468 +0000
31 @@ -0,0 +1,4 @@
32 +SUBDIRS = Source Demo
33 +EXTRA_DIST = README.txt
34 +include_HEADERS = Include/ldl.h
35 +
36 --- Source/Makefile.am 1970-01-01 01:00:00.000000000 +0100
37 +++ Source/Makefile.am 2008-01-30 12:49:25.858546974 +0000
38 @@ -0,0 +1,10 @@
39 +AM_CPPFLAGS = -I$(top_srcdir)/Include
40 +
41 +lib_LTLIBRARIES = libldl.la
42 +noinst_LTLIBRARIES = libldli.la libldll.la
43 +libldli_la_SOURCES = $(LDLSRC)
44 +libldli_la_CPPFLAGS = $(AM_CPPFLAGS)
45 +libldll_la_SOURCES = $(LDLSRC)
46 +libldll_la_CPPFLAGS = $(AM_CPPFLAGS) -DLDL_LONG
47 +libldl_la_SOURCES =
48 +libldl_la_LIBADD = libldll.la libldli.la
49 --- Demo/Makefile.am 1970-01-01 01:00:00.000000000 +0100
50 +++ Demo/Makefile.am 2008-01-30 15:43:45.603214946 +0000
51 @@ -0,0 +1,27 @@
52 +LDADD = $(top_builddir)/Source/libldl.la -lm
53 +AM_CPPFLAGS = -I$(top_srcdir)/Include
54 +check_PROGRAMS = ldlsimple ldllsimple ldlmain ldllmain ldlamd ldllamd
55 +
56 +ldlmain_SOURCES = ldlmain.c
57 +ldllmain_SOURCES = ldlmain.c
58 +ldllmain_CPPFLAGS = $(AM_CPPFLAGS) -DLDL_LONG
59 +
60 +ldlsimple_SOURCES = ldlsimple.c
61 +ldllsimple_SOURCES = ldlsimple.c
62 +ldllsimple_CPPFLAGS = $(AM_CPPFLAGS) -DLDL_LONG
63 +
64 +ldlamd_SOURCES = ldlamd.c
65 +ldllamd_CPPFLAGS = $(AM_CPPFLAGS) -DUSE_AMD
66 +ldllamd_SOURCES = ldlamd.c
67 +ldllamd_CPPFLAGS = $(AM_CPPFLAGS) -DUSE_AMD -DLDL_LONG
68 +ldllamd_LDADD = $(LDADD) -lamd
69 +
70 +check-local: $(check_PROGRAMS)
71 + @for i in $(check_PROGRAMS); do \
72 + echo "Testing $$i"; \
73 + ./$$i > my_$$i.out; \
74 + if ! diff $$i.out my_$$i.out; then \
75 + echo "Testing $$i failed"; \
76 + exit 1; \
77 + fi \
78 + done;
79
80
81
82 --
83 gentoo-commits@l.g.o mailing list