]> git.openpandora.org Git - openembedded.git/commitdiff
pam (1.0.2 and 0.79): install headers in ${includedir}/security
authorOtavio Salvador <otavio@ossystems.com.br>
Thu, 2 Oct 2008 22:10:54 +0000 (19:10 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 24 Oct 2008 21:57:29 +0000 (19:57 -0200)
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
packages/pam/libpam_1.0.2.bb

index c695f4799b2083fbedc3e6dd5eb21778e536acfa..7a5ff4bdc8a6c53ca4524dc94f4be2a770899a77 100644 (file)
@@ -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
index 0b7eada2abe73cb0b03e498675576fa9a2b652c4..b1ceb1bb04b3ff1a4deea49db02536a9aa4383f5 100644 (file)
@@ -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
 }
-