Commit Graph

362 Commits

Author SHA1 Message Date
hubertf 73ddeb3490 Add us to MASTER_SITE_LOCAL. 1997-12-29 20:10:24 +00:00
hubertf b3d8f46800 MACHINE_ARCH of pmax is "mips" 1997-12-27 03:24:10 +00:00
cgd 70fa7e3060 kill a couple of (insignificant but) bogus extra spaces 1997-12-24 05:15:54 +00:00
christos ac30d893d8 Add bsd.obj.mk and fix the rules to work with obj dirs. 1997-12-21 15:40:37 +00:00
hubertf 6e5296d50f Fix up documentation (MASTER_SITE_SUBDIR, PATCH_SITE_SUBDIR,
MASTER_SITE_BACKUP).
1997-12-21 01:59:44 +00:00
hubertf 320012817f Now that we have ftp://ftp.netbsd.org/pub/NetBSD/packages/distfiles,
add it to MASTER_SITE_BACKUP.
1997-12-19 10:20:02 +00:00
hubertf b747ec162b - move definition of ARCH and OPSYS so it is even available if
ONLY_FOR_ARCHS is set
 - Usage points to PLIST_SRC
1997-12-13 21:28:24 +00:00
hubertf 67a5e86031 do not depend on gmake being called gmake (pointed out by Matt Green) 1997-12-03 08:32:01 +00:00
mikel a206ea679a add missing 'man' so unformatted manpage installation will work when
target exists; solution provided by christos
1997-12-02 08:42:28 +00:00
agc 53596376fe Fix missing backslash when gzipping manual pages.
If we're going to go to the bother of defining LDCONFIG, we might as
well use it.
1997-11-26 09:24:18 +00:00
hubertf 6b7391ff96 We use perl 5.004_04 now 1997-11-22 04:20:49 +00:00
hubertf 31316d681a Use MI/MD PLIST files pkg/PLIST-{mi,md-{shared,static}} 1997-11-22 03:39:20 +00:00
agc 2998c94db0 Remove the magic control characters in a similar way to Bill Fenner's
patch for bsd.port.subdir.mk.
1997-11-21 17:44:11 +00:00
agc 92ed0869d5 Modification by Bill Fenner which removes the embedded control
characters, and avoids the wrong interpretation of magic HTML
characters in DESCR files or categories.

Forwarded to me by Chris Demetriou, and refers to PR 4341.
1997-11-21 16:01:54 +00:00
agc 16b3bf5830 Eliminate a nasty and horrible kluge by using the BSD.x11.dist when
checking the directory tree for an X11 package.
1997-11-19 16:41:21 +00:00
thorpej f72895d295 Echo the target we're working on while traversing subdirs, so one can
better judge how much longer a build will take.  Patch submitted
by Brian Grayson <bgrayson@ece.utexas.edu> in PR #4419.
1997-11-13 09:18:19 +00:00
hubertf 3c59683dc1 Remove unneeded RCS Id 1997-11-10 08:07:29 +00:00
hubertf 11f07e2683 - Not only add $CAT[1-9] to _CATLIST, but also $CAT[NL}
- Fixup documentation for CAT<sect>, CATPREFIX.
(these two changes were accidentally committed to the 1.3 branch
 as revisions 1.13.2.3 and 1.13.2.4 before!)
1997-11-08 00:18:24 +00:00
agc d8ac6639ac Let make do the work:
+ set MAKE_PROGRAM variable in bsd.port.mk to either ${GMAKE} or
${MAKE}, and use it in do-build and do-install targets

+ if X11 package, and man pages are installed, add install.man to
${INSTALL_TARGET}, rather than using a separate command to do this.

