summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2007-12-07Added AUTO_MKDIRS as an alias for INSTALLATION_DIRS_FROM_PLIST. Therillig1-1/+3
variable is much more comfortable than specifying all the directories in INSTALLATION_DIRS that using such a long name for it feels like a punishment. It also doesn't look nice in the package Makefiles, for example: old: INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man8 new: AUTO_MKDIRS= yes The variable INSTALLATION_DIRS_FROM_PLIST will be deprecated slowly.
2007-12-06Print an understandable error message if the number of arguments forrillig1-1/+6
CONF_FILES, CONF_FILES_PERMS, REQD_FILES, REQD_FILES_PERMS is wrong. NB: The code doesn't read like "shift 5 || error_out" since NetBSD's shell exits if a shift fails in this case, instead of just reporting an error. Fixes PR 37489. I didn't fix the code in pkglint (which was suggested in the PR) since it seems too complicated to me. There is no support for a "MultipleShellWords" data type by now, and pkglint would have to know that SETUID_ROOT_PERMS is of type "ThreeShellWords: Username, Groupname, Filemode". That's too much work and doesn't look nicely.
2007-12-05Don't prefer "pkgsrc" versions of "MesaLib", "Xft2" etc. undertron1-1/+6
Mac OS X Leopard which ships with an uptodate version of X.org.
2007-12-05Escape colons in preprocessor, compiler or linker flags while checkingtron1-12/+12
their existances in other variables. This avoids parsing errors if e.g. "BUILDLINK_LDFLAGS.<pkg>" contains a colon.
2007-12-02Revert unintended commit.wiz1-5/+2
2007-12-02Fix typo in error message. From Sergey Svishchev.wiz2-4/+7
2007-12-02Removed the block comments, as they were full of redundant words.rillig1-61/+29
2007-12-01Removed _INTERACTIVE_COOKIE, after asking on tech-pkg if anyone needsrillig8-27/+12
it. It had only been used to change the "nerrors" variable in bulk builds, but this variable is not used further anyway.
2007-12-01If a package defines FETCH_MESSAGE, show that instead of the genericrillig1-2/+2
instructions.
2007-11-30Since the "build" target is run inside the pkgsrc barrier, "build-env"rillig2-3/+7
gets the same treatment.
2007-11-30Solaris SunPro Compiler 11/12 fails on Solaris 8/9 with -xc99. The header ↵rhaen1-1/+9
files supplied by the OS are not c99 aware, the manpage suggests the setting: -xc99=all,no_lib for Solaris 8/9. See PR 37200
2007-11-30The interpreter check for packages which are their own interpreter,bjs1-2/+6
e.g. lang/perl5, was failing. Adding a check for ${DESTDIR}"$$interp" fixes this.
2007-11-30Documented USE_IMAKE.rillig1-1/+9
2007-11-29Add comment noting that support for OLDNAME in Removed case is needed.gdt1-1/+2
2007-11-29More examples of "Undefined Symbol" from Solaris 10.rillig1-6/+79
2007-11-29Added more keywords.rillig1-3/+5
2007-11-28Print a warning for every file that has /bin/sh as interpreter, but onlyrillig1-1/+6
on Solaris.
2007-11-28Do not load the $cache file for every argument. Instead, load it oncerillig2-5/+8
and then call it as a shell function. Note that the shell function is not called "cache", since some shells have problems when a function has the same name as a variable. This speeds up the wrapper by as little as 75 percent for the final link command of editors/abiword on SunOS-5.10-sparc (before: 20 seconds, after: 5 seconds).
2007-11-28Oops, don't overflow the terminal.rillig1-2/+2
2007-11-28sunpro doesn't need -lstdc++.rillig1-1/+4
2007-11-28Using a single awk process instead of a pipe of four grep processesrillig1-4/+6
should be both faster and easier to read.
2007-11-28Added keywords for "bmake help".rillig1-1/+2
2007-11-28Modern versions of Solaris include "/bin/bash".tron1-1/+4
2007-11-27Made the code a bit more readable by elimination common subexpressions.rillig1-7/+10
2007-11-26Bump PKGREVISION to 4.seb1-1/+23
As proposed on pkgsrc-users@... - Introduce NAGIOSDIR, defaults to VARBASE/spool/nagios, for log and status files. - Drop unused(?) 'nagadmin' user and group. - Sync user and group handling with Nagios install documentation/recommendations. Introduce the Nagios "external command" group, NAGIOSCMD_GROUP, defaults to APACHE_GROUP. The Nagios user should be manually added after package installation to the NAGIOSCMD_GROUP group. Add this recommandation to the MESSAGE file. Make the "external command directory", NAGIOSDIR/rw, owned by NAGIOS_USER:NAGIOSCMD_GROUP. - Use /var/run/nagios.lock as pidfile. - Only install existing example configuration files. - Put default values of NAGIOSDIR, NAGIOS_USER, NAGIOS_GROUP and NAGIOSCMD_GROUP in mk/defaults/mk.conf and allow MAKECONF to override them. - Miscellaneous clean up and sync with the changes mentionned above. - When deleting the package allow removal of directories shared with other Nagios packages to fail.
2007-11-26Define "TOOLS_PLATFORM.flex" to "/usr/bin/flex" not "/usr/bin/lex".tron1-2/+2
The later is shell script which tries to execute "<current-dir>/flex" under Mac OS X Leopard. This resulted in an endless loop caused by the buildlink wrappers. This is backward compatible with at least Mac OS X Tiger where "/usr/bin/lex" and "/usr/bin/flex" are identical.
2007-11-24+snmpadrianp1-0/+2
+libwww-aliases
2007-11-23added bdb - Berkeley DB option.obache1-0/+1
2007-11-23The last change didn't receive enough testing. Now it is ok to haverillig1-16/+12
/dev/null as an example file, and the proper file names are checked.
2007-11-23After a package is installed, make sure that the example files forrillig1-1/+36
CONF_FILES and similar exist, since the pkginstall framework skips them silently, which is not a good idea. For example I just installed dovecot, and there was neither a configuration file installed nor a message that a configuration file exists at all.
2007-11-23Add aria2-metalink option.bjs1-0/+1
2007-11-23+ asprintfrillig1-1/+6
2007-11-22Don't try to use "/usr/bin/perl" as a tool under Darwin.tron1-2/+1
This breaks packages (e.g. "gimp") which need Perl with a certain module that is only provided by "pkgsrc" as a build tool.
2007-11-22Use SIGUSR1 instead of SIGINT, since the latter may occur indepenentlyrillig1-2/+2
and should be handled like everywhere else.
2007-11-22Exit if reduce-depends produces an error.rillig1-2/+4
2007-11-22Replaced the usage message with a standard one.rillig1-9/+7
"This is a" was redundant and has been removed.
2007-11-22A little sanity checking prevents that a file called "=2.5" is createdrillig1-1/+5
in www/zope25-PropertyFolder because of the dependency pattern "zope>=2.5<2.7".
2007-11-20Added gethostbyname and socket.rillig1-1/+9
2007-11-20libnbcompat doesn't seem to be designed for easy use. One has to includerillig1-1/+2
<nbcompat/config.h> manually.
2007-11-20Prevent other developers from doing the same mistake as I did, when Irillig1-0/+12
wanted to clean up the code in this directory.
2007-11-20Added the feature "asprintf", since Solaris 10 doesn't provide it. Therillig3-17/+17
missing feature is defined in the platform-specific file, which is more elegant than adding even more of those ".if ${OPSYS} == ..." conditions.
2007-11-20Added an empty default definition for USE_FEATURES, which makes therillig2-12/+13
remaining code shorter.
2007-11-20Added help about the BROKEN_GETTEXT_DETECTION variable.rillig1-0/+10
2007-11-19Explicitly mentioned that both SUBST_SED and SUBST_VARS may be used in arillig1-2/+3
class.
2007-11-19Don't warn that the "check", "info" or "list' target will be removed.tron1-10/+10
They are still in use and not really hard to maintain.
2007-11-19Generalize the condition for defining PERL5, so that PERL5 is neverminskim1-2/+2
overridden if it is defined by individual packages.
2007-11-19Sunpro doesn't need -rdynamic, since the linker is sensible by default.rillig1-1/+2
This change also works around shells/scsh's broken check for -rdynamic.
2007-11-19Do not define PERL5 as a tool when building devel/perl5, which definesminskim1-1/+3
its own PERL5 in Makefile.
2007-11-18add a few more optionshubertf1-0/+4
2007-11-18Darwin 9.* can use Java tooadrianp1-3/+3