View | Details | Raw Unified
Collapse All | Expand All

(-) /usr/portage/portage/net-dialup/capi4k-utils/capi4k-utils-20041006-r2.ebuild (-1 / +3 lines)
 Lines 10-16    Link Here 
MY_FILES=${FILESDIR}/${PV}
MY_FILES=${FILESDIR}/${PV}
MY_P=${PN}-${YEAR_PV}-${MON_PV}-${DAY_PV}
MY_P=${PN}-${YEAR_PV}-${MON_PV}-${DAY_PV}
PPPVERSIONS="2.4.2"  # versions in portage
PPPVERSIONS="2.4.2 2.4.3"  # versions in portage
DESCRIPTION="CAPI4Linux Utils"
DESCRIPTION="CAPI4Linux Utils"
HOMEPAGE="ftp://ftp.in-berlin.de/pub/capi4linux/"
HOMEPAGE="ftp://ftp.in-berlin.de/pub/capi4linux/"
 Lines 38-43    Link Here 
	cp -f ${MY_FILES}/config .config
	cp -f ${MY_FILES}/config .config
	# fix the little odd bugs
	# fix the little odd bugs
	epatch ${MY_FILES}/${PN}.patch || die "patch failed"
	epatch ${MY_FILES}/${PN}.patch || die "patch failed"
	# support for ppp-2.4.3
	epatch ${MY_FILES}/ppp-2.4.3.patch || die
	# patch includes of all *.c files
	# patch includes of all *.c files
	sed -i -e "s:linux/capi.h>$:linux/compiler.h>\n#include <linux/capi.h>:g" */*.c || die "sed failed"
	sed -i -e "s:linux/capi.h>$:linux/compiler.h>\n#include <linux/capi.h>:g" */*.c || die "sed failed"
	# patch all Makefile.am and Rules.make to use our CFLAGS
	# patch all Makefile.am and Rules.make to use our CFLAGS