summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2001-10-31Make REPLACE_PERL work -- recent "-e s,/bin/perl,${PERL5}" addition broke it.zuntum1-5/+2
Now the sed command is "s,#!.*/bin/perl,#!${PERL5},"
2001-10-31Fix an improper newline in a comment (was <TAB>bing all the way to column 80).tv1-2/+3
2001-10-30Add initial support for Darwin (1.4) to pkgsrc.agc5-12/+1006
2001-10-29On Solaris 7, when `find dir -name foo -name bar' in invoked, only anjlam2-12/+13
implicit `-print' action is performed on bar and not on foo. Surround the search pattern in \( ... \) and add an explict -print so that all of the results of the find are printed. Problem noted and patch to fix this received in private email from Stoned Elipot <seb@netbsd.org>.
2001-10-29Make print-PLIST generateskrll1-2/+2
@exec ${MKDIR} %D/... instead of @exec ${MKDIR} ${PREFIX}/... Hopefully this might mean I don't commit incorrect PLISTs.
2001-10-26Add a new "show-vars" target which allows to display several makefiletron2-3/+9
variables at once.
2001-10-26If AUTOMAKE_OVERRIDE=YES then we touch files in ${WRKSRC} in such a wayjlam1-2/+24
that GNU autoconf/automake are not executed during the build process, even if the tools exist in the build environment. This prevents the build process from overwriting any changes made to the configure script or to the Makefile.in files.
2001-10-26Expand description of the ${PKG_JVM} selector to note that ${JAVA_HOME} isjwise1-3/+4
set based on this choice if unset, and that blackdown-jdk13 is the default on powerpc.
2001-10-26Correct description of ${JAVA_HOME}. ${JAVA_HOME} is used to select anjwise1-2/+4
installed JVM to use to build java-based packages. ${JAVA_HOME} is not used to select where to install java based packages. All packages which install java .jar files should install them in ${PREFIX}/lib/java, so that they will be accessible to multiple installed JVMs.
2001-10-26Also delete the magic invocation of scripts/configure andagc1-13/+1
scripts/{pre,post}-install - there is nothing that uses any of these, and it incurs needless overhead.
2001-10-26Changed PKGDIR assignment to allow migration of files currently held inwulf1-2/+6
${.CURDIR}/pkg directory to the toplevel of the package. It remains backward compatible with the existing system allowing a progressive transision process. The long term goal is a reduction of overheads and processing time when working with the cvs tree.
2001-10-26At present, if there is a pre-<target> or post-<target> script inagc1-9/+1
the scripts/ directory, it will be run automatically as part of the build process, by bsd.pkg.mk. There are now exactly 5 packages in pkgsrc which use this facility, and yet, for every package build, the existence of a script is checked by bsd.pkg.mk once before the target is executed, and once afterwards. This incurs needless overhead. Move the separate pre- and post- script handling out of bsd.pkg.mk into the individual package Makefiles, where it's much more obvious what is happening, anyway.
2001-10-26Update REPLACE_PERL to work for /bin/perl and use it in kdelibs2 insteadskrll1-2/+3
of home grown post-patch target.
2001-10-26Fix ltcf-cxx.sh to work on -current/new toolchains. That is make sure thatskrll1-2/+2
/usr/lib/crtbeginS.o and /usr/lib/crtendS.o make it into {pre,post}dep_objects. Fixes pkg/14353 from Witold J. Wnuk <witek@pd37.warszawa.sdi.tpnet.pl> Tested as "still" working on 1.5.2. Bump minor number of pkg and make pkgsrc depend on this version.
2001-10-25Sort "PATCH_SITES" using "MASTER_SORT" and "MASTER_SORT_REGEX", too.tron2-6/+7
2001-10-25Make it easier to debug for the a.out case on an ELF machine.jlam1-2/+2
2001-10-24I am a triple idiot. The only relevant variable that x11.buildlink.mkjlam1-4/+1
redefines about which buildlink.mk files would care is BUILDLINK_X11_DIR, which points to the location of the X11R6 hierarchy used during building. If x11.buildlink.mk isn't included, then BUILDLINK_X11_DIR defaults to ${X11BASE} (set in bsd.pkg.mk), so its value is always safe to use. Remove the ifdefs surrounding the use of BUILDLINK_X11_DIR in tk/buildlink.mk and revert changes to move x11.buildlink.mk before the other buildlink.mk files.
2001-10-24Rearrange some of the logic to consolidate the code that is a.out-specific.jlam1-7/+10
Also name the replace-libnames-configure as part of ${_CONFIGURE_PREREQ} instead of as a prerequisite to pre-configure. This is needed so that the replacement occurs _after_ pre-configure target is run, which may call autoconf/automake to regenerate the configure scripts. Before this change, the replacement would be overwritten when the configure scripts were regenerated. This should fix a problem first noticed by Alistair Crooks <agc@netbsd.org> in the net/mtr package.
2001-10-24The do-configure target has some "stuff" that is supposed to be done afterjlam1-17/+26
the pre-configure target is called but before the configure script is called, but it's added in a non-extensible way. This "stuff" is the replace-ncurses step and the ltconfig-override step. Move these steps out into their own targets that are named as prerequisites to the do-configure step. The prerequisites are specified in the private variable _CONFIGURE_PREREQ, to which other independent targets may be appended.
2001-10-24Make some more variables "private" by prepending with an underscore.jlam1-7/+7
2001-10-23x11.buildlink.mk needs to be included before any buildlink.mk files thatjlam1-1/+4
use X11_BUILDLINK_MK as a test value. Generally just reordering the inclusions so that x11.buildlink.mk comes before the other buildlink.mk files will make everthing work.
2001-10-22Replace the -and/-or options with -a/-o as the former don't work withjlam1-4/+4
Solaris find. The latter work across Solaris/NetBSD/Linux. Patch received in private e-mail from Stoned Elipot <seb@netbsd.org>.
2001-10-21Added support variables for chat/ircd-hybridseb1-1/+132
2001-10-20When working out if an installed package should be left as itabs1-1/+4
matches one of the DEPENDS, the bulk-build system looked up the package in the INDEXFILE, then used the pkgdir returned to check against the DEPENDS. If for some reason the package was not found in the index file the package was left installed as 'requires installed package'.
2001-10-20Some Makefiles separate -R and the rpath directory with whitespace, sojlam2-4/+4
handle that case.
2001-10-20- change the way we cause the build order to happen. The old way passeddmcmahill1-12/+63
GROUP_SPECIFIC_PKGS into a top pkgsrc level call to make. The new way, uses a shell 'for pkgdir in ....' and then calls a make in each pkg directory. This does 2 things. The first thing is that a 'build restart' starts up _much_ faster because instead of calling 'make' for each package we've already built and finding out they're already build, we just grep through the list of already built pkgs. The second item (a side benefit) is that now a progress meter is simple. - add a progress meter to the build. - add even more error checking.
2001-10-17Get rid of BUILD_ROOT and replace it with PKGSRCDIR (which was therehubertf1-3/+1
before!)
2001-10-16fix quoteshubertf1-2/+2
2001-10-15Change alignment of "Broken" column to right-justified - this makeshubertf1-2/+2
the (colored) numbers stand out better, visually.
2001-10-15Narrow doen the "Pkgs broken by" column by renaming it to "Breaks"hubertf1-4/+4
This gives this a bit of a chance to fit into 80 columns.
2001-10-15At the end of the build, remove the contents of the "perl" packagehubertf1-2/+2
from the leftovers list - "perl-base" is long gone.
2001-10-15Set ressource limits as high as possible before we'll start compilinghubertf1-1/+6
2001-10-14add some more failure checks for robustness.dmcmahill3-18/+63
- if something fails while extracting the DEPENDS for a particular package, mark that package as broken and drop the DEPENDS info for it. This allows the build to continue and properly marks the package as broken. - if something fails while extracting the PKGNAME, also mark the pkg as broken. - be more careful about seeing if directories exist before cd'ing to them. Lack of such a test has caused problems elsewhere, so hopefully this will make the system more robust.
2001-10-13after the build, pull in 'lang/perl5' instead of 'lang/perl5-base' as thedmcmahill1-2/+2
latter no longer exists. Also, use '&&' to separate commands where you don't want the second to execute if the first fails!
2001-10-12Change my non-standard copyright header to a BSD-style one.hubertf2-7/+62
2001-10-12Pass "${USETOOLS}" down to package builds so that packages which use BSDtron1-1/+6
style makefiles can be build without a tools directory.
2001-10-10Allow people who set USE_BUILDLINK_X11 so as to experiment with thejlam1-3/+3
buildlink-x11 package, to have that package installed.
2001-10-09Make BUILDLINK_X11_{CPPFLAGS,LDFLAGS} private by prepending an underscorejlam1-8/+8
to their names. These values shouldn't be changed by Makefiles or buildlink.mk files; rather, they're convenience variables used exclusively within x11.buildlink.mk.
2001-10-09Make the variables BUILDLINK_CPPFLAGS and BUILDLINK_LDFLAGS private byjlam1-17/+17
prepending an underscore to their names. The values are not meant to be set by Makefiles or buildlink.mk files. However, the values are exported through CONFIGURE_ENV and MAKE_ENV so that they may be used during the respective processes.
2001-10-09Back out last change that moved the prepending of BUILDLINK_CPPFLAGS andjlam2-12/+7
BUILDLINK_LDFLAGS to CFLAGS, CPPFLAGS, CXXFLAGS, LDFLAGS from bsd.buildlink.mk to bsd.pkg.mk. They're unnecessary after the recent changes to bonobo/buildlink.mk and to libglade/buildlink.mk that removed their settings of BUILDLINK_CPPFLAGS.
2001-10-09Fix from Allen D. Ball <ball@iprotium.com> in PR 14183 - allow theagc1-2/+2
value of X11BASE to be set in /etc/mk.conf by using the usual X11BASE?= /usr/X11R6 construct when setting the defaults in bsd.pkg.defaults.mk
2001-10-07Update the x11-links BUILD_DEPENDS to 0.4.veego1-2/+2
2001-10-05Prepend "${BUILDLINK_CPPFLAGS}" and "${BUILDLINK_LDFLAGS}" to "${CFLAGS}",tron2-7/+12
"${CPPFLAGS}", "${CXXFLAGS}" respectively "${LDFLAGS}" in "bsd.pkg.mk" and not in "bsd.buildlink.mk" because "${BUILDLINK_CPPFLAGS}" and "${BUILDLINK_LDFLAGS}" might get changed several times by the "buildlink.mk" files of various packages.
2001-10-05Add ${PKGLOCALEDIR}/locale/bg*, e.g. for windowmakerwiz3-3/+15
2001-10-05Substitute for rpath references to buildlink directories in Makefilesjlam2-8/+46
after the configure step. There's a growing number of GNU configure scripts that find a library in -L/path and automatically add -R/path to the linker flags. We need to make sure this doesn't happen to buildlink directories.
2001-10-05Move the setting of replace_files within the cookie check so that if it'sjlam1-25/+27
expanded from some expensive operation, it isn't evaluated if it's not needed. Also fix the replace-buildlink target where we were potentially evaluating ${REPLACE_BUILDLINK} twice when only once was enough.
2001-10-05Rename some replace_* variables to replace_files. I'm trying to factorjlam1-10/+10
out some common code, and this is a start to make different code pieces look more alike.
2001-10-05Factor out the pattern representing Makefiles into its own variablejlam1-6/+9
MAKEFILE_PATTERNS. Also replace -R${BUILDLINK_DIR}/lib with -R${LOCALBASE}/lib on all the REPLACE_BUILDLINK files to prevent rpath references to ${BUILDLINK_DIR} from getting into things like config scripts.
2001-10-05Replace -R${BUILDLINK_DIR}/lib with -R${LOCALBASE}/lib on all thejlam1-2/+3
REPLACE_BUILDLINK files to prevent rpath references to ${BUILDLINK_DIR} from getting into things like config scripts.
2001-10-04Use the usual _PKG_SILENT and _PKG_DEBUG definitions in theagc1-2/+3
show-installed-depends target.