summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2004-02-25 11:34:57 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2004-02-25 11:34:57 +0000
commitae1dbf1b9f3dcc95efb6f06dd79655b2c2425444 (patch)
tree50af1b4639c13822a190e89d9475f0b82f279d0b /app-arch
parentremove i386Architecture from site.def; add uil-bad-grammar-fix (Manifest reco... (diff)
downloadgentoo-2-ae1dbf1b9f3dcc95efb6f06dd79655b2c2425444.tar.gz
gentoo-2-ae1dbf1b9f3dcc95efb6f06dd79655b2c2425444.tar.bz2
gentoo-2-ae1dbf1b9f3dcc95efb6f06dd79655b2c2425444.zip
Closing #40936.
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/arj/ChangeLog5
-rw-r--r--app-arch/arj/arj-3.10.18.ebuild20
-rw-r--r--app-arch/arj/files/arj-3.10.18-fPIC.patch11
3 files changed, 30 insertions, 6 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/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$@ $<