Commit graph

144 commits

Author SHA1 Message Date
schwarz
a6e6f7ffef corrected a few typos
changed recommendation to define C++ compiler unconditionally in mk.conf
2006-04-18 18:11:21 +00:00
schwarz
eeec12647c re-introduce a modification from 1.48 that had erroneously been removed
with the modification for 1.49.
2006-04-14 20:37:08 +00:00
joerg
f860aa0fbb Don't use the carat (^) in class matches, as it is not supported by
some shells. Use precendency order instead.

Should fix PR 33236.
2006-04-11 14:35:48 +00:00
joerg
b14c4dc764 Allow overriding of the default FETCH_CMD with --fetch-cmd
for both bootstrap and mkbinarykit. When this is done or the
platform fragment of bootstrap specifies an explicit fetch_cmd,
tnftp is not built.

Use /usr/bin/ftp by default on DragonFly 1.4 and later.
2006-04-10 18:29:24 +00:00
schwarz
89bda489cd added bootstrap support for IRIX 5.3 (finally :-)) 2006-04-10 13:29:38 +00:00
joerg
bfa6f4aed8 For DragonFly before the 1.4.0 release, default to $prefix/pkgdb to
avoid conflicts with FreeBSD ports. Later versions use pkgsrc by default,
so use the more natural /var/db/pkg location and match the install CD
thereby.
2006-04-09 13:39:52 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
reed
25ae7d3703 Make sure devel/bmake is also in tarball. (Noticed by Matt Dillon.) 2006-01-02 23:27:09 +00:00
tron
84ddbdcecb Fix "${TMACDIR}" for Darwin 8.x (MacOS X Tiger). 2005-12-21 11:47:45 +00:00
joerg
b1d7563c85 Default to MKLINT=no by default. lint might not exist on the target
and the default breaks bsd.lib.mk users on DragonFly.
2005-12-20 16:15:37 +00:00
jschauma
b48101ad3b Apply parts of a patch from Georg Schwarz to allow IRIX 6.x to bootstrap
again.
2005-12-17 17:51:40 +00:00
minskim
11d41836b7 Bump BOOTSTRAP_VERSION due to the update of archivers/pax. 2005-12-01 03:03:51 +00:00
reed
bdc986df08 Do not define LIBC and other LIB* settings. This should fix
problem with building on systems that don't have the
/usr/lib/libc.a (LIBC).

This is the log entry from mk-files 20051104:
        * prog.mk: remove all the LIBC?= junk, use
        .-include libnames.mk instead (none by default).

Note this is not an exact copy of the mk-files 20051104 prog.mk.
(Todo: compare and test all the mk files with sjg's version.)
2005-11-18 06:31:22 +00:00
joerg
e806cd23e8 sysMkPath should be ${PREFIX}/share/mk by default and only that.
Including e.g. /usr/share/mk results in sys.mk read from there
as well. On DragonFly this adds X11BASE and results in obscure
breakages. Since the mk files are supposed to be self-contained,
it doesn't make much sense to look in other directories anyway.
Bump revision to annotate this.

Discussed-with: reed@.
Reported-by: Aggelos Economopoulos <aoiko AT cc DOT ece DOT ntua DOT gr>
2005-11-16 13:53:51 +00:00
reed
6fa7d5f273 Add "--mksrc none" to the boot-strap arguments for building "bmake". 2005-11-10 00:10:35 +00:00
reed
b1cd567242 Mention documentation that is local in pkgsrc tree.
And mention about PATH, MANPATH, and mk.conf.example.
2005-11-08 17:25:30 +00:00
reed
9dc3ac78a5 Remove the NetBSD specific Makefile.in for bmake. It was not used anyways
since yesterday's update (since it overwrites it).
2005-11-02 00:34:23 +00:00
tv
cb7746b286 Remove all the local documentation here and defer to the Guide. 2005-11-01 14:26:51 +00:00
reed
868a3892a6 bootstrap script uses source files from pkgsrc/devel/bmake/files
for "bmake".

Remove all of bmake source from this bootstrap.
Keep bootstrap/bmake/mk -- copy to files-mk (so the
bmake "boot-strap" doesn't notice the mk*).

This was tested on DragonFly, NetBSD and some on Linux.

Hopefully all the fixes to boostrap's bmake are included in
devel/bmake/files.

Note that the "mk" files is still not using devel/mk-files.
2005-11-01 01:06:02 +00:00
reed
cec0180295 Do not define sysconfdir when --prefix is set. This causes
sysconfdir to be reset if --prefix is later on command line.
2005-10-31 23:05:24 +00:00
wiz
007e2deceb Fix for OSF1 5.1, from Sergey Svishchev in PR 31864. 2005-10-19 00:33:12 +00:00
heinz
c0e7856048 Added definition of PATH. This fixes a silly bug of endless recursion
where "mkdir" is found in WRKDIR/.tools/bin after the tools are
available...including mkdir itself.
2005-10-09 20:12:29 +00:00
joerg
3cb54ed23e Replace getopt with equivalent code. This unbreaks bmake on DragonFly.
Obtained-from: src/usr.bin/make/main.c, rev 1.98
2005-10-02 11:43:34 +00:00
grant
38130a4ab9 #include <string.h> for memcpy() on Solaris 10.
from John Heasley in PR pkg/30544.
2005-08-21 12:35:00 +00:00
reed
b368fa3ab5 Mention --varbase option. 2005-08-19 16:12:14 +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
grant
da261bf794 wording tweaks 2005-07-29 00:56:24 +00:00
jmmv
1eda67b394 Allow --varbase=something (note the '='). Pointed out by rillig@. 2005-05-30 19:03:29 +00:00
jmmv
041d5ecfe0 Simplify usage as non-root. When given the --ignore-user-check, change
default installation paths to be inside ~/pkg and define UNPRIVILEGED=yes
in the generated mk.conf.  This lets regular users to simply bootstrap by
doing './bootstrap --ignore-user-check'.
2005-05-29 17:15:25 +00:00
rillig
8aedb70177 Added a function get_optarg that avoids code duplication in the option
parsing code. For maximum portability it uses the expr(1) command
instead of sed(1), the same way as it is done in the core of the latest
GNU configure scripts.
2005-05-25 07:06:54 +00:00
cube
62758d1291 Fix typo (missing leading dot). 2005-05-17 09:16:46 +00:00
rillig
c38978cf6b Documented how .for loops split their value list (by whitespace, not by
shell-style words).
2005-05-16 09:18:27 +00:00
rillig
21cd54a072 Fixed shell quoting. 2005-05-15 10:55:06 +00:00
christos
e2c98c8fea Different operating systems have different places where they store the
groff macro files. Since we don't have a pkgsrc groff tool dependency,
we ignore the dependencies if the macro files are not there.
2005-05-14 19:16:16 +00:00
rillig
2f39dcaf4a Allow the user to type --prefix=foo instead of requiring a whitespace
between the --prefix and the directory. This makes life easier for users
that often run GNU ./configure scripts manually.
2005-05-14 02:12:48 +00:00
rillig
62805e87ad Removed trailing whitespace. Changed some other details to make mdoclint(1)
a little happier.
2005-05-11 14:39:32 +00:00
rillig
d9ff95c62a Corrected the part where splitting variables into words is explained. Added
an illustrating example.
2005-05-11 14:31:10 +00:00
wiz
85c1935403 Sync with v1.88 of packages(7). 2005-05-07 22:20:40 +00:00
wiz
af43f6cfdc Refer doc/pkgsrc.txt instead of Packages.txt. 2005-05-07 22:16:38 +00:00
minskim
9e761f6663 Define TMACDIR and CATDEPS appropriately on Linux.
Bump BOOTSTRAP_VERSION.
2005-04-19 18:24:17 +00:00
jschauma
ccfb405e99 If need_bsd_install=yes, then also set INSTALL accordingly in the sample
mk.conf
2005-04-11 21:03:21 +00:00
jschauma
ddf2f4ec74 Update README's for last change in bootsrap. 2005-04-10 22:03:35 +00:00
jschauma
f8a308ad6a Implement changes suggested on tech-pkg some time ago:
(1) rework how command-line arguments are parsed:
instead of --command=<arg>, use --command <arg>

This allows us to not rely on certain commands for which we first need
to figure out where they are to parse the arguments, which in turn
allows us to

(2) add the command-line option

--preserve-path

to prevent bootstrap from munging the PATH (as it does on some platforms)
and look in places that are not currently in the PATH

Finally,

(3) add a check to see if we're using gcc, and set and add the
PKGSRC_COMPILER=<compiler>
flag to the sample mk.conf.  This is particularly useful (and actually
necessary) under IRIX.

Bump BOOTSTRAP_VERSION.
2005-04-10 21:54:13 +00:00
jschauma
e9ee373a6a Add a note to set
PKGSRC_COMPILER=mipspro
if this compiler is used.  Otherwise, wrong CFLAGS might be passed.

XXX: we probably want to add a check for the proper compiler into the
bootstrap process and add this line automatically, if necessary.
2005-03-24 19:36:30 +00:00
tv
f7bdf70504 Were the overrides in mods/mk ever tested?
Fix the override logic for $opsys.bsd.{lib,man}.mk to install the files
in the correct place -- this was previously all kinds of b0rken.  Now it's
possible to build shlibs properly on Interix using <bsd.lib.mk>, and may
be possible on Darwin as well.
2005-03-08 15:43:10 +00:00
jschauma
5cad4922d8 Some strip(1) commands don't strip anything but executables, so in order
to strip dynamic libraries, one would have to pass "-f" to strip(1).
This is done by passing "-S -f" to install, which implies "-s".
Make it so.
2005-03-04 03:11:50 +00:00
grant
ec39a6ec98 set MACHINE_ARCH correctly on AIX. 2005-02-19 04:07:31 +00:00
xtraeme
c2eeaef993 Before copying the mk.conf.example file into PKG_SYSCONFDIR, the
directory must be created... do it.

Also replace /usr/pkg with $prefix in a few places.
2005-02-18 00:26:07 +00:00
reed
ded2f3d98a Note that gzip may be needed (as mentioned by T. Rightnour,
P. Schmiedeskamp, A. Wallis, and others on tech-pkg).

(TODO: look at http://home.comcast.net/~rawallis/ for adding
gzip to bootstrap.)
2005-02-16 21:38:41 +00:00
grant
1e95d534a4 note that icc 8.1 needs to be built with -i-static. 2005-02-16 11:02:50 +00:00