sed -e 's|$dir|${libdir}|' -i ${D}${libdir}/expect${PV}/pkgIndex.tcl
}
-EXTRA_OECONF += "--includedir=${STAGING_INCDIR} \
- --with-tcl=${STAGING_LIBDIR} \
+EXTRA_OECONF += "--with-tcl=${STAGING_LIBDIR} \
--with-tclinclude=${STAGING_INCDIR}/tcl8.6 \
--enable-shared \
--enable-threads \
${libdir}/.debug \
"
FILES_${PN}-dev = "${libdir_native}/expect${PV}/libexpect*.so \
- ${STAGING_INCDIR}/expect.h \
- ${STAGING_INCDIR}/expect_tcl.h \
- ${STAGING_INCDIR}/expect_comm.h \
- ${STAGING_INCDIR}/tcldbg.h \
+ ${includedir}/expect.h \
+ ${includedir}/expect_tcl.h \
+ ${includedir}/expect_comm.h \
+ ${includedir}/tcldbg.h \
${includedir}/*.h \
"