Age | Commit message (Collapse) | Author | Files | Lines |
|
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.
|
|
|
|
|
|
|
|
respect to \1, \2, etc. subexpression replacement.
|
|
pipeline that takes stdin, performs the substitions and writes the result
to stdout. It defaults to ${SED} ${SUBST_SED.<class>}. Use this variable
to replace the sed command with something else, like an awk process.
|
|
package by comparing its "base path" against LOCALBASE.
This should fix the problem mentioned in PR pkg/20450.
|
|
(build) dependency if the package being built is not the package which
is providing the compiler.
|
|
|
|
reported by krister.
XXX the Fortran gunk in bsd.pkg.mk will be moved to here later.
|
|
|
|
|
|
the final installed location for the named shared library, and we
need to protect the full path from "/path/shlib" -> "-L/path -lshlib"
transformation.
|
|
their own files: buildcmd and quotearg, which are used to build up the
command line and to quote arguments. Also add the ability to skip
processing the next few arguments and add them directly to the command
line. Now, either the marshall script or the cache scripts can
request skipping the N arguments by setting skipargs=N.
|
|
|
|
|
|
|
|
|
|
strong cup of coffee. This now works the way it was intended: the
buildlink3.mk file sets a variable that can be checked within itself to
see whether it's already been included or not.
|
|
buildlink3.mk writers.
|
|
non-recursive dependencies. We now use the check:
.if !defined(BUILDLINK_PACKAGES) || empty(BUILDLINK_PACKAGES:Mfoo)
...
.endif
to replace the FOO_BUILDLINK3_MK guards.
|
|
BUILDLINK_{DEPENDS,PACKAGES} and use them throughout bsd.buildlink3.mk.
A lot of processing iterates over these variables and assumes that there
are no repeated items in those lists.
|
|
wrappers, and ensure that they're only defined once. Also add some more
targets to create the sunpro-* helper scripts.
|
|
note once again that USE_GCC2/USE_GCC3 must not be defined in package
Makefiles. also note CC_VERSION and provide a usage example.
|