From b16fd743a61c22d98083a8a33072c73a7bcd8ab6 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 28 Mar 2010 09:08:26 -0700 Subject: [PATCH] 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 --- 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 6936dd98cc..7c2e872f4c 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 81ec3e0737..fc4d79e7ed 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/ -- 2.39.5