Also added CATn= blah.0, similar to MANn= blah.1, which installs
pre-formatted man pages, like the ones imake produces.
1997-11-05 13:36:30 +00:00
thorpej 42b5acd98e Fix .c.ln rule: use CPPFLAGS, not CFLAGS. 1997-11-05 05:34:24 +00:00
gwr 5c8e26aed2 Move definitions of: NM, LORDER, TSORT from bsd.sys.mk to sys.mk
so they are more easly used by things like sys/libkern/Makefile.inc
(Besides, all the other tool definitions are in sys.mk)
1997-11-04 21:12:41 +00:00
gwr 0919e2346b Use LORDER, TSORT 1997-11-04 20:33:11 +00:00
gwr dff2b93f7d Define LORDER, TSORT 1997-11-04 20:31:56 +00:00
cgd 87d5df18e3 add '-z' to LINTFLAGS, so that forward structure definions (for pointer
args, etc.), don't cause warnings if the structure isn't ever completely
defined.
1997-11-03 22:56:27 +00:00
cgd 3e16a4f314 if "NONOLINT" is defined, don't automatically define NOLINT. "yuck."
Once lint support is completely working, NOLINT's definition should be
removed from this file entirely.
1997-11-03 22:53:25 +00:00
cgd d74926452e echo the lint command line when making 'lint'. 1997-11-03 22:51:23 +00:00
mrg b7a9acd4a5 set all: target for defined(NOMAN) that does nothing. 1997-10-30 12:57:19 +00:00
lukem 513a06e6f5 remove lint rules for objective c as lint can't cope 1997-10-30 07:25:32 +00:00
agc c72a8fd6be When a package depends on an executable from another package,
bsd.port.mk would always find the executable (using which), even if
there wasn't an executable in the $PATH.  I've modified bsd.port.mk to
look for the executable directly, and simplified the shell code
somewhat in the process.  There may be a lurking bug in shell exit
status handling here.

Noted by matthew green <mrg@madrugada.eterna.com.au> and Chris
Demetriou <cgd@netbsd.org> (PR pkg/4337) but I was too stupid to
realise what was happening.  That, and a copy of gmake in
/usr/local/bin.
1997-10-28 12:46:37 +00:00
lukem 6f77030130 add ${LIBOBJC} 1997-10-28 12:46:30 +00:00
lukem 55209d604d add default rules for Objective C sources (`.m' suffix):
- sys.mk:
	add ${OBJC} and ${OBJCFLAGS} (equivalent to ${CC} and
	${CFLAGS} respectively), and ${COMPILE.m} and ${LINK.m} rules
- bsd.sys.mk:
	add .m, .m.o, and .m.ln rules (as per the C rules in sys.mk).
	it's here, rather than in sys.mk, because `.m' isn't
	exclusively used for Objective C files.
- bsd.lib.mk:
	add .m.o, .m.po, .m.so, and .m.ln rules (as per C)
1997-10-28 12:40:16 +00:00
drochner 978c73b8c6 Fix the before/after-install ordering problem in a different way.
The old fix broke with multiple targets on the make command line.
1997-10-27 19:41:05 +00:00
drochner 86bc651566 Force "beforeinstall" and "afterinstall" to be executed before/after
"install". (pr misc/4319)
1997-10-23 12:44:28 +00:00
hubertf cfc838616e - don't clean out dependent packages (requested by thorpej)
- actually document the feature used above (NOCLEANDEPENDS)
 - put pkg/MESSAGE file into /var/db/pkg/XXX/+DISPLAY, if
   present (from FreeBSD)
1997-10-18 23:33:25 +00:00
thorpej 4cfd0c8e5c Make sure the ${PREFIX} directory exists before invoking mtree. 1997-10-17 01:40:49 +00:00
mikel d76d14e5e5 add -Wpointer-arith to flags enabled by WARNS 1997-10-12 01:37:50 +00:00
mycroft ef2bc499bd Don't include bsd.obj.mk in these two files. 1997-10-11 08:43:34 +00:00
mycroft 1e9e92665f Several changes:
* Allow bsd.man.mk to be included separately.
* Always include bsd.own.mk and bsd.obj.mk.
* Include bsd.man.mk and bsd.nls.mk even if NOMAN or NONLS; just turn off
building of the affected files instead.
* Require bsd.subdir.mk to be included explicitly.
(Will make appropriate changes to Makefiles shortly.)
1997-10-11 08:16:24 +00:00
mycroft b7362c7c30 Move the previous to a different place, because `.if !target(...' sucks. 1997-10-11 07:26:53 +00:00
mycroft 6bb70fa48b As the comment says:
Make sure all of the standard targets are defined, even if they do nothing.

Also, add a .PHONY for regress.
1997-10-11 07:14:57 +00:00
mycroft 430cf95918 Massively simplify this. Partly from David Holland in PR 3823. 1997-10-10 09:12:28 +00:00
agc faf7739143 s/sed/${SED}/g
Change <$ARCH> into bsd.port.mk's ${ARCH} value (uname -m) when
constructing the derived PLIST, so that we can use packages on
non-i386 NetBSD architectures and have the correct file names in the
installed inventory.
1997-10-09 10:38:13 +00:00
mycroft d39697696f Put the `-nostdinc -idirafter ...' in CPPFLAGS, not CFLAGS. 1997-10-08 13:17:00 +00:00
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