summaryrefslogtreecommitdiff
path: root/www-client/lynx/files/lynx-2.8.9_p1-parallel.patch
diff options
context:
space:
mode:
Diffstat (limited to 'www-client/lynx/files/lynx-2.8.9_p1-parallel.patch')
-rw-r--r--www-client/lynx/files/lynx-2.8.9_p1-parallel.patch57
1 files changed, 57 insertions, 0 deletions
diff --git a/www-client/lynx/files/lynx-2.8.9_p1-parallel.patch b/www-client/lynx/files/lynx-2.8.9_p1-parallel.patch
new file mode 100644
index 000000000000..c4196af3b45e
--- /dev/null
+++ b/www-client/lynx/files/lynx-2.8.9_p1-parallel.patch
@@ -0,0 +1,57 @@
+--- lynx2.8.9rel.1/makefile.in
++++ lynx2.8.9rel.1/makefile.in
+@@ -200,10 +200,10 @@
+
+ all lynx$x: cfg_defs.h LYHelp.h
+ @MSG_DIR_MAKE@ $(SHELL) $(scripts_dir)/fixtext.sh $(srcdir)/LYMessages_en.h >LYMessages.c
+-@MSG_DIR_MAKE@ cd $(PO_DIR) && $(MAKE_RECUR)
+- cd $(WWW_DIR) && $(MAKE_RECUR) $(WWW_CFLAGS)
+- cd $(CHR_DIR) && $(MAKE_RECUR) all $(CHR_CFLAGS)
+- cd $(SRC_DIR) && $(MAKE_RECUR) all $(SRC_CFLAGS)
++@MSG_DIR_MAKE@ $(MAKE) @cf_cv_makeflags@ DESTDIR="$(DESTDIR)" CC="$(CC)" -C $(PO_DIR)
++ $(MAKE) @cf_cv_makeflags@ DESTDIR="$(DESTDIR)" CC="$(CC)" -C $(WWW_DIR) $(WWW_CFLAGS)
++ $(MAKE) @cf_cv_makeflags@ DESTDIR="$(DESTDIR)" CC="$(CC)" -C $(CHR_DIR) all $(CHR_CFLAGS)
++ $(MAKE) @cf_cv_makeflags@ DESTDIR="$(DESTDIR)" CC="$(CC)" -C $(SRC_DIR) all $(SRC_CFLAGS)
+
+ lint:
+ cd $(WWW_DIR) && $(MAKE_RECUR) LINT="$(LINT)" $(WWW_CFLAGS) $@
+@@ -241,8 +241,8 @@
+ rm -f core *.core
+
+ depend: cfg_defs.h LYHelp.h
+- cd $(WWW_DIR) && $(MAKE_RECUR) $@
+- cd $(SRC_DIR) && $(MAKE_RECUR) $@
++ $(MAKE) @cf_cv_makeflags@ DESTDIR="$(DESTDIR)" CC="$(CC)" -C $(WWW_DIR) $@
++ $(MAKE) @cf_cv_makeflags@ DESTDIR="$(DESTDIR)" CC="$(CC)" -C $(SRC_DIR) $@
+
+ distclean: clean
+ -rm -f WWW/Library/*/*~
+@@ -297,7 +297,7 @@
+ @echo Full installation complete.
+
+ install-bin: $(BINDIR) lynx$x
+-@MSG_DIR_MAKE@ cd $(PO_DIR) && $(MAKE_RECUR) install
++@MSG_DIR_MAKE@ $(MAKE) @cf_cv_makeflags@ DESTDIR="$(DESTDIR)" CC="$(CC)" -C $(PO_DIR)
+ @ECHO_CC@$(SHELL) -c "P=$(binary_PROG); \
+ if test -f $(BINDIR)/$$P ; then \
+ mv -f $(BINDIR)/$$P $(BINDIR)/$$P.old; fi"
+--- lynx2.8.9rel.1/src/makefile.in
++++ lynx2.8.9rel.1/src/makefile.in
+@@ -118,7 +118,7 @@
+ @echo "Compiling Lynx sources"
+
+ do_chartrans_stuff:
+- -cd chrtrans && $(MAKE_RECUR) \
++ -$(MAKE) @cf_cv_makeflags@ DESTDIR="$(DESTDIR)" CC="$(CC)" -C chrtrans \
+ SITE_DEFS="$(SITE_DEFS)" \
+ BUILD_CFLAGS="$(BUILD_CFLAGS)" \
+ BUILD_CPPFLAGS="$(BUILD_CPPFLAGS)" \
+@@ -210,7 +210,7 @@
+ $(CHRTR)viscii_uni.h
+
+ $(TABLES):
+- -cd chrtrans && $(MAKE_RECUR) tables
++ -$(MAKE) @cf_cv_makeflags@ DESTDIR="$(DESTDIR)" CC="$(CC)" -C chrtrans tables
+
+ UCdomap$o : UCdomap.c \
+ chrtrans/UCkd.h \