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