diff options
Diffstat (limited to 'www/w3m/files/extra-patch-XMakefile.noimg')
-rw-r--r-- | www/w3m/files/extra-patch-XMakefile.noimg | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/www/w3m/files/extra-patch-XMakefile.noimg b/www/w3m/files/extra-patch-XMakefile.noimg new file mode 100644 index 00000000000..0fc2a7566d2 --- /dev/null +++ b/www/w3m/files/extra-patch-XMakefile.noimg @@ -0,0 +1,59 @@ +--- XMakefile.orig Fri Apr 21 13:35:48 2000 ++++ XMakefile Sat Apr 22 06:51:43 2000 +@@ -18,16 +18,16 @@ + + INCLUDES=-I. + +-DEFS=$(INCLUDES) # -DDEBUG +-CFLAGS=$(MYCFLAGS) $(DEFS) +-LIBS=-L. -lindep $(GCLIB) $(MATHLIB) $(LOCAL_LIBRARIES) $(SYS_LIBRARIES) ++DEFS+=$(INCLUDES) # -DDEBUG ++CFLAGS+=$(DEFS) ++LIBS+=-L. -lindep -lgc $(MATHLIB) $(LOCAL_LIBRARIES) $(SYS_LIBRARIES) + INSTALL=sh install.sh + INSTALL2=sh ../install.sh + AR=ar + + all: $(TARGETS) + +-$(TARGET): $(ALLOBJS) $(ALIB) $(GCTARGET) ++$(TARGET): $(ALLOBJS) $(ALIB) + $(CC) $(CFLAGS) -o $(TARGET) $(ALLOBJS) $(LIBS) + + $(ALIB): $(ALIBOBJS) +@@ -67,23 +67,24 @@ + install: $(TARGETS) + -$(MKDIR) $(DESTDIR)$(BIN_DIR) + -$(MKDIR) $(DESTDIR)$(HELP_DIR) ++ -$(MKDIR) $(DESTDIR)$(HELP_DIR_JA) + -$(MKDIR) $(DESTDIR)$(LIB_DIR) +- $(INSTALL) -m 755 $(TARGET) $(DESTDIR)$(BIN_DIR)/$(TARGET) +- $(INSTALL) -m 644 w3mhelp-w3m_en.html $(DESTDIR)$(HELP_DIR)/w3mhelp-w3m_en.html +- $(INSTALL) -m 644 w3mhelp-w3m_ja.html $(DESTDIR)$(HELP_DIR)/w3mhelp-w3m_ja.html +- $(INSTALL) -m 644 w3mhelp-lynx_en.html $(DESTDIR)$(HELP_DIR)/w3mhelp-lynx_en.html +- $(INSTALL) -m 644 w3mhelp-lynx_ja.html $(DESTDIR)$(HELP_DIR)/w3mhelp-lynx_ja.html +- $(INSTALL) -m 644 $(HELP_FILE) $(DESTDIR)$(HELP_DIR)/w3mhelp.html +- for d in $(BOOKMARKER) $(HELPER); do $(INSTALL) -m 755 $$d $(DESTDIR)$(LIB_DIR)/$$d; done +- (cd scripts; for i in *.cgi; do $(INSTALL2) -m 755 $$i $(DESTDIR)$(LIB_DIR)/$$i; done) ++ $(BSD_INSTALL_PROGRAM) $(TARGET) $(DESTDIR)$(BIN_DIR)/$(TARGET) ++ $(BSD_INSTALL_DATA) w3mhelp-w3m_en.html $(DESTDIR)$(HELP_DIR)/w3mhelp-w3m_en.html ++ $(BSD_INSTALL_DATA) w3mhelp-w3m_ja.html $(DESTDIR)$(HELP_DIR_JA)/w3mhelp-w3m_ja.html ++ $(BSD_INSTALL_DATA) w3mhelp-lynx_en.html $(DESTDIR)$(HELP_DIR)/w3mhelp-lynx_en.html ++ $(BSD_INSTALL_DATA) w3mhelp-lynx_ja.html $(DESTDIR)$(HELP_DIR_JA)/w3mhelp-lynx_ja.html ++ for d in $(BOOKMARKER) $(HELPER); do $(BSD_INSTALL_PROGRAM) $$d $(DESTDIR)$(LIB_DIR)/$$d; done ++ cd scripts; for i in *.cgi; do $(BSD_INSTALL_SCRIPT) $$i $(DESTDIR)$(LIB_DIR)/$$i; done + + uninstall: + -$(RM) $(BIN_DIR)/$(TARGET) + -$(RM) $(HELP_DIR)/w3mhelp-lynx_en.html +- -$(RM) $(HELP_DIR)/w3mhelp-lynx_ja.html ++ -$(RM) $(HELP_DIR_JA)/w3mhelp-lynx_ja.html + -$(RM) $(HELP_DIR)/w3mhelp-w3m_en.html +- -$(RM) $(HELP_DIR)/w3mhelp-w3m_ja.html +- -$(RM) $(HELP_DIR)/w3mhelp.html ++ -$(RM) $(HELP_DIR_JA)/w3mhelp-w3m_ja.html ++ -$(RM) $(LIB_DIR)/$(BOOKMARKER) ++ -$(RM) $(LIB_DIR)/$(HELPER) + + clean: sweep + rm -f *.o *.a $(TARGETS) mktable |