[oe-commits] Otavio Salvador : pam (1.0.2 and 0.79): install headers in ${includedir}/ security

GIT User account git at amethyst.openembedded.net
Fri Oct 24 22:01:45 UTC 2008


Module: openembedded.git
Branch: org.openembedded.dev
Commit: fdf64f87709e53025a8c58ccfbdc02422651d676
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=fdf64f87709e53025a8c58ccfbdc02422651d676

Author: Otavio Salvador <otavio at ossystems.com.br>
Date:   Thu Oct  2 19:10:54 2008 -0300

pam (1.0.2 and 0.79): install headers in ${includedir}/security

While building an O.S. Systems module that uses the PAM library this
problem has been found since the code was compiling fine in a lot of
different environments and failing on OE.

Checking the source has been noticed that upstream explicitely set
includedir in configure script but autotools class overrided it by
mistake. This fixes it to the desired behaviour.

---

 packages/pam/libpam_0.79.bb  |    5 ++++-
 packages/pam/libpam_1.0.2.bb |    6 ++++--
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/packages/pam/libpam_0.79.bb b/packages/pam/libpam_0.79.bb
index c695f47..7a5ff4b 100644
--- a/packages/pam/libpam_0.79.bb
+++ b/packages/pam/libpam_0.79.bb
@@ -18,7 +18,7 @@ HOMEPAGE = "http://www.kernel.org/pub/linux/libs/pam"
 SECTION = "libs"
 PRIORITY = "optional"
 LICENSE = "GPLv2"
-PR = "r1"
+PR = "r2"
 
 # The project is actually called Linux-PAM but that gives
 # a bad OE package name because of the upper case characters
@@ -36,6 +36,9 @@ SRC_URI += " file://libpam-make.patch;patch=1"
 
 inherit autotools
 
+# maintain the pam default layout
+EXTRA_OECONF += " --includedir=${includedir}/security"
+
 # EXTRA_OECONF += " --enable-static-libpam"
 # Disable building of the documentation - it requires too many different
 # programs installed on the build system and is a waste of time.  This
diff --git a/packages/pam/libpam_1.0.2.bb b/packages/pam/libpam_1.0.2.bb
index 0b7eada..b1ceb1b 100644
--- a/packages/pam/libpam_1.0.2.bb
+++ b/packages/pam/libpam_1.0.2.bb
@@ -12,7 +12,7 @@ LICENSE = "GPLv2"
 
 DEPENDS = "flex flex-native"
 
-PR = "r1"
+PR = "r2"
 
 # The project is actually called Linux-PAM but that gives
 # a bad OE package name because of the upper case characters
@@ -27,6 +27,9 @@ inherit autotools
 
 LEAD_SONAME = "libpam.so.*"
 
+# maintain the pam default layout
+EXTRA_OECONF += " --includedir=${includedir}/security"
+
 python populate_packages_prepend () {
 	import os.path
 
@@ -44,4 +47,3 @@ python populate_packages_prepend () {
 do_stage() {
 	autotools_stage_all
 }
-





More information about the Openembedded-commits mailing list