diff options
Diffstat (limited to 'japanese/lipsf/files/patch-Makefile.in')
-rw-r--r-- | japanese/lipsf/files/patch-Makefile.in | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/japanese/lipsf/files/patch-Makefile.in b/japanese/lipsf/files/patch-Makefile.in new file mode 100644 index 000000000000..c90d97f68c4c --- /dev/null +++ b/japanese/lipsf/files/patch-Makefile.in @@ -0,0 +1,48 @@ +--- Makefile.in.orig Sat Nov 18 00:00:00 2000 ++++ Makefile.in Thu Apr 5 04:47:50 2001 +@@ -3,13 +3,13 @@ + # + + TITLE = lipsf +-PREFIX = /usr/local ++PREFIX ?= /usr/local ++MANLANG ?= ja + MANSEC = 1 + TOPDIR = $(PREFIX) + BINDIR = $(TOPDIR)/bin +-MANDIR = $(TOPDIR)/man__LANGDIR__/man$(MANSEC) +-CATDIR = $(TOPDIR)/man__LANGDIR__/cat$(MANSEC) +-INSTALL = __INSTALL__ ++MANDIR = $(TOPDIR)/man/$(MANLANG)/man$(MANSEC) ++CATDIR = $(TOPDIR)/man/$(MANLANG)/cat$(MANSEC) + CHMOD = chmod + + LSRC = lipsf.c output.c print.c control.c args.c var.c +@@ -43,7 +43,7 @@ + POBJ2 = output__OBJ__ print__OBJ__ control__OBJ__ args__OBJ__ var__OBJ__ __DOSOBJS__ + KNJOBJ = pols__OBJ__ input__OBJ__ file__OBJ__ style__OBJ__ + LDFLAGS = __TERMLIBS__ __OTHERLIBS__ +-CFLAGS = -D__OSTYPE__ __CCOPTIONS__ ++CFLAGS += -D__OSTYPE__ + + .SUFFIXES: .h .c __OBJ__ __EXE__ + +@@ -115,14 +115,10 @@ + # to install all + + install: $(LIPSFB) $(POLSB) $(LIPSF).$(MANSEC) $(POLS).$(MANSEC) +- $(INSTALL) __INSTSTRIP__ $(LIPSFB) $(BINDIR) +- $(CHMOD) a+rx $(BINDIR)/$(LIPSFB) +- $(INSTALL) __INSTSTRIP__ $(POLSB) $(BINDIR) +- $(CHMOD) a+rx $(BINDIR)/$(POLSB) +- $(INSTALL) $(LIPSF).$(MANSEC) $(MANDIR)/$(LIPSF).$(MANSEC) +- $(CHMOD) a+r $(MANDIR)/$(LIPSFB).$(MANSEC) +- $(INSTALL) $(POLS).$(MANSEC) $(MANDIR)/$(POLS).$(MANSEC) +- $(CHMOD) a+r $(MANDIR)/$(POLSB).$(MANSEC) ++ ${BSD_INSTALL_PROGRAM} $(LIPSFB) $(DESTDIR)$(BINDIR) ++ ${BSD_INSTALL_PROGRAM} $(POLSB) $(DESTDIR)$(BINDIR) ++ ${BSD_INSTALL_MAN} $(LIPSF).$(MANSEC) $(DESTDIR)$(MANDIR)/$(LIPSF).$(MANSEC) ++ ${BSD_INSTALL_MAN} $(POLS).$(MANSEC) $(DESTDIR)$(MANDIR)/$(POLS).$(MANSEC) + + catman: $(LIPSF).$(MANSEC)c $(POLS).$(MANSEC)c + $(INSTALL) $(LIPSF).$(MANSEC)c $(CATDIR)/$(LIPSF).$(MANSEC) |