xfce-mcs-manager.inc: fix .pc file to not have tmpdir on includedir field
authorOtavio Salvador <otavio@ossystems.com.br>
Mon, 12 May 2008 20:59:41 +0000 (17:59 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 17 Oct 2008 17:08:00 +0000 (14:08 -0300)
The includedir field was left with full path and this made the package
to fail in sanity checks. This patch changes it to point to
/usr/include as all other package does.

packages/xfce/xfce-mcs-manager.inc

index de12b14..8ad747b 100644 (file)
@@ -14,3 +14,7 @@ do_stage() {
 }
 
 
+do_stage_append () {
+       install -d ${PKG_CONFIG_DIR}
+       sed -e 's:^includedir=.*:includedir="/usr/include":;' ${S}/xfce-mcs-manager/xfce-mcs-manager.pc >${PKG_CONFIG_DIR}/xfce-mcs-manager.pc
+}