summaryrefslogtreecommitdiff
path: root/package/pppd/pppd.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-02-19 12:08:11 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-02-19 12:08:11 +0000
commitfc8ac0c7e511db9453105176315cc54574cfc3a7 (patch)
tree2c9f2527fc0d859af2124ef29ce8cb9b0d58bd0a /package/pppd/pppd.mk
parenta83dddf9ff22cf160dba9f4ecf21ba7b36d0ba69 (diff)
pppd: fix build without UCLIBC_HAS_BSD_ERR
Replace the BSD specific warn() with a call to syslog. Patch by Gustavo Zacarias, closes #109.
Diffstat (limited to 'package/pppd/pppd.mk')
-rw-r--r--package/pppd/pppd.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/pppd/pppd.mk b/package/pppd/pppd.mk
index 1099cd52b..0c25cd098 100644
--- a/package/pppd/pppd.mk
+++ b/package/pppd/pppd.mk
@@ -21,6 +21,7 @@ PPPD_OPTIONS_$(BR2_PACKAGE_PPPD_FILTER) += FILTER=y
$(PPPD_DIR)/.unpacked: $(DL_DIR)/$(PPPD_SOURCE)
$(PPPD_CAT) $(DL_DIR)/$(PPPD_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+ toolchain/patch-kernel.sh $(PPPD_DIR) package/pppd/ pppd\*.patch
$(SED) 's/ -DIPX_CHANGE -DHAVE_MMAP//' $(PPPD_DIR)/pppd/Makefile.linux
$(SED) 's/FILTER=y/#FILTER=y/' $(PPPD_DIR)/pppd/Makefile.linux
$(SED) 's,(INSTALL) -s,(INSTALL),' $(PPPD_DIR)/*/Makefile.linux