summaryrefslogtreecommitdiff
path: root/app-shells/bash/files/bash-4.1-parallel-build.patch
blob: ae44bcc0cf6d8bbfad15fda7f239e1d1951874f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- bash-4.1/lib/glob/Makefile.in
+++ bash-4.1/lib/glob/Makefile.in
@@ -119,6 +119,11 @@
 mostlyclean: clean
 	-( cd doc && $(MAKE) $(MFLAGS) $@ )
 
+# Dependencies
+
+${BUILD_DIR}/pathnames.h: ${BUILD_DIR}/config.h ${BUILD_DIR}/Makefile Makefile
+	-( cd ${BUILD_DIR} && ${MAKE} ${MFLAGS} pathnames.h )
+
 ######################################################################
 #								     #
 #  Dependencies for the object files which make up this library.     #
@@ -136,7 +141,7 @@
 strmatch.o: $(BUILD_DIR)/config.h
 strmatch.o: $(BASHINCDIR)/stdc.h
 
-glob.o: $(BUILD_DIR)/config.h
+glob.o: $(BUILD_DIR)/config.h $(topdir)/shell.h $(BUILD_DIR)/pathnames.h
 glob.o: $(topdir)/bashtypes.h $(BASHINCDIR)/ansi_stdlib.h $(topdir)/bashansi.h
 glob.o: $(BASHINCDIR)/posixstat.h $(BASHINCDIR)/memalloc.h
 glob.o: strmatch.h glob.h