1 |
mjolnir 08/01/13 01:38:02 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: libpq-8.2.6.ebuild |
5 |
Log: |
6 |
Bump to 8.2.6 for #204760. Thanks to Michael Kefeder for ebuilds. |
7 |
(Portage version: 2.1.4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.124 dev-db/libpq/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/libpq/ChangeLog?rev=1.124&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/libpq/ChangeLog?rev=1.124&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/libpq/ChangeLog?r1=1.123&r2=1.124 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-db/libpq/ChangeLog,v |
19 |
retrieving revision 1.123 |
20 |
retrieving revision 1.124 |
21 |
diff -u -r1.123 -r1.124 |
22 |
--- ChangeLog 24 Jun 2007 22:54:52 -0000 1.123 |
23 |
+++ ChangeLog 13 Jan 2008 01:38:02 -0000 1.124 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for dev-db/libpq |
26 |
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-db/libpq/ChangeLog,v 1.123 2007/06/24 22:54:52 dev-zero Exp $ |
28 |
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-db/libpq/ChangeLog,v 1.124 2008/01/13 01:38:02 mjolnir Exp $ |
30 |
+ |
31 |
+*libpq-8.2.6 (13 Jan 2008) |
32 |
+ |
33 |
+ 13 Jan 2008; Martin Jackson <mjolnir@g.o> |
34 |
+ +files/libpq-8.2.6-gentoo.patch, +libpq-8.2.6.ebuild: |
35 |
+ Bump to 8.2.6 for #204760. Thanks to Michael Kefeder for ebuilds. |
36 |
|
37 |
24 Jun 2007; Tiziano Müller <dev-zero@g.o> |
38 |
-files/libpq-8.0.8-gentoo.patch, -files/libpq-8.0.12-gentoo.patch, |
39 |
|
40 |
|
41 |
|
42 |
1.1 dev-db/libpq/libpq-8.2.6.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/libpq/libpq-8.2.6.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/libpq/libpq-8.2.6.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: libpq-8.2.6.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2008 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/dev-db/libpq/libpq-8.2.6.ebuild,v 1.1 2008/01/13 01:38:02 mjolnir Exp $ |
52 |
|
53 |
inherit eutils flag-o-matic toolchain-funcs |
54 |
|
55 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" |
56 |
|
57 |
DESCRIPTION="PostgreSQL libraries." |
58 |
HOMEPAGE="http://www.postgresql.org/" |
59 |
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2" |
60 |
LICENSE="POSTGRESQL" |
61 |
SLOT="4" |
62 |
IUSE="kerberos nls pam pg-intdatetime readline ssl threads zlib" |
63 |
|
64 |
RDEPEND="!<=dev-db/postgresql-8.1.4 |
65 |
kerberos? ( virtual/krb5 ) |
66 |
pam? ( virtual/pam ) |
67 |
readline? ( >=sys-libs/readline-4.1 ) |
68 |
ssl? ( >=dev-libs/openssl-0.9.6-r1 ) |
69 |
zlib? ( >=sys-libs/zlib-1.1.3 )" |
70 |
DEPEND="${RDEPEND} |
71 |
sys-devel/autoconf |
72 |
>=sys-devel/bison-1.875 |
73 |
nls? ( sys-devel/gettext )" |
74 |
|
75 |
S="${WORKDIR}/postgresql-${PV}" |
76 |
|
77 |
pkg_preinst() { |
78 |
# Removing wrong symlink created by previous ebuild |
79 |
if [[ -L "${ROOT}/usr/include/libpq" ]] ; then |
80 |
rm -f "${ROOT}/usr/include/libpq" |
81 |
fi |
82 |
} |
83 |
|
84 |
src_unpack() { |
85 |
unpack ${A} |
86 |
cd "${S}" |
87 |
|
88 |
epatch "${FILESDIR}/${PN}-${PV}-gentoo.patch" |
89 |
} |
90 |
|
91 |
src_compile() { |
92 |
filter-flags -ffast-math -feliminate-dwarf2-dups |
93 |
|
94 |
econf --prefix=/usr \ |
95 |
--includedir=/usr/include/postgresql/libpq-${SLOT} \ |
96 |
--sysconfdir=/etc/postgresql \ |
97 |
--mandir=/usr/share/man \ |
98 |
--host=${CHOST} \ |
99 |
--with-docdir=/usr/share/doc/${PF} \ |
100 |
--libdir=/usr/$(get_libdir) \ |
101 |
--enable-depend \ |
102 |
$(use_with kerberos krb5) \ |
103 |
$(use_enable nls ) \ |
104 |
$(use_with pam) \ |
105 |
--without-perl \ |
106 |
$(use_enable pg-intdatetime integer-datetimes ) \ |
107 |
--without-python \ |
108 |
$(use_with readline) \ |
109 |
$(use_with ssl openssl) \ |
110 |
--without-tcl \ |
111 |
$(use_enable threads thread-safety ) \ |
112 |
$(use_with zlib) \ |
113 |
|| die "configure failed" |
114 |
|
115 |
cd "${S}/src/interfaces/libpq" |
116 |
emake -j1 LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "emake libpq failed" |
117 |
|
118 |
cd "${S}/src/bin/pg_config" |
119 |
emake -j1 LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "emake pg_config failed" |
120 |
} |
121 |
|
122 |
src_install() { |
123 |
cd "${S}/src/interfaces/libpq" |
124 |
emake DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" install || die "emake install libpq failed" |
125 |
|
126 |
cd "${S}/src/include" |
127 |
emake DESTDIR="${D}" install || die "emake install headers failed" |
128 |
|
129 |
cd "${S}/src/bin/pg_config" |
130 |
emake DESTDIR="${D}" install || die "emake install pg_config failed" |
131 |
|
132 |
cd "${S}" |
133 |
dodoc README HISTORY |
134 |
|
135 |
dosym libpq-${SLOT}.a /usr/$(get_libdir)/libpq.a |
136 |
|
137 |
for f in $(ls -1 "${D}"/usr/include/postgresql/libpq-${SLOT}/*.h) ; do |
138 |
dosym postgresql/libpq-${SLOT}/$(basename ${f}) /usr/include/ |
139 |
done |
140 |
|
141 |
dodir /usr/include/libpq |
142 |
for f in $(ls -1 "${D}"/usr/include/postgresql/libpq-${SLOT}/libpq/*.h) ; do |
143 |
dosym ../postgresql/libpq-${SLOT}/libpq/$(basename ${f}) /usr/include/libpq/ |
144 |
done |
145 |
|
146 |
cd "${D}/usr/include/postgresql/libpq-${SLOT}" |
147 |
for f in $(find * -name '*.h' -print) ; do |
148 |
destdir=$(dirname ${f}) |
149 |
if [[ ! -d "${D}/usr/include/postgresql/${destdir}" ]] ; then |
150 |
dodir "/usr/include/postgresql/${destdir}" |
151 |
fi |
152 |
dosym /usr/include/postgresql/libpq-${SLOT}/${f} "/usr/include/postgresql/${destdir}/" |
153 |
done |
154 |
} |
155 |
|
156 |
src_test() { |
157 |
einfo "No tests available for libpq." |
158 |
} |
159 |
|
160 |
|
161 |
|
162 |
-- |
163 |
gentoo-commits@l.g.o mailing list |