Commit graph

6910 commits

Author SHA1 Message Date
wiz
7512dd9d36 Revert unintended commit. 2007-12-02 12:58:25 +00:00
wiz
6bfb4a5067 Fix typo in error message. From Sergey Svishchev. 2007-12-02 12:57:32 +00:00
rillig
5bd70c5633 Removed the block comments, as they were full of redundant words. 2007-12-02 11:29:22 +00:00
rillig
9fab8079e7 Removed _INTERACTIVE_COOKIE, after asking on tech-pkg if anyone needs
it. It had only been used to change the "nerrors" variable in bulk
builds, but this variable is not used further anyway.
2007-12-01 11:11:53 +00:00
rillig
d493e10615 If a package defines FETCH_MESSAGE, show that instead of the generic
instructions.
2007-12-01 10:56:31 +00:00
rillig
3db5643622 Since the "build" target is run inside the pkgsrc barrier, "build-env"
gets the same treatment.
2007-11-30 18:54:40 +00:00
rhaen
9075c9986b Solaris SunPro Compiler 11/12 fails on Solaris 8/9 with -xc99. The header 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-30 16:55:28 +00:00
bjs
c4ff3e236e The interpreter check for packages which are their own interpreter,
e.g. lang/perl5, was failing.  Adding a check for ${DESTDIR}"$$interp"
fixes this.
2007-11-30 08:34:31 +00:00
rillig
67302ba713 Documented USE_IMAKE. 2007-11-30 08:27:51 +00:00
gdt
282cf8f7f1 Add comment noting that support for OLDNAME in Removed case is needed. 2007-11-29 23:35:37 +00:00
rillig
8ef5c2cbb1 More examples of "Undefined Symbol" from Solaris 10. 2007-11-29 09:13:30 +00:00
rillig
d5f54df3ce Added more keywords. 2007-11-29 08:53:14 +00:00
rillig
91b1d082d9 Print a warning for every file that has /bin/sh as interpreter, but only
on Solaris.
2007-11-28 17:00:04 +00:00
rillig
410affab94 Do not load the $cache file for every argument. Instead, load it once
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-28 14:45:22 +00:00
rillig
73b5319da9 Oops, don't overflow the terminal. 2007-11-28 13:18:50 +00:00
rillig
b9163bca81 sunpro doesn't need -lstdc++. 2007-11-28 13:03:56 +00:00
rillig
ba3e0729b2 Using a single awk process instead of a pipe of four grep processes
should be both faster and easier to read.
2007-11-28 12:57:46 +00:00
rillig
3a2689c94c Added keywords for "bmake help". 2007-11-28 08:48:11 +00:00
tron
c0a2ce4a12 Modern versions of Solaris include "/bin/bash". 2007-11-28 07:45:50 +00:00
rillig
8f225edbcd Made the code a bit more readable by elimination common subexpressions. 2007-11-27 23:06:43 +00:00
seb
40ba22b280 Bump PKGREVISION to 4.
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-26 22:14:13 +00:00
tron
6c41167104 Define "TOOLS_PLATFORM.flex" to "/usr/bin/flex" not "/usr/bin/lex".
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-26 16:19:08 +00:00
adrianp
67f1366eeb +snmp
+libwww-aliases
2007-11-24 17:16:54 +00:00
obache
7e743957c1 added bdb - Berkeley DB option. 2007-11-23 12:25:14 +00:00
rillig
8589bb73de The last change didn't receive enough testing. Now it is ok to have
/dev/null as an example file, and the proper file names are checked.
2007-11-23 11:50:19 +00:00
rillig
42b63489d3 After a package is installed, make sure that the example files for
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-23 11:36:19 +00:00
bjs
2623b35649 Add aria2-metalink option. 2007-11-23 07:43:54 +00:00
rillig
2154cd740b + asprintf 2007-11-23 01:29:28 +00:00
tron
8947480a20 Don't try to use "/usr/bin/perl" as a tool under Darwin.
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-22 16:39:47 +00:00
rillig
ec3566cb97 Use SIGUSR1 instead of SIGINT, since the latter may occur indepenently
and should be handled like everywhere else.
2007-11-22 10:08:38 +00:00
rillig
64068a6484 Exit if reduce-depends produces an error. 2007-11-22 09:59:59 +00:00
rillig
fb9095ac47 Replaced the usage message with a standard one.
"This is a" was redundant and has been removed.
2007-11-22 09:56:22 +00:00
rillig
f035607086 A little sanity checking prevents that a file called "=2.5" is created
in www/zope25-PropertyFolder because of the dependency pattern
"zope>=2.5<2.7".
2007-11-22 09:54:41 +00:00
rillig
78d783e57a Added gethostbyname and socket. 2007-11-20 18:45:07 +00:00
rillig
9a32ac35fc libnbcompat doesn't seem to be designed for easy use. One has to include
<nbcompat/config.h> manually.
2007-11-20 18:21:03 +00:00
rillig
cfa9f9e78c Prevent other developers from doing the same mistake as I did, when I
wanted to clean up the code in this directory.
2007-11-20 17:53:40 +00:00
rillig
84a48dac04 Added the feature "asprintf", since Solaris 10 doesn't provide it. The
missing feature is defined in the platform-specific file, which is more
elegant than adding even more of those ".if ${OPSYS} == ..." conditions.
2007-11-20 17:49:49 +00:00
rillig
4bd807b4a6 Added an empty default definition for USE_FEATURES, which makes the
remaining code shorter.
2007-11-20 17:19:59 +00:00
rillig
02fdd1ce8e Added help about the BROKEN_GETTEXT_DETECTION variable. 2007-11-20 11:14:51 +00:00
rillig
fa786ebc0c Explicitly mentioned that both SUBST_SED and SUBST_VARS may be used in a
class.
2007-11-19 23:38:03 +00:00
tron
6daf841974 Don't warn that the "check", "info" or "list' target will be removed.
They are still in use and not really hard to maintain.
2007-11-19 14:59:40 +00:00
minskim
3a7155e12a Generalize the condition for defining PERL5, so that PERL5 is never
overridden if it is defined by individual packages.
2007-11-19 04:08:58 +00:00
rillig
89870d4887 Sunpro doesn't need -rdynamic, since the linker is sensible by default.
This change also works around shells/scsh's broken check for -rdynamic.
2007-11-19 00:45:49 +00:00
minskim
4d09ed8f21 Do not define PERL5 as a tool when building devel/perl5, which defines
its own PERL5 in Makefile.
2007-11-19 00:40:14 +00:00
hubertf
5d34ad241e add a few more options 2007-11-18 23:56:57 +00:00
adrianp
36c417e0da Darwin 9.* can use Java too 2007-11-18 22:17:50 +00:00
rillig
d4195ed2b9 Added a missing line continuation to prevent output of a shell command. 2007-11-17 14:00:55 +00:00
rillig
c4398a61a2 Reverted all the recent changes to the BUILTIN_FIND_GREP variable. It
had been correct before, and I trusted the pkglint warning too much. Now
it is correct again, and the pkglint warning is fixed.
2007-11-16 08:14:20 +00:00
minskim
9826939622 Use native perl as a tool on Darwin. 2007-11-16 05:51:37 +00:00
bjs
c6f746a879 Move backslash from last commit to second '$'; the test for a builtin
db1 was failing (on NetBSD-current 4.99.36) using rev. 1.19.

