diff options
author | Timothy Redaelli <drizzt@gentoo.org> | 2007-07-14 14:25:43 +0000 |
---|---|---|
committer | Timothy Redaelli <drizzt@gentoo.org> | 2007-07-14 14:25:43 +0000 |
commit | 009a4c20f350415006ec71dfb5383d1b5666d51d (patch) | |
tree | 5a07364e47ec76904373feaa7a2b328c2b3d58c5 /app-arch | |
parent | ia64 stable (diff) | |
download | gentoo-2-009a4c20f350415006ec71dfb5383d1b5666d51d.tar.gz gentoo-2-009a4c20f350415006ec71dfb5383d1b5666d51d.tar.bz2 gentoo-2-009a4c20f350415006ec71dfb5383d1b5666d51d.zip |
Revision bump:
Add ~x86-fbsd keyword with a patch by gechi.it
(Portage version: 2.1.3_rc7)
Diffstat (limited to 'app-arch')
-rw-r--r-- | app-arch/arc/ChangeLog | 10 | ||||
-rw-r--r-- | app-arch/arc/arc-5.21m-r1.ebuild | 39 | ||||
-rw-r--r-- | app-arch/arc/arc-5.21m.ebuild | 4 | ||||
-rw-r--r-- | app-arch/arc/files/arc-5.21m-gentoo-fbsd.patch | 12 | ||||
-rw-r--r-- | app-arch/arc/files/digest-arc-5.21m-r1 | 3 |
5 files changed, 65 insertions, 3 deletions
diff --git a/app-arch/arc/ChangeLog b/app-arch/arc/ChangeLog index 8b8641e939d7..011b77cdc5f9 100644 --- a/app-arch/arc/ChangeLog +++ b/app-arch/arc/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for app-arch/arc # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/arc/ChangeLog,v 1.27 2007/07/14 14:10:09 drizzt Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/arc/ChangeLog,v 1.28 2007/07/14 14:25:43 drizzt Exp $ + +*arc-5.21m-r1 (14 Jul 2007) + + 14 Jul 2007; Timothy Redaelli <drizzt@gentoo.org> + +files/arc-5.21m-gentoo-fbsd.patch, arc-5.21m.ebuild, + +arc-5.21m-r1.ebuild: + Revision bump: + Add ~x86-fbsd keyword with a patch by gechi.it 14 Jul 2007; Timothy Redaelli <drizzt@gentoo.org> arc-5.21m.ebuild: Add ~x86-fbsd keyword. diff --git a/app-arch/arc/arc-5.21m-r1.ebuild b/app-arch/arc/arc-5.21m-r1.ebuild new file mode 100644 index 000000000000..1fdf15db60d3 --- /dev/null +++ b/app-arch/arc/arc-5.21m-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-arch/arc/arc-5.21m-r1.ebuild,v 1.1 2007/07/14 14:25:43 drizzt Exp $ + +inherit eutils toolchain-funcs + +DESCRIPTION="Create & extract files from DOS .ARC files" +HOMEPAGE="http://arc.sourceforge.net/" +SRC_URI="mirror://sourceforge/arc/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="" + +DEPEND="" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${P}-compile-cleanups.patch + epatch "${FILESDIR}"/${P}-gentoo-fbsd.patch + + sed -i 's/CFLAGS = $(OPT) $(SYSTEM)/CFLAGS += $(SYSTEM)/' "${S}"/Makefile +} + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + OPT="${LDFLAGS}" \ + || die "emake failed" +} + +src_install() { + dobin arc marc || die "dobin failed" + doman arc.1 + dodoc Arc521.doc Arcinfo Changelog Readme +} diff --git a/app-arch/arc/arc-5.21m.ebuild b/app-arch/arc/arc-5.21m.ebuild index 766a3f2ed1b5..e14ba1cda0e8 100644 --- a/app-arch/arc/arc-5.21m.ebuild +++ b/app-arch/arc/arc-5.21m.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/arc/arc-5.21m.ebuild,v 1.9 2007/07/14 14:10:09 drizzt Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/arc/arc-5.21m.ebuild,v 1.10 2007/07/14 14:25:43 drizzt Exp $ inherit eutils @@ -10,7 +10,7 @@ SRC_URI="mirror://sourceforge/arc/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="alpha amd64 ~hppa ppc ppc64 sparc x86 ~x86-fbsd" +KEYWORDS="alpha amd64 ~hppa ppc ppc64 sparc x86" IUSE="" DEPEND="" diff --git a/app-arch/arc/files/arc-5.21m-gentoo-fbsd.patch b/app-arch/arc/files/arc-5.21m-gentoo-fbsd.patch new file mode 100644 index 000000000000..552bfd14edd7 --- /dev/null +++ b/app-arch/arc/files/arc-5.21m-gentoo-fbsd.patch @@ -0,0 +1,12 @@ +--- tmclock.c 2005-09-21 18:39:57 +0200 ++++ tmclock.c.new 2007-06-16 15:58:26 +0200 +@@ -18,8 +18,10 @@ + #include <sys/time.h> + #else + #include <time.h> ++#ifdef timezone + extern long timezone; /* should be in <time.h>, but isn't on Sun */ + #endif ++#endif + + long tzone;
\ No newline at end of file diff --git a/app-arch/arc/files/digest-arc-5.21m-r1 b/app-arch/arc/files/digest-arc-5.21m-r1 new file mode 100644 index 000000000000..66fb169f4398 --- /dev/null +++ b/app-arch/arc/files/digest-arc-5.21m-r1 @@ -0,0 +1,3 @@ +MD5 6e1a3031d13b9157386b7e1c101ca8da arc-5.21m.tar.gz 82711 +RMD160 f69d7923dfc50d90fa7774c32493a1724c17b2cb arc-5.21m.tar.gz 82711 +SHA256 5978b5494bdba13241124312671096742f3af23d5f1677db91c0e3a78859df39 arc-5.21m.tar.gz 82711 |