/[gentoo-x86]/net-misc/portfwd/portfwd-0.28.ebuild
Gentoo

Diff of /net-misc/portfwd/portfwd-0.28.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.5 Revision 1.6
1# Copyright 1999-2006 Gentoo Foundation 1# Copyright 1999-2007 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/net-misc/portfwd/Attic/portfwd-0.28.ebuild,v 1.5 2006/10/26 09:39:00 pva Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-misc/portfwd/Attic/portfwd-0.28.ebuild,v 1.6 2007/02/20 13:32:00 blubb Exp $
4 4
5WANT_AUTOCONF="2.5" 5WANT_AUTOCONF="2.5"
6WANT_AUTOMAKE="1.4" 6WANT_AUTOMAKE="1.4"
7inherit autotools 7inherit autotools eutils
8 8
9DESCRIPTION="Port Forwarding Daemon" 9DESCRIPTION="Port Forwarding Daemon"
10SRC_URI="mirror://sourceforge/${PN}/${P/_/}.tar.gz" 10SRC_URI="mirror://sourceforge/${PN}/${P/_/}.tar.gz"
11HOMEPAGE="http://portfwd.sourceforge.net" 11HOMEPAGE="http://portfwd.sourceforge.net"
12LICENSE="GPL-2" 12LICENSE="GPL-2"
19RDEPEND="" 19RDEPEND=""
20 20
21src_unpack() { 21src_unpack() {
22 unpack ${A} 22 unpack ${A}
23 cd ${WORKDIR}/${P/_/} 23 cd ${WORKDIR}/${P/_/}
24
25 epatch "${FILESDIR}"/${P}-64bit.patch
24 26
25 cd src 27 cd src
26 sed -iorig \ 28 sed -iorig \
27 -e "s:^CFLAGS =.*:CFLAGS = @CFLAGS@ -Wall -DPORTFWD_CONF=\\\\\"\$(sysconfdir)/portfwd.cfg\\\\\":" \ 29 -e "s:^CFLAGS =.*:CFLAGS = @CFLAGS@ -Wall -DPORTFWD_CONF=\\\\\"\$(sysconfdir)/portfwd.cfg\\\\\":" \
28 -e "s:^CXXFLAGS =.*:CPPFLAGS = @CXXFLAGS@ -Wall -DPORTFWD_CONF=\\\\\"\$(sysconfdir)/portfwd.cfg\\\\\":" \ 30 -e "s:^CXXFLAGS =.*:CPPFLAGS = @CXXFLAGS@ -Wall -DPORTFWD_CONF=\\\\\"\$(sysconfdir)/portfwd.cfg\\\\\":" \

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.20