If this causes any issues, please do let me know; I committed
this because I didn't want this to be broken--and it definitely
seems less broken, i.e. it works, now than it was.
2007-11-16 05:44:56 +00:00
rillig
390e1a5efb Fixed some pkglint warnings. At any other position in a shell word, the
$$ would have to be escaped, so why should be leave it out just because
it is at the end of the word?
2007-11-15 12:15:43 +00:00
rillig
770f3bbb1d Fixed pkglint warnings. 2007-11-15 12:09:52 +00:00
rillig
4738580199 When cleaning up the working directories in WRKOBJDIR, also try to
remove the category directory, to not leave unnecessary empty
directories around.
2007-11-15 12:05:09 +00:00
joerg
ccb49be9b3 Allow _PBULK_MULTI to be overriden. Requested by seb@. 2007-11-13 22:41:41 +00:00
rillig
bc38d93c53 Replaced the use of gensub() with sub(), since the former is not
mentioned in The Open Group's specification of awk. Specifically,
FreeBSD's awk doesn't have it.
2007-11-13 16:52:39 +00:00
drochner
5f865d0279 install a copy of scrollkeeper/omf.mk in a central place so that
pkgs needing scrollkeeper compatible .omf install scripts get directed
to the replacement pkg (currently: rarian) even if scrollkeeper itself
is removed
2007-11-12 20:45:52 +00:00
joerg
6794692960 Fix uninitialised variable resulting in wildcard patterns printed twice.
From Arnaud Lacombe in PR 37367.
2007-11-12 15:35:41 +00:00
uebayasi
28c4854853 Correct dependency patterns for xemacs*nox (xemacs-nox -> xemacs-nox11). 2007-11-12 01:58:24 +00:00
uebayasi
7a7c67a977 Support xemacs215nox (XEmacs 21.5.x without X). 2007-11-12 01:55:03 +00:00
rillig
9a68cfc082 show-installed-depends will not be removed. 2007-11-10 23:44:01 +00:00
rillig
7c3346811e Removed the "will be removed soon" marker for show-downlevel, since it
is documented in the pkgsrc guide and (since this commit) also
accessible via "bmake help".
2007-11-10 00:38:30 +00:00
joerg
015db51129 Prepare for DESTDIR support in Java VMs. 2007-11-09 00:49:54 +00:00
joerg
952c9705db Allow both gzip and gzip-base to provide gzip. 2007-11-08 19:31:40 +00:00
joerg
78889d1e56 Add open-font-license to list of licenses accepted by default.
Discussed on tech-pkg.
2007-11-08 19:31:05 +00:00
bjs
b16392c25b Add a "libspiff" option for XML shareable playlist support. 2007-11-08 18:44:10 +00:00
he
4c77b0e4fd Preserve the -Wl,-Bstatic / -Wl,-Bdynamic arguments, but also
duplicate them into the list of libraries.  Someone may want to mix
static and dynamic linking.

