mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-19 16:40:46 -09:00
package/exim: do not build perl-based utilities
Upstream added various utilities, for example exim_id_update
with commit 46a36afae4
which is a "Utility for one-time upgrage/downgrade between exim message-
id formats, around the 4.97 transition" which would add a dependency to
host-perl/perl so we build and install only the needed exim binary.
Fixes:
http://autobuild.buildroot.net/results/111302dc3b4763befe9b159ae59b1b72de9162ea/
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
22b6297296
commit
9bf9cac489
@@ -144,16 +144,15 @@ define EXIM_BUILD_CMDS
|
|||||||
CFLAGS="-std=c99 $(HOST_CFLAGS)" \
|
CFLAGS="-std=c99 $(HOST_CFLAGS)" \
|
||||||
LFLAGS="-fPIC $(HOST_LDFLAGS)"
|
LFLAGS="-fPIC $(HOST_LDFLAGS)"
|
||||||
$(TARGET_MAKE_ENV) build=br $(MAKE) -C $(@D) $(EXIM_STATIC_FLAGS) \
|
$(TARGET_MAKE_ENV) build=br $(MAKE) -C $(@D) $(EXIM_STATIC_FLAGS) \
|
||||||
CFLAGS="-std=c99 $(TARGET_CFLAGS) $(EXIM_CFLAGS)"
|
CFLAGS="-std=c99 $(TARGET_CFLAGS) $(EXIM_CFLAGS)" exim
|
||||||
endef
|
endef
|
||||||
|
|
||||||
# Need to replicate the LFLAGS in install, as exim still wants to build
|
# Need to replicate the LFLAGS in install, as exim still wants to build
|
||||||
# something when installing...
|
# something when installing...
|
||||||
define EXIM_INSTALL_TARGET_CMDS
|
define EXIM_INSTALL_TARGET_CMDS
|
||||||
DESTDIR=$(TARGET_DIR) INSTALL_ARG="-no_chown -no_symlink" build=br \
|
cd $(@D)/build-br; \
|
||||||
$(MAKE) -C $(@D) $(EXIM_STATIC_FLAGS) \
|
DESTDIR=$(TARGET_DIR) build=br \
|
||||||
CFLAGS="-std=c99 $(TARGET_CFLAGS)" \
|
../scripts/exim_install -no_chown -no_symlink exim
|
||||||
install
|
|
||||||
chmod u+s $(TARGET_DIR)/usr/sbin/exim
|
chmod u+s $(TARGET_DIR)/usr/sbin/exim
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user