Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/coot/files/, sci-chemistry/coot/
Date: Tue, 27 Aug 2013 06:59:00
Message-Id: 1377586701.e76da5ba2d87e85005bd3f41ebf9eee23bb6bba8.jlec@gentoo
1 commit: e76da5ba2d87e85005bd3f41ebf9eee23bb6bba8
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 27 06:58:21 2013 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 27 06:58:21 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=e76da5ba
7
8 sci-chemistry/coot: Fix pc patch
9
10 Package-Manager: portage-2.2.1
11
12 ---
13 sci-chemistry/coot/ChangeLog | 3 ++
14 sci-chemistry/coot/files/9999-pc.patch | 51 +++++++++++++++++++---------------
15 2 files changed, 31 insertions(+), 23 deletions(-)
16
17 diff --git a/sci-chemistry/coot/ChangeLog b/sci-chemistry/coot/ChangeLog
18 index 1c966c0..54fba79 100644
19 --- a/sci-chemistry/coot/ChangeLog
20 +++ b/sci-chemistry/coot/ChangeLog
21 @@ -2,6 +2,9 @@
22 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
23 # $Header: $
24
25 + 27 Aug 2013; Justin Lecher <jlec@g.o> files/9999-pc.patch:
26 + Fix pc patch
27 +
28 22 Jul 2013; Justin Lecher <jlec@g.o> files/9999-pc.patch:
29 Don't use relative path
30
31
32 diff --git a/sci-chemistry/coot/files/9999-pc.patch b/sci-chemistry/coot/files/9999-pc.patch
33 index 0cf7a2e..16e899f 100644
34 --- a/sci-chemistry/coot/files/9999-pc.patch
35 +++ b/sci-chemistry/coot/files/9999-pc.patch
36 @@ -39,7 +39,7 @@ index 46f6362..fd3fd9a 100644
37
38 * surface/CXXSphereNode.h: removed the ; again!
39 diff --git a/analysis/Makefile.am b/analysis/Makefile.am
40 -index 8754df4..1174dfd 100644
41 +index 8a873dc..ef4a9cf 100644
42 --- a/analysis/Makefile.am
43 +++ b/analysis/Makefile.am
44 @@ -8,8 +8,8 @@ pkgincludedir = $(includedir)/coot/analysis
45 @@ -51,7 +51,7 @@ index 8754df4..1174dfd 100644
46 + $(CLIPPER_CFLAGS) \
47 + $(MMDB_CFLAGS)
48
49 - libcoot_analysis_la_SOURCES = bfkurt.cc mogul.cc kolmogorov.cc
50 + libcoot_analysis_la_SOURCES = bfkurt.cc mogul.cc kolmogorov.hh kolmogorov.cc cablam.hh cablam.cc
51
52 diff --git a/angles/Makefile.am b/angles/Makefile.am
53 index b89276d..935ce06 100644
54 @@ -313,7 +313,7 @@ index 399f453..3d2ff55 100755
55 # $(WITH_SCRIPT_CFLAGS)
56
57 diff --git a/configure.in b/configure.in
58 -index d99d280..eca9b91 100644
59 +index 5928c3c..9e235b5 100644
60 --- a/configure.in
61 +++ b/configure.in
62 @@ -108,14 +108,18 @@ esac
63 @@ -338,7 +338,7 @@ index d99d280..eca9b91 100644
64
65 # we set default coot_guile to true
66 coot_guile=true
67 -@@ -189,11 +193,15 @@ AM_PATH_LIBGLADE
68 +@@ -186,11 +190,15 @@ AM_PATH_LIBGLADE
69
70 dnl =========================== GooCanvas ================================
71
72 @@ -443,7 +443,7 @@ index 3a85b9e..1a11cdf 100644
73 pkginclude_HEADERS = db-main.hh db-strands.hh
74 pkgincludedir = $(includedir)/coot/db-main
75 diff --git a/db-main/Makefile.simple b/db-main/Makefile.simple
76 -index cec561d..c207a43 100644
77 +index cec561d..31d35a0 100644
78 --- a/db-main/Makefile.simple
79 +++ b/db-main/Makefile.simple
80 @@ -19,7 +19,7 @@ CLIPPER = $(HOME)/crystal
81 @@ -848,29 +848,34 @@ index 30fdcb9..3e4c0c6 100644
82 ifelse([$1], , :, [$1])
83
84 diff --git a/macros/mmdb-ssm.m4 b/macros/mmdb-ssm.m4
85 -index 1937a16..26101d3 100644
86 +index 25dc502..fcfde1d 100644
87 --- a/macros/mmdb-ssm.m4
88 +++ b/macros/mmdb-ssm.m4
89 -@@ -32,7 +32,7 @@ AC_MSG_CHECKING([for SSMLib])
90 +@@ -31,14 +31,13 @@ AC_ARG_WITH(ssmlib-prefix,
91 + AC_MSG_CHECKING([for ssm library])
92
93 if test x$with_ssmlib_prefix != x; then
94 +-
95 + if test -r "$with_ssmlib_prefix/include/ssm/ssm_superpose.h"; then
96
97 -- MMDBSSM_CXXFLAGS="-DHAVE_SSMLIB"
98 +- MMDBSSM_CXXFLAGS="-DHAVE_SSMLIB"
99 + MMDBSSM_CFLAGS="-DHAVE_SSMLIB"
100 - MMDBSSM_LIBS="-L$with_ssmlib_prefix/$acl_libdirstem -lssm"
101 -
102 - ac_mmdb_dirs='
103 -@@ -47,16 +47,16 @@ lib/src/mmdb'
104 -
105 - for ac_dir in $ac_mmdb_dirs; do
106 - if test -r "$with_ssmlib_prefix/$ac_dir/ssm_superpose.h"; then
107 -- ac_MMDBSSM_CXXFLAGS="-I$with_ssmlib_prefix/$ac_dir"
108 -+ ac_MMDBSSM_CFLAGS="-I$with_ssmlib_prefix/$ac_dir"
109 - break
110 - fi
111 - done
112 -
113 -- MMDBSSM_CXXFLAGS="$MMDBSSM_CXXFLAGS $ac_MMDBSSM_CXXFLAGS"
114 + # AFAICS, ssm does not put its libs in $acl_libdirstem
115 + # MMDBSSM_LIBS="-L$with_ssmlib_prefix/$acl_libdirstem -lssm"
116 + MMDBSSM_LIBS="-L$with_ssmlib_prefix/lib -lssm"
117 +- ac_MMDBSSM_CXXFLAGS="-I$with_ssmlib_prefix/include"
118 ++ ac_MMDBSSM_CFLAGS="-I$with_ssmlib_prefix/include"
119 +
120 + # saved_LIBS="$LIBS"
121 + # saved_CPPFLAGS="$CPPFLAGS"
122 +@@ -49,12 +48,13 @@ if test x$with_ssmlib_prefix != x; then
123 +
124 + else
125 + AC_MSG_FAILURE([ --with-ssmlib-prefix specified but include files not found])
126 +- fi
127 +- MMDBSSM_CXXFLAGS="$MMDBSSM_CXXFLAGS $ac_MMDBSSM_CXXFLAGS"
128 ++ fi
129 ++
130 + MMDBSSM_CFLAGS="$MMDBSSM_CFLAGS $ac_MMDBSSM_CFLAGS"
131
132 else
133 @@ -880,7 +885,7 @@ index 1937a16..26101d3 100644
134 MMDBSSM_LIBS=""
135 with_ssmlib_prefix=no
136
137 -@@ -64,6 +64,6 @@ fi
138 +@@ -62,6 +62,6 @@ fi
139
140 AC_MSG_RESULT([$with_ssmlib_prefix])