Gentoo Archives: gentoo-commits

From: "Thomas Kahle (tomka)" <tomka@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-mathematics/topcom/files: topcom-0.16.2-no-internal-libs.patch
Date: Tue, 09 Nov 2010 17:48:59
Message-Id: 20101109174856.3989C20054@flycatcher.gentoo.org
1 tomka 10/11/09 17:48:56
2
3 Added: topcom-0.16.2-no-internal-libs.patch
4 Log:
5 New package: sci-mathematics/topcom, revised import from sci overlay, fixes bug 285619
6
7 (Portage version: 2.1.9.24/cvs/Linux i686)
8
9 Revision Changes Path
10 1.1 sci-mathematics/topcom/files/topcom-0.16.2-no-internal-libs.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/topcom/files/topcom-0.16.2-no-internal-libs.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/topcom/files/topcom-0.16.2-no-internal-libs.patch?rev=1.1&content-type=text/plain
14
15 Index: topcom-0.16.2-no-internal-libs.patch
16 ===================================================================
17 diff -U 3 -dHrN TOPCOM-0.16.2.orig/configure.in TOPCOM-0.16.2/configure.in
18 --- TOPCOM-0.16.2.orig/configure.in 2009-10-15 09:00:51.000000000 +0200
19 +++ TOPCOM-0.16.2/configure.in 2010-11-09 18:02:19.000000000 +0100
20 @@ -17,12 +17,8 @@
21 dnl AC_CHECK_LIB(stdc, main)
22 dnl Replace `main' with a function in -lstdc++:
23 dnl AC_CHECK_LIB(stdc++, main)
24 -dnl Make libgmp:
25 -make -C external gmp
26 -dnl Make libcddgmp:
27 -make -C external cdd
28 dnl Check for soplex:
29 -AC_CHECK_LIB(soplex, main, , csh -c 'echo soplex not found: --soplex will not work.')
30 +AC_CHECK_LIB(soplex, main, , /bin/sh -c 'echo soplex not found: --soplex will not work.')
31
32 dnl Checks for header files.
33 AC_HEADER_STDC
34 diff -U 3 -dHrN TOPCOM-0.16.2.orig/Makefile.am TOPCOM-0.16.2/Makefile.am
35 --- TOPCOM-0.16.2.orig/Makefile.am 2009-10-15 07:36:24.000000000 +0200
36 +++ TOPCOM-0.16.2/Makefile.am 2010-11-09 18:02:19.000000000 +0100
37 @@ -1,4 +1,2 @@
38 SUBDIRS = wrap-gmp-gmpxx lib-src-reg lib-src src-reg src examples
39 -EXTRA_DIST = external/Makefile
40 -EXTRA_DIST += external/gmp-4.3.0.tar.gz
41 -EXTRA_DIST += external/cddlib-0.94f-TOPCOM.tar.gz
42 +
43 diff -U 3 -dHrN TOPCOM-0.16.2.orig/src/Makefile.am TOPCOM-0.16.2/src/Makefile.am
44 --- TOPCOM-0.16.2.orig/src/Makefile.am 2009-07-03 12:56:30.000000000 +0200
45 +++ TOPCOM-0.16.2/src/Makefile.am 2010-11-09 18:03:25.000000000 +0100
46 @@ -76,10 +76,7 @@
47 santos_22_triang_SOURCES = santos_22_triang.cc
48
49 LDADD = ../lib-src/libTOPCOM.a \
50 - ../lib-src-reg/libCHECKREG.a \
51 - ../external/lib/libcddgmp.a \
52 - ../external/lib/libgmpxx.a \
53 - ../external/lib/libgmp.a
54 + ../lib-src-reg/libCHECKREG.a
55
56 INCLUDES = -I../lib-src
57 INCLUDES += -I../lib-src-reg
58 diff -U 3 -dHrN TOPCOM-0.16.2.orig/src-reg/Makefile.am TOPCOM-0.16.2/src-reg/Makefile.am
59 --- TOPCOM-0.16.2.orig/src-reg/Makefile.am 2009-07-03 12:56:33.000000000 +0200
60 +++ TOPCOM-0.16.2/src-reg/Makefile.am 2010-11-09 18:02:40.000000000 +0100
61 @@ -3,10 +3,7 @@
62 checkregularity_SOURCES = checkregularity.cc
63
64 LDADD = ../lib-src-reg/libCHECKREG.a \
65 - ../lib-src/libTOPCOM.a \
66 - ../external/lib/libcddgmp.a \
67 - ../external/lib/libgmpxx.a \
68 - ../external/lib/libgmp.a
69 + ../lib-src/libTOPCOM.a
70
71 INCLUDES = -I../lib-src
72 INCLUDES += -I../lib-src-reg