diff --git a/srcpkgs/ppp/template b/srcpkgs/ppp/template index bd8bfb24b6..e3d51053b8 100644 --- a/srcpkgs/ppp/template +++ b/srcpkgs/ppp/template @@ -44,8 +44,18 @@ pre_configure() sed -i "s:^#CBCP=y:CBCP=y:" ${wrksrc}/pppd/Makefile.linux } +pre_install() +{ + for f in $(find ${wrksrc} -type f -name Makefile); do + sed -i -e "s|\$(INSTALL) -s|\$(INSTALL|g" ${f} || return 1 + done +} + post_install() { + chmod 755 ${DESTDIR}/usr/lib/pppd/${version}/*.so + install -m755 ${wrksrc}/pppd/pppd ${DESTDIR}/usr/sbin + install -D -m644 ${FILESDIR}/options \ ${DESTDIR}/etc/ppp/options || return 1 install -D -m755 ${FILESDIR}/ip-up \