ppp: Prepend ${D} to INCDIR
authorKhem Raj <raj.khem@gmail.com>
Sun, 28 Mar 2010 16:08:26 +0000 (09:08 -0700)
committerKhem Raj <raj.khem@gmail.com>
Sun, 28 Mar 2010 16:12:10 +0000 (09:12 -0700)
* 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@gmail.com>
recipes/ppp/ppp_2.4.3.bb
recipes/ppp/ppp_2.4.4.bb

index 6936dd9..7c2e872 100644 (file)
@@ -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/
index 81ec3e0..fc4d79e 100644 (file)
@@ -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/