summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/arj/ChangeLog5
-rw-r--r--app-arch/arj/Manifest7
-rw-r--r--app-arch/arj/arj-3.10.18.ebuild20
-rw-r--r--app-arch/arj/files/arj-3.10.18-fPIC.patch11
4 files changed, 34 insertions, 9 deletions
diff --git a/app-arch/arj/ChangeLog b/app-arch/arj/ChangeLog
index f5dad91a8449..d2aa6792d9d6 100644
--- a/app-arch/arj/ChangeLog
+++ b/app-arch/arj/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-arch/arj
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/arj/ChangeLog,v 1.3 2004/02/09 06:02:33 absinthe Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/arj/ChangeLog,v 1.4 2004/02/25 11:34:57 aliz Exp $
+
+ 25 Feb 2004; Daniel Ahlberg <aliz@gentoo.org> arj-3.10.18.ebuild:
+ Fix amd64 compilation. Closing #40936.
*arj-3.10.18 (09 Feb 2004)
diff --git a/app-arch/arj/Manifest b/app-arch/arj/Manifest
index abeb42002d02..15bbd2041a8d 100644
--- a/app-arch/arj/Manifest
+++ b/app-arch/arj/Manifest
@@ -1,5 +1,6 @@
-MD5 a9194fcd0febc45053f0b946ec52f569 ChangeLog 626
MD5 ea61005d35c2b22dcc2613408e29749a arj-3.10g.ebuild 720
-MD5 d4c258d7f9e76428dee2535c21788768 arj-3.10.18.ebuild 727
-MD5 47ce44cd0bdc2037f4bfa8dc8e81dfbd files/digest-arj-3.10g 61
+MD5 2257d12b360a04203d6d209a08a27373 arj-3.10.18.ebuild 844
+MD5 9ebe085ee6f9be9b6c0865e984960976 ChangeLog 732
MD5 7c4c01b5654eb39a7be1799abaad4c2f files/digest-arj-3.10.18 63
+MD5 47ce44cd0bdc2037f4bfa8dc8e81dfbd files/digest-arj-3.10g 61
+MD5 0187cf8866c2daa752565918b94e7ea0 files/arj-3.10.18-fPIC.patch 342
diff --git a/app-arch/arj/arj-3.10.18.ebuild b/app-arch/arj/arj-3.10.18.ebuild
index 8c207c81df64..9d7ac9df98f4 100644
--- a/app-arch/arj/arj-3.10.18.ebuild
+++ b/app-arch/arj/arj-3.10.18.ebuild
@@ -1,13 +1,15 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/arj/arj-3.10.18.ebuild,v 1.1 2004/02/09 06:02:33 absinthe Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/arj/arj-3.10.18.ebuild,v 1.2 2004/02/25 11:34:57 aliz Exp $
+
+inherit gnuconfig
S=${WORKDIR}/${PN}
DESCRIPTION="Utility for opening arj archives."
HOMEPAGE="http://arj.sourceforge.net/"
SRC_URI="mirror://sourceforge/arj/${P}.tar.gz"
-KEYWORDS="~x86 ~ppc ~sparc"
+KEYWORDS="~x86 ~ppc ~sparc ~amd64"
LICENSE="GPL-2"
SLOT="0"
IUSE=""
@@ -16,12 +18,20 @@ DEPEND="virtual/glibc"
RESTRICT=nostrip
+src_unpack() {
+ unpack ${A} ; cd ${S}
+
+ epatch ${FILESDIR}/${P}-fPIC.patch
+}
+
src_compile() {
- cd ${S}
- cd gnu
+ gnuconfig_update
+
+ cd ${S}/gnu
autoconf
econf || die
- cd ../
+
+ cd ${S}
make prepare || die "make prepare failed"
make package || die "make package failed"
}
diff --git a/app-arch/arj/files/arj-3.10.18-fPIC.patch b/app-arch/arj/files/arj-3.10.18-fPIC.patch
new file mode 100644
index 000000000000..d90e052643d7
--- /dev/null
+++ b/app-arch/arj/files/arj-3.10.18-fPIC.patch
@@ -0,0 +1,11 @@
+--- gnu/makefile.in 2004-02-25 11:30:28.354057072 +0000
++++ gnu/makefile.in 2004-02-25 11:30:49.570835906 +0000
+@@ -141,7 +141,7 @@
+ $(CC) $(ARJSFXJR_COPT) -o$@ $<
+
+ $(ARJCRYPT_DIR)/%.o: $(SRC_DIR)/%.c
+- $(CC) $(ARJCRYPT_COPT) -o$@ $<
++ $(CC) $(ARJCRYPT_COPT) -fPIC -o$@ $<
+
+ $(REARJ_DIR)/%.o: $(SRC_DIR)/%.c
+ $(CC) $(REARJ_COPT) -o$@ $<