summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2006-11-27- modularize functionality into a number of distinct functionsjschauma1-301/+357
- add the option "-p|--post-build" to allow you to only run the post-build portion of the bulk-build
2006-11-26Removed the separate files for the cache header and footer. This makesrillig5-110/+11
the code a lot more readable.
2006-11-26Found some more known options for gcc.rillig1-1/+9
2006-11-26Merged the transformations from the Solaris-specific gcc part into therillig3-54/+12
generic one. That way, the unknown options are reported properly on all platforms.
2006-11-26Converted this file to use the shell functions provided inrillig1-29/+30
wrapper-subr.sh.
2006-11-26Oops, forgot to remove a line continuation.rillig1-2/+2
2006-11-26As the pkglint warning says, the pipe operator discards the exit status ofrillig1-6/+8
its left hand side. Fixed that by using temporary files.
2006-11-26Oops, unknown options should be _passed_ to the real compiler, notrillig1-5/+7
_discarded_.
2006-11-26Added a transformation file for gcc to check for unknown options.rillig2-1/+49
2006-11-26Renamed transform_pass_unknown to transform_pass_with_warning and addedrillig2-6/+15
transform_discard_with_warning.
2006-11-26transform_pass_unknown writes its warning into the wrapper log file,rillig1-2/+2
instead of doing nothing at all. (Before, I had not known where to write these warnings, so it had been commented out.)
2006-11-26Moved the definition of append_extra_args a bit to make the code arillig1-4/+3
little more understandable. Eliminated the otherwise unused variable original_cmd.
2006-11-26The bulk builds now use the new target can-be-built-here, which checksrillig2-3/+24
if some of PKG_SKIP_REASON, PKG_FAIL_REASON, NOT_FOR_*, ONLY_FOR_* are set. The code uses some shell trickery to avoid the use of subshells, since these would prevent the variable assignments from being effective.
2006-11-26Moved the code that checks for PKG_FAIL_REASON and PKG_SKIP reason fromrillig3-43/+138
the internal/ directory to misc/, since it is not really internal to pkgsrc. Fixed the case where PKG_SKIP_REASON was not noticed by the bulk builds. Added the NOT_FOR_UNPRIVILEGED and ONLY_FOR_UNPRIVILEGED variables.
2006-11-26- Run a single find(1) command to get the list of new files rather than runningjschauma1-4/+4
two finds+two greps. - Run a single find(1) command rather than ls | grep to determine pkg count.
2006-11-25set ORS to space for _MASTER_RAND_AWK, so that the output would be thejdolecek1-3/+3
in the format MASTER_SORT_REGEX expects when MASTER_SORT_RANDOM is off, in order for MASTER_SORT to actually work when MASTER_SORT_RANDOM=YES (default nowadays) XXX testing stuff before committing would surely be a good idea
2006-11-25MASTER_SITE_GNOME - add a .cz mirrorjdolecek1-2/+3
2006-11-23file(1) under NetBSD-sparc64 4.99.4 identifies the filetron1-2/+2
"gdk-pixbuf/Makefile.in" from the "gtk2" package as "libtool library file". Change the textfile check to accept any file which file(1) identifies as "<whatever>libtool<whateverelse>" to fix the build of the "gtk2" package (and probably other packages).
2006-11-21Only set BINPKG_SITES to ftp.netbsd.org, if the OS is actually NetBSD.joerg1-1/+5
2006-11-20Added better documentation for pre-extract, do-extract and post-extract.rillig1-2/+20
They are found by "make help" now.
2006-11-19Use PKG_FAIL_REASON for platform checks, to make them work again.wiz1-2/+2
XXX: PKG_SKIP_REASON seems broken?
2006-11-19nuke two Useless Use of Wc and let awk do the legwork. This saves usjschauma1-6/+8
two forks per package.
2006-11-18"Forcing an error", like expressed in the comment, should be done viarillig1-2/+2
PKG_FAIL_REASON, not via PKG_SKIP_REASON.
2006-11-18Improved the wording of some of the comments.rillig1-9/+21
2006-11-18Added an empty line to make "make help topic=ABI" work better.rillig1-1/+2
2006-11-17Provided a useful error message for the case that X11_TYPE is set torillig1-4/+17
something else than { xorg native }. According to the error reports on pkgsrc-users, many have still X11_TYPE=XFree86.
2006-11-17Added a check for whether X11BASE is set correctly. Currently the errorrillig1-1/+5
message is Syntax error: word unexpected (expecting ")") which is not helpful at all.
2006-11-17On Interix, the -c option of checkperms is disabled, as checkperms doesrillig1-2/+6
not know about Interix yet. This is a temporary work-around for PR 34968.
2006-11-16The undo-replace target had confused the "installed" and the "new" name.rillig1-43/+30
Fixed this.
2006-11-16Moved the check for PKG_FAIL_REASON and PKG_SKIP_REASON at the very endrillig2-35/+28
of bsd.pkg.mk, so that all infrastructure parts may add their error messages to PKG_FAIL_REASON.
2006-11-16Allow CPP to be set to something not on the PATH (as used to work inmarkd1-1/+5
pre wrapper days). Especially useful for Solaris where cpp tends to live in /usr/css/lib/cpp.
2006-11-15Added some documentation on the DESTDIR support that has recently beenrillig1-0/+45
introduced to pkgsrc. There are still some FIXMEs left.
2006-11-15Font-related entries we skip for CHECK_FILES should be skipped forjoerg1-1/+14
print-PLIST as well.
2006-11-14Moved the code that checks PKG_FAIL_REASON and PKG_SKIP_REASON into itsrillig2-39/+50
own file. The further plan is not to include this file in the middle of loading, but at the end, when no variables will be changed. This will allow the _whole_ pkgsrc infrastructure to generate errors with PKG_FAIL_REASON, which is currently not the case.
2006-11-14Fixed indentation of the debugging messages and the missing newline atrillig1-4/+3
the end of the file.
2006-11-13Instead of $0 and $1 .. $NF, the function check_test_eqeq should testrillig1-5/+6
the string in the ''line'' variable. This will make koffice build again.
2006-11-13Record the build host (i.e. the machine a package was built on) in theagc1-1/+4
build information. Useful for binary package manipulation.
2006-11-13add w3m optiondan1-0/+1
2006-11-12Added a missing line continuation in the code for CHECK_FILES_STRICT.rillig1-2/+2
Apparently no one has been using that code since June 2006.
2006-11-12Add `uim' option, requested by Yamashiro, Jun <yamajun at ofug dot net>hira1-0/+1
in PR pkg/34596. It's disabled by default.
2006-11-12Remove http://openoffice.behrsolutions.com/ from MASTER_SITE_OPENOFFICE.obache1-2/+1
Suggested by Zafer Aydogan in PR 32111.
2006-11-12Removed the tests for CHECK_INTERPRETER and CHECK_PERMS. They are now inrillig1-7/+1
../checks/*.mk.
2006-11-12Moved the test whether this check should be enabled to this file.rillig1-13/+7
Removed the dependency to NO_PKG_REGISTER. Renamed the check-interpreter target to _check-interpreter.
2006-11-12Added the CHECK_PERMS_AUTOFIX variable, which allows packages to sayrillig1-8/+17
that the file permissions should be fixed automatically. Moved the test whether this check should be enabled from ../install/install.mk to here. Renamed the target from check-perms to _check-perms.
2006-11-12Improved the formatting of the comment and made the code a littlerillig1-21/+22
shorter.
2006-11-12Moved the check for whether check-wrkref should be run fromrillig2-6/+7
install/install.mk to check/check-wrkref.mk. Renamed the check-wrkref target to _check-wrkref.
2006-11-12Improved the readability of the header comment.rillig1-24/+25
CHECK_WRKREF may be set to "wrkobjdir" to check for references to WRKOBJDIR. Added some error checking. Removed the dependency on NO_PKG_REGISTER.
2006-11-11Fixed the comment.rillig1-2/+2
2006-11-11Added some documentation.rillig1-19/+23
Since hooks should not be overwritten, removed the !target() check. That way, one gets a warning when attempting to add some code to the hook.
2006-11-11Moved the check whether check-shlibs should be run fromrillig2-6/+8
install/install.mk to check/check-shlibs.mk. Renamed check-shlibs to _check-shlibs. Since it had been declared as "private" before, this will not break anything.