fixed broken compilation on uclibc (#61184)
authorAlin Năstac <mrness@gentoo.org>
Fri, 12 Nov 2004 18:59:52 +0000 (18:59 +0000)
committerAlin Năstac <mrness@gentoo.org>
Fri, 12 Nov 2004 18:59:52 +0000 (18:59 +0000)
net-dialup/linux-atm/ChangeLog
net-dialup/linux-atm/Manifest
net-dialup/linux-atm/files/2.4.1-uclibc.patch [new file with mode: 0644]
net-dialup/linux-atm/files/digest-linux-atm-2.4.1-r1 [new file with mode: 0644]
net-dialup/linux-atm/linux-atm-2.4.1-r1.ebuild [new file with mode: 0644]

index 4322f954673944f69c782bdced23ad040e935623..96ea731ec6bce07ff9c9bbca27b24019e333ef96 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for net-dialup/linux-atm
 # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/linux-atm/ChangeLog,v 1.7 2004/07/09 21:09:03 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/linux-atm/ChangeLog,v 1.8 2004/11/12 18:59:52 mrness Exp $
+
+*linux-atm-2.4.1-r1 (12 Nov 2004)
+
+  12 Sep 2004; Alin Nastac <mrness@gentoo.org> 
+  +linux-atm-2.4.1-r1.ebuild, +files/2.4.1-uclib.patch:
+  Fixed broken compilation on uclibc env (#61184).
 
   09 Jul 2004; Bryan Østergaard <kloeri@gentoo.org> linux-atm-2.4.1.ebuild:
   Stable on alpha.
index e9271c9b80af632e86f63f2060a2fd2c497da193..8492c69bd08b42d465e2f2f066a2380e5b313451 100644 (file)
@@ -1,15 +1,18 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-MD5 f92b07928eca793c02ad9e56ef106b66 ChangeLog 816
+MD5 a0371081d8e80a52bc459b9a4db3bb98 ChangeLog 1007
 MD5 0a27d5257c7f3393651e06c91c3bdd0a linux-atm-2.4.1.ebuild 857
 MD5 ec2f84816306825d125d0c01bd86758d metadata.xml 163
-MD5 6a54ce48b2a9cb74b5b968847fe7a1ea files/digest-linux-atm-2.4.1 67
+MD5 92e79640e626c97e4e546417a69d6fd6 linux-atm-2.4.1-r1.ebuild 1005
 MD5 377f9a635f2f11c0d0e8b5c6b83d14d7 files/2.4.1-gcc34.patch 1175
+MD5 6a54ce48b2a9cb74b5b968847fe7a1ea files/digest-linux-atm-2.4.1 67
+MD5 6a54ce48b2a9cb74b5b968847fe7a1ea files/digest-linux-atm-2.4.1-r1 67
+MD5 2513dd16d6943f14795364d0d71aab50 files/2.4.1-uclibc.patch 497
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.9.10 (GNU/Linux)
+Version: GnuPG v1.2.6 (GNU/Linux)
 
-iD8DBQFBVP2HHTu7gpaalycRAkqnAKCdqu4GG+XLREJrTFx9txzROwGXNACfeqbK
-8J1deStMFaUDT1XUpCIAgSs=
-=ltqo
+iD8DBQFBlQg3jtv59x0+BrURAkMuAJ9UtQEQw5TdQLfKcqoKsKdQC5Rs3ACgqsjj
+L7hUK6Lg7BsO4K58yl3vvZg=
+=PeQz
 -----END PGP SIGNATURE-----
diff --git a/net-dialup/linux-atm/files/2.4.1-uclibc.patch b/net-dialup/linux-atm/files/2.4.1-uclibc.patch
new file mode 100644 (file)
index 0000000..2e5dcd7
--- /dev/null
@@ -0,0 +1,11 @@
+--- linux-atm-2.4.1/config.sub.chris   2004-08-21 19:05:03 +0000
++++ linux-atm-2.4.1/config.sub 2004-08-21 19:05:27 +0000
+@@ -117,7 +117,7 @@
+ # Here we must recognize all the valid KERNEL-OS combinations.
+ maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
+ case $maybe_os in
+-  nto-qnx* | linux-gnu* | storm-chaos* | os2-emx*)
++  nto-qnx* | linux-gnu* | linux-uclibc* | storm-chaos* | os2-emx*)
+     os=-$maybe_os
+     basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
+     ;;
diff --git a/net-dialup/linux-atm/files/digest-linux-atm-2.4.1-r1 b/net-dialup/linux-atm/files/digest-linux-atm-2.4.1-r1
new file mode 100644 (file)
index 0000000..eb664b0
--- /dev/null
@@ -0,0 +1 @@
+MD5 84fef49cc39ff2605204246666f65864 linux-atm-2.4.1.tar.gz 711714
diff --git a/net-dialup/linux-atm/linux-atm-2.4.1-r1.ebuild b/net-dialup/linux-atm/linux-atm-2.4.1-r1.ebuild
new file mode 100644 (file)
index 0000000..b0730d7
--- /dev/null
@@ -0,0 +1,39 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/linux-atm/linux-atm-2.4.1-r1.ebuild,v 1.1 2004/11/12 18:59:52 mrness Exp $
+
+inherit eutils
+
+DESCRIPTION="Tools for ATM"
+HOMEPAGE="http://linux-atm.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+IUSE=""
+RESTRICT="autoconfig"
+
+DEPEND="virtual/libc"
+
+src_unpack() {
+       unpack ${A}
+       cd ${S}
+       epatch ${FILESDIR}/${PV}-gcc34.patch ${FILESDIR}/${PV}-uclibc.patch
+}
+
+src_compile() {
+       econf || die "configure failed"
+       sed -i 's:hosts.atm :hosts.atm ${D}:' src/config/Makefile || die "fail seding the Makefile"
+       emake || die "make failed"
+}
+
+src_install() {
+       make \
+               DESTDIR=${D} \
+               man_prefix=/usr/share/man \
+               install || die "make install failed"
+
+       dodoc README NEWS THANKS AUTHORS BUGS INSTALL ChangeLog
+       dodoc doc/README* doc/atm*
+}