[oe-commits] Khem Raj : ppp: Prepend ${D} to INCDIR

git version control git at git.openembedded.org
Sun Mar 28 16:12:30 UTC 2010


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

Author: Khem Raj <raj.khem at gmail.com>
Date:   Sun Mar 28 09:08:26 2010 -0700

ppp: Prepend ${D} to INCDIR

* Right now it tries to install into /usr/include on build
  where it should be in the staged areas.

Signed-off-by: Khem Raj <raj.khem at gmail.com>

---

 recipes/ppp/ppp_2.4.3.bb |    4 ++--
 recipes/ppp/ppp_2.4.4.bb |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/recipes/ppp/ppp_2.4.3.bb b/recipes/ppp/ppp_2.4.3.bb
index 6936dd9..7c2e872 100644
--- a/recipes/ppp/ppp_2.4.3.bb
+++ b/recipes/ppp/ppp_2.4.3.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "Point-to-Point Protocol (PPP) daemon"
 HOMEPAGE = "http://samba.org/ppp/"
 DEPENDS = "libpcap"
 LICENSE = "BSD GPLv2"
-PR = "r8"
+PR = "r9"
 
 SRC_URI = "http://ppp.samba.org/ftp/ppp/ppp-${PV}.tar.gz \
         file://ppp-2.4.3-mppe-mppc-1.1.patch;patch=1 \
@@ -31,7 +31,7 @@ EXTRA_OEMAKE = "STRIPPROG=${STRIP} MANDIR=${D}${datadir}/man/man8 INCDIR=${D}/us
 EXTRA_OECONF = "--disable-strip"
 
 do_install_append () {
-	make INCDIR=${includedir} install-devel
+	make INCDIR=${D}/${includedir} install-devel
 	make install-etcppp ETCDIR=${D}/${sysconfdir}/ppp
 	mkdir -p ${D}${bindir}/ ${D}${sysconfdir}/init.d
 	mkdir -p ${D}${sysconfdir}/ppp/ip-up.d/
diff --git a/recipes/ppp/ppp_2.4.4.bb b/recipes/ppp/ppp_2.4.4.bb
index 81ec3e0..fc4d79e 100644
--- a/recipes/ppp/ppp_2.4.4.bb
+++ b/recipes/ppp/ppp_2.4.4.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "Point-to-Point Protocol (PPP) daemon"
 HOMEPAGE = "http://samba.org/ppp/"
 DEPENDS = "libpcap"
 LICENSE = "BSD GPLv2"
-
+PR = "r1"
 # Not well tested
 DEFAULT_PREFERENCE = "-1"
 
@@ -33,7 +33,7 @@ EXTRA_OEMAKE = "STRIPPROG=${STRIP} MANDIR=${D}${datadir}/man/man8 INCDIR=${D}${i
 EXTRA_OECONF = "--disable-strip"
 
 do_install_append () {
-	make INCDIR=${includedir} install-devel
+	make INCDIR=${D}/${includedir} install-devel
 	make install-etcppp ETCDIR=${D}/${sysconfdir}/ppp
 	mkdir -p ${D}${bindir}/ ${D}${sysconfdir}/init.d
 	mkdir -p ${D}${sysconfdir}/ppp/ip-up.d/





More information about the Openembedded-commits mailing list