Fixes PR#37228, approved by jlam.

jlam says that a better long-term fix would be to ensure that all
the -L specifications come before the -l specifications, instead
of moving all the -l specifications to the end of the command line.
2007-11-08 17:38:17 +00:00
bjs
e8bbe5840b Add libao and libmodplug options 2007-11-07 23:28:40 +00:00
rillig
bd4e2f8b16 The comment in the first paragraph says that the targets in this file
should probably removed. Check if they are really used by anyone, by
printing some warnings to stderr.
2007-11-07 17:39:02 +00:00
rillig
333ce170ee Removed some extra code that I had added years ago (bsd.pkg.mk 1.1610)
when pkg_create didn't print an error message on failure. If that should
ever happen again, we should fix pkg_create instead of adding code here.
2007-11-07 17:30:01 +00:00
rillig
26a8f20f44 Fixed the latest pkglint warnings. 2007-11-07 17:04:43 +00:00
gdt
1ddd7f3cd0 Replace ${PKG_SILENT}${_PKG_DEBUG} with ${RUN}, per pkglint. 2007-11-07 16:50:00 +00:00
gdt
8b83dcbd56 use ${OLDNAME} instead of OLDNAME to make it clear that it's a
make variable.  Pointed out by rilling/pkglint.
2007-11-07 16:29:49 +00:00
gdt
61acf9d422 Allow make replace to replace a package with a name other than the new
one, via "make replace OLDNAME=oldpkgname".

Enhance replace-names to use OLDNAME if present.  Move replace-names
target before replace-tarup, and change replace-tarup to use the
computed oldname. Make deinstall respect OLDNAME.

Tested on netbsd-current with standard make replace and with OLDNAME.
2007-11-07 13:50:09 +00:00
rillig
e5fa877447 Activated the check-interpreter for PKG_DEVELOPERs. I don't remember why
activating this has taken so long.
2007-11-07 10:52:00 +00:00
rillig
506c5a62cb Simpler include line. 2007-11-07 09:53:15 +00:00
rillig
498b3032c8 Made "bmake show-all-extract" work. 2007-11-07 09:52:58 +00:00
rillig
2f587dfa62 Made "show-all-pthread" work. 2007-11-07 07:49:02 +00:00
rillig
c0e80833bb More documentation. 2007-11-06 22:48:15 +00:00
uebayasi
ce502a864c Change the default EMACS_TYPE to emacs22. Suggested on tech-pkg, no objections
for one week.
2007-11-04 23:53:44 +00:00
taca
d5c9fef324 Add description of skey option. 2007-11-04 12:06:51 +00:00
rillig
a21f857cf8 Clarified the comment. 2007-11-03 15:17:42 +00:00
rillig
daba721a30 Added keywords. 2007-11-03 11:50:18 +00:00
rillig
171c4b82b8 Variables that are not lists should not use the empty(...:M) construct
if the same can be expressed more clearly.

