diff options
author | Peter Korsgaard | 2012-06-16 22:58:26 +0200 |
---|---|---|
committer | Peter Korsgaard | 2012-06-16 22:58:26 +0200 |
commit | 1a4b482776db83e331ff787d01512f6d52610f2a (patch) | |
tree | ddea59a6afa93faac272c501d500b8e21ae296e2 /package | |
parent | New package: xinetd (diff) | |
download | buildroot-1a4b482776db83e331ff787d01512f6d52610f2a.tar.gz buildroot-1a4b482776db83e331ff787d01512f6d52610f2a.tar.xz buildroot-1a4b482776db83e331ff787d01512f6d52610f2a.zip |
xinetd: fix build without RPC support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r-- | package/xinetd/Config.in | 1 | ||||
-rw-r--r-- | package/xinetd/xinetd.mk | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/package/xinetd/Config.in b/package/xinetd/Config.in index 6bfe24ca4..76fe60354 100644 --- a/package/xinetd/Config.in +++ b/package/xinetd/Config.in @@ -1,6 +1,5 @@ config BR2_PACKAGE_XINETD bool "xinetd" - depends on BR2_INET_RPC help xinetd is a secure replacement for inetd. It was originally written by panos@cs.colorado.edu. diff --git a/package/xinetd/xinetd.mk b/package/xinetd/xinetd.mk index 2ab254627..6a69a554e 100644 --- a/package/xinetd/xinetd.mk +++ b/package/xinetd/xinetd.mk @@ -7,4 +7,8 @@ XINETD_VERSION = 2.3.15 XINETD_SOURCE = xinetd-$(XINETD_VERSION).tar.gz XINETD_SITE = http://www.xinetd.org +ifneq ($(BR2_INET_RPC),y) +XINETD_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -DNO_RPC" +endif + $(eval $(call AUTOTARGETS)) |