Commit graph

14 commits

Author SHA1 Message Date
agc
4434fa54ec 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
hubertf
3b3433af0e - 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
8af161a067 Make sure the ${PREFIX} directory exists before invoking mtree. 1997-10-17 01:40:49 +00:00
agc
fa4d9cc170 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
hubertf
1fc40a5559 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
agc
82e85dd37b + 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
e2d34aa7bd 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
df52205019 - 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
6cf9432e27 Forgot to include <bsd.own.mk> in last commit
(from OpenBSD)
1997-09-28 00:56:00 +00:00
hubertf
848315b212 - 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
thorpej
78968c27c9 /usr/pkg/src -> /usr/pkgsrc (per discussion w/ agc) 1997-09-25 19:09:32 +00:00
agc
aacf970e46 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
adfa9b1b6e 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
f3a1a1f048 Initial import of FreeBSD's ports makefiles. 1997-08-20 10:21:05 +00:00