Added some internal variables to be shown by "bmake show-all-emacs".
2007-11-03 11:23:06 +00:00
rillig
2db8b70075 Moved common commands into a variable. This saves 15 lines. 2007-11-03 10:25:33 +00:00
rillig
5fa3759ae6 Simpler includes. 2007-11-03 09:12:46 +00:00
rillig
67974dcb6a Added some variables for "bmake show-all-fetch". 2007-11-02 09:02:57 +00:00
rillig
5fba458aef sunpro doesn't know -ggdb. 2007-11-01 14:31:03 +00:00
rillig
02052152d3 Before running _SUBST_IS_TEXT_FILE on a file, make sure that the file
exists.
2007-11-01 13:12:48 +00:00
rillig
e27c4fc2e0 Moved the pre-configure-checks-hook below do-configure-pre-hook, so that
REPLACE_INTERPRETER takes place before the portability check. Shell
scripts that will use bash anyway do not need to be checked for
portability problems.
2007-11-01 08:37:24 +00:00
rillig
1d9b92e28d Some implementations of X11 install both manpages and catpages, which
has not been supported by pkgsrc up to now.

This changes adds a PLIST macro @imake-man that expands to zero, one or
two lines, depending on the value of IMAKE_MANINSTALL. Packages must
explicitly have the macro in the PLIST files to use this feature. Since
currently no package has that, this change doesn't affect anything at
all by now.

TODO: The platforms' definitions for IMAKE_MANINSTALL and the other
definitions like IMAKE_MAN_SUFFIX need to be adjusted.
2007-10-31 21:09:03 +00:00
rillig
78baea8080 Changed ${TEST} to [...], since only the very basic conditions are
checked, which is handled the same by every implementation of test(1).

Removed the comment saying that absolute directories can be handled. It
doesn't work.
2007-10-31 19:20:08 +00:00
rillig
8945fb054b Simpler .include lines. 2007-10-31 12:07:13 +00:00
rillig
6974a32cea Simpler .include lines. 2007-10-30 23:35:51 +00:00
bjs
550cee0d3c Add gmp-fat option 2007-10-30 01:38:53 +00:00
uebayasi
04325ed444 Fix a typo. 2007-10-29 13:13:31 +00:00
uebayasi
f1e0ce13c4 Enable buildlink3.mk for EmacsLisp package build.
This works very straightfoward; create set of symbolic links of *.el / *.elc
files under ${BUILDLINK_DIR}/share/emacs.  At configure and build stage,
emacs / xemacs binaries run with the EMACSLOADPATH pointed to there.  This
should work because those EmacsLisp packages assume the Emacs / XEmacs program
running at build time and that running after installation are identical and
the task looking for other *.el / *.elc files is Emacs / XEmacs's business.

I have tested only Emacs 21 and Emacs 22.  XEmacs should work ... at least
XEmacs supports EMACSLOADPATH too if grep worked correctly.

While here change the following:

* Provide {FOR,NOTFOR}_emacs_{x,nox} switches to be used in PLIST.

* Add the xemacs214nox entry.

* Clean up "leim" handling code; avoid .if ... .endif as far as possible.
2007-10-29 12:52:36 +00:00
wiz
3f67bd7de1 Describe gimp option (for sane-frontends). Sort. 2007-10-29 01:17:13 +00:00
taca
0e3dac1952 Add options used in net/samba; acl, ads and winbind. 2007-10-28 14:42:09 +00:00
wiz
0be60b73fe Remove options that still do not have a description. 2007-10-28 13:09:40 +00:00
tron
74302ef9bd Protect against multiple inclusion. This fixes the "sane-frontends"
package which includes "bsd.options.mk" via its own "options.mk" and
via "graphics/gimp/buildlink3.mk".
2007-10-28 11:29:06 +00:00