pppd: only install manpages if BR2_HAVE_MANPAGES is enabled
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 22 Mar 2010 12:59:54 +0000 (13:59 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 22 Mar 2010 13:05:14 +0000 (14:05 +0100)
They do get removed in target-finalize, but we might as well not install
them in the first place.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
CHANGES
package/pppd/pppd.mk

diff --git a/CHANGES b/CHANGES
index 3461cd5bee36eafae9c52ddb971a24f1e27ac111..3f5f941dd2b5b20e359c7abe1ef2fd6475ff6d66 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -6,7 +6,7 @@
        X.org updated to 7.5.
 
        Updated/fixed packages: busybox, dosfstools, e2fsprogs,
-       libglib2, libpng, mtd-utils, setserial, squashfs
+       libglib2, libpng, mtd-utils, pppd, setserial, squashfs
 
        Issues resolved (http://bugs.uclibc.org):
 
index 6620abc18c0bd4a8c53e4295b9aa5445ffdaf54c..32be428ffdb5fe652476f6632725a1ff35bd5b09 100644 (file)
@@ -8,7 +8,7 @@ PPPD_VERSION = 2.4.5
 PPPD_SOURCE = ppp-$(PPPD_VERSION).tar.gz
 PPPD_SITE = ftp://ftp.samba.org/pub/ppp
 PPPD_TARGET_BINS = chat pppd pppdump pppstats
-PPPD_MANPAGES = chat pppd pppdump pppstats
+PPPD_MANPAGES = $(if $(BR2_HAVE_MANPAGES),chat pppd pppdump pppstats)
 PPPD_MAKE = $(MAKE) CC=$(TARGET_CC) COPTS="$(TARGET_CFLAGS)" -C $(PPPD_DIR) $(PPPD_MAKE_OPT)
 
 ifeq ($(BR2_PACKAGE_PPPD_FILTER),y)