util-macros: Add hack for the loss of the xaw.m4 file until xorg-apps are released which don't use it

This commit is contained in:
Richard Purdie 2009-01-15 15:27:11 +00:00
parent b10b195b8c
commit 29fd4733fd
2 changed files with 17 additions and 2 deletions

View File

@ -0,0 +1,14 @@
Index: util-macros-1.2.1/xorg-macros.m4.in
===================================================================
--- util-macros-1.2.1.orig/xorg-macros.m4.in 2009-01-15 13:49:56.000000000 +0000
+++ util-macros-1.2.1/xorg-macros.m4.in 2009-01-15 13:52:22.000000000 +0000
@@ -456,3 +456,9 @@
fi
AC_SUBST(CWARNFLAGS)
]) # XORG_CWARNFLAGS
+
+AC_DEFUN([XAW_CHECK_XPRINT_SUPPORT], [
+PKG_CHECK_MODULES(TMP_XAW, xaw7)
+$1_CFLAGS=$TMP_XAW_CFLAGS
+$1_LIBS=$TMP_XAW_LIBS
+])

View File

@ -1,10 +1,11 @@
require xorg-util-common.inc
DESCRIPTION = "X autotools macros"
PR = "r2"
PR = "r5"
PE = "1"
SRC_URI += "file://unbreak_cross_compile.patch;patch=1"
SRC_URI += "file://unbreak_cross_compile.patch;patch=1 \
file://xaw.patch;patch=1"
# ${PN} is empty so we need to tweak -dev and -dbg package dependencies
RDEPENDS_${PN}-dev = ""