$(REMOVE)/autofs-4.1.4
$(TOUCH)
+AUTOFS5_PATCH = autofs-include-linux-nfs.h-directly-in-rpc_sub.patch
+AUTOFS5_PATCH += autofs-force-STRIP-to-empty.patch
+
$(D)/autofs5: $(D)/libtirpc $(ARCHIVE)/autofs-$(AUTOFS5_VER).tar.gz | $(TARGETPREFIX)
$(START_BUILD)
$(REMOVE)/autofs-$(AUTOFS5_VER)
$(UNTAR)/autofs-$(AUTOFS5_VER).tar.gz
- cd $(BUILD_TMP)/autofs-$(AUTOFS5_VER) && \
- $(PATCH)/autofs-include-linux-nfs.h-directly-in-rpc_sub.patch && \
- export ac_cv_linux_procfs=yes && \
- export ac_cv_path_KRB5_CONFIG=no && \
- export ac_cv_path_MODPROBE=/sbin/modprobe && \
- export ac_cv_path_RANLIB=$(TARGET)-ranlib && \
- autoreconf -fi && \
+ set -e; cd $(BUILD_TMP)/autofs-$(AUTOFS5_VER); \
+ $(call apply_patches, $(AUTOFS5_PATCH)); \
+ export ac_cv_linux_procfs=yes; \
+ export ac_cv_path_KRB5_CONFIG=no; \
+ export ac_cv_path_MODPROBE=/sbin/modprobe; \
+ export ac_cv_path_RANLIB=$(TARGET)-ranlib; \
+ autoreconf -fi; \
$(CONFIGURE) \
--prefix= \
--datarootdir=/.remove \
--disable-mount-locking \
--without-openldap \
--without-sasl \
- --enable-ignore-busy \
--with-path=$(PATH) \
--with-libtirpc \
--with-hesiod=no \
--with-mapdir=/var/etc \
--with-fifodir=/var/run \
--with-flagdir=/var/run \
- && \
- $(MAKE) SUBDIRS="lib daemon modules" DONTSTRIP=1 && \
+ ; \
+ $(MAKE) SUBDIRS="lib daemon modules" DONTSTRIP=1; \
$(MAKE) SUBDIRS="lib daemon modules" install DESTDIR=$(TARGETPREFIX)
$(REMOVE)/autofs-$(AUTOFS5_VER)
$(TOUCH)