summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2004-03-30 11:34:49 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2004-03-30 11:34:49 +0000
commit396460f14e5126214cf2312abdfb92b323f5f532 (patch)
tree519a7304879571b1a0bb71ca511aca68ea04ab3d /games-mud/mcl
parentcleaning up stale ebuilds, mark 2.4.18 stable. (diff)
downloadhistorical-396460f14e5126214cf2312abdfb92b323f5f532.tar.gz
historical-396460f14e5126214cf2312abdfb92b323f5f532.tar.bz2
historical-396460f14e5126214cf2312abdfb92b323f5f532.zip
Closing #45280.
Diffstat (limited to 'games-mud/mcl')
-rw-r--r--games-mud/mcl/ChangeLog8
-rw-r--r--games-mud/mcl/Manifest9
-rw-r--r--games-mud/mcl/files/mcl-0.53.00-fPIC.patch18
-rw-r--r--games-mud/mcl/mcl-0.53.00.ebuild10
4 files changed, 36 insertions, 9 deletions
diff --git a/games-mud/mcl/ChangeLog b/games-mud/mcl/ChangeLog
index f8b5314ac9b7..5b3737abc86b 100644
--- a/games-mud/mcl/ChangeLog
+++ b/games-mud/mcl/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-mud/mcl
-# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-mud/mcl/ChangeLog,v 1.4 2003/10/01 00:56:37 mr_bones_ Exp $
+# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-mud/mcl/ChangeLog,v 1.5 2004/03/30 11:34:49 aliz Exp $
+
+ 30 Mar 2004; Daniel Ahlberg <aliz@gentoo.org> mcl-0.53.00.ebuild,
+ files/mcl-0.53.00-fPIC.patch:
+ Adding amd64 keyword. Closing #45280
*mcl-0.53.00 (30 Sep 2003)
diff --git a/games-mud/mcl/Manifest b/games-mud/mcl/Manifest
index 100ce7894409..34903fc3477f 100644
--- a/games-mud/mcl/Manifest
+++ b/games-mud/mcl/Manifest
@@ -1,7 +1,8 @@
-MD5 050f16c563a750cc326779fc5216bb27 ChangeLog 747
MD5 ede7dc89f2a37e3cf5db29fdc86c76d7 mcl-0.52.99.ebuild 1022
-MD5 e9daef1de261ddfe0d4724b2f4f66223 mcl-0.53.00.ebuild 1071
-MD5 a30c9d4ce8f9629d6d7323eaab258343 metadata.xml 241
+MD5 7d650c538a037efd51f40276c4ad8f9b mcl-0.53.00.ebuild 1146
+MD5 cb97232d57b60aff7ffc288bcd5c7282 ChangeLog 882
+MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
MD5 56b5a91a0c408a64428baefb19467472 files/digest-mcl-0.52.99 67
-MD5 4f3f1fc9565c922ce92d26da8a9de07b files/mcl-0.52.99-gcc3.patch 2162
MD5 e3de6b1159a74c6312a3aeba91296636 files/digest-mcl-0.53.00 67
+MD5 4f3f1fc9565c922ce92d26da8a9de07b files/mcl-0.52.99-gcc3.patch 2162
+MD5 947098f7352365175da7c06b3324cda2 files/mcl-0.53.00-fPIC.patch 797
diff --git a/games-mud/mcl/files/mcl-0.53.00-fPIC.patch b/games-mud/mcl/files/mcl-0.53.00-fPIC.patch
new file mode 100644
index 000000000000..0434ef12984a
--- /dev/null
+++ b/games-mud/mcl/files/mcl-0.53.00-fPIC.patch
@@ -0,0 +1,18 @@
+--- Makefile.in 2004-03-30 11:32:20.422782923 +0000
++++ Makefile.in 2004-03-30 11:32:36.558806599 +0000
+@@ -108,13 +108,13 @@
+ $(CC) $(LDFLAGS) -shared $< -o $@ $(PERL_LDFLAGS) $(LIBPTHREAD)
+
+ o/plugins/PerlEmbeddedInterpreter.o: plugins/PerlEmbeddedInterpreter.cc
+- $(CC) -c $(MCL_CFLAGS) $(PERL_CPPFLAGS) $< -o $@
++ $(CC) -fPIC -c $(MCL_CFLAGS) $(PERL_CPPFLAGS) $< -o $@
+
+ o/plugins/python.so: o/plugins/PythonEmbeddedInterpreter.o
+ $(CC) $(LDFLAGS) -shared $< -o $@ $(PYTHON_LDFLAGS) $(LIBPTHREAD)
+
+ o/plugins/PythonEmbeddedInterpreter.o: plugins/PythonEmbeddedInterpreter.cc
+- $(CC) -c $(MCL_CFLAGS) $(PYTHON_CPPFLAGS) $< -o $@
++ $(CC) -fPIC -c $(MCL_CFLAGS) $(PYTHON_CPPFLAGS) $< -o $@
+
+ install: $(EXE)
+ $(INSTALL) -d $(INSTALL_ROOT)$(prefix)/{bin,lib/mcl/{auto,contrib,plugins,sys}}
diff --git a/games-mud/mcl/mcl-0.53.00.ebuild b/games-mud/mcl/mcl-0.53.00.ebuild
index dbd9290917f5..11d0ac533047 100644
--- a/games-mud/mcl/mcl-0.53.00.ebuild
+++ b/games-mud/mcl/mcl-0.53.00.ebuild
@@ -1,15 +1,15 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-mud/mcl/mcl-0.53.00.ebuild,v 1.3 2004/02/20 06:45:14 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-mud/mcl/mcl-0.53.00.ebuild,v 1.4 2004/03/30 11:34:49 aliz Exp $
-inherit games
+inherit games gnuconfig
DESCRIPTION="A console MUD client scriptable in Perl and Python"
SRC_URI="http://www.andreasen.org/mcl/dist/${P}-src.tar.gz"
HOMEPAGE="http://www.andreasen.org/mcl/"
LICENSE="GPL-2"
-KEYWORDS="x86"
+KEYWORDS="x86 ~amd64"
SLOT="0"
IUSE="python perl"
@@ -22,12 +22,16 @@ src_unpack() {
unpack ${A}
cd ${S}
+ epatch ${FILESDIR}/${P}-fPIC.patch
+
sed -i \
-e "/MCL_LIBRARY_PATH/ s:/usr/lib/mcl:${GAMES_LIBDIR}/${PN}:" \
h/mcl.h || die "sed h/mcl.h failed"
}
src_compile() {
+ gnuconfig_update || die
+
egamesconf `use_enable perl` `use_enable python` || die
emake || die "emake failed"
}