Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 72668 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/net-dialup/capi4k-utils/capi4k-utils-20041006-r2.ebuild (-1 / +6 lines)
Lines 10-16 Link Here
10
10
11
MY_FILES=${FILESDIR}/${PV}
11
MY_FILES=${FILESDIR}/${PV}
12
MY_P=${PN}-${YEAR_PV}-${MON_PV}-${DAY_PV}
12
MY_P=${PN}-${YEAR_PV}-${MON_PV}-${DAY_PV}
13
PPPVERSIONS="2.4.2"  # versions in portage
13
PPPVERSIONS="2.4.2 2.4.3"  # versions in portage
14
14
15
DESCRIPTION="CAPI4Linux Utils"
15
DESCRIPTION="CAPI4Linux Utils"
16
HOMEPAGE="ftp://ftp.in-berlin.de/pub/capi4linux/"
16
HOMEPAGE="ftp://ftp.in-berlin.de/pub/capi4linux/"
Lines 46-51 Link Here
46
	sed -i -e "s:^\(libcapi20_la_CFLAGS = \):\1-fPIC :g" capi20/Makefile.am || die "sed failed"
46
	sed -i -e "s:^\(libcapi20_la_CFLAGS = \):\1-fPIC :g" capi20/Makefile.am || die "sed failed"
47
	# patch pppdcapiplugin/Makefile to use only the ppp versions we want
47
	# patch pppdcapiplugin/Makefile to use only the ppp versions we want
48
	sed -i -e "s:^\(PPPVERSIONS = \).*$:\1${PPPVERSIONS}:g" pppdcapiplugin/Makefile || die "sed failed"
48
	sed -i -e "s:^\(PPPVERSIONS = \).*$:\1${PPPVERSIONS}:g" pppdcapiplugin/Makefile || die "sed failed"
49
	# create ppp-2.4.3 structure for pppdcapiplugin
50
	mkdir -p pppdcapiplugin/ppp-2.4.3/pppd
51
	cp -f "pppdcapiplugin/ppp-2.4.2/Makefile"  "pppdcapiplugin/ppp-2.4.3/Makefile"
52
	cp -f "${MY_FILES}/ppp-2.4.3_patchlevel.h" "pppdcapiplugin/ppp-2.4.3/pppd/patchlevel.h"
53
	cp -f "${MY_FILES}/ppp-2.4.3_pppd.h"       "pppdcapiplugin/ppp-2.4.3/pppd/pppd.h"
49
}
54
}
50
55
51
src_compile() {
56
src_compile() {

Return to bug 72668