TARGET = $(DIR_INFO)/$(THISAPP)
PROG = nagios_nrpe
-PAK_VER = 1
+PAK_VER = 2
DEPS = "nagios"
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && ./configure --prefix=/usr --libexecdir=/usr/lib/nagios \
- --with-nrpe-user=nobody --with-nrpe-group=nobody \
- --with-nagios-user=nobody --with-nagios-group=nobody
+ cd $(DIR_APP) && ./configure \
+ --prefix=/usr \
+ --libexecdir=/usr/lib/nagios \
+ --with-nrpe-user=nobody \
+ --with-nrpe-group=nobody \
+ --with-nagios-user=nobody \
+ --with-nagios-group=nobody \
+ --enable-command-args \
+ ac_cv_lib_wrap_main=no
+
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
@rm -rf $(DIR_APP)