Commit graph

11 commits

Author SHA1 Message Date
agc
78748d628a Instead of the clunky SHOW_PKG_PREFIX, introduce an EVAL_PREFIX definition,
which takes entries of the format <make-definition-name>=<pkgname>. This
has not been added to MAKEFLAGS because (a) premature optimisation is the
root of all evil, and (b) because the .for loop used to implement this
shows the wrong results when multiple prefices are evaluated.

Modify all the package Makefiles to use EVAL_PREFIX, thereby simplifying
them considerably.

ALso simplify the logic to calculate the prefix as well.
2000-07-15 20:39:13 +00:00
agc
69cbb39071 The previous method of using a make target for finding a prerequisite
package's prefix would not work as part of the environment specification
via MAKE_ENV (as it would not be executed in the correct directory).

Fix this by invoking pkg_info(1) directly, not via an intermediate make(1)
step - this is not as clean, but more effective (i.e. it works).
2000-07-14 16:04:19 +00:00
agc
4aeac45f89 Make the determination of the pre-req package's installed directory be
a bit more user-friendly.

Introduce a show-{gtk+,imlib,kdebase,qt1,qt2,xpm}-prefix target in
bsd.pkg.mk, and use "${MAKE} show-*-prefix" in package Makefiles.
2000-07-11 14:53:35 +00:00
agc
52c1afc38c Find qt1 prefix via pkg_info(1), rather than hardcoding it as ${X11BASE}.
Pointed out by Dave Sainty <dave@dtsp.co.nz>, munged slightly by me.
2000-07-10 15:08:13 +00:00
dmcmahill
bdd6047b86 fix typo so these will build on apm capable systems 2000-07-06 21:09:38 +00:00
dmcmahill
a041b5627e only allow these packages on APM capable machines. 2000-06-26 16:44:20 +00:00
dmcmahill
29d4990e00 fix path for qt1 2000-04-12 23:33:37 +00:00
hubertf
703e0e9f85 Teach this beast how we want our su(8) called. 1999-11-11 02:04:19 +00:00
hubertf
536bd7d981 add full path for apm(8) and halt(8) 1999-11-11 01:16:58 +00:00
hubertf
9d015b90b0 add k-dependency 1999-11-07 17:18:03 +00:00
hubertf
100744163a KDE-based APM utility (battery monitor).
Whacked heavily to work on NetBSD.
1999-11-02 21:54:47 +00:00