Commit graph

265 commits

Author SHA1 Message Date
schwarz
6a99fbad5b Modified xmkmf support for Darwin and IRIX:
- on Darwin, pkgsrc no longer tries to set user or group when installing
  as unprivileged user, i.e. with UNPRIVILEGED set to yes.
- on IRIX (5 and 6) the system's xmkmf config files are no longer modified.
  Instead copies (that take priority with pkgsrc's xmkmf) are used for that
  purpose.
2006-04-10 13:38:36 +00:00
wiz
98d5a4af89 Remove ua locale dir again, it was a typo. 2006-04-09 12:37:01 +00:00
wiz
aa979a138f Add ua (Ukraine) locale dir for xchm-1.6. 2006-04-08 22:34:03 +00:00
wiz
42d56e7606 Add dz locale, used by glib2-2.10.2. 2006-04-08 21:12:04 +00:00
jmmv
3cc1a46965 Add the ca_ES@valencian directory, initially used by gaim 2.0.0beta3. 2006-04-02 09:51:29 +00:00
grant
412c157a03 require libtool >=1.5.22nb3 for /bin/sh fix. 2006-04-01 23:27:49 +00:00
jmmv
6bbe74362d Add the pa_IN locale directory, initially used by the iso-codes 0.50
package (coming after the freeze).
2006-03-21 19:35:44 +00:00
jlam
058ac2968b Remove leftover code sections guarded by _USE_PLIST_MODULE which was
mainlined long ago.
2006-03-18 21:40:44 +00:00
wiz
e643466c5d Add man/ru/*. 2006-02-22 21:42:05 +00:00
wiz
5daaa98485 Drop trailing whitespace. 2006-02-22 21:38:55 +00:00
wiz
5db18ae16b Add nl_BE and sv_SE locale dirs for gourmet. 2006-02-16 18:14:45 +00:00
wiz
dbe9cfb6a4 Add es_NI locale, for gnucash-devel. 2006-02-10 17:43:31 +00:00
tv
239bd12708 Set required libtool version to 1.5.22nb1, to skip regression issue in the
original 1.5.22 package.
2006-02-06 18:58:33 +00:00
wiz
c76dd1866e Add zh_HK locale for gtk2+-2.8.11. 2006-01-28 22:55:16 +00:00
jlam
8e0e10d3fa Initial commit of a new module that encapsulates all of the code
for manipulating PLISTs.  This module is not used by default pending
more widespread testing -- currently the variable _USE_PLIST_MODULE
must be defined in /etc/mk.conf to enable its use.

The main features of the new PLIST module are:

    (1) Splits out the PLIST-handling code from bsd.pkg.mk into a
	separate "plist" module.

    (2) Splits out giant, multi-line awk scripts stored in make
	variables into separate awk scripts that may be joined
	together to post-process PLISTs.  Each of these awk scripts
	consolidates the processing for one set of files, e.g.,
	man pages, info pages, etc., and is more easily commented
	than a make variable.

    (3) Splits out the print-PLIST code from the regular PLIST code
	since they have no common pieces (print-plist.mk vs.
	plist.mk).

    (4) Completely re-implements the shared-library handling to be
	more efficient.  Along the way, this also fixes a problem
	for Mac OS X users where the PLISTs incorrectly contained
	absolute paths.

    (5) Completely re-implements the info-file handling so that we
	can migrate from INFO_FILES definitions to just adding
	info/foo.info entries in the static PLISTs.

    (6) Adds commented-out support for automatically compressed or
	decompressed info page entries based on the value of MANZ.
	These changes will be activated after texinfo.mk has been
	replaced by something that is built using the more modern
	primitives now available in pkgsrc.

    (7) Move the file compression logic into a separate script
	"doc-compress" that compresses or decompresses files while
	minding symlinks.  This script is now called by bsd.pkg.mk
	to do the "autmoatic man page handling".  In the future,
	it will also handle the "automatic info page handling" and
	possible others.

In general, the idea is to move stuff out of the Makefiles and into
separate files where we don't need to worry about quoting rules
and where each file can have a separate history of commits.  This
simplifies the makefile logic (especially in terms of readability)
and also simplifies maintenance of the code.
2006-01-12 23:43:56 +00:00
christos
d6f119448c Also set ABI like SGI does; from Benjamin Shi. 2006-01-10 16:58:04 +00:00
christos
764aec25ab set the LIBABISUFFIX to 64 for amd64... 2006-01-06 22:47:24 +00:00
markd
cdbc86defb Add the 'km' locale, initially used by kde3-i18n-km 3.5.0. 2005-12-11 12:49:41 +00:00
jschauma
7e93f1e66f Pass correct flags to install.sh to invoke IRIX's strip command 2005-12-08 01:12:56 +00:00
rillig
999f8b6e04 Applied all quoting fixes found by "pkglint --autofix". 2005-12-05 22:07:07 +00:00
joerg
8ee73fae68 Add IMAKE_GAMEMAN_SUFFIX and IMAKE_GAMEMAN_DIR to allow PLISTs
to pick up the correct locations.

XXX Default values are guessed, x11/xsnow can be used for testing
2005-12-04 01:44:30 +00:00
seb
a91ee27221 Add lo and ss locale directories, used by the upcoming audio/amarok
update.
2005-11-16 01:36:46 +00:00
tv
e2af5cd013 libtool-base-1.5.18nb6:
Fix major problem brought to the surface by buildlink3 on Interix.  For C++
or F77 libraries only, the soname did not always make it into the final
binary, resulting in runtime link failures in some cases and runtime linking
with a missing major version in others.

This is unfortunately a flag day for Interix + pkgsrc.  Identifying all the
PKGREVISIONs normally requiring a bump is a little too unwieldy.  However,
existing binaries not experiencing the runtime link failure will continue
to run, but will be linking against the unversioned ".so" at runtime until
the binaries have been rebuilt.

While here, fix a couple wrong assumptions in the libtool config for
Interix.  shlibvar_overrides_runpath should have been "no", and
hardcode_direct should have been "yes".
2005-11-09 18:05:56 +00:00
reed
183079876c DragonFly does not provide an X11, so default to X.org's X11.
This is the X11 tested and used by the pkgsrc developers on
DragonFly. And far as I know, this is the only X11 used on
DragonFly -- not saying that others are not used though.
2005-11-09 01:08:58 +00:00
joerg
78ac3986eb Bless FreeBSD with the usergroup functions used by DragonFly. 2005-11-06 19:45:08 +00:00
tv
55216ceb5f Add comment about possibly supporting SIOCGIFADDR in the future. 2005-11-04 19:50:31 +00:00
tv
b1d81c0a17 Abstract [LOWER_]OS_VERSION into a ${...:sh} construct, so that other OS
blocks can override it without running the commands at all.

Move Interix [LOWER_]OS_VERSION speedup hack into bsd.prefs.mk, since it
must happen early at runtime.

While here, speed up the OS_VERSION calculation slightly for OSF1.
2005-11-01 16:30:05 +00:00
tv
a9a49c990b Add some extra default overrides for Interix, to:
- speed up the build (avoiding a few != settings that are inferrable instead)
- reduce the number of settings that the user needs to have in mk.conf
2005-11-01 16:01:16 +00:00
tv
6c348a80af Force recognition of hstrerror(3) on Interix when GNU_CONFIGURE. 2005-10-31 19:07:18 +00:00
joerg
a765c85f21 Implement usergroupfuncs for DragonFly using pw(8). 2005-10-28 20:09:38 +00:00
tv
05e15fbb06 a.out has never existed on DragonFly; that OS was created long after its
parent (FreeBSD) went ELF-only.
2005-10-27 22:39:58 +00:00
tv
c8eaac00f2 UnixWare has never used a.out. It descends directly from SVR4, and thus
is ELF by definition.
2005-10-27 22:39:08 +00:00
tv
cab6bd3e08 ...and gawk is no longer needed, either, so all these extras can now
go away.
2005-10-26 16:57:46 +00:00
tv
29e15651e7 sysutils/coreutils is no longer needed in bulk builds, with the Perl tflat. 2005-10-26 16:56:33 +00:00
schwarz
a0fe98b535 modification to increase imake handling flexibility for IRIX (in particular
with respect to IRIX 5).
Changes approved by jschauma and recht.
2005-10-16 19:38:05 +00:00
jmmv
8a7f3cdb6c Add the aa, byn, dv, gez, gv, haw, iu, kk, kl, kok, kw, ky, oc, om, ps, sa,
sid, so, sw, syr, ti, tig, tt, ur, ve, wal and wo locales, initially used
by iso-codes.
2005-10-14 16:46:17 +00:00
tv
ff9bb60b8f Bump LIBTOOL_REQD to 1.5.18nb5. This pulls in the -avoid-version fix for
some platforms, which includes all non-ELFs and many ELF-like platforms
(that still use a.out naming conventions).

Since a branch is coming, bump the version in a blanket rather than per
platform.
2005-09-21 20:37:01 +00:00
jmmv
4f121c6357 Add the 'ug' locale, initially used by gnome-themes 2.10.1 (AFAICT). 2005-08-19 21:47:51 +00:00
jmmv
7709491e7e Add the 'te' locale, initially used by gnome-desktop-2.10.2 (AFAICT). 2005-08-19 17:04:47 +00:00
reed
4b52aacba0 Fix typo. 2005-08-02 03:38:09 +00:00
reed
0ba4386344 Replace references of pkgsrc/mk/bsd.pkg.defaults.mk to
pkgsrc/mk/defaults/mk.conf.

This is from PR 30741 from anonymous AT example.net.
2005-08-02 00:23:31 +00:00
schmonz
4a0a36c00f Add "share/examples/rc.d" to mtree specs, both because
RCD_SCRIPTS_EXAMPLEDIR has been fixed to this value for a while,
and because it ought not to be emitted by the print-PLIST target.
(Individual packages can't expect to be able to completely remove
this directory on deinstall, as it often has other packages' rc.d
scripts in it.)
2005-07-20 02:41:33 +00:00
tv
b851e4027d Set _OPSYS_LIBTOOL_REQD to 1.5.18nb4. 2005-07-03 19:04:10 +00:00
jmmv
4bb60182ea Add hy locale, initially used by gnome-panel 2.10.2. 2005-06-29 09:29:36 +00:00
jlam
c2fb31ba79 Drop the perl-5.6.x package from pkgsrc. Remove lang/perl58 and update
lang/perl5 to perl-5.8.6nb4.  Modify packages that referred to
lang/perl58 to point to lang/perl5 instead.
2005-06-24 06:43:43 +00:00
jlam
6efbd72779 Clean up some clutter in pkgsrc/mk: move the ${OPSYS}.*.dist mtree
files into mk/platform, where they now live with the ${OPSYS}.mk files.
2005-06-23 18:41:57 +00:00
jlam
226567f45c Make IMAKE_TOOLS into a publicly-readable variable so that it can be
used by pkgtools/xpkgwedge.
2005-06-14 07:12:23 +00:00
tv
c887a4516b Force libtool-base-1.5.18nb3 on DragonFly. 2005-06-05 18:05:54 +00:00
markd
3fdb9ff461 IMAKE_FILEMAN_SUFFIX is 4 on Solaris and (as I read it) OSF1 and UnixWare. 2005-06-04 23:33:50 +00:00
jlam
05db0b4f12 Turn IMAKE_MAKE into a public variable that may be set via /etc/mk.conf. 2005-06-01 18:14:23 +00:00
markd
81c0cfd0d0 OpenWindows imake installs manual pages to different locations than
where the XFree86/xorg ones do.
2005-06-01 14:27:12 +00:00
markd
8ddab030e4 On NetBSD, OpenBSD and BSDOS imake always installs man/catN pages with
a "0" suffix.
2005-06-01 14:23:07 +00:00
salo
38a9c4ca3f DragonFly patch(1) can do backups, using -z flag:
-z, --suffix
      Causes the next argument to be interpreted as the backup extension,
      to be used in place of ".orig".

From Joerg Sonnenberger via private mail.
2005-05-31 12:31:21 +00:00
jlam
9f94b112f0 Remove the old tools framework and references to _USE_NEW_TOOLS. 2005-05-22 19:11:12 +00:00
jlam
3f770348b7 Teach the new tools framework about INSTALL and set the appropriate
default value for each platform.  Currently, the replacement tools
comes from sysutils/coreutils, but where there is no native BSD install
program, bootstrap-pkgsrc should probably be made to provide an install
shell script as an alternative, and mk/tools/bootstrap.mk should be
amended accordingly.

Also remove one use of ${TYPE} in pkgsrc (bsd.pkg.mk) under the new tools
framework.
2005-05-03 20:41:53 +00:00
jlam
cbf28912e2 Nuke stray GZIP definitions that I missed in a previous commit. 2005-05-03 19:35:24 +00:00
jlam
0e37f0df4d First pass at converting pkgsrc to use the new tools framework (still
not on by default).  Separate out the variable defintions that are
now made by the new tools framework.  Some of the trickier platforms
(AIX, IRIX, Interix, OSF1) still need more work.
2005-05-03 18:30:12 +00:00
jlam
8f5d2304a3 Back out part of a change from revision 1.756 of bsd.pkg.mk. It was
a mistake to include "GZIP" as an ${OPSYS}-specific variable as there
is nothing ${OPSYS}-specific there to tune.  Define GZIP in
defaults/mk.conf instead, and remove the definition from each of the
existing platform/${OPSYS}.mk files.
2005-05-03 15:10:59 +00:00
jlam
b26519d8a4 * Push the imake- and xmkmf-handling into the new tools framework.
* Get rid of an explicit check for ${_IMAKE_MAKE} == ${GMAKE} in
  bsd.pkg.mk to check for whether we need to depend on gmake or not.
  Instead, we now note in Linux.mk that packages that need imake will
  also need to use gmake by setting _IMAKE_TOOLS+=gmake.

* Push the definition of MAKE_PROGRAM from bsd.pkg.mk into make.mk where
  it's closer to related code.
2005-05-02 21:10:02 +00:00
tv
3631dff53f On Interix, memorysize is actually "vmemory"; use ulimit -v.
Noted by Steve O'Hara-Smith <steve@sohara.org>.
2005-04-20 21:40:30 +00:00
schwarz
9949da48f0 enable the user to set LIBABISUFFIX if desired. Change approved by jschauma. 2005-04-16 20:03:02 +00:00
garbled
9a6f8c33a1 Fixes for shlib handling on AIX 2005-03-29 08:17:42 +00:00
tv
0facf8765f With the SORT=gsort hack for Interix, all hell breaks loose on pkg_add
because pkginstall encodes it into its scripts.  sigh.

Hack around this.  For bulk builds on Interix only, use gsort for "tflat";
use the system-supplied sort for the rest of the build.
2005-03-28 15:04:07 +00:00
tv
4b4849ce42 Unfortunately, BULK_PREREQ doesn't shield its prerequisites from being
deleted because one of *their* dependencies are deleted.  So add the
dependencies of lang/gawk and sysutils/coreutils to BULK_PREREQ too.
2005-03-24 16:21:48 +00:00
tron
c3333a9a36 Several NetBSD ports (e.g. sparc64) don't have "/sbin/ldconfig". So check
whether it exists and use "true" otherwise.
2005-03-22 19:15:04 +00:00
tv
6fba2a93ed Bump LIBTOOL_REQD to 1.5.14; this unifies all the support again and fixes
a good number of bugs.
2005-03-22 15:40:06 +00:00
tv
de4333b663 Move "GNU replacements" block to the top.
Use gsort from coreutils instead of /bin/sort if coreutils is installed.

Install coreutils in BULK_PREREQ to get gsort; /bin/sort can't handle the
amazingly long lines produced by the dependency-tree printing script.
2005-03-21 14:49:25 +00:00
tv
34e2a63b76 The gawk that comes with Interix is 2.15, which works for most purposes
but can be buggy in some situations (like the bulk build environment).

If pkgsrc gawk happens to be installed, use that; also add lang/gawk to
BULK_PREREQ so it is always used in that case.  If lang/gawk is not
installed, ${AWK} will default to /usr/contrib/bin/gawk as it did before.
2005-03-19 03:32:36 +00:00
tv
b46a7543a3 Fix a gleaming illustration of why using YES/NO variables everywhere
possible, just for the sake of doing so, is not a good thing to do:

The platform files define _STRIPFLAG_* to determine whether to strip things.
But since this is included in bsd.prefs.mk, ".if ..." checks cannot take
things set in the Makefile into account.  So convert INSTALL_UNSTRIPPED=YES
to a defined/undefined variable check in bsd.pkg.mk, and use the :D:U idiom
in the _STRIPFLAG_* variables.

This should fix PR pkg/28772 and PR pkg/29031.
2005-03-18 18:16:34 +00:00
garbled
9e13247056 Some minor hacks for grep and gtar, to use the pkgsrc versions if
available, since the builtin ones aren't so wonderful.
2005-03-12 20:03:38 +00:00
garbled
e79f181034 Since it's not particularly easy to get perl compiling under pkgsrc on
AIX, and AIX ships with perl 5 by default, allow pkgsrc to use it for
building stuff.
2005-03-12 11:08:04 +00:00
reed
a839411efa If /bin/id exists, then use it for ID else use /usr/bin/id.
Mandrake Linux 10.1 as used by A L Meyers has /bin/id.
This should fix his PR #pkg/29430 and #29431.
2005-02-17 20:03:26 +00:00
grant
9a2655736f whitespace fixes 2005-02-16 08:03:44 +00:00
reed
d96e3ad00d chown on AIX is at /usr/bin/chown.
Thanks to Roland, Hubert, and Noud for the PR.
This will close PR #28208.
2005-02-13 04:33:24 +00:00
jlam
2ab02f1ddd Bump PKGTOOLS_REQD to 20050204. This version of pkg_install passes
the correct information to the +INSTALL and +DEINSTALL scripts to fix
problems with binary packages incorrectly locating the reference counts
database, e.g. /var/db.refcount.
2005-02-04 09:19:41 +00:00
jlam
642fa3e0e6 Don't make pkgsrc depend on dc(1) to be present in the system. Since
we already use awk so pervasively in pkgsrc, simply use awk in place
of dc for simple computations.
2005-01-28 21:05:59 +00:00
tv
e2d4e995a8 Relax need to put GNU_CONFIGURE before inclusion of bsd.prefs.mk:
Convert _OPSYS_MAX_CMDLEN to a plain _OPSYS_MAX_CMDLEN_CMD variable, which
is not evaluated by a shell until CONFIGURE_ENV is expanded (and only then
if USE_LIBTOOL+GNU_CONFIGURE are both set).
2005-01-25 18:15:58 +00:00
tv
48c1dc3c38 Add python22, python24 to base addresses list. 2005-01-24 21:47:00 +00:00
tv
6e2055d909 Add NOLINT=1 for BSD-.mk based packages. 2005-01-21 13:07:12 +00:00
tv
e24f55470c Add ruby16/ruby18 to base addresses list. 2005-01-21 06:14:23 +00:00
tv
d5938364f3 Defer the check of GNU_CONFIGURE until later; should fix build of net/ORBit
(and perhaps other packages) which set GNU_CONFIGURE only after bsd.prefs.mk.
2005-01-21 02:09:10 +00:00
tv
291f7ac5d5 Force manpages to be man-only (no catpages) when using BSD .mk files in
a package build.  This may change once groff is fixed, but for now, there's
no guarantee of a nroff available on the host system.
2005-01-18 22:36:37 +00:00
tv
54ce782081 Add <bsd.lib.mk> to base addresses list. 2005-01-18 19:37:08 +00:00
tv
198bb2cf3c Add python23 to the base-address list. 2005-01-18 18:22:56 +00:00
tv
f8b3f96fb6 Add override for uncommon "config.rpath" GNU config snippet. Use platform
file to indicate that override logic should be turned on.  (AFAICT, only
Interix is afflicted at the moment.)
2005-01-14 00:10:01 +00:00
recht
e03832caa6 set _PATCH_CAN_BACKUP=no to avoid problems with DragonFly's native patch.
Patch by Todd Willey in PR 28947
2005-01-12 21:11:41 +00:00
minskim
dcc78c4962 Use GNU make on Linux when USE_IMAKE=yes, because Makefile generated
by imake on Linux requires GNU make.
2004-12-29 23:19:42 +00:00
jlam
25b0d4a59c OpenBSD uses the NetBSD user/group management tools, so re-add back
support for USERADD/GROUPADD on OpenBSD.
2004-12-27 08:38:09 +00:00
jlam
25b81680be Remove USERADD and GROUPADD definitions from OSes where the useradd
and groupadd commands won't follow the calling conventions of the
NetBSD useradd/groupadd.  Modify the INSTALL scripts to *never* create
users or groups if there is no available ${USERADD} or ${GROUPADD}
command, but will warn the user of users and groups that need to be
created before the package can be installed.
2004-12-27 06:41:50 +00:00
grant
2ba54e3789 libtool>=1.5.10nb9 actually works on DragonFly, so require at
least that version.
2004-12-21 13:52:26 +00:00
grant
80e7ac22fb Darwin 7.7.x has poll() in libc, but no poll.h. Address this in GNU
configure packages by testing for poll.h and sys/poll.h and pretending
that there is no poll() if neither exist.
2004-12-20 13:09:04 +00:00
wiz
913b2647ad "the the" -> "the" 2004-12-01 09:52:59 +00:00
grant
c047f6663e backout cvs misfire 2004-11-20 04:38:09 +00:00
grant
919cb8bddb add framework support for Tru64 and the Compaq C compiler.
patches provided by Tobias Nygren <tnn at netilium dot org> with
minor changes by me.
2004-11-20 04:37:08 +00:00
tv
e281d8ed2c Remove PERL5_USE_THREADS setting now that the default is perl58-thread. 2004-11-19 13:10:05 +00:00
xtraeme
838274a29f OpenBSD's pax(1) doesn't support -O flag, so use the pkgsrc one. 2004-11-18 04:22:39 +00:00
tv
4b5d899ef8 Revert previous (re-add common CPP_PRECOMP_FLAGS). For consistency, also
move usage of _USER_DEPENDS and _OPSYS_MAX_CMDLEN to bsd.pkg.mk.
2004-11-16 18:04:00 +00:00
tv
2e3f2421db CPP_PRECOMP_FLAGS is a Darwinism only. Move its frobbing of CPPFLAGS to
platform/Darwin.mk (simplification).
2004-11-16 16:21:40 +00:00
tv
d1383b985f Set some _OPSYS_SHLIB_TYPE to precisely 'ELF' on platforms where a.out is
not being used by pkgsrc at all.  This saves some build time in
show-shlib-type.
2004-11-15 14:48:18 +00:00
sketch
cc78d56bb6 Introduce LIBABISUFFIX for platforms which require ABI-dependant library paths. 2004-11-12 20:25:41 +00:00
tv
a09be89d5a NetBSD now needs libtool-base-1.5.10nb6. 2004-11-11 22:29:40 +00:00
wiz
6af35801a0 Some updates for DragonFly from Todd Willey via tech-pkg. 2004-11-02 22:24:35 +00:00
wiz
e8cb326b9f Add DragonFlyBSD support, provided by Todd Willey on tech-pkg. 2004-10-31 22:05:02 +00:00
tv
2e2cb6b1ef Clarify previous (missing a word). 2004-10-29 15:15:50 +00:00
tv
6e04a29aad Add a block comment to track the base addresses of Interix shlibs as used
in pkgsrc.  (Since they are non-PIC, they require better than just default
base addresses in some fashion, or else face runtime text relocation.)
2004-10-29 15:15:10 +00:00
tv
ce5ae8b6ad Collapse ROOT_CMD a little; it's possible to make all invocations do the
$(id -un ...) dance for canonical naming.
2004-10-29 14:53:39 +00:00
tv
9a8ac08ae7 Use /bin/test. The /bin/sh builtin has some bugs with symlinks. 2004-10-13 17:50:01 +00:00
tv
53860a0446 Make strip/no-strip choice more consistent:
Move check for INSTALL_UNSTRIPPED to the platform/*.mk files, alongside
existing check for DEBUG_FLAGS.
2004-10-13 15:31:31 +00:00
uebayasi
37f4171f37 ulimit' can't parse localized messages of "unlimited"; force ulimit -H
...' to print out the C-locale message.  Problem reported by Hiroyuki
Nakaji.
2004-10-12 08:38:19 +00:00
tv
9e2ecafeae Another Interix fubar workaround: C++ libs weren't linking in libtool
because Interix installs completely hosed .la files for libstdc++ and
libsupc++.  Make libtool instead trust g++ to DTRT.
2004-10-12 04:41:39 +00:00
tv
c12846d533 Make -export-symbols work properly under Interix. (The Interix ld(1) does
not implicitly add `_' to -retain-symbols-file values, so we have to add
it manually before doing the physical link.)
2004-10-11 16:51:56 +00:00
tv
26bca1504d Add a comment explaining that bizarre $$(id -un ...) construct in ROOT_CMD. 2004-10-09 04:12:58 +00:00
tv
61fabf5361 Move -D_ALL_SOURCE for Interix, required for nearly every compilation, from
the funky CPPFLAGS assignment into the new wrapper framework.
2004-10-09 03:49:13 +00:00
jlam
17c3aafac1 * Make PKGSRC_TOPDIR a private variable by renaming it to _PKGSRC_TOPDIR,
as it's only used internally by bsd.prefs.mk.

* Make _PKGSRCDIR a public variable by renaming it to PKGSRCDIR.
  Also, generate its value from ${_PKGSRC_TOPDIR} so it's less fragile
  than the old method of stripping off the last two components of
  ${.CURDIR}.  PKGSRCDIR may now be used after bsd.prefs.mk is defined.

* Change all references to _PKGSRCDIR to PKGSRCDIR.
2004-10-07 02:01:37 +00:00
jlam
dffc19378a Reorganize some of the files under pkgsrc/mk:
(1) defs.${OPSYS}.mk --> platform/${OPSYS}.mk.

The "platform" subdirectory is where all of the ${OPSYS}-specific
infrastructure logic should reside.

    (2) bsd.pkg.defaults.mk --> defaults/mk.conf
        bsd.pkg.obsolete.mk --> defaults/obsolete.mk

Renaming bsd.pkg.defaults.mk to defaults/mk.conf is to mimic the way
that NetBSD has /etc/rc.conf as well as /etc/defaults/rc.conf, where
the latter is a full list of user-settable variables, and the two
files share the same name to reinforce the fact /etc/defaults/rc.conf
can be directly copied in place as /etc/rc.conf.  This is the same
relationship shared by defaults/mk.conf and /etc/mk.conf.
2004-10-06 20:51:47 +00:00