[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:02663] Re: Forward: GLOBAL-2.1



香田@徳島大学です。

Y.Yoshinaga writes:
 > 吉永@千葉です。:-)
 > 
 > 》From: Fumitoshi UKAI <ukai@xxxxxxxxxxxxx>
 > 》Subject: [debian-users:02644]  Re: Forward: GLOBAL-2.1
 >  > 何が悪いのかよくわかりませんが、既にパッケージつくってる人がいるそうです(^^)
 > 
 > それは助かります。(^^)
 > # こうして僕んとこでmakeがすんなりいかない問題は
 > # 闇に葬られるのであった…。

deb 化されてるのになんですが patch を作ってみました。
patch をあてるのは何度か経験ありですが作るのは初めて
で自信はありません。試してみてください。

ほんとうに大ボケをやっているかもわかりませんが
done の前に ; と -I/usr/include/db を加えるだけです
から手でも変更できると思います。
(patch -p1 < file でいけると思いますが。。。。)
					平成9年11月6日(木)

-- 
 ****************************
 香田 温人(こうだ あつひと)
 徳大工学部数学
 kohda@xxxxxxxxxxxxxxxxxxxx
 Tel. 0886-56-7546

---------------------------------------------
*** global-2.1.orig/Makefile.generic	Thu Sep 18 21:44:52 1997
--- global-2.1/Makefile.generic	Thu Nov  6 15:52:38 1997
***************
*** 10,20 ****
  
  all:
  	@for d in $(SUBDIR); do \
! 		set -e; (cd $$d; echo '===>' $$d; make $(MFLAGS)) \
  	done
  install:
  	@for d in $(SUBDIR); do \
! 		set -e; (cd $$d; echo '===>' $$d; make $(MFLAGS) BINDIR=$(BINDIR) MANDIR=$(MANDIR) install) \
  	done
  gen:
  	@if [ ! -f Makefile.generic ]; then \
--- 10,20 ----
  
  all:
  	@for d in $(SUBDIR); do \
! 		set -e; (cd $$d; echo '===>' $$d; make $(MFLAGS)) ;\
  	done
  install:
  	@for d in $(SUBDIR); do \
! 		set -e; (cd $$d; echo '===>' $$d; make $(MFLAGS) BINDIR=$(BINDIR) MANDIR=$(MANDIR) install) ;\
  	done
  gen:
  	@if [ ! -f Makefile.generic ]; then \
***************
*** 22,28 ****
  	fi
  	mv Makefile Makefile.bsd; mv Makefile.generic Makefile
  	for d in $(SUBDIR); do \
! 		(cd $$d; mv Makefile Makefile.bsd; mv Makefile.generic Makefile) \
  	done
  bsd:
  	@if [ ! -f Makefile.bsd ]; then \
--- 22,28 ----
  	fi
  	mv Makefile Makefile.bsd; mv Makefile.generic Makefile
  	for d in $(SUBDIR); do \
! 		(cd $$d; mv Makefile Makefile.bsd; mv Makefile.generic Makefile) ;\
  	done
  bsd:
  	@if [ ! -f Makefile.bsd ]; then \
***************
*** 30,36 ****
  	fi
  	mv Makefile Makefile.generic; mv Makefile.bsd Makefile
  	for d in $(SUBDIR); do \
! 		(cd $$d; mv Makefile Makefile.generic; mv Makefile.bsd Makefile) \
  	done
  bsdcontrib: clean
  	rm -rf $(CONTRIBDIR)
--- 30,36 ----
  	fi
  	mv Makefile Makefile.generic; mv Makefile.bsd Makefile
  	for d in $(SUBDIR); do \
! 		(cd $$d; mv Makefile Makefile.generic; mv Makefile.bsd Makefile) ;\
  	done
  bsdcontrib: clean
  	rm -rf $(CONTRIBDIR)
***************
*** 38,42 ****
  	cd $(CONTRIBDIR) && rm -rf $(RMFILES)
  clean:
  	@for d in $(SUBDIR); do \
! 		(cd $$d; echo '===>' $$d; make $(MFLAGS) clean) \
  	done
--- 38,43 ----
  	cd $(CONTRIBDIR) && rm -rf $(RMFILES)
  clean:
  	@for d in $(SUBDIR); do \
! 		(cd $$d; echo '===>' $$d; make $(MFLAGS) clean) ;\
  	done
+ 
diff -c -r global-2.1.orig/btreeop/Makefile.generic global-2.1/btreeop/Makefile.generic
*** global-2.1.orig/btreeop/Makefile.generic	Fri Aug 29 10:58:25 1997
--- global-2.1/btreeop/Makefile.generic	Thu Nov  6 15:58:25 1997
***************
*** 4,10 ****
  CC     = gcc
  #WARN   = -Wall -Wparentheses -Wstrict-prototypes -Wmissing-prototypes
  LIBS   = -ldb
! CFLAGS = -O
  OBJS   = btreeop.o
  BINDIR = /usr/bin
  MANDIR = /usr/share/man
--- 4,10 ----
  CC     = gcc
  #WARN   = -Wall -Wparentheses -Wstrict-prototypes -Wmissing-prototypes
  LIBS   = -ldb
! CFLAGS = -O -I/usr/include/db
  OBJS   = btreeop.o
  BINDIR = /usr/bin
  MANDIR = /usr/share/man
diff -c -r global-2.1.orig/gctags/Makefile.generic global-2.1/gctags/Makefile.generic
*** global-2.1.orig/gctags/Makefile.generic	Thu Sep 18 21:56:23 1997
--- global-2.1/gctags/Makefile.generic	Thu Nov  6 15:57:45 1997
***************
*** 4,10 ****
  DEFS   = -DGTAGS -DMODIFY -DYACC
  CC     = gcc
  #WARN   = -Wall -Wparentheses -Wstrict-prototypes -Wmissing-prototypes
! CFLAGS = -O $(DEFS) -I../include
  LIBS   = -ldb
  OBJS   = C.o ctags.o fortran.o lisp.o print.o tree.o yacc.o assembler.o
  BINDIR = /usr/bin
--- 4,10 ----
  DEFS   = -DGTAGS -DMODIFY -DYACC
  CC     = gcc
  #WARN   = -Wall -Wparentheses -Wstrict-prototypes -Wmissing-prototypes
! CFLAGS = -O $(DEFS) -I../include -I/usr/include/db
  LIBS   = -ldb
  OBJS   = C.o ctags.o fortran.o lisp.o print.o tree.o yacc.o assembler.o
  BINDIR = /usr/bin
---------------------------------------------