summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2006-10-07Meta-packages that had DIST_SUBDIR set (for whatever reason) tried torillig1-5/+5
fetch files with an empty name, for example "geda/". The problem was that the expression ${LIST:S,^,${DIST_SUBDIR}/,} results in ${DIST_SUBDIR}/ when ${LIST} is empty. This is surprising but matches the documentation in the manual page, so this cannot be called a bug. The proper fix is to use ${LIST:@f@${DIST_SUBDIR}/${f}@} instead. Noticed by Don Woodstock on #netbsd-code.
2006-10-07Renamed the "pack" option for _PRESERVE_WRKSRC to "pack-if-failed",rillig1-4/+5
since that's what I really wanted. It's just one day old, so I hope that nobody has gotten used to it.
2006-10-06Added more error checking: If a directory is specified inrillig1-1/+5
INSTALLATION_DIRS but a regular file of the same name already exists, the BSD install(1) program doesn't care but exits successfully. To avoid much more confusing error messages, this is checked here, and a _good_ error message is printed.
2006-10-06Instead of removing error and warning messages, they are collected inrillig1-7/+9
.error-done and .warning-done, so they can be inspected later.
2006-10-06Added a call similar to "make error-check" when the real target failsrillig1-2/+14
for some reason. That way, error and warning messages that have long been hidden are now shown. They don't appear very prominently by now, but it's much better than showing them not at all.
2006-10-06Remove references to DESTDIR. LOCALBASE should not be altered that way,joerg3-9/+9
since it is user settable and most of the time set by the user. X11BASE follows the same reasons. For staged installations, we don't want to register the package directly, so there's no need to prefix PKG_DBDIR either.
2006-10-06Kill ancient runes: /usr/local as LOCALBASE was not the default forjoerg1-17/+1
ages and mk.conf from bootstrap sets it explicitly anyway. The pkg_install stuff also lives in sbin.
2006-10-06Always use LOCALBASE setting from mk/defaults/mk.conf.joerg5-14/+5
Setting it with ?= in the platform files is a nop anyway.
2006-10-06_PRESERVE_WRKDIR can be set to "pack" to save a .tar.gz archive ofrillig1-3/+10
WRKDIR in the directory where the other log files are.
2006-10-05Add experimental support for -j jobs building in the buildreed2-4/+18
target. MAKE_JOBS is undefined by default. You can test this by setting in mk.conf: MAKE_JOBS=5 for example. Some package just won't build correctly with this -- these individual packages can set MAKE_JOBS_SAFE=no to disable it. This is based on discussion from last December 2005. Some pkgsrc users are using ideas like this. Note I have been using this since December 2005 on various single processor and multiprocessor systems. (Once I kept some stats on performance but have misplaced that now.) I haved tested this with many packages (but not a bulk build) on Linux, NetBSD and DragonFly. This commit doesn't include the commits for the MAKE_JOB_SAFE. As this is experimental it needs more testing. Some examples of problems are: comms/lrzsz, databases/gramps2, editors/vim, graphics/MesaLib, graphics/netpbm, net/bind9, print/ghostscript-esp, textproc/libxml, and www/lynx.
2006-10-05Suppress the message that ".DDIR is up-to-date" by introducing a .PHONYrillig1-3/+6
target.
2006-10-05If a word in a configure script is "#", stop scanning that line forrillig1-1/+3
"test ==".
2006-10-05Replaced "test -f" with "ls". That way, broken symbolic links are alsorillig2-4/+4
replaced with the pkgsrc versions of libtool, config.guess and others.
2006-10-05It's SKIP_PORTABILITY_CHECK, not SKIP_PORTABILITY_CHECKS.rillig1-2/+2
2006-10-05Both, the pkgsrc user and the package maintainer must agree that thisrillig1-3/+3
package should run the CHECK_FILES test. Otherwise we cannot prevent the broken shells/standalone-tcsh from scanning the whole filesystem. (hi agc!)
2006-10-03fix comment about CHANGES file for changes-entry, since the default isgdt1-2/+2
really CHANGES-YYYY
2006-10-03Rewrote the bin-install target so that it doesn't lock LOCALBASErillig1-20/+31
recursively. This bug was reported by Hans Rosenfeld in http://mail-index.netbsd.org/tech-pkg/2006/10/03/0002.html As a side effect, when bin-install fails to install a binary package, the package is still built from source, but not as a privileged user.
2006-10-02Change the quoting to let this work with solaris-2.9 /bin/sh.dmcmahill1-2/+2
The particular /bin/sh bug that was biting here is "${x}"/*/*/"$y" doesn't expand the *'s if $y starts with a "." which, unfortunately, it does. Using "${x}"/*/*/$y works correctly.
2006-10-02Some fixes:rillig1-6/+2
- PKG_DEVELOPER may be undefined, meaning "no". - Removed unused variables. - Removed a trailing empty line.
2006-10-02Added a new compile-time check that detects the usage of the "=="rillig2-1/+67
operator in test(1). It is enabled by default when PKG_DEVELOPER is selected. In my private bulk build of about 3700 packages, there had been no false positive.
2006-10-02Replaced ${RECURSIVE_MAKE} with ${SH}, so that the README.html files canrillig1-2/+2
be generated again.
2006-10-01Progress messages are prefixed with "sort-packages>", not "upload>".rillig1-2/+2
2006-10-01Reformatted the header comment to be searchable by bsd.pkg.help.mk.rillig1-59/+36
2006-10-01All the files in mk/ are searched for helping information.rillig1-7/+9
Variable help texts may also start with the variable name, followed by a colon. The help message is more detailed.
2006-10-01The value of PKG_OPTIONS_VAR is printed as is in an error message. Thisrillig1-2/+3
makes "double quotes" visible when they are accidentally included by the pkgsrc user.
2006-09-27Remove XFree86.joerg5-35/+14
2006-09-26Use /bin/mount if it exists on Linux, because some distros (e.g. Ubuntuminskim1-2/+6
Linux) do not have /sbin/mount.
2006-09-25Adjust MASTER_SITE_MOZILLA.salo1-8/+6
2006-09-25PR pkg/33876: use the actual package name instead of "this package" inghen1-2/+2
supported-options-message. ok with wiz.
2006-09-24Generalize Mozilla GTK2 packages in a comment.salo1-2/+2
2006-09-24Describe "seamonkey" gecko option.salo1-0/+1
2006-09-22- Compute CHEKCK_FILES filter on the entries requested and keep itjoerg4-12/+28
as tight as possible. Files we don't handle shouldn't be skipped. - fonts.alias is not created automatically, so don't remove it. - create fonts.encoding with mkfontdir using -e X11_ENCODINGSDIR. On platforms not following the X11R6 loayout this might need to be overriden. - Fix type1inst calls. - Modify packages which installed fonts.alias before to actually include it in the PLIST and bump the revisions accordingly. - Modify xorg-fonts* packages to use FONTS_DIRS.* to build indices at run time. Discussed with wiz and jlam.
2006-09-19Bugfix: In the #! interpreter lines, allow white-space behind the #!.rillig1-2/+2
This fixes the build for audio/madman. Before, only some of the interpreters had been replaced.
2006-09-19Even if NO_CHECKSUM is set, the "checksum" target still needs to dependrillig1-2/+2
on "fetch". Otherwise the distfiles are never fetched.
2006-09-18Define "NOLOGIN" to "/usr/bin/false" rather than ${FALSE} (which doesn'ttron1-3/+2
contain the directory name) and don't set "_PKG_USER_SHELL" which should really be private to "bsd.pkginstall.mk".
2006-09-17When $debug_log is set to ":" and at the same time $IFS is ":", therillig3-3/+7
command line $debug_log $arguments tries to execute the empty command. This results in error messages of the form cc[50]: : cannot execute (IRIX) bash: : command not found (Bash) : permission denied (NetBSD /bin/sh) Setting IFS to the original value as soon as possible fixes these bugs. Fixes PR 34135.
2006-09-17Fixed the "unknown command" error messages for debug_log, which is arillig9-57/+57
variable, not a shell function.
2006-09-17Also ignore fontconfig cache like the "clasic" databases.joerg1-1/+2
2006-09-15Now, gettext tools is available from devel/gettext-tools, so prioritizeobache1-2/+2
gettext-tools over gettext.
2006-09-14Bugfix: Missing shared libraries are reported again. This feature had beenrillig1-2/+2
broken since the introduction of delayed errors and warnings.
2006-09-13Add support for cpio archives.joerg2-2/+20
2006-09-12Add the nds@NFE locale directory, initially used by yelp-2.16.0.jmmv13-13/+65
2006-09-12Add a bunch of Spanish locale directories (es_*), initially used byjmmv13-13/+689
gnome2-applets-2.16.0.
2006-09-11Add description for psycopg[12] options used by www/py-django.joerg1-0/+2
2006-09-10cosmetic changeschwarz1-2/+2
2006-09-10${X11BASE} can now be set to /usr, so just do so for IRIX and OSF1. No needschwarz1-1/+3
for any artificial symlinking any more in bootstrap.
2006-09-10ensure that -I and -L paths are correctly rewritten even if ${LOCALBASE}schwarz1-4/+15
contains ${X11BASE} (e.g. ${LOCALBASE} being /usr/local and ${X11BASE} being /usr)
2006-09-10Add the gn locale directory, initially used by gnome-menus 2.16.0.jmmv13-13/+65
2006-09-10Fix PR pkg/34139 in a diffent way:tron2-7/+13
Setting "WRAPPER_SKIP_TRANSFORM" to "yes" isn't enough because "imake" will invoke the C compiler which might be a wrapper script which always fails because the package didn't use "USE_LANGUAGES+= c". The "imake-check" script now simply uses the original command path before "bsd.pkg.mk" modified and will therefore avoid using any wrappers.
2006-09-10improve imake support on IRIX 5schwarz1-4/+2