home *** CD-ROM | disk | FTP | other *** search
/ PC-Online 1996 May / PCOnline_05_1996.bin / linux / source / n / bind / bind-4.000 / bind-4.9.3-BETA9.diff
Text File  |  1994-10-25  |  4KB  |  161 lines

  1. --- Makefile
  2. +++ Makefile    1994/07/25 10:11:41
  3. @@ -93,14 +93,18 @@
  4.  INSTALL = install
  5.  RANLIB = ranlib
  6.  
  7. -#(Linux)
  8. -#CC = gcc -DSYSV
  9. -#LIBS = -lfl
  10. -#PIDDIR = /etc
  11. -#DESTEXEC = /usr/sbin
  12. -#DESTMAN = /usr/man
  13. -#DESTHELP = /usr/lib
  14. -#CATEXT = $$$$N
  15. +#(Linux) Look at the end of this Makefile for further patches for Linux.
  16. +CC = gcc -DSYSV
  17. +CDEBUG=-O2 -fomit-frame-pointer -pipe
  18. +LEX=flex -8 -I
  19. +LIBS = -lfl
  20. +PIDDIR = /var/run
  21. +DESTEXEC = /usr/sbin
  22. +DESTMAN = /usr/man
  23. +DESTHELP = /usr/lib
  24. +CATEXT = $$$$N
  25. +DESTINC = /usr/include/bind-4.9.3
  26. +INSTALL_COMPAT = install-compat
  27.  
  28.  #(CRAY)
  29.  #LEX=lex
  30. @@ -440,3 +444,8 @@
  31.      )
  32.  
  33.  FRC:
  34. +    # Enable the following lines for Linux.
  35. +    if [ -f compat/include/sys/cdefs.h ]; then \
  36. +    mv compat/include/sys/cdefs.h compat/include/sys/cdefs.h.old; \
  37. +    fi
  38. +
  39. --- compat/include/sys/Makefile
  40. +++ compat/include/sys/Makefile    1994/07/25 10:12:04
  41. @@ -53,7 +53,7 @@
  42.  # -
  43.  # --Copyright--
  44.  
  45. -HFILES = cdefs.h bitypes.h
  46. +HFILES = bitypes.h
  47.  
  48.  DESTDIR=
  49.  DESTINC= /usr/include
  50. --- compat/include/sys/bitypes.h
  51. +++ compat/include/sys/bitypes.h    1994/07/25 10:12:43
  52. @@ -67,6 +67,10 @@
  53.  #ifndef __BIT_TYPES_DEFINED__
  54.  #define __BIT_TYPES_DEFINED__
  55.  
  56. +#ifdef __linux__
  57. +#include <linux/types.h>
  58. +#endif
  59. +
  60.      /*
  61.       * Basic integral types.  Omit the typedef if
  62.       * not possible for a machine/compiler combination.
  63. --- compat/lib/Makefile
  64. +++ compat/lib/Makefile    1994/07/25 10:13:35
  65. @@ -82,8 +82,7 @@
  66.  SRCS=    mktemp.c strcasecmp.c strerror.c strpbrk.c strtoul.c inet_addr.c \
  67.      putenv.c setenv.c setitimer.c writev.c ftruncate.c gettimeofday.c
  68.  
  69. -OBJS=    mktemp.o strcasecmp.o strerror.o strpbrk.o strtoul.o inet_addr.o \
  70. -    putenv.o setenv.o setitimer.o writev.o ftruncate.o gettimeofday.o
  71. +OBJS=    inet_addr.o
  72.  
  73.  all: lib44bsd.a
  74.  
  75. @@ -91,7 +90,7 @@
  76.      ar cru lib44bsd.a ${AROBJS}
  77.      $(RANLIB) lib44bsd.a
  78.  
  79. -install: ${DESTDIR}${DESTLIB}/lib44bsd.a
  80. +install: all
  81.  
  82.  ${DESTDIR}${DESTLIB}/lib44bsd.a: lib44bsd.a
  83.      ${INSTALL} -c -o bin -g bin -m 644 lib44bsd.a ${DESTDIR}${DESTLIB}/
  84. --- doc/bog/Makefile
  85. +++ doc/bog/Makefile    1994/07/25 10:13:59
  86. @@ -59,8 +59,8 @@
  87.      root.cache named.local ucbhosts.rev ucbhosts manage.me
  88.  ME=    -me
  89.  NROFF=    nroff -rb3
  90. -PRINTER= -Pdp
  91. -TBL=    dtbl $(PRINTER)
  92. +PRINTER=
  93. +TBL=    tbl $(PRINTER)
  94.  TROFF= ditroff $(PRINTER)
  95.  GROFF= groff -Tps -t $(ME)
  96.  
  97. --- man/Makefile
  98. +++ man/Makefile    1994/07/25 10:14:40
  99. @@ -31,7 +31,7 @@
  100.  # entries on the fly, use
  101.  #    MANDIR = man
  102.  #
  103. -MANDIR = cat
  104. +MANDIR = man
  105.  
  106.  #
  107.  # Default extension for manual entries. To install the manual entries under
  108. @@ -299,7 +299,7 @@
  109.  #
  110.  # Command used to produce manual entries
  111.  #
  112. -MK_MANFILE = ( ${EXT_SED_CMD} | ${MANROFF} )
  113. +MK_MANFILE = ( ${EXT_SED_CMD} )
  114.  
  115.  #
  116.  # Extensions for the generated manual entries
  117. --- named/Makefile
  118. +++ named/Makefile    1994/07/25 12:05:02
  119. @@ -169,13 +169,13 @@
  120.      mkdep -I${INCL} -I${COMPINCL} ${SRCS} ${XFERSRCS}
  121.  
  122.  install:
  123. -    ${INSTALL} -c -s -o bin -g bin -m 555 \
  124. +    ${INSTALL} -c -s -m 555 \
  125.          named ${DESTDIR}${DESTSBIN}/${INDOT}named
  126. -    ${INSTALL} -c -s -o bin -g bin -m 555 \
  127. +    ${INSTALL} -c -s -m 555 \
  128.          named-xfer ${DESTDIR}${PATH_XFER}
  129. -    ${INSTALL} -c -o bin -g bin -m 555 \
  130. +    ${INSTALL} -c -m 555 \
  131.          named.restart ${DESTDIR}${DESTSBIN}/${INDOT}named.restart
  132. -    ${INSTALL} -c -o bin -g bin -m 555 \
  133. +    ${INSTALL} -c -m 555 \
  134.          named.reload ${DESTDIR}${DESTSBIN}/${INDOT}named.reload
  135.      @echo "*** Install symlinks if needed ***"
  136.  
  137. --- res/Makefile
  138. +++ res/Makefile    1994/07/25 11:33:23
  139. @@ -105,7 +105,7 @@
  140.  install: ${DESTDIR}${DESTLIB}/libresolv.a
  141.  
  142.  ${DESTDIR}${DESTLIB}/libresolv.a: libresolv.a
  143. -    ${INSTALL} -c -o bin -g bin -m 644 libresolv.a ${DESTDIR}${DESTLIB}/
  144. +    ${INSTALL} -c -m 644 libresolv.a ${DESTDIR}${DESTLIB}/
  145.      $(RANLIB) ${DESTDIR}${DESTLIB}/libresolv.a
  146.  
  147.  .c.o:
  148. --- tools/nslookup/Makefile
  149. +++ tools/nslookup/Makefile    1994/07/25 12:04:13
  150. @@ -112,8 +112,8 @@
  151.      mkdep -I${INCL} -I${COMPINCL} ${DEFS} ${SRCS}
  152.  
  153.  install:
  154. -    ${INSTALL} -s -c -o bin -g bin -m 755 nslookup ${DESTDIR}${DESTBIN}/
  155. -    ${INSTALL}    -c -o bin -g bin -m 444 nslookup.help \
  156. +    ${INSTALL} -s -c -m 755 nslookup ${DESTDIR}${DESTBIN}/
  157. +    ${INSTALL}    -c -m 444 nslookup.help \
  158.           ${DESTDIR}${DESTHELP}/
  159.  
  160.  lint: ${SRCS}
  161.