emake DESTDIR="${D}" install #docdir=/usr/share/doc/${PF} install
#Don't use compiled rp-pppoe plugin - see pkg_preinst below
- local pppoe_plugin="${ED%/}/etc/ppp/plugins/rp-pppoe.so"
+ local pppoe_plugin="${ED}/etc/ppp/plugins/rp-pppoe.so"
if [ -f "${pppoe_plugin}" ] ; then
rm "${pppoe_plugin}" || die
fi
pkg_preinst() {
# Use the rp-pppoe plugin that comes with net-dialup/pppd
- if [ -n "${PPPD_VER}" ] && [ -f "${EROOT%/}/usr/lib/pppd/${PPPD_VER}/rp-pppoe.so" ] ; then
+ if [ -n "${PPPD_VER}" ] && [ -f "${EROOT}/usr/lib/pppd/${PPPD_VER}/rp-pppoe.so" ] ; then
dosym ../../../usr/lib/pppd/${PPPD_VER}/rp-pppoe.so /etc/ppp/plugins/rp-pppoe.so
fi
}