Age | Commit message (Collapse) | Author | Files | Lines |
|
"make install". That way, packages don't have to say:
INSTALL_MAKE_FLAGS+= ${MAKE_FLAGS} foo=bar,
instead it suffices to say
INSTALL_MAKE_FLAGS+= foo=bar,
which is also more appropriate since multiple files (Makefile,
Makefile.common, options.mk, *.mk) don't need to care about whether
INSTALL_MAKE_FLAGS already includes MAKE_FLAGS or not.
Note: It is no longer possible to override MAKE_FLAGS completely. But
except for some exotic platforms, the default value is empty anyway.
|
|
one of "native" or "xorg". Failing with an error message in the right
file is better than failing somewhere else with a completely obscure
error message.
|
|
|
|
understand, too.
|
|
and XXX tags.
|
|
are important to pkgsrc.
|
|
|
|
to exclude some files from the portability checks.
|
|
program into its own file, since that way, one can add comments to the
code.
For convenience, keyword search is case insensitive.
|
|
topic=DISTNAME" produces useful results. And no, I didn't start the
PKGNAME vs. DISTNAME discussion here.
|
|
|
|
|
|
${_PKG_SILENT}${_PKG_DEBUG}, so that this feature can be used by
packages, too.
|
|
|
|
|
|
portability checks. Needed for the emulators/compat?? packages.
|
|
|
|
cache together with MAKE_FLAGS=-j. The cache file is now regenerated
into a temporary file and then renamed (atomically) to the "real" cache
file.
Fixed some code that would fail when run in "set -e" mode. If you want to
test the "set -e" mode, just uncomment the line in wrapper.sh.
|
|
|
|
off a line.
|
|
had been overwritten with the cpp wrapper, and the latter didn't define
the necessary transformation rules. Fixed that.
|
|
|
|
|
|
|
|
by extract.
|
|
|
|
preferred list on http://download.kde.org.
|
|
|
|
|
|
|
|
|
|
pathnames anymore. Therefore cd to ${PREFIX} to correctly resolve
the relative pathnames.
While here unbreak CHECK_WRKREF for another reason:
Append to ${ERROR_DIR}/${.TARGET} otherwise the "_NONZERO_FILESIZE_P"
check is always false...
|
|
use-destdir to ${ROOT_USER}:${ROOT_GROU}. This allows us to safely
use it on all packages which don't install setuid/setgid binaries.
|
|
some extra ones as well.
|
|
|
|
|
|
outside of WRKDIR. I don't see a reason for having the cache inside a
directory that will go away on "make clean", but I left the default
value as is.
|
|
alias for apache.mk, since I don't see a reason why a package should
query the apache version without also adding a dependency on apache.
Fixed the documentation to match the code. Made the code simpler. Added
sanity checks for both package-settable and user-settable variables.
|
|
big packages, so print an informational message before doing that.
|
|
permissions properly set. See mk/check/check-perms.mk and
sysutils/checkperms for details.
|
|
directory under a base directory hat does not exist. Add workaround
to ensure that the base directory does exist. This addresses PR#34779
|
|
heading.
|
|
The actual check has moved into a shell file to allow for nice-looking
code. Instead of only the configure scripts, it scans all files whose
first line matches "#!*/bin/sh". Therefore the check is run no matter if
HAS_CONFIGURE is set or not.
Added a warning (not an error) for every use of $RANDOM that is not
combined with $$, the process ID. $RANDOM is only implemented by bash
and some versions of the ksh.
|
|
I forgot to commit this last week when I updated xisp package.
(This is for PR 34780.)
|
|
"help" targets.
|
|
|
|
anymore. Therefore, cd to ${LOCALBASE} to correctly resolve the relative
pathnames.
|
|
Packages may set PKG_DESTDIR_SUPPORT to either "destdir" or
"user-destdir" to flag support for this, following the same
rules as PKG_INSTALLATION_TYPES (e.g. define before first include
of bsd.prefs.mk).
The user activates it via USE_DESTDIR. When set to "yes",
packages with "user-destdir" are handled as "destdir".
The installation of the package will not go to ${LOCALBASE},
but a subdirectory of ${WRKDIR} instead. pre/post install scripts are
not run and the package is not registered either. A binary package
can be created instead to be installed normally with pkg_add.
For "user-destdir" packages, everything is run as normal user and
ownership is supposed to be correctled by pkg_create later. Since
the current pkg_install code uses pax and it doesn't allow overwriting
owners, this does not work yet.
For "destdir" packages, installation, packaging and cleaning is run as
root.
This commit does not change the handling of DEPENDS_TARGET or
bin-install to allow recursive usage.
|
|
|
|
are run with elevated privileges. Remove MAKE_PACKAGE_AS_ROOT
for now, since it is not sure whether the functionality in the current
form will stay and developers should spend time on the destdir support
instead.
|