Age | Commit message (Collapse) | Author | Files | Lines |
|
need to protect the full path after "-o" from being transformed from
"/srcdir/shlib" to "-L/srcdir -lshlib". This fixes building
graphics/freetype2, which uses lots of full paths to sources and objects.
|
|
buffer script.
|
|
packages. All pkgviews packages are safe to install into the same tree,
and we rely on more dynamic file collision detection through linkfarm(1)
rather than just using CONFLICTS.
|
|
|
|
|
|
* Ensure that VIEW-INSTALL is called after _all_ POST-INSTALL actions
(including any in the INSTALL_EXTRA_TMPL file) by moving the call to
a file that is included after all other INSTALL templates.
* Ensure that VIEW-DEINSTALL is called before _all_ DEINSTALL actions
(including any in the DEINSTALL_EXTRA_TMPL file) by moving the call to
a file that is included before all other DEINSTALL templates.
|
|
|
|
interpret the libtool mode as "compile".
|
|
package Makefiles to customize the options passed to the extraction
commands when the defaults don't suffice. Patch from Michal Pasternak with
additions by me.
|
|
|
|
if only rc.d scripts are present. rc.d scripts always live in ${PREFIX}
regardless of the setting for ${PKG_SYSCONFBASE}.
|
|
apache/buildlink2.mk, so include that instead.
makes this actually work with apache6.
|
|
|
|
|
|
normally apply: treat them as if the distinfo file was empty.
This solves the reason why pkgtools/pkg_install/distinfo was resurrected,
and allows us to remove it again, since it had the side effect of
introducing a dependency on digest, which is not acceptable when updating
pkg_install: it made it impossible to use the pkgsrc tree, as reported
by several people.
|
|
|
|
|
|
already set in /etc/mk.conf, and default BSDXSRCDIR to /usr/xsrc if
it's not already set in /etc/mk.conf.
|
|
|
|
|
|
|
|
to allow it to work with teTeX2 or teTeX instead of requiring only
teTeX (1).
|
|
|
|
1.1298) properly by using single quotes instead of double quotes
around the PKGNAME_REQD value, ensuring that the shell does not
interpret the > character as a redirect.
confirmed that no "=1.0.43" files are created on NetBSD and
Linux when a pre-requisite package has a wildcarded version
number eg. ">=1.0.43", and that the original problem is fixed.
|
|
|
|
installing a pre-requisite package with a wildcarded (e.g. '>=1.0.43')
version number. The problem manifested itself by creating a file
called '=1.0.43' in the pre-requisite package's directory, and a
coupld of "dc: stack empty" spurious messages appeared.
If this needs to be fixed by an OS-dependent variable, we'll address
that in the future.
|
|
|
|
with the installed gcc when it has a localized version (such as our
gcc-3.3.2-nb1).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for the bin-install target.
|
|
!defined(COMPILER_MK) for now.
some packages include bsd.prefs.mk before defining USE_BUILDLINK2,
which resulted in the libstdc++ fake-la target being missed.
XXX the real fix is to include compiler.mk from both bsd.prefs.mk and
XXX bsd.pkg.mk, and have compiler.mk make the right decisions based on
XXX where it was included from.
|
|
build a dependency so that the shell does not attempt to do
interpret the value of PKGNAME_REQD.
noticed on Linux building graphics/mplayer where the build of
audio/nas was broken because ${MAKE} was being called with
PKGNAME_REQD=nas>=1.4.2 instead of PKGNAME_REQD="nas>=1.4.2"
|
|
|
|
Changes include supporting XFree86-4.3.99.14 aka XFree86-current.
Added some new library versions and some freetype2 include files.
And bump the required version number in the bsd.buildlink mk's.
|
|
Pointed out by Bas van Oostveen in PR pkg/23141.
|
|
with reality.
|
|
fix breakage in some GNU configure scripts.
based on patch from Jonathan Perkin in PR pkg/20701.
|
|
available.
fixes my PR pkg/18380, with hints from jschauma.
|
|
|
|
we're actually using gcc on Solaris.
fixes building of imake PIC code when the compiler is not gcc.
|
|
|
|
1) When checking if any of the required binary pkgs is newer, it's
not good to look into the (already existing) binary pkg, as that
might be unchanged. Instead, look at the DEPENDS.
In the context of the recent jpeg changes, the gd package itself was
not changed, but the DEPENDS were (via buildlink files). Now looking
into the existing gd binary pkg still said it wanted jpeg-6b instead
of the now-wanted jpeg>=6b, which was only available via the DEPENDS.
That's the first chunk of the patch below.
2) While debugging this, I found that the change in rev. 1.48 was
wrong, as can be seen throughout the last bulk build, search for errors
like:
find: "/usr/cvs.local/pkgsrc/packages/i386/All/gd-2.0.15.tgz": No such file or directory
As the whole operation is really on two files (as assured by "pkg_admin
lsbest" for pkg and REFS by definition), the quotes can be ommitted.
Why this wasn't caught when that change was tested is beyond me - maybe
different sh(1) behaviour? (The error happened on 1.6.1_STABLE, see
e.g. http://smaug.fh-regensburg.de/~feyrer/ftp/pub/NetBSD/pkgstat-i386/last/www/p5-Template-Toolkit/.broken.yui.html).
Anyways, that's addressed in the second part of the patch below, too.
3) Use ${FIND} while there.
|
|
OS_VERSION >= 6.0 by using
${OS_VERSION:R} >= 6
|
|
know read the arguments by first placing them in a buffer and taking
the argument in the first non-empty buffer as the argument to process.
The buffer is there to allow "splitting" an argument into multiple
arguments (currently up to five arguments), e.g. "-Wl,-R/path1:/path2"
is split into "-Wl,-R/path1" and "-Wl,-R/path2". Each split argument
is placed into a buffer. Using a buffer lets us read and process all
of the arguments in a single pass despite "pushing" more arguments
onto the front of the argument array.
|