diff options
Diffstat (limited to 'openembedded/packages/ppp/ppp-2.4.3/makefile-remove-hard-usr-reference.patch')
| -rw-r--r-- | openembedded/packages/ppp/ppp-2.4.3/makefile-remove-hard-usr-reference.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/openembedded/packages/ppp/ppp-2.4.3/makefile-remove-hard-usr-reference.patch b/openembedded/packages/ppp/ppp-2.4.3/makefile-remove-hard-usr-reference.patch new file mode 100644 index 0000000000..574abfaf2c --- /dev/null +++ b/openembedded/packages/ppp/ppp-2.4.3/makefile-remove-hard-usr-reference.patch | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | --- ppp-2.4.3/pppd/Makefile.linux.orig 2006-01-17 15:09:56.000000000 +0000 | ||
| 2 | +++ ppp-2.4.3/pppd/Makefile.linux 2006-01-17 15:10:21.000000000 +0000 | ||
| 3 | @@ -117,12 +117,12 @@ | ||
| 4 | #LIBS += -lshadow $(LIBS) | ||
| 5 | endif | ||
| 6 | |||
| 7 | -ifneq ($(wildcard /usr/include/crypt.h),) | ||
| 8 | +#ifneq ($(wildcard /usr/include/crypt.h),) | ||
| 9 | CFLAGS += -DHAVE_CRYPT_H=1 | ||
| 10 | -endif | ||
| 11 | -ifneq ($(wildcard /usr/lib/libcrypt.*),) | ||
| 12 | +#endif | ||
| 13 | +#ifneq ($(wildcard /usr/lib/libcrypt.*),) | ||
| 14 | LIBS += -lcrypt | ||
| 15 | -endif | ||
| 16 | +#endif | ||
| 17 | |||
| 18 | ifdef NEEDDES | ||
| 19 | ifndef USE_CRYPT | ||
