summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2003-11-25If we're linking a shared library by "cc -shared -o /srcdir/shlib", wejlam1-1/+9
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.
2003-11-25libtool.sh should also supply a definition for "$expr", used by thejlam1-1/+2
buffer script.
2003-11-25Don't write conflicts into the binary packages unless they're "overwrite"jlam1-2/+2
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.
2003-11-25Support buildlink3.jlam1-10/+18
2003-11-23Make the value of VIEWBASE available in more settings.jlam1-1/+4
2003-11-23In the overwrite package case:jlam5-12/+43
* 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.
2003-11-23Add some whitespace.jlam1-1/+2
2003-11-23Don't be fooled into thinking that the "-c" in "install -c" means tojlam1-2/+2
interpret the libtool mode as "compile".
2003-11-22Add public variables EXTRACT_CMD_OPTS.{zip,lha,lhz,zoo} that may be set injlam1-4/+8
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.
2003-11-21Back out part of rev. 1.20: rc.d scripts aren't really view files.jlam1-2/+1
2003-11-21Back out part of rev. 1.24: we don't need to add config files to the viewjlam1-4/+6
if only rc.d scripts are present. rc.d scripts always live in ${PREFIX} regardless of the setting for ${PKG_SYSCONFBASE}.
2003-11-21apache6 has no buildlink2.mk as it is handled automagically bygrant1-3/+6
apache/buildlink2.mk, so include that instead. makes this actually work with apache6.
2003-11-21don't build HTML man pages.grant1-1/+3
2003-11-20Forgot a \ to make line continue. Sorry for breakage.cube1-2/+2
2003-11-20When there is no distinfo file, do not apply patches we would notcube1-1/+6
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.
2003-11-20Catch errors from pre-build, and abort if it's not 0.hubertf1-1/+6
2003-11-20Catch error from su, and report it to the calling script (pkgsrc/mk/build)hubertf1-2/+6
2003-11-12After some discussion, default BSDSRCDIR to /usr/src if it's notagc1-5/+5
already set in /etc/mk.conf, and default BSDXSRCDIR to /usr/xsrc if it's not already set in /etc/mk.conf.
2003-11-12backout previous, it is no longer needed.grant1-2/+2
2003-11-11Add explanations (and commented-out defaults) for BSDSRCDIR and BSDXSRCDIR.agc1-1/+14
2003-11-11add LIBXAW to FIX_RPATHdanw1-1/+2
2003-11-07add USE_TETEX2 configuration variable and modify dvipdfm to use thisdmcmahill1-1/+8
to allow it to work with teTeX2 or teTeX instead of requiring only teTeX (1).
2003-11-02Depend on pkgtools-20030918 again; http support is not really a requirement.wiz1-2/+2
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.