summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2003-10-30implement the change in rev. 1.1296 (which was backed out in rev.grant1-2/+2
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.
2003-10-30Bump PKGTOOLS_REQD to 20031003, per a suggestion from agc.wiz1-2/+2
2003-10-30Revert the change in 1.1296 which was causing problems on NetBSD whenagc1-2/+2
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.
2003-10-26don't build HTML man pages.grant1-1/+3
2003-10-24Remove '-' from the version part of _GCC_IN_USE so that pkg_admin can dealcube1-2/+2
with the installed gcc when it has a localized version (such as our gcc-3.3.2-nb1).
2003-10-23The "elf" goes after "netbsd", the version number after that.fredb1-2/+2
2003-10-19style/whitespace fixesgrant1-27/+27
2003-10-19whitespace fixesgrant1-31/+31
2003-10-19more whitespace fixesgrant3-12/+12
2003-10-19fix some cut'n'paste whitespacegrant1-9/+9
2003-10-19tell imake not to build HTML man pages.grant1-1/+3
2003-10-18Bump minimum required version of "x11-links" package.tron2-4/+4
2003-10-18Fix PR 17883 by adding code to perform just-in-time su(1) functionalityagc1-3/+12
for the bin-install target.
2003-10-18move the libstdc++ fake libtool archive stuff out ofgrant1-14/+20
!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.
2003-10-18properly quote the value of PKGNAME_REQD when calling ${MAKE} togrant1-2/+2
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"
2003-10-16Set default for SILC_CLIENT_WITH_PERL here.salo1-2/+2
2003-10-13Update pkgtools/x11-links to 0.16.veego2-4/+4
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.
2003-10-13Add a dot before the 'if' statement.jschauma1-2/+2
Pointed out by Bas van Oostveen in PR pkg/23141.
2003-10-12fix logic error introduced in last, sync comments about CC_VERSIONgrant1-7/+8
with reality.
2003-10-11use 'solaris2' instead of 'solaris' in MACHINE_GNU_PLATFORM togrant1-2/+3
fix breakage in some GNU configure scripts. based on patch from Jonathan Perkin in PR pkg/20701.
2003-10-11add a BUILD_DEPENDS on devel/patch if no suitable patch(1) isgrant3-8/+39
available. fixes my PR pkg/18380, with hints from jschauma.
2003-10-11set CC_VERSION for non-gcc and use it in the BUILD_INFO file.grant2-10/+8
2003-10-11don't hardcode the -DHasGcc2... flags to imake, pass them only ifgrant3-11/+19
we're actually using gcc on Solaris. fixes building of imake PIC code when the compiler is not gcc.
2003-10-11find the right GREP and SED programs and use them.grant1-3/+9
2003-10-10This patch addresses three problems:hubertf1-5/+3
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.
2003-10-10Follow Dan Winships solution from the teTeX-bin package to check forjschauma1-2/+2
OS_VERSION >= 6.0 by using ${OS_VERSION:R} >= 6
2003-10-09Change the way in which arguments are processed by the wrappers. Wejlam4-16/+102
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.
2003-10-09It's "skipargs", not "skip".jlam1-2/+2
2003-10-08Use the -S argument to pkg_admin(1) if it exists.agc1-2/+8
2003-10-08Use sed instead of requiring gawk (for gensub) for portability.jlam1-30/+16
2003-10-07Revert previous change as gsub() doesn't quite work like gensub() withjlam1-14/+16
respect to \1, \2, etc. subexpression replacement.
2003-10-07Allow a new variable SUBST_FILTER_CMD.<class> that is a command filter orjlam1-6/+17
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.
2003-10-07Insure that the install-info we found is not one provided by the gtexinfoseb1-2/+2
package by comparing its "base path" against LOCALBASE. This should fix the problem mentioned in PR pkg/20450.
2003-10-06allow lang/gcc{,3} to be used to build themselves by only adding thegrant1-24/+35
(build) dependency if the package being built is not the package which is providing the compiler.
2003-10-06Simplify by using gsub() instead of gensub() in awk script.jlam1-16/+14
2003-10-06avoid F77/PKG_FC being recursively defined.grant1-3/+3
reported by krister. XXX the Fortran gunk in bsd.pkg.mk will be moved to here later.
2003-10-05require libtool nb16 on Darwin for latest library name fix.grant1-2/+2
2003-10-04Add some documentation.jlam3-5/+13
2003-10-03Darwin's special GCC uses "-install_name /path/shlib" to indicatejlam1-2/+12
the final installed location for the named shared library, and we need to protect the full path from "/path/shlib" -> "-L/path -lshlib" transformation.
2003-10-03Factor out some more commonly used bits of the wrapper system intojlam7-111/+116
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.
2003-10-03Initial import.xtraeme1-0/+633
2003-10-03kaffe and wonka works for "arm" too (not only "arm32").kristerw1-3/+3
2003-10-02Allow variables to be set on a per-OS basis.gavan1-1/+11
2003-10-02Fail-safe check for circular dependencies.gavan1-1/+6
2003-09-30Set the final form of the template buildlink3.mk file, after I've had ajlam1-5/+4
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.
2003-09-30Set the final form of the template buildlink3.mk file as a guideline forjlam1-6/+14
buildlink3.mk writers.
2003-09-28Update the template buildlink3.mk file so that it may be used forjlam1-6/+6
non-recursive dependencies. We now use the check: .if !defined(BUILDLINK_PACKAGES) || empty(BUILDLINK_PACKAGES:Mfoo) ... .endif to replace the FOO_BUILDLINK3_MK guards.
2003-09-28Create _BLNK_{DEPENDS,PACKAGES} that are "uniq"ed versions ofjlam1-7/+23
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.
2003-09-28Rearrange order of the targets for the various helper scripts for thejlam1-35/+85
wrappers, and ensure that they're only defined once. Also add some more targets to create the sunpro-* helper scripts.
2003-09-28sync comments with reality.grant1-6/+20
note once again that USE_GCC2/USE_GCC3 must not be defined in package Makefiles. also note CC_VERSION and provide a usage example.