summaryrefslogtreecommitdiff
path: root/recipes/hal
diff options
context:
space:
mode:
authorSteve Sakoman <steve@sakoman.com>2009-09-17 15:29:44 -0700
committerKoen Kooi <koen@openembedded.org>2009-09-20 09:47:47 +0200
commitf0f55fcf24520e7e91b849b7b439f9c6563ceff3 (patch)
tree7386f84027a0b9b1152cadd85accf84ea7743964 /recipes/hal
parentf229a7876a539468c13d5feb0032c8d5c352175d (diff)
hal-cups-utils: use STAGING_INCDIR not /usr/include
Diffstat (limited to 'recipes/hal')
-rw-r--r--recipes/hal/hal-cups-utils_0.6.19.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes/hal/hal-cups-utils_0.6.19.bb b/recipes/hal/hal-cups-utils_0.6.19.bb
index 289990e0f0..71de63db56 100644
--- a/recipes/hal/hal-cups-utils_0.6.19.bb
+++ b/recipes/hal/hal-cups-utils_0.6.19.bb
@@ -18,6 +18,10 @@ FILES_cups-backend-hal += "${libdir}/cups/backend/*"
EXTRA_OECONF = "--libexecdir=${libdir}/hal/scripts"
+do_configure_prepend() {
+ sed -i -e s:{includedir}/cups:{STAGING_INCDIR}/cups:g configure.in
+}
+
do_configure_append() {
sed -i 's,^#!/bin/env python,#!/usr/bin/python,' systemv/hal_lpadmin
}