Commit graph

3262 commits

Author SHA1 Message Date
xtraeme
0cbe68a463 motif for buildlink3. 2004-04-11 18:39:36 +00:00
jschauma
b19ed8fbe4 If /usr/sbin/gzcat exists, use it, as /usr/bsd/zcat on these systems
requires a .Z suffix.  Noted by Bas van Oostven in PR pkg/25141.
2004-04-11 17:06:18 +00:00
jschauma
f78237671a According to egrep(1):
Portability note: unlike GNU grep, traditional grep did not con-
  form to POSIX.2, because traditional grep lacked a -q option and
  its  -s option behaved like GNU grep's -q option.  Shell scripts
  intended to be portable to traditional grep should avoid both -q
  and -s and should redirect output to /dev/null instead.

And, guess what, that's exactly what we run into when we call IRIX'
egrep(1) with '-q' (which it doesn't know).  So let's follow this
suggestion and use neither '-q' nor '-s' and redirect output to
/dev/null instead.
2004-04-10 16:23:00 +00:00
salo
cca011ab1f Add "matroska" driver to list of possible MPLAYER_DISABLE_DRIVERS options. 2004-04-10 12:26:23 +00:00
jschauma
47e75ed0c5 Improve and correct a few definitions.
(For example: use shell builtins if we know they are good 'nuff)
2004-04-09 23:18:18 +00:00
jschauma
bcb05d60c2 Set EGREP to an actual egrep, not plain old grep.
This fixed my own PR pkg/25109, as using a proper egrep will allow
buildlink to work.
2004-04-09 23:00:34 +00:00
jmmv
d555f0870e As we can get the maximun command line length safely using sysctl, set it in
configure's environment (only when GNU configure and libtool are used) to
avoid a check that takes a very long time (and which gives a wrong result,
anyway, according to comments in libtool sources).
2004-04-09 22:43:31 +00:00
jschauma
2cca9690d9 Commentary cleanup:
- If it's a full sentence, start capitalize first letter and end with a
  period.
- Break comments at ~80 chars so it fits into a terminal.[*]

(* This should be done for the code as well, but then it'll need testing.
   I'll do this at another point in time.)
2004-04-09 18:43:14 +00:00
jschauma
f060c78ebf On some systems, bootstrap also installs ${LOCALBASE}/bin/install-sh --
if that is removed, the bulk-build will fail immediately.  So tar it up,
too.  (Note that this will give a warning on systems that don't have it.)
2004-04-09 18:29:37 +00:00
dmcmahill
4886d69430 Add a --mirror_only option to the bulk build script. When combined with
setting SPECIFIC_PKGS=1, this is a convenient way to make sure you have
all required distfiles before starting a build.  In particular, you will
get all distfiles for all required dependencies of the explicitly listed
packages.  As part of this make the option processing part of this script
a bit more general purpose and add a -h|--help option.
2004-04-09 11:06:35 +00:00
dmcmahill
eb0a5dcca7 Add support in the bulk build code to properly deal with SPECIFIC_PKGS=1.
In particular, when SPECIFIC_PKGS is set in /etc/mk.conf, you can now do

  sh mk/bulk/build

and have the right thing happen.  Only those packages explicitly listed
and those which are depended upon are considered for the build.  Other
than the restricted list of packages, the bulk build works the same way
as a full bulk build.
2004-04-07 22:56:34 +00:00
tv
61606d9102 Convert "${ECHO} -n" to "${ECHO_N}", and introduce that into the defs.*
files.  On most platforms this resolves back to "${ECHO} -n".
2004-04-07 14:26:50 +00:00
tv
decc954bc5 Elide use of "echo -n" in a platform-independent manner. 2004-04-07 14:25:41 +00:00
tv
f998eee832 There is no need to use "echo -n" in production of HTML. 2004-04-07 14:14:12 +00:00
tv
88a61ea18e Make kaffe also sufficient for USE_JAVA2, but bump its DEPENDS to make sure
the version in use is new enough to handle it.

OK'd by xtraeme (current informal kaffe maintainer).
2004-04-06 19:15:13 +00:00
xtraeme
b15072fe03 err BUILDLINK_UPDATE_CACHE should be no for now... sorry I had this change
in my local tree.
2004-04-06 04:39:00 +00:00
xtraeme
703534638e Ensure USE_BUILTIN.<pkg> is defined before checking its value, fixes
last problems seen when using X11_TYPE=XFree86.
2004-04-05 17:00:12 +00:00
xtraeme
6e02e09489 Support DEPENDS_TARGET="install clean"; from Allan Barrett in
PR pkg/25059.
2004-04-05 08:06:07 +00:00
agc
c1b15d9ca1 Make USE_XPKGWEDGE default to "yes", as announced on tech-pkg@ last week. 2004-04-04 07:09:38 +00:00
reed
67e6eed715 To view the license, use "${MAKE} show-license" not "make show-license".
This is consistent with other messages shown to user.
2004-04-03 06:22:39 +00:00
tv
c56f20f096 Undo implicit recursive package registration. The buildlink[23] system is
already taking care of this where it's truly needed.  OK'd by agc.
2004-04-02 19:09:18 +00:00
abs
989ec516b5 Match NetBSD-2.* for mapping sun-jdk to sun-jdk14 not sun-jdk13. Also cleanup
NetBSD-2* to NetBSD-2.*
2004-04-02 17:26:21 +00:00
jlam
c7be0d97cf Be robust against the possibility that buildlibdir isn't defined. 2004-04-01 21:21:13 +00:00
jmmv
4715756883 Add the 'gu' locale directory, initially used by epiphany 1.2.2. 2004-04-01 12:19:09 +00:00
danw
cf372a5533 add USERADD/GROUPADD support via sysutils/user_darwin 2004-04-01 03:04:13 +00:00
jmmv
4570440fd2 Add the tk locale directory, initially used by gnome-desktop 2.6.0. 2004-03-31 21:06:42 +00:00
seb
71f733521f revert previous. 2004-03-31 20:18:46 +00:00
wiz
90cdaab614 Get rid of dd workaround for old paxes (last seen in NetBSD before 1.5;
bootstrap pax doesn't need it either).  Closes PR 18814 by Greg A. Woods.
2004-03-31 11:19:09 +00:00
grant
922933018f if NO_BUILD is defined, default to an empty USE_LANGUAGES. 2004-03-31 10:14:22 +00:00
grant
bd496517b3 tweak whitespace in comment 2004-03-31 10:07:47 +00:00
grant
b8453b63fc fix comment about needing patch(1). 2004-03-31 10:00:43 +00:00
sketch
4d692d801b Since revision 1.155 of bsd.prefs.mk, compiler.mk is required in package
Makefiles for testing CC_VERSION, not bsd.prefs.mk.  Reflect that change
in the provided example.
2004-03-31 09:38:36 +00:00
jlam
ce7bf9c372 Move the check for USE_X11 after bsd.builtin.mk included since that file
may indirectly set USE_X11.  This should fix using some of the builtin
X11 software to build non-X11 packages.
2004-03-31 07:12:31 +00:00
xtraeme
87ebc2d116 Check for !empty(X11_TYPE:Mnative) instead of checking for
empty(X11_TYPE:MXFree86), because X11_TYPE=xlibs could be used too...
2004-03-30 21:58:45 +00:00
jlam
29df39d6b5 GCC has this annoying behaviour where it advocates in a multi-line
banner the use of "#include" over "#import" when including headers.
This generates a _huge_ number of warnings when building practically all
Objective-C code where it is convention to use "#import".  Suppress
the warning if we're building Objective-C code using GCC by passing
-Wno-import to the compiler.
2004-03-30 21:39:24 +00:00
xtraeme
5c1491f6c7 Enable X11_TYPE=XFree86, ok'ed by jlam@. 2004-03-30 20:57:19 +00:00
jlam
a87ac65a40 There is no "heimdal-libs" package. 2004-03-30 20:29:54 +00:00
jlam
9ca1bbdf2f Make mit-krb5 into an accepted Kerberos 5 distribution. 2004-03-30 18:09:43 +00:00
jlam
7783b66d89 Extend the capabilities of buildlink3's libtool wrapper a bit compared
to the stock libtool: you can now copy or symlink an uninstalled
libtool archive file somewhere else than its build directory, and you
can still link against it.  This allows us to more easily bolt libtool
build machinery onto packages that have unusual(ly crappy) build
systems that rely on installing libraries to some common build directory
after they're built.

We do this by adding a "buildlibdir" variable to the uninstalled
libtool archive that points to the build directory of the archive.
Whenever we link against this archive, we rewrite the path to archive
on the libtool command line so that it points to the true archive.
This allows the real libtool to find the files under $buildlibdir/.libs.
2004-03-30 17:25:19 +00:00
tv
ec9e4b6dd1 Interix needs pkg_install 20040330 or later. 2004-03-30 15:29:26 +00:00
recht
3da5d6876e Generate fonts.dir correctly with the ttmkfdir2.
From PR 24968 by Jukka Salmi.
2004-03-30 11:55:02 +00:00
recht
4dc7c39d0d Use ttmkfdir2 by default.
Closes PR 24934 by Martin Husemann.
2004-03-29 22:13:47 +00:00
jlam
2d21729286 Use X11_TYPE check instead of USE_PKGSRC_XFREE86. It's safe to use the
value of X11_TYPE here since it's defined in bsd.buildlink3.mk which is
included before this check.  This fixes breakage for packages that set
USE_X11 due to USE_PKGSRC_XFREE86 not being defined before it's used.
2004-03-29 16:01:39 +00:00
seb
db7fd89879 When PTHREAD_TYPE is 'native' set USE_BUILTIN.pthread to YES and
add 'pthread' to BUILDLINK_PACKAGES so that
BUILDLINK_{{LD,C}FLAGS,LDADD}.pthread actually have an effect.

This should fix the build of at least tcl/tk related packages now
that tcl and tk packages are thread-aware.

Remove comments about linking native pthread libraries and headers into
${BUILDLINK_DIR} as this does not happen.
2004-03-29 15:16:58 +00:00
grant
605e0e9ca2 fix our idea of which platforms have bison. 2004-03-29 14:03:09 +00:00
recht
d49c887b4d Add and document MKTTINTERP. 2004-03-29 11:01:24 +00:00
jlam
7117873f09 Make lang/perl58 the default perl package installed when a package needs
Perl as a dependency.
2004-03-29 06:52:23 +00:00
jlam
7093b7b2c1 Set DFLT_PKG_SYSCONDIR to the location that PKG_SYSCONFDIR would have
been set to if it hadn't been overridden by PKG_SYSCONFDIR.<pkg>.  This
can be used in /etc/mk.conf to re-override certain PKG_SYSCONFDIR.<pkg>
in /etc/mk.conf from various package Makefiles, e.g.

	PKG_SYSCONFDIR.openssl=		${DFLT_PKG_SYSCONFDIR}
	PKG_SYSCONFDIR.tcp_wrappers=	${DFLT_PKG_SYSCONFDIR}
2004-03-29 06:49:04 +00:00
jlam
474598e164 Allow setting BUILDLINK_WRAPPER_LOG in /etc/mk.conf and using that as the
log file used by all of the wrapper scripts.
2004-03-29 06:05:10 +00:00
jlam
a0923cb1cf Handle "-Xlinker" being equivalent to "-Wl," when passing arguments
to the linker.  This fixes a bug building Emacs on Linux.
2004-03-29 06:02:53 +00:00