diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2003-07-28 18:39:55 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2003-07-28 18:39:55 +0000 |
commit | 4aed2f8ec4b520c94327a5f70ea11e03c780e795 (patch) | |
tree | 243b307d61987d7d3498531e8d5865ce3474eaa8 /net-libs/liblockfile | |
parent | fix gcc-3.3 build issues (diff) | |
download | historical-4aed2f8ec4b520c94327a5f70ea11e03c780e795.tar.gz historical-4aed2f8ec4b520c94327a5f70ea11e03c780e795.tar.bz2 historical-4aed2f8ec4b520c94327a5f70ea11e03c780e795.zip |
fix gcc-3.3 build issues
Diffstat (limited to 'net-libs/liblockfile')
-rw-r--r-- | net-libs/liblockfile/Manifest | 4 | ||||
-rw-r--r-- | net-libs/liblockfile/files/digest-liblockfile-1.03-r1 | 1 | ||||
-rw-r--r-- | net-libs/liblockfile/files/liblockfile-1.03-gcc33.patch | 11 | ||||
-rw-r--r-- | net-libs/liblockfile/liblockfile-1.03-r1.ebuild | 41 |
4 files changed, 55 insertions, 2 deletions
diff --git a/net-libs/liblockfile/Manifest b/net-libs/liblockfile/Manifest index 72719594c078..17d9fee40434 100644 --- a/net-libs/liblockfile/Manifest +++ b/net-libs/liblockfile/Manifest @@ -1,6 +1,6 @@ -MD5 8c1b2aacfe7ac3537876e96eed99d2e9 ChangeLog 944 +MD5 24853a92cfc55fffcb387706e6d635a9 ChangeLog 1119 MD5 3305bce72fc683ff3fa0503c4bbc390f liblockfile-1.03.ebuild 707 -MD5 732bd2355de73050747e4ea743774521 liblockfile-1.03-r1.ebuild 933 +MD5 d6fad00151ab6334ec1313d218583115 liblockfile-1.03-r1.ebuild 933 MD5 53fe311231e84eff7e3f0464085f91bc files/digest-liblockfile-1.03 67 MD5 eb56831a475db5996c2f12368b641474 files/liblockfile-1.03-gcc33.patch 286 MD5 53fe311231e84eff7e3f0464085f91bc files/digest-liblockfile-1.03-r1 67 diff --git a/net-libs/liblockfile/files/digest-liblockfile-1.03-r1 b/net-libs/liblockfile/files/digest-liblockfile-1.03-r1 new file mode 100644 index 000000000000..5870df7fed03 --- /dev/null +++ b/net-libs/liblockfile/files/digest-liblockfile-1.03-r1 @@ -0,0 +1 @@ +MD5 a3700a6c958d60e070849231ef14136d liblockfile_1.03.tar.gz 30737 diff --git a/net-libs/liblockfile/files/liblockfile-1.03-gcc33.patch b/net-libs/liblockfile/files/liblockfile-1.03-gcc33.patch new file mode 100644 index 000000000000..a29137bf4306 --- /dev/null +++ b/net-libs/liblockfile/files/liblockfile-1.03-gcc33.patch @@ -0,0 +1,11 @@ +--- liblockfile-1.03/maillock.h.in.orig 2003-07-28 20:15:46.000000000 +0200 ++++ liblockfile-1.03/maillock.h.in 2003-07-28 20:16:02.000000000 +0200 +@@ -21,7 +21,7 @@ + @PATHMAILDIR@ + #endif + +-#define MAILDIR _PATH_MAILDIR ## "/" ++#define MAILDIR _PATH_MAILDIR"/" + + /* + * Prototypes. diff --git a/net-libs/liblockfile/liblockfile-1.03-r1.ebuild b/net-libs/liblockfile/liblockfile-1.03-r1.ebuild new file mode 100644 index 000000000000..3d35c998aa05 --- /dev/null +++ b/net-libs/liblockfile/liblockfile-1.03-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/liblockfile/liblockfile-1.03-r1.ebuild,v 1.1 2003/07/28 18:39:06 azarah Exp $ + +IUSE= + +inherit eutils gcc + +S="${WORKDIR}/${P}" +DESCRIPTION="Implements functions designed to lock the standard mailboxes." +SRC_URI="ftp://ftp.debian.org/debian/pool/main/libl/${PN}/${PN}_${PV}.tar.gz" +HOMEPAGE="http://www.debian.org" + +DEPEND="virtual/glibc" + +SLOT="0" +LICENSE="LGPL-2" +KEYWORDS="x86 ppc sparc alpha" + +src_unpack() { + unpack ${A} + + if [ "`gcc-major-version`" -gt 3 ] || \ + [ "`gcc-major-version`" -eq 3 -a "`gcc-minor-version`" -ge 3 ] + then + cd ${S}; epatch ${FILESDIR}/${P}-gcc33.patch + fi +} + +src_compile() { + + econf --with-mailgroup=mail || die + emake || die +} + +src_install() { + + dodir /usr/{bin,include,lib} /usr/share/man/{man1,man3} + make ROOT=${D} install || die +} + |