diff options
author | Masatomo Nakano <nakano@gentoo.org> | 2005-07-02 21:56:38 +0000 |
---|---|---|
committer | Masatomo Nakano <nakano@gentoo.org> | 2005-07-02 21:56:38 +0000 |
commit | 6ef3dde250602c945a6a093b43a4fe43eed6dcfe (patch) | |
tree | 841b44f4cde4473231b535279cc6bbfeca33142b /dev-db/libpq/libpq-7.4.8.ebuild | |
parent | Moved sys-libs/libnss-mysql to sys-auth/libnss-mysql (diff) | |
download | gentoo-2-6ef3dde250602c945a6a093b43a4fe43eed6dcfe.tar.gz gentoo-2-6ef3dde250602c945a6a093b43a4fe43eed6dcfe.tar.bz2 gentoo-2-6ef3dde250602c945a6a093b43a4fe43eed6dcfe.zip |
Fixed wrong symlink problem. (#97684).
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'dev-db/libpq/libpq-7.4.8.ebuild')
-rw-r--r-- | dev-db/libpq/libpq-7.4.8.ebuild | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/dev-db/libpq/libpq-7.4.8.ebuild b/dev-db/libpq/libpq-7.4.8.ebuild index 441848ab5bff..9075afeb5f5c 100644 --- a/dev-db/libpq/libpq-7.4.8.ebuild +++ b/dev-db/libpq/libpq-7.4.8.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/libpq/libpq-7.4.8.ebuild,v 1.2 2005/05/19 15:09:13 matsuu Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/libpq/libpq-7.4.8.ebuild,v 1.3 2005/07/02 21:56:38 nakano Exp $ inherit eutils gnuconfig flag-o-matic toolchain-funcs @@ -31,6 +31,14 @@ RDEPEND="virtual/libc kerberos? ( virtual/krb5 )" MAKEOPTS="${MAKEOPTS} -j1" + +pkg_preinst() { + # removing wrong symlink which is created by previous ebuild. + if [ -L /usr/include/libpq ]; then + rm /usr/include/libpq + fi +} + src_unpack() { unpack ${A} epatch ${FILESDIR}/${P}-gentoo.patch |