Commit Graph

319 Commits

Author SHA1 Message Date
hubertf e6d2b60658 Be correct about manpage compression by regarding MANZ and fixing
PLIST before applying.

It is assumed that ports do install manpages uncompressed, if not
they have to set MANCOMPRESSED. Upon that, the pages will be
(un)compressed according to the setting of MANZ.
1997-10-07 00:30:31 +00:00
mycroft 448f02237b Install man page source, in addition to the cat files. 1997-10-03 19:20:56 +00:00
agc 0f091effee + Move inclusion of bsd.own.mk to the end of bsd.port.mk.
<bsd.own.mk> defines its own `install' target if none is defined,
which conflicts with the default one we define later on in bsd.port.mk.
This may nuke any WRKOBJDIR definitions (which I have yet to encounter),
but enables "make install" to work as expected.

+ Add temporary mtree file for any X11 packages (like xpm, jpeg etc),
which require a default X11 tree. This will change when we get a NetBSD
x11.dist mtree file.

+ Define SHAREOWN, SHAREGRP and SHAREMODE (in NetBSD) to be the same as
DOCOWN, DOCGRP and DOCMODE respectively.
1997-10-03 09:16:15 +00:00
hubertf 45d4babcbd MACHINE -> MACHINE_ARCH, as pointed out by thorpej.
(Changed in ARCH_ONLY stuff as well as WRKDIR definition)
1997-10-01 23:38:34 +00:00
hubertf f6a5b0843d /usr/pkg/src -> /usr/pkgsrc 1997-09-30 23:16:03 +00:00
is ce5ef83f97 Make "make regress" work; by Charles Hannum. 1997-09-30 22:19:22 +00:00
gwr 42a70b47e1 Add $LIBBFD 1997-09-29 15:02:49 +00:00
hubertf 8f15104e92 - Move around .include <bsd.own.mk> so PORTSDIR gets set propperly
- make 'make clean' DTRT when WRKOBJDIR is set
1997-09-28 11:22:40 +00:00
hubertf 049546f7dd Forgot to include <bsd.own.mk> in last commit
(from OpenBSD)
1997-09-28 00:56:00 +00:00
hubertf 114a47faf1 - Add OpenBSD and FreeBSD Ids in the header
- Changes from FreeBSD's V1.164:
        * Warn if mtree-file not found
        * On 'make reinstall' gets DEPENDS_TARGET set
          to 'reinstall' instead of 'install'
  - Changes from OpenBSD's V1.14:
        * Documentation and implementation for ONLY_FOR_ARCHS
        * Documentation and implementation for WRKOBJDIR
        * Documentation on HAVE_MOTIF and MOTIF_STATIC:
          set in /etc/mk.conf, not /etc/make.conf
        * Set NOMANCOMPRESS=no to still compress man-pages
	  (should probably be set to 'yes')
        * DEF_UMASK=022
        * add ${MACHINE} suffix to WRKDIR if OBJMACHINE is set
        * .include <bsd.own.mk>
1997-09-28 00:44:15 +00:00
christos a1e04f77a8 PR/4146: Erik Bertelsen: WARNS was not unsettable in Makefiles 1997-09-26 13:24:03 +00:00
thorpej e64c0d533b /usr/pkg/src -> /usr/pkgsrc (per discussion w/ agc) 1997-09-25 19:09:32 +00:00
agc f553f4c292 Install bsd.port.mk and bsd.port.subdir.mk.
This is part of the FreeBSD ports system.
1997-09-09 10:33:19 +00:00
agc 0ee4409cbe Don't assume we're on NetBSD when setting LOCALBASE i.e.
test the OSNAME first.

Change the name of the mtree file to match NetBSD's.
1997-08-20 16:02:48 +00:00
agc 5d9fc2b5dd Document the import of FreeBSD's <bsd.port.mk> and <bsd.port.subdir.mk>,
as used in their `ports' system.
1997-08-20 10:53:04 +00:00
agc 3709f02cd5 Change a path for NetBSD. Our PORTSDIR is /usr/pkg/src 1997-08-20 10:51:40 +00:00
agc 4a7d7317e2 Change paths for NetBSD. We have our PORTSDIR at /usr/pkg/src,
and our PREFIX is /usr/pkg.
1997-08-20 10:50:26 +00:00
agc a1ac59e36e Initial import of FreeBSD's ports makefiles. 1997-08-20 10:21:05 +00:00
christos cd59f75df4 Enable extra warnings if WARNS is set 1997-07-01 21:42:55 +00:00
phil 69edc948f4 Some man pages need tbl to make their man page. This adds support for
tbl in building man pages.  If the variable USETBL is defined, the
rules for making the man pages include tbl before nroff.

This supports at least 3 man pages in the tree.
(Related to PR 3144.)
1997-06-30 19:26:21 +00:00
christos 14b5e8dbc9 PR/3801: NAKAJIMA Yoshihiro: some documents are installed as executable 1997-06-28 01:22:59 +00:00
pk 19d4236655 Put `-DPIC' back in CPICFLAGS (a.out section); at least one C source
file (sparc/include/profile.h) relies on this.
1997-06-04 08:38:45 +00:00
cgd 521240796e declare ${DESTDIR}${INCSDIR}/$I .PHONY if UPDATE isn't defined, so that
headers will be installed properly in the !UPDATE case.  From Christos.
1997-06-03 16:00:30 +00:00
cjs 7a66732d34 Back out BUILDDIR and NOINSTALL changes. 1997-05-31 21:21:13 +00:00
cjs 54084592c2 Set or unset OBJDIR before we determine BUILDDIR. 1997-05-30 21:46:02 +00:00
cjs ab09e2a45e Fix quoting yet again; reformat. 1997-05-30 15:11:03 +00:00
cjs a71bce3f88 Don't add MACHINE to BUILDDIR if it's already added to BSDOBJDIR. 1997-05-30 05:50:16 +00:00
cjs c6a0de99f8 Add NOINSTALL option for libraries that are used only during the build
of a program, and not installed into the final system.
1997-05-30 01:54:42 +00:00
cjs 1cb525c1e0 Quote it properly this time. 1997-05-29 19:53:32 +00:00
cjs 2707a099a6 Forgot to quote a variable. 1997-05-29 19:35:23 +00:00
cjs 68d423f17b If BUILDDIR is the same as DESTDIR, we aren't really using an object
file tree, so undef OBJDIR and install includes, etc. the old way.
Also, don't use OBJDIR at all if we're not under BSDSRCDIR.
1997-05-29 19:06:26 +00:00
veego 933397a44f Fix pr#3679 a little different.
Remove the '-nostdlib' flag for ELF systems and keep it for a.out systems.
1997-05-29 15:37:11 +00:00
mikel 5817cfa122 fix typo 1997-05-29 06:26:35 +00:00
cjs bda4c93e92 Append ${MACHINE} to ${BUILDDIR} if USR_OBJMACHINE is not set. 1997-05-28 23:52:37 +00:00
veego 2fbf728651 Add '-nostdlib -L${BUILDDIR}/usr/lib' for ${LDADD} so it links a shared
library with the correct shared library.
1997-05-28 11:16:19 +00:00
mycroft d5e3cfc07a Add a missing / in SHLIB_LD*FILE. 1997-05-27 18:51:12 +00:00
cjs 058d54e069 Always look in usr/lib for crtbegin/crtend; LIBDIR is the destination
directory of the library we're currently compiling.
1997-05-27 18:21:16 +00:00
cjs b73b99ed41 Put include information in CPPFLAGS only (not in CFLAGS or MKDEPFLAGS).
Add note that CPPFLAGS is (or should be) passed to all programs that
pass input through cpp.
1997-05-27 18:09:00 +00:00
cjs 2fc3406301 Re-add other folks' changes that I accidently reverted when I did my
build system changes commit.
1997-05-27 17:45:57 +00:00
cjs f66891a189 Make sure mkdep gets correct include directories. 1997-05-27 17:01:56 +00:00
pk 9e91a31967 Remove bogon. 1997-05-26 20:53:28 +00:00
cjs b3b931acf8 Patch for yesterday's batch of `new build system' commits that I forgot
to commit.
1997-05-26 16:36:41 +00:00
cjs 5fd7ce7066 These updates to the build allow building against include files
and libs in the object tree, if you use a separate object tree,
while maintaining backward compatability with other build methods.
See the notes in src/share/mk/bsd.README for full details. Note
that the `make includes' target now only installs the include files
in the build directory (if you use one--otherwise they go in DESTDIR
just like before); `make install' will install include files in
DESTDIR.
1997-05-26 03:55:19 +00:00
jonathan 346af6eeff More table-driven changes: split CPICFLAGS into separate flags, to
support the two different incompatible rules for build .so files from
.S source on both NetBSD and binutils toolchains:

	 ${CPP} | ${AS} for syscalls
	 ${CC}   	for non-syscalls
for which the different toolchains's ${AS}  requires diffferent flags.
1997-05-24 01:42:36 +00:00
kleink 4c60ea6dc2 Add libposix. 1997-05-18 20:21:53 +00:00
christos 67c5f6f8ee Add a realinstall target so that we recurse to subdirectories making install,
before the our afterinstall target fires.
1997-05-17 16:59:28 +00:00
mycroft a9b9dbd457 Do LINKS and SYMLINKS after FILES and INCS. 1997-05-17 16:43:31 +00:00
mycroft e30142d40d Remove unneeded .SUFFIXES lines, and move .s and .S closer to .o to give the
right preferences.
1997-05-17 02:01:07 +00:00
mycroft fb74da89f9 Add another .PHONY. 1997-05-10 14:19:02 +00:00
mycroft e5ae95698c Always rebuild links, since dependencies don't DTRT. 1997-05-10 10:55:19 +00:00