1 |
markusle 08/10/06 22:34:28 |
2 |
|
3 |
Added: vienna-rna-1.7.2-LDFLAGS.patch |
4 |
vienna-rna-1.7.2-disable-gd.patch |
5 |
Log: |
6 |
Fixed ignored LDFLAGS issues and bogus detection of GD support. Also enabled the tests that come with the package. |
7 |
(Portage version: 2.2_rc11/cvs/Linux 2.6.26-SENTINEL-2 i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 sci-biology/vienna-rna/files/vienna-rna-1.7.2-LDFLAGS.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/vienna-rna/files/vienna-rna-1.7.2-LDFLAGS.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/vienna-rna/files/vienna-rna-1.7.2-LDFLAGS.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: vienna-rna-1.7.2-LDFLAGS.patch |
16 |
=================================================================== |
17 |
diff -Naur ViennaRNA-1.7.2/Perl/Makefile.am ViennaRNA-1.7.2.new/Perl/Makefile.am |
18 |
--- ViennaRNA-1.7.2/Perl/Makefile.am 2007-12-19 05:33:14.000000000 -0500 |
19 |
+++ ViennaRNA-1.7.2.new/Perl/Makefile.am 2008-10-06 14:20:54.000000000 -0400 |
20 |
@@ -4,7 +4,7 @@ |
21 |
RNA.i tmaps.i |
22 |
|
23 |
Makefile.perl: Makefile.PL Makefile |
24 |
- @PerlCmd@ Makefile.PL |
25 |
+ @PerlCmd@ Makefile.PL LDDLFLAGS="${LDFLAGS} -shared" |
26 |
|
27 |
# the perl command repairs some errors in the SWIG CVS version |
28 |
RNA_wrap.c: RNA.i tmaps.i |
29 |
diff -Naur ViennaRNA-1.7.2/Readseq/Makefile ViennaRNA-1.7.2.new/Readseq/Makefile |
30 |
--- ViennaRNA-1.7.2/Readseq/Makefile 2008-01-23 05:32:00.000000000 -0500 |
31 |
+++ ViennaRNA-1.7.2.new/Readseq/Makefile 2008-10-06 14:21:13.000000000 -0400 |
32 |
@@ -40,7 +40,7 @@ |
33 |
|
34 |
build: $(SOURCES) |
35 |
@echo "Compiling readseq..." |
36 |
- $(CC) $(CFLAGS) -o readseq readseq.c ureadseq.c |
37 |
+ $(CC) $(LDFLAGS) $(CFLAGS) -o readseq readseq.c ureadseq.c |
38 |
|
39 |
# if using NCBI, uncomment these lines in place of build: above |
40 |
#build: $(SOURCES) |
41 |
|
42 |
|
43 |
|
44 |
1.1 sci-biology/vienna-rna/files/vienna-rna-1.7.2-disable-gd.patch |
45 |
|
46 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/vienna-rna/files/vienna-rna-1.7.2-disable-gd.patch?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/vienna-rna/files/vienna-rna-1.7.2-disable-gd.patch?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: vienna-rna-1.7.2-disable-gd.patch |
50 |
=================================================================== |
51 |
# unfortunately, vienna-rna's build system is a little broken and sometimes detects |
52 |
# gd in RNAforested but then realizes in g2 that it can't actually build it |
53 |
# resulting in unresolved symbols. |
54 |
|
55 |
diff -Naur ViennaRNA-1.7.2/RNAforester/configure.in ViennaRNA-1.7.2.new/RNAforester/configure.in |
56 |
--- ViennaRNA-1.7.2/RNAforester/configure.in 2006-01-19 10:26:09.000000000 -0500 |
57 |
+++ ViennaRNA-1.7.2.new/RNAforester/configure.in 2008-10-06 14:08:56.000000000 -0400 |
58 |
@@ -31,7 +31,7 @@ |
59 |
CPPFLAGS=["-Ig2-0.70/src/ -Lg2-0.70/ ${CPPFLAGS}"] |
60 |
|
61 |
|
62 |
-AC_CHECK_LIB(gd,gdImageLine,,) |
63 |
+dnl AC_CHECK_LIB(gd,gdImageLine,,) |
64 |
|
65 |
dnl Checks for header files. |
66 |
AC_HEADER_STDC |