summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2001-01-04The way that shared objects were handled in the PLISTs and bsd.pkg.mk wasagc1-64/+60
out of date - it was based on a.out OBJECT_FMT, and added entries in the generated PLISTs to reflect the symlinks that ELF packages uses. It also tried to be clever, and removed and recreated any symbolic links that were created, which has resulted in some fun, especially with packages which use dlopen(3) to load modules. Some recent changes to our ld.so to bring it more into line with other Operating Systems also exposed some cracks. + Modify bsd.pkg.mk and its shared object handling, so that PLISTs now contain the ELF symlinks. + Don't mess about with file system entries when handling shared objects in bsd.pkg.mk, since it's likely that libtool and the BSD *.mk processing will have got it right, and have a much better idea than we do. + Modify PLISTs to contain "ELF symlinks" + On a.out platforms, delete any "ELF symlinks" from the generated PLISTs + On ELF platforms, no extra processing needs to be done in bsd.pkg.mk + Modify print-PLIST target in bsd.pkg.mk to add dummy symlink entries on a.out platforms + Update the documentation in Packages.txt With many thanks to Thomas Klausner for keeping me honest with this.
2001-01-04Don't ignore previously set ${LIBS} in USE_LIBINTL case.wiz1-3/+3
2000-12-31move the code which determines the BROKENFILE and BUILDLOG file names outdmcmahill3-31/+13
of the top level build script and into the {pre,post}-build scripts. This ensures that either of those scripts may be run directly and not rely on a variable being set by the top level script. Thanks to Hubert Feyrer for pointing out the problem in a private email. These changes do not require any user changes to the build.conf file and should be transparent to the user.
2000-12-31Fix handling of SHLIB_HANDLING=NO. That is neither stage of do-shlib-skrll1-3/+3
handling should be performed. This fixes the build problems for emulators/compat1[23].
2000-12-30further cleanup of handling the .broken.files and .make.filesdmcmahill4-9/+39
- set BROKENF and BLDLOG in the 'build' script and pass those variables down to {pre,post}-build in the environment to make sure we only set them in one place. The values are determined by a make show-var VARNAME=BROKENFILE This causes the default (set in bsd.bulk-pkg.mk) or the user overridden value from /etc/mk.conf or the environment to be correctly determined. This is more robust that relying on a build.conf setting which may or may not be correctly set. - have pre-build only clean up BROKENF and BLDLOG files instead of .broken* and .make* This avoids conflicts when pkgsrc is shared among different machines.
2000-12-30Don't die without a proper error messagehubertf1-2/+2
2000-12-30 * Remove old PLIST-mi/md.shared/md.static that was only used forhubertf1-38/+21
perl in a previous (pkgsrc) life. * add "lint" target to run pkglint * Add commented out direction on how to use bzip2 compressed binary packages * Some cleanup (clean target, ...) Reviewed by Thomas Klauser <wiz@netbsd.org>.
2000-12-29add hostname and pid to the temp makefile name to avoid conflicts whendmcmahill1-5/+5
pkgsrc is shared via nfs where multiple machines may want to run the script at the same time. Also avoid conflicts if multiple copies are run on the same machine at once.
2000-12-26don't break the hyperlinks to the broken files....dmcmahill1-2/+3
2000-12-26- get the BROKENFILE setting from `make show-var VARNAME=BROKENFILE` rather thandmcmahill2-7/+9
hard coding it. - explicitly only add $BROKENFILE's to the output rather than .broken.* This makes things work correctly when /usr/pkgsrc is shared among several machines which might use .broken.`hostname` for its broken file logs.
2000-12-22make the pruning of distfiles be controlled by a build.conf setting.dmcmahill2-6/+16
this way if you have 2 different pkgsrc trees sharing a distfiles directory you don't nuke distfiles which may still be needed.
2000-12-19Add libtool in 'make fetch-list' output. Suggested by Klaus Heinz.hubertf1-2/+2
2000-12-18add ${X11PREFIX}/lib/X11/fonts/local. plex86 now installed properly.kei3-3/+9
2000-12-15An old version of a (broken) useradd created /nonexistang, and pop3dhubertf1-1/+2
didn't like this. Make sure it's nuked.
2000-12-12Add authoritative CPAN ftp site as a last resort in case packages havedavid1-2/+3
not yet propagated to mirror sites. Closes PR pkg/11591 from Damon Brodie
2000-12-11Add date to email subject.skrll1-2/+2
2000-12-11Introduce APACHE_USER: the user allowed to execute the suexec wrapperjlam1-1/+7
if apache was build with APACHE_SUEXEC == YES.
2000-12-08REQ is no more, its place is taken by INSTALL & friends.wiz1-14/+1
2000-12-07Add new CUPS_USER and CUPS_GROUP example config variables, andjlam1-3/+14
correct a small grammatical mistake I noted.
2000-12-06Enable 'PATCH_FUZZ_FACTOR?= -F0' by default, rather than just iff PKG_DEVELOPERabs1-4/+2
2000-12-05If cvs and ssh are in base, don't pkg_add themhubertf1-4/+9
2000-12-03Add USE_INET6?=NO in the !(USE_INET6?=YES) case.wiz1-1/+3
2000-11-29hushhubertf1-5/+5
2000-11-29Quick close this can of worms again.hubertf1-2/+6
The ${PLIST} target must run after all the pre/do/post-install targets were run (they may generate ${PLIST_SRC}!). This whole code-path should use the make dependency system, not fork make(1) over and over again.
2000-11-29 * Rename some targets to fit into the usual "do-XXX calls real-XXX" schemehubertf1-76/+133
* In real-su-install, do not call "make ${PLIST}" manually, but rather depend on the ${PLIST} file being there for the do-su-install target. * Break out shlib-handlink from real-su-install, and put it into target do-shlib-handling, which will either touch then PLIST (when called via the ${PLIST} target) or do the necessary steps to setup shared library handling (creating symlinks on ELF, running ldconfig on a.out, etc., when called via real-su-install) * Removed some unnecessary tests (check if $PLIST is there when it can be assumed to be there, ...)
2000-11-29Explicitly set "IS_BUILTIN_XPM" to "0" if the "xpm" library is nottron1-6/+5
installed because the "xpm" package will refuse to be built otherwise.
2000-11-29One "^" too much in last commit.hubertf1-2/+2
2000-11-29Fix print-PLIST target (broken in 1.619).wiz1-2/+2
2000-11-27 * Make sure PKGPATH gets added to BUILD_DEFS (I thought it was there for ahubertf1-2/+3
long time. Oh well.) * Only replace the value of PATH for "PATH", not any variable whose name starts with PATH (like PKGPATH :-) Hinted by Jason R. Mastaler <jason@mastaler.com> on tech-pkg.
2000-11-27Don't remove package list entries ending on ".so" on ELF systems any more.tron1-3/+1
With "libtool-1.3.5nb9" or newer shared objects are named like that.
2000-11-26Bump libfool version.mycroft1-3/+3
2000-11-26Update "libtool" version number after recent changes by Charles M. Hannum.tron1-2/+2
2000-11-24Partially back out revision 1.612 because it causes endless loops intron1-6/+2
dependency checks if the "xpm" package is not installed.
2000-11-22fake-pkg:hubertf1-5/+8
* print registered dependencies only once - no functional change. * some whitespace changes
2000-11-21Fix NEED_NCURSES handling:hubertf2-8/+7
Let's take timidity, which needs ncurses and tk. By setting NEED_NCURSES=1 and adding it to MAKEFLAGS, all other required pkgs automagically depend on ncurses - tk, tcl (which is slurped in by tk), ...
2000-11-20add ukrainian.christos3-3/+9
2000-11-20Rename ""__BUILTIN_XPM" to "IS_BUILTIN_XPM" and add it to "MAKEFLAGS" totron1-5/+7
avoid expensive evaluation in recursive "make" calls as suggested by Hubert Feyrer.
2000-11-20Prevent an attempt to build the "xpm" package on a system with XFree86 4.0tron1-2/+6
or newer installed because it includes this library.
2000-11-20Remove unnecessary whitespace in shell command.tron1-2/+2
2000-11-18print-PLIST:hubertf1-10/+10
enclose s/// commands in single quotes, and protect '.' in OS_VERSION, so that "135" does NOT get replaced by "${OS_VERSION}". Detected in kdetoys-2.0
2000-11-18Fix print-pkg-size-depends:hubertf1-3/+4
I now remember why I felt there was something wrong with the fix in PR 11433: it calls some target with PACKAGE_DEPENDS_WITH_PATTERNS=false, and this will cause problems when someone has a different version installed than what's currently in pkgsrc. This was also what the XXX was for that I couldn't remember - all dependencies were found installed at the time that the print-pkg-size-depends target gets called, and as such we can call run-depends list with the PACKAGE_DEPENDS_QUICK switch (to first print our direct dependencies, and then look at their @pkgdep lines to get all their depends - no need for recursion, as well store all a pkg's depends in it's @pkgdep lines!). Using that, we can call "pkg_info -e" on all the patterns to expand them to match what's really installed on the system, then make that list unique (so that e.g. foo-1.0 and foo-* gets to the same pkg twice, and then sorted out). After that we can calculate it's size as before using "pkg-info -s". Using this method is also a whole lot faster (due to no recursion).
2000-11-18Unconditionally step back out of the dir that we went in before.hubertf1-2/+2
(How did this EVER work before?!?)
2000-11-18Change multidepends for USE_JAVA software to use sun-jre,jdk instead oftv1-2/+2
blackdown-jre,jdk.
2000-11-17Ur CVS_USER is empty, no CVS update will happen. Document!hubertf1-2/+2
2000-11-17Bump libtool version for mycroft's changes to a.out library dependencies.skrll1-3/+3
make check will fail on a.out platforms due to lib/10940.
2000-11-16Change the output of the 'install-depends' target so it fitshubertf1-6/+6
in 80 columns: before: ===> mozilla-0.m18nb1 depends on installed package: gtk+>=1.2.8 - gtk+-1.2.8 found ===> mozilla-0.m18nb1 depends on installed package: ORBit>=0.5.1 - ORBit-0.5.3nb1 found ===> mozilla-0.m18nb1 depends on installed package: jpeg-6b - jpeg-6b found ===> mozilla-0.m18nb1 depends on installed package: png>=1.0.6 - png-1.0.8 found ===> mozilla-0.m18nb1 depends on file: /usr/pkg/bin/perl - found ===> mozilla-0.m18nb1 depends on executable: autoconf - /usr/pkg/bin/autoconf found ===> mozilla-0.m18nb1 depends on executable: zip - /usr/pkg/bin/zip found ===> mozilla-0.m18nb1 depends on executable: gmake - /usr/pkg/bin/gmake found after: ===> Required installed package gtk+>=1.2.8: gtk+-1.2.8 found ===> Required installed package ORBit>=0.5.1: ORBit-0.5.3nb1 found ===> Required installed package jpeg-6b: jpeg-6b found ===> Required installed package png>=1.0.6: png-1.0.8 found ===> Required file /usr/pkg/bin/perl: found ===> Required executable autoconf: /usr/pkg/bin/autoconf found ===> Required executable zip: /usr/pkg/bin/zip found ===> Required executable gmake: /usr/pkg/bin/gmake found
2000-11-15Update lame to 3.87; retire lame-gui package, use LAME_USE_GTK variablewiz1-1/+7
instead; install more documentation. Lame isn't any longer a patch against the ISO source, but stand-alone. Other changes: MP3 decoding support, ID3V2 support, vorbis support (not compiled in right now), MPEG2.5 support; lots of bugfixes and speedups (for details, see installed history.html).
2000-11-12In the .SizeAll calculation, allow PKG_INFO to be a command with prefixedfredb1-2/+2
environment variables, which it is by default. (Oops.)
2000-11-12Add new "check" target which invokes "pkg_admin check" for the currenttron1-1/+6
package.
2000-11-12Calculate the .SizeAll information for pkg_info -S correctly.fredb1-12/+7
Closes PR pkg/11433.