diff options
Diffstat (limited to 'sysutils/heirloom/files/patch-build::mk.config')
-rw-r--r-- | sysutils/heirloom/files/patch-build::mk.config | 126 |
1 files changed, 126 insertions, 0 deletions
diff --git a/sysutils/heirloom/files/patch-build::mk.config b/sysutils/heirloom/files/patch-build::mk.config new file mode 100644 index 000000000000..245d2be975be --- /dev/null +++ b/sysutils/heirloom/files/patch-build::mk.config @@ -0,0 +1,126 @@ +--- build/mk.config.orig Mon May 17 21:43:22 2004 ++++ build/mk.config Thu Jun 3 16:25:47 2004 +@@ -14,57 +14,57 @@ + # Location for binaries that have no special personality. This location + # may be identical to that of one of the first three personalities below. + # +-DEFBIN = /usr/5bin ++DEFBIN = %%DATADIR%%/usr/5bin + + # + # Location for SVID3/SVR4-style binaries. + # +-SV3BIN = /usr/5bin ++SV3BIN = %%DATADIR%%/usr/5bin + + # + # Location for SVID4/SVR4.2-style binaries. + # +-S42BIN = /usr/5bin/s42 ++S42BIN = %%DATADIR%%/usr/5bin/s42 + + # + # Location for POSIX.2/SUS-style binaries. + # +-SUSBIN = /usr/5bin/posix ++SUSBIN = %%DATADIR%%/usr/5bin/posix + + # + # Location for SVR4 UCB-style binaries. These do not form a complete + # personality, and the binary path may not be identical to the default + # one. + # +-UCBBIN = /usr/ucb ++UCBBIN = %%DATADIR%%/usr/ucb + + # + # Location for library files. + # +-DEFLIB = /usr/5lib ++DEFLIB = %%DATADIR%%/usr/5lib + + # + # Location for superuser-only binaries. May be identical to the + # default binary directory. + # +-DEFSBIN = /usr/5bin ++DEFSBIN = %%DATADIR%%/usr/5bin + + # + # Location for manual pages (with man1, man1b ... man8 below). + # +-MANDIR = /usr/share/man/5man ++MANDIR = %%DATADIR%%/usr/share/man/5man + + # + # Location for default files. Make sure that this directory is accessible + # to all users. + # +-DFLDIR = /etc/default ++DFLDIR = %%DATADIR%%/etc/default + + # + # Location for the spell history file (contains misspelled words for + # all users; set to /dev/null to disable). + # +-SPELLHIST = /var/adm/spellhist ++SPELLHIST = /var/db/spellhist + + # + # Location for the su logfile. +@@ -75,7 +75,7 @@ + # Where to store the file command's magic. Note that the existing + # file at this location is replaced unconditionally at installation. + # +-MAGIC = /usr/5lib/magic ++MAGIC = %%DATADIR%%/usr/5lib/magic + + # + # The group whose members may write utmp or utmpx entries. Appropriate values +@@ -83,7 +83,7 @@ + # does not actually matter but should be set to "adm" too. (The '-g' is an + # argument to the install command and should remain as is.) + # +-TTYGRP = -g utmp ++TTYGRP = -g tty # utmp + + # + # Curses library. Change to -lncurses if necessary. Caution: Some gcc +@@ -107,21 +107,21 @@ + # + # Uncomment this on FreeBSD. + # +-#LKVM = -lkvm ++LKVM = -lkvm + + # + # zlib (statically linked by default). Set USE_ZLIB to 0 if you don't have + # zlib or don't want to use it; you need it only if you want to use inflate + # compression when creating zip files with cpio. + # +-LIBZ = -Wl,-Bstatic -lz -Wl,-Bdynamic ++LIBZ = -lz # -Wl,-Bstatic -lz -Wl,-Bdynamic + USE_ZLIB = 1 + + # + # The name of the bzip2 library, and whether to use it. The library is only + # needed to read and write bzip2 compressed parts of zip files with cpio. + # +-LIBBZ2 = -Wl,-Bstatic -lbz2 -Wl,-Bdynamic ++LIBBZ2 = -lbz2 # -Wl,-Bstatic -lbz2 -Wl,-Bdynamic + USE_BZLIB = 1 + + # +@@ -178,9 +178,9 @@ + # defines here. Leave XO5FL, XO6FL, and GNUFL empty on Solaris, Open UNIX, + # and FreeBSD. + # +-XO5FL = -D_XOPEN_SOURCE=500L +-XO6FL = -D_XOPEN_SOURCE=600L +-GNUFL = -D_GNU_SOURCE ++XO5FL = # -D_XOPEN_SOURCE=500L ++XO6FL = # -D_XOPEN_SOURCE=600L ++GNUFL = # -D_GNU_SOURCE + LARGEF = -D_FILE_OFFSET_BITS=64L + + # |