* [gentoo-commits] gentoo-x86 commit in sci-libs/ldl/files: ldl-2.0.3-autotools.patch
@ 2011-03-22 18:10 Sebastien Fabbro (bicatali)
0 siblings, 0 replies; only message in thread
From: Sebastien Fabbro (bicatali) @ 2011-03-22 18:10 UTC (permalink / raw
To: gentoo-commits
bicatali 11/03/22 18:10:41
Added: ldl-2.0.3-autotools.patch
Log:
Now install a working library, bug #359975
(Portage version: 2.1.9.43/cvs/Linux x86_64)
Revision Changes Path
1.1 sci-libs/ldl/files/ldl-2.0.3-autotools.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/ldl/files/ldl-2.0.3-autotools.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/ldl/files/ldl-2.0.3-autotools.patch?rev=1.1&content-type=text/plain
Index: ldl-2.0.3-autotools.patch
===================================================================
--- configure.ac 1970-01-01 01:00:00.000000000 +0100
+++ configure.ac 2008-01-30 12:45:53.174426797 +0000
@@ -0,0 +1,10 @@
+# -*- Autoconf -*-
+AC_PREREQ(2.59)
+AC_INIT(ldl, 2.0.3, davis@cise.ufl.edu)
+AM_INIT_AUTOMAKE([foreign])
+AC_PROG_INSTALL
+AC_PROG_LIBTOOL
+AC_CHECK_LIB(m, sqrt)
+AC_CHECK_HEADERS(UFconfig.h)
+AC_CONFIG_FILES([Makefile Source/Makefile Demo/Makefile])
+AC_OUTPUT
--- Makefile.am 1970-01-01 01:00:00.000000000 +0100
+++ Makefile.am 2008-01-30 15:49:41.835515468 +0000
@@ -0,0 +1,4 @@
+SUBDIRS = Source Demo
+EXTRA_DIST = README.txt
+include_HEADERS = Include/ldl.h
+
--- Source/Makefile.am 1970-01-01 01:00:00.000000000 +0100
+++ Source/Makefile.am 2008-01-30 12:49:25.858546974 +0000
@@ -0,0 +1,11 @@
+AM_CPPFLAGS = -I$(top_srcdir)/Include
+
+LDLSRC=ldl.c
+lib_LTLIBRARIES = libldl.la
+noinst_LTLIBRARIES = libldli.la libldll.la
+libldli_la_SOURCES = $(LDLSRC)
+libldli_la_CPPFLAGS = $(AM_CPPFLAGS)
+libldll_la_SOURCES = $(LDLSRC)
+libldll_la_CPPFLAGS = $(AM_CPPFLAGS) -DLDL_LONG
+libldl_la_SOURCES =
+libldl_la_LIBADD = libldll.la libldli.la
--- Demo/Makefile.am 1970-01-01 01:00:00.000000000 +0100
+++ Demo/Makefile.am 2008-01-30 15:43:45.603214946 +0000
@@ -0,0 +1,27 @@
+LDADD = $(top_builddir)/Source/libldl.la -lm
+AM_CPPFLAGS = -I$(top_srcdir)/Include
+check_PROGRAMS = ldlsimple ldllsimple ldlmain ldllmain ldlamd ldllamd
+
+ldlmain_SOURCES = ldlmain.c
+ldllmain_SOURCES = ldlmain.c
+ldllmain_CPPFLAGS = $(AM_CPPFLAGS) -DLDL_LONG
+
+ldlsimple_SOURCES = ldlsimple.c
+ldllsimple_SOURCES = ldlsimple.c
+ldllsimple_CPPFLAGS = $(AM_CPPFLAGS) -DLDL_LONG
+
+ldlamd_SOURCES = ldlamd.c
+ldllamd_CPPFLAGS = $(AM_CPPFLAGS) -DUSE_AMD
+ldllamd_SOURCES = ldlamd.c
+ldllamd_CPPFLAGS = $(AM_CPPFLAGS) -DUSE_AMD -DLDL_LONG
+ldllamd_LDADD = $(LDADD) -lamd
+
+check-local: $(check_PROGRAMS)
+ @for i in $(check_PROGRAMS); do \
+ echo "Testing $$i"; \
+ ./$$i > my_$$i.out; \
+ if ! diff $$i.out my_$$i.out; then \
+ echo "Testing $$i failed"; \
+ exit 1; \
+ fi \
+ done;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-03-22 18:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-22 18:10 [gentoo-commits] gentoo-x86 commit in sci-libs/ldl/files: ldl-2.0.3-autotools.patch Sebastien Fabbro (bicatali)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox