proftpd: breaks with parallel builds
authorPeter Korsgaard <jacmet@sunsite.dk>
Sun, 29 Aug 2010 19:48:34 +0000 (21:48 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 29 Aug 2010 19:51:07 +0000 (21:51 +0200)
The proftpd build system has a race condition, which may break the build
with high -j<level> values (libsupp.a isn't built by the time it is needed).

Fix it by using MAKE1 instead.

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

diff --git a/CHANGES b/CHANGES
index e68adf000342d9b64b7bad054298c9256ec0d132..5d0b940a8587a7d3cfa1102b41d50b372de8a72b 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -18,8 +18,8 @@
        fs: old-style squashfs for big endian archs fixed.
 
        Updated/fixed packages: busybox, imagemagick, libglib2, lua,
-       luafilesystem, lzo, netcat, php, qt, samba, startup-notification,
-       sysvinit, util-linux
+       luafilesystem, lzo, netcat, php, proftpd, qt, samba,
+       startup-notification, sysvinit, util-linux
 
        Issues resolved (http://bugs.uclibc.org):
 
index 7404d8319208673b361dfa6cb399d6b0af7ef883..11ef1ef852f85251d199fc7ec9d9ff332bc48b16 100644 (file)
@@ -52,9 +52,9 @@ $(PROFTPD_DIR)/.configured: $(PROFTPD_DIR)/.unpacked
        touch $@
 
 $(PROFTPD_DIR)/$(PROFTPD_BINARY): $(PROFTPD_DIR)/.configured
-       $(MAKE) CC="$(HOSTCC)" CFLAGS="" LDFLAGS="" \
+       $(MAKE1) CC="$(HOSTCC)" CFLAGS="" LDFLAGS="" \
                -C $(PROFTPD_DIR)/lib/libcap _makenames
-       $(MAKE) -C $(PROFTPD_DIR)
+       $(MAKE1) -C $(PROFTPD_DIR)
 
 $(TARGET_DIR)/$(PROFTPD_TARGET_BINARY): $(PROFTPD_DIR)/$(PROFTPD_BINARY)
        cp -dpf $(PROFTPD_DIR)/$(PROFTPD_BINARY) \