Age | Commit message (Collapse) | Author | Files | Lines |
|
being run during the first part of a make; make install sequence.
(As suggested by Greg A. Woods on tech-pkg.)
|
|
because I'm a slacker. Take a months-old hint from Johnny in PR
16628 and set PKG_CREATE_USERGROUP to NO in the meantime.
|
|
Addresses PR pkg/18077 and PR pkg/18430 and possibly others.
|
|
that are outside of ${LOCALBASE} belong to the package that lists them.
If the directory already exists before the package is installed, then
we don't presume ownership of the directory.
This addresses pkg/18383 by Grant Beattie.
|
|
into whether USE_BUILDLINK is "no".
|
|
|
|
|
|
Also document what that section of the Makefile does.
|
|
|
|
+ umount filesystems in the reverse order from that which they were mounted
+ null-mount /lib and /libexec in a way more consistent with the original
|
|
the GNU auto* tools from being executed during the build process. We now
just create shell scripts that simply return an error status for each of
the GNU auto* tools in ${BUILDLINK_DIR}/bin and ignore the other goop in
bsd.pkg.mk that tried to accomplish the same thing.
|
|
|
|
Use 'if cmd1; then :; cmd2; fi' instead of 'if ! cmd1; then cmd2; fi'
|
|
|
|
Tested on FreeBSD 4.7-RELEASE/i386.
|
|
|
|
shells to /etc/shells.
This feature can be disabled by setting PKG_REGISTER_SHELLS to NO in
/etc/mk.conf.
An excerpt from Packages.txt, section 10.28:
10.28 Packages providing login shells
=====================================
If the purpose of the package is to provide a login shell, the variable
PKG_SHELL should contain the full pathname of the shell executable installed
by this package. The package Makefile also must include
"../../mk/bsd.pkg.install.mk" prior to the inclusion of bsd.pkg.mk to use the
automatically generated INSTALL/DEINSTALL scripts.
An example taken from shells/zsh:
PKG_SHELL= ${PREFIX}/bin/zsh
.include "../../mk/bsd.pkg.install.mk"
The shell is registered into /etc/shells file automatically in the
post-install target by the INSTALL script generated by bsd.pkg.install.mk and
removed in the deinstall target by the DEINSTALL script.
|
|
|
|
back to the current page, just list it as regular text.
- Put each dependency hyperlink on a separate line in the README.html file.
These were both noted by Thomas Klausner in a private email.
|
|
|
|
correctly with Solaris' ksh (not sure why this didn't break on NetBSD's
/bin/sh). Analysis and fix by Jonathan Perkin <sketch@rd.bbc.co.uk>.
|
|
This is to override the default CC=cc, CXX=c++, LD=ld, etc. settings in
CONFIGURE_ENV and MAKE_ENV, e.g.:
BUILDLINK_SETENV.CC= CC=gcc
|
|
libtool to install libraries or programs.
|
|
avoid simply appending to it.
- add some additional error checks when using the -r/--restart options to
make sure that the database exists and give a useful error message if it
doesn't
|
|
can just test whether X11BASE is /usr/openwin (see x11.buildlink2.mk).
|
|
based on the value of OPSYS. This was breaking pkgsrc on Solaris.
|
|
directory of a single package (e.g. graphics/gimp) for which a README.html
is to be generated. This provides the required hook to be able to use this
script to generate a README.html file for a single package as well as
for all packages.
|
|
|
|
with tabs.
|
|
|
|
|
|
don't exist, exit with a fatal error and don't try and make empty README.html
files.
- fix a bug which caused some duplication in category README.html files.
Problem noted on netbsd-help@ by Nicolas Saurbier ( Nicolas dot Saurbier at biodata dot de)
|
|
after the run. Useful for debugging since this preserves the intermediate
result of the most time consuming portion of the script.
|
|
|
|
escaping html output.
- properly escape the URL in the link and the displayed URL in the vulnerability
list to handle the '&' character in URL's.
|
|
|
|
with slow machines.
- fix minor bug which left some temp files laying around in /tmp/mkreadme.
|
|
|
|
|
|
way than the previous recursive make approach. The 'mkreadme' script is
the top level script. 'mkreadme -h' or 'mkreadme --help' for complete
documentation on its use. Generates README.html files more than two orders
of magnitude faster than the recursive make approach by only calling make(1)
once per pkg.
|
|
README.html generation script. This target gives all information
needed by the README.html file in 1 make call.
|
|
Adresses PR pkg/19004 by tv@pobox.com
|
|
|
|
Noted by Julio Merino <jmmv at menta dot net> in PR pkg/18968, I had this
in my trees for weeks and I forgot about it...
|
|
It runs pre-test, do-test, and post-test. The default pre-test and
post-test targets are empty; the default do-test target runs
TEST_TARGET (in each TEST_DIRS (defaults to BUILD_DIRS)) if it is set
and does nothing otherwise. Thus the test target defaults to doing
nothing.
The usual way to use this is to set TEST_TARGET to the target to run
(e.g. TEST_TARGET=check for GNU packages).
If PKGSRC_RUN_TEST is set to yes (in mk.conf, defaults to no),
the test target is run before install.
(approved by agc)
|
|
|
|
causes the shell environment to be discarded. This also discards
OBJMACHINE or OBJHOSTNAME, which causes WRKDIR_BASENAME to be different
between the "non-root" and "root" make targets and leads to the breakage
seen in pkg/18879 by Simon Burge. Fix this by saving the OBJHOSTNAME or
OBJMACHINE setting in MAKEFLAGS so that it is seen even after we "su -l" to
root.
|
|
|
|
latest set of fixes and changes to pth to make it look more like a real
pthreads package.
|
|
if the package uses X11 and merge the BUILDLINK_X11PKG_DIR and
BUILDLINK_X11_DIR variables into a single variable: BUILDLINK_X11_DIR.
This creates a one-to-one mapping between X11BASE and BUILDLINK_X11_DIR,
instead of X11BASE mapping to both BUILDLINK_X11_DIR and to
BUILDLINK_X11PKG_DIR.
Remove the now unused II and LL parts of the BUILDLINK_TRANSFORM language.
Add a new "static" keyword to the mini-language and fix building
statically-linked binaries when building with libtool.
|