summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2008-06-15 14:20:34 +0000
committerAlin Năstac <mrness@gentoo.org>2008-06-15 14:20:34 +0000
commit24c5a4395c21e66dbf392ae139a0d7d06cd13b06 (patch)
tree32c8127470744636d391020d5f90525478389d0e /net-dialup
parentAdd ~ia64 wrt #226479 (diff)
downloadgentoo-2-24c5a4395c21e66dbf392ae139a0d7d06cd13b06.tar.gz
gentoo-2-24c5a4395c21e66dbf392ae139a0d7d06cd13b06.tar.bz2
gentoo-2-24c5a4395c21e66dbf392ae139a0d7d06cd13b06.zip
Use eautoreconf instead eautoconf. Drop bindnow-flags (#226999).
(Portage version: 2.1.4.4)
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/rp-pppoe/ChangeLog6
-rw-r--r--net-dialup/rp-pppoe/files/rp-pppoe-3.8-autoheader.patch46
-rw-r--r--net-dialup/rp-pppoe/rp-pppoe-3.8-r2.ebuild11
3 files changed, 55 insertions, 8 deletions
diff --git a/net-dialup/rp-pppoe/ChangeLog b/net-dialup/rp-pppoe/ChangeLog
index cc2b6e4e7012..6c74091b9da0 100644
--- a/net-dialup/rp-pppoe/ChangeLog
+++ b/net-dialup/rp-pppoe/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-dialup/rp-pppoe
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/rp-pppoe/ChangeLog,v 1.89 2008/01/06 12:49:18 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/rp-pppoe/ChangeLog,v 1.90 2008/06/15 14:20:33 mrness Exp $
+
+ 15 Jun 2008; Alin Năstac <mrness@gentoo.org>
+ +files/rp-pppoe-3.8-autoheader.patch, rp-pppoe-3.8-r2.ebuild:
+ Use eautoreconf instead eautoconf. Drop bindnow-flags (#226999).
*rp-pppoe-3.8-r2 (06 Jan 2008)
diff --git a/net-dialup/rp-pppoe/files/rp-pppoe-3.8-autoheader.patch b/net-dialup/rp-pppoe/files/rp-pppoe-3.8-autoheader.patch
new file mode 100644
index 000000000000..1c902600afcc
--- /dev/null
+++ b/net-dialup/rp-pppoe/files/rp-pppoe-3.8-autoheader.patch
@@ -0,0 +1,46 @@
+diff -Nru rp-pppoe-3.8.orig/src/configure.in rp-pppoe-3.8/src/configure.in
+--- rp-pppoe-3.8.orig/src/configure.in 2008-06-15 16:59:01.000000000 +0300
++++ rp-pppoe-3.8/src/configure.in 2008-06-15 17:12:02.000000000 +0300
+@@ -44,7 +44,7 @@
+ AC_MSG_RESULT($ac_cv_struct_sockaddr_ll)
+
+ if test "$ac_cv_struct_sockaddr_ll" = yes ; then
+-AC_DEFINE(HAVE_STRUCT_SOCKADDR_LL)
++AC_DEFINE(HAVE_STRUCT_SOCKADDR_LL, 1, [Define if you have struct sockaddr_ll])
+ fi
+
+ dnl Check for N_HDLC line discipline
+@@ -55,7 +55,7 @@
+ ac_cv_n_hdlc=no)
+ AC_MSG_RESULT($ac_cv_n_hdlc)
+ if test "$ac_cv_n_hdlc" = yes ; then
+-AC_DEFINE(HAVE_N_HDLC)
++AC_DEFINE(HAVE_N_HDLC, 1, [Define if you have the N_HDLC line discipline in linux/termios.h])
+ fi
+
+ AC_ARG_ENABLE(plugin, [ --enable-plugin=pppd_src_path build pppd plugin], ac_cv_pluginpath=$enableval, ac_cv_pluginpath=no)
+@@ -100,13 +100,13 @@
+ if test "$ac_cv_header_linux_if_pppox_h" = yes ; then
+ if test "$ac_cv_pluginpath" != no ; then
+ LINUX_KERNELMODE_PLUGIN=rp-pppoe.so
+- AC_DEFINE(HAVE_LINUX_KERNEL_PPPOE)
++ AC_DEFINE(HAVE_LINUX_KERNEL_PPPOE, 1, [Define if you have kernel-mode PPPoE in Linux file])
+ PPPD_INCDIR=$ac_cv_pluginpath
+ fi
+ fi
+
+ if test "$ac_cv_debugging" = "yes" ; then
+- AC_DEFINE(DEBUGGING_ENABLED)
++ AC_DEFINE(DEBUGGING_ENABLED, 1, [Define to include debugging code])
+ fi
+
+ AC_SUBST(LINUX_KERNELMODE_PLUGIN)
+@@ -248,7 +248,7 @@
+
+ if test "$rpppoe_cv_pack_bitfields" = "rev" ; then
+ AC_MSG_RESULT(reversed)
+- AC_DEFINE(PACK_BITFIELDS_REVERSED)
++ AC_DEFINE(PACK_BITFIELDS_REVERSED, 1, [Define if bitfields are packed in reverse order])
+ else
+ AC_MSG_RESULT(normal)
+ fi
diff --git a/net-dialup/rp-pppoe/rp-pppoe-3.8-r2.ebuild b/net-dialup/rp-pppoe/rp-pppoe-3.8-r2.ebuild
index 58f77d9eeb7a..32f50c042b69 100644
--- a/net-dialup/rp-pppoe/rp-pppoe-3.8-r2.ebuild
+++ b/net-dialup/rp-pppoe/rp-pppoe-3.8-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/rp-pppoe/rp-pppoe-3.8-r2.ebuild,v 1.1 2008/01/06 12:49:18 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/rp-pppoe/rp-pppoe-3.8-r2.ebuild,v 1.2 2008/06/15 14:20:33 mrness Exp $
WANT_AUTOCONF="latest"
WANT_AUTOMAKE="latest"
@@ -30,14 +30,11 @@ src_unpack() {
epatch "${FILESDIR}/${P}-username-charset.patch" # bug 82410
epatch "${FILESDIR}/${P}-plugin-options.patch"
epatch "${FILESDIR}/${P}-configure.patch"
+ epatch "${FILESDIR}/${P}-autoheader.patch"
epatch "${FILESDIR}/${P}-session-offset.patch" # bug 204476
- cd "${S}"
- #Avoid "setXid, dynamically linked and using lazy bindings" QA notice
- sed -i -e 's:\(@CC@\) \(-o pppoe-wrapper wrapper.o\):\1 '$(bindnow-flags)' \2:' gui/Makefile.in
-
- cd src
- eautoconf
+ cd "${S}"/src
+ eautoreconf
}
src_compile() {