ppp_2.4.3.bb : Makefile references /usr/lib /usr/include directly.
authorGraeme Gregory <dp@xora.org.uk>
Wed, 18 Jan 2006 11:25:43 +0000 (11:25 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Wed, 18 Jan 2006 11:25:43 +0000 (11:25 +0000)
* Patched out the checks the Makefile does for /usr/include/crypt.h and
/usr/include/libcrypt.* as this is broken in cross compile and these
files should always exist and be used for an OE generated libc. These
bogus checks prevented compiling on X86_64

packages/ppp/ppp-2.4.3/makefile-remove-hard-usr-reference.patch [new file with mode: 0644]
packages/ppp/ppp_2.4.3.bb

diff --git a/packages/ppp/ppp-2.4.3/makefile-remove-hard-usr-reference.patch b/packages/ppp/ppp-2.4.3/makefile-remove-hard-usr-reference.patch
new file mode 100644 (file)
index 0000000..574abfa
--- /dev/null
@@ -0,0 +1,19 @@
+--- ppp-2.4.3/pppd/Makefile.linux.orig 2006-01-17 15:09:56.000000000 +0000
++++ ppp-2.4.3/pppd/Makefile.linux      2006-01-17 15:10:21.000000000 +0000
+@@ -117,12 +117,12 @@
+ #LIBS     += -lshadow $(LIBS)
+ endif
+-ifneq ($(wildcard /usr/include/crypt.h),)
++#ifneq ($(wildcard /usr/include/crypt.h),)
+ CFLAGS   += -DHAVE_CRYPT_H=1
+-endif
+-ifneq ($(wildcard /usr/lib/libcrypt.*),)
++#endif
++#ifneq ($(wildcard /usr/lib/libcrypt.*),)
+ LIBS  += -lcrypt
+-endif
++#endif
+ ifdef NEEDDES
+ ifndef USE_CRYPT
index 8701efc..0e3b9be 100644 (file)
@@ -3,7 +3,7 @@ DESCRIPTION = "Point-to-Point Protocol (PPP) daemon"
 HOMEPAGE = "http://samba.org/ppp/"
 DEPENDS = "libpcap"
 LICENSE = "BSD GPLv2"
-PR = "r0"
+PR = "r1"
 
 SRC_URI = "ftp://ftp.samba.org/pub/ppp/ppp-${PV}.tar.gz \
        file://makefile.patch;patch=1 \
@@ -12,6 +12,7 @@ SRC_URI = "ftp://ftp.samba.org/pub/ppp/ppp-${PV}.tar.gz \
        file://plugins-fix-CC.patch;patch=1 \
        file://pppoatm-makefile.patch;patch=1 \
        file://enable-ipv6.patch;patch=1 \
+       file://makefile-remove-hard-usr-reference.patch;patch=1 \
        file://pon \
        file://poff \
        file://init \