|
|
| |
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/" |
|
|
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 |