jlam
ae0c51629f
Add a "wide-curses" global option to turn on wide curses for packages that
...
support it.
XXX The "ncursesw" option should probably be deprecated ... it's a little
XXX too specific.
2008-02-20 17:40:13 +00:00
rillig
0f02165471
Removed colons from variable names so they are accessible to "bmake
...
help".
2008-02-20 10:43:55 +00:00
rillig
d63608279e
Eliminated a needless check.
2008-02-20 10:42:21 +00:00
rillig
739578d240
Changed the order of the checks for automatic keywords, so that the
...
latter checks are not run that much.
2008-02-20 10:40:42 +00:00
rillig
5530265343
After being deprecated for 16 months, SKIP_PORTABILITY_CHECK is now
...
obsolete.
2008-02-20 10:27:35 +00:00
rillig
5f7de0ffaa
Removed colons for the sake of "bmake help".
2008-02-20 10:23:26 +00:00
wiz
e1411f898a
Add colon in comment to aid "make help" in finding help
...
for the bin-install target.
2008-02-20 09:58:04 +00:00
rillig
decac331e0
Eliminated some code duplication, provided a default definition for
...
PKGNAME_REQD and documented it a little bit.
2008-02-19 22:53:34 +00:00
rillig
1b593da1e6
Documented the pkgsrc online help.
2008-02-19 22:25:23 +00:00
rillig
56564adfe7
Rewrote the help file parser a little bit, so that the definitions from
...
defaults/mk.conf can be found again. (The words didn't end with
[A-Za-z0-9], but rather with "?=".
2008-02-19 22:12:00 +00:00
tnn
e6872cea49
Add IRIX command sinks, needed to get rpath fixup when using GCC.
2008-02-19 17:36:51 +00:00
tnn
f0462b82fe
Pass gcc's -mabi=* option (used on mips) without warning.
2008-02-19 16:50:11 +00:00
xtraeme
5af55181db
Check if BUILDLINK_AUTO_VARS.${_pkg_} is defined before testing it
...
via !empty. This fixes a problem with gnome-panel and db1.
2008-02-19 11:12:51 +00:00
epg
b9daf18e55
Look for mktemp in /bin, too, where Debian systems keep it.
2008-02-19 03:03:08 +00:00
obache
0491e08655
Move show-depends-options target from bsd.options.mk to flavor/pkg/utility.mk
...
to work with option-less packages.
2008-02-18 14:30:40 +00:00
obache
708435ea65
Add target "show-depends-options" to show depends's options recursively.
2008-02-18 12:38:35 +00:00
yyamano
8ea5fe16d9
Add a list of the codename, os, kernel and xcode version based on
...
tron's mail on tech-pkg. Thanks gtd for yourusuggestion to add xcode version.
2008-02-17 11:45:14 +00:00
tron
f895dbe21c
Don't use the bundled GNU Make on Mac OS X version older than Leopard.
...
Some packages (e.g. "openjade") require GNU Make 3.81 which is not
included in older versions of Mac OS X.
2008-02-13 23:09:24 +00:00
tnn
4636e6feaf
Fix a recently introduced logic error. PR pkg/37998 from Stuart Shelton.
2008-02-13 18:33:39 +00:00
rillig
c18f3fed81
Added a new check for binaries, so that they are installed according to
...
the INSTALL_UNSTRIPPED variable. By default, this check is disabled, so
that it does not cause any breakage.
NB: The file(1) command needs the explicit locale to prevent translated
messages. This file is copied from check-interpreter.mk.
2008-02-13 15:02:20 +00:00
rillig
26f0d86945
Pass the proper flags for stripping binaries to packages using BSD Make.
2008-02-13 09:28:41 +00:00
rillig
3425bf4596
Oops, fixed a typo.
2008-02-13 09:13:31 +00:00
rillig
102b3c5eb6
Documented the interface to packages. Renamed the targets to emphasize
...
that they are private to the current file.
2008-02-13 09:12:15 +00:00
rillig
a10d392b19
Whenever a tool from TOOLS_FAIL is executed, print a useful error
...
message. This is much better than failing silently.
2008-02-13 09:11:01 +00:00
rillig
9a302003c7
Added keywords for "bmake help".
2008-02-13 09:01:20 +00:00
rillig
f17ed773f1
Added a keyword for "bmake help".
2008-02-13 09:00:52 +00:00
rillig
339e8ef931
Adjusted the documentation to the source code.
2008-02-13 08:33:08 +00:00
rillig
8a2e6d3e9e
Removed outdated comment.
2008-02-12 07:16:40 +00:00
tnn
8a03a4df4f
Enable check-fakehome.mk.
2008-02-10 11:44:48 +00:00
tnn
d91ec32482
Enable fake home directory support. Also add a wrkref check because an
...
embedded path to the HOME directory can be a security problem if, say,
the package looks in the HOME directory of an unprivileged user for
configuration files.
Note that this has the potential to cause some short-term fallout.
2008-02-10 11:43:20 +00:00
rillig
0f1f94115c
Made the code easier to read.
2008-02-10 10:30:58 +00:00
rillig
091ba5fb30
Removed duplicated documentation.
2008-02-10 10:12:13 +00:00
adrianp
d08d9e77fe
Skip ${PREFIX}/emul/linux32/proc.* as well
2008-02-08 23:13:35 +00:00
rillig
66736dde43
Replaced _PKG_SILENT and _PKG_DEBUG with RUN.
2008-02-07 21:36:13 +00:00
rillig
3e67327748
Replaced _PKG_SILENT and _PKG_DEBUG with RUN.
...
XXX: Why do we have the exactly same code in all the files?
2008-02-07 20:59:05 +00:00
tnn
45f396330c
Same as previous, but the line above. (Sigh)
2008-02-07 17:01:02 +00:00
tnn
9a5fda0288
Oops, make sure the variable is defined before testing it's value.
2008-02-07 16:53:14 +00:00
tnn
1984db0948
Fix a miss that made the hpux bootstrap erronously pull in posix_headers.
2008-02-07 16:43:18 +00:00
tnn
ea8ef868a5
Get rid of USE_TOOLS+=nroff in the USE_BSD_MAKEFILE case.
...
Just because a package has BSD style Makefile doesn't mean it has manpages.
A sweep of packages with USE_BSD_MAKEFILE=yes is forthcoming;
USE_TOOLS+=groff nroff will be added where appropriate.
2008-02-07 12:26:55 +00:00
tnn
677ba266b7
Fix busted groff handling on SunOS.
...
Also, change the logic so that the construct:
USE_TOOLS+= groff nroff
means:
"iff groff is to be provided by textproc/groff, then nroff is
also to be provided by textproc/groff".
This provides a sane mechanism to express need for GNU nroff.
This is part one of fixing packages that set USE_BSD_MAKEFILE=yes
on SunOS. (bsd.man.mk needs an nroff that understands -mandoc)
2008-02-07 12:10:36 +00:00
tnn
24ede5a9fa
Recognise Solaris/xen as i386
2008-02-06 18:23:47 +00:00
bjs
9ebe7ffef5
Replace 'spidermonkey' option with a generic 'javascript' option.
...
Now that we have lang/ossp-js, I cannot find a good reason to use
spidermonkey, and elinks was the only package using that option.
2008-02-06 04:32:30 +00:00
tnn
96ef75e1dd
No need to walk the whole directory when checking for emptyness.
...
From Robert Elz.
2008-02-05 11:17:00 +00:00
tnn
3b84dc1b5a
This is the check part of the fake $HOME code. Not enabled yet.
2008-02-05 09:45:00 +00:00
tnn
a1bf36e0ae
Convert to ${RUN}
2008-02-05 08:17:59 +00:00
tnn
3abd1a38e8
Remove ftp.informatik.hu-berlin.de from MASTER_SITES_GNU since it doesn't
...
seem to support passive mode. From Alver on #pkgsrc
In it's place, add mirrors.kernel.org and ftp.sunet.se instead.
2008-02-03 22:23:30 +00:00
rillig
3dcc70e06a
Documented PRIVILEGED_STAGES.
2008-02-01 08:54:53 +00:00
rillig
1c28d503e4
Rewrote the header comment, since it was very hard to understand. Now it
...
follows the common scheme.
2008-01-31 12:45:08 +00:00
tron
5acb5cbde8
Try to fix PR pkg/26143 with caution:
...
- Set "CC" to "gcc -isystem /usr/include" during bootstrap.
- Add "-isystem /usr/include" to the Darwin specific "CPPFLAGS".
2008-01-30 22:57:31 +00:00
rillig
93cc59aaae
Reverted my last change. I was completely wrong. The real fault reported
...
in PR 37905 is exactly what I wanted to prevent using this check: A
configuration file was mentioned via CONF_FILES but does not exist in
the PLIST.
2008-01-29 19:18:26 +00:00
rillig
1b87d175f8
Disabled the check for missing example configuration files, since
...
according to PR 37905, it gets called too early.
2008-01-29 19:14:45 +00:00
tnn
b748976509
Simplify LOWER_OS_VERSION handling by using the :tl modifier.
2008-01-29 13:04:05 +00:00
reinoud
d72c861a63
Add clisp and sbcl option descriptions
2008-01-28 11:25:49 +00:00
rillig
521367f105
See also: PLIST_SUBST
2008-01-26 15:23:21 +00:00
tnn
4a325fa592
Use bsd.fast.prefs.mk in some very commonly included locations.
2008-01-23 17:35:20 +00:00
rillig
800789264a
Got rid of _PKG_SILENT. Why use __file__ when a simple f does the same?
2008-01-23 14:59:35 +00:00
gdt
8c1132d309
Add better error message when failing to tar up old package.
2008-01-23 14:48:50 +00:00
rillig
ddf74e4220
Replaced unreadable code with readable code by doing a little
...
substitution.
2008-01-23 14:46:33 +00:00
rillig
cef72b1779
STEP_MSG may be a hidden command.
2008-01-23 14:30:59 +00:00
rillig
aa66ac5ffb
Replaced _PKG_SILENT and _PKG_DEBUG with RUN, after making sure that the
...
additional error checking won't break anything that isn't intended to
break.
2008-01-23 14:12:32 +00:00
rillig
fe783d7116
Don't run pkg_create with the -v option. It prints a temporary package
...
name which isn't correct, and the "Value of SrcDir" that is used is not
important to any pkgsrc user. Instead, let the pkgsrc infrastructure
print the package name.
2008-01-23 14:07:07 +00:00
rillig
04cbcc5bc0
Made the wording more into an explanation.
2008-01-23 01:44:28 +00:00
rillig
3444dbc941
The package x11/gdm embeds ${exec_prefix} into a macro containing a
...
PATH, in which it is not directly preceded by a quote character:
#define GDM_USER_PATH "/usr/bin:/bin:${exec_prefix}"
Catch this by complaining about "${" also when it appears after a colon.
Since this check is still disabled by default, it will not surprise anyone.
2008-01-21 06:11:09 +00:00
obache
2d70679191
Mirror site of sourceforge.jp, keihanna and globalbase come back.
2008-01-21 02:15:45 +00:00
rillig
f6a6d83987
Explained the evolution of mount(2) in NetBSD and how to deal with it.
2008-01-19 23:00:49 +00:00
rillig
9eea97260c
Renamed some *.mk files to *.help, since they only contain comments.
2008-01-19 22:41:47 +00:00
rillig
99d04d6d77
Added a file where difficulties using specific C functions can be
...
documented. The first one is mremap(), since its prototype differs
between Linux and NetBSD.
2008-01-19 22:37:47 +00:00
tnn
581cb17df9
remove lang/scsl-* related bits.
2008-01-19 05:04:00 +00:00
obache
f662b3ce15
Default value of EMACS_TYPE is now emacs22.
...
Noticed by ISIHARA Takanori in PR 37754.
2008-01-18 13:50:44 +00:00
rillig
884f21f398
If the package doesn't provide a SUBST_MESSAGE, generate a default one.
...
This way, file modifications cannot go unnoticed and at least appear in
the build logs. While here, fixed an ambiguity in the description of
SUBST_MESSAGE.
2008-01-18 11:26:11 +00:00
rillig
212334d5a8
Don't rely on file(1) to distinguish text files from binary files. This
...
has proven too unreliable in the past. For example, some Makefile.in
files were classified as "Quake I or II world or extension", just
because they happen to start with the letters "PACK". This method was
also subject to subtle differences in the locale.
The new method counts the number of NUL bytes in the file. It does not
depend on the locale settings. The -c option of wc(1) counts bytes, not
characters, and tr(1), which may interpret multibyte sequences, is
protected by LC_ALL. It should also work with the historical
implementations of tr(1) that could not handle NUL bytes and discarded
them, since this is exactly the intention.
See also:
* http://mail-index.netbsd.org/tech-pkg/2006/07/05/0000.html
* PR 37793
2008-01-18 11:16:08 +00:00
rillig
494c8050fe
Replaced _PKG_SILENT and _PKG_DEBUG with RUN.
2008-01-18 10:41:05 +00:00
joerg
daa4ab9470
Make the default rpath for USE_CHECK_SHLIBS_ELF a platform variable.
...
Define the values for NetBSD and DragonFly.
2008-01-16 14:03:31 +00:00
tnn
a970f2bc58
Provide a mechanism for enabling use of pkgtools/posix_headers.
2008-01-16 03:16:39 +00:00
tnn
3923838b90
Delete comment about bmake not accepting .SHELL, that PR was fixed long
...
ago ...
XXX: I would enable /bin/ksh as bmake's default shell but it fails on
one of the bmake unit tests. Will need to figure out why ...
Maybe some day we can provide a posixly correct shell as part
of the bootstrap process.
2008-01-16 03:09:48 +00:00
joerg
813288f511
pkg_install 20070802 is good enough, don't be overly aggressive.
2008-01-16 01:01:26 +00:00
tnn
2741fbbdb4
Default to modular X.org on HPUX, since native X11 is old/broken and
...
X11 headers are not bundled with the operating system.
2008-01-15 22:37:49 +00:00
joerg
4291045502
Print _USE_DESTDIR as USE_DESTDIR from pbulk-index.
2008-01-15 22:04:57 +00:00
tnn
ddfd411544
Always tell the C++ compiler that we want support for ANSI C++ features
...
like namespace std enabled.
2008-01-15 10:08:18 +00:00
tnn
17f6f25e3a
Make setenv(3) a libnbcompat-provided feature.
2008-01-14 23:06:26 +00:00
ghen
0de998b38d
Document "postfix-stress" option.
2008-01-14 13:30:03 +00:00
tnn
51ea1914a1
remove makedepend hack
2008-01-14 08:03:47 +00:00
tnn
660c2052df
Don't provide a redundant CPP definition
2008-01-14 05:50:38 +00:00
adrianp
045f83863c
Bump PKGTOOLS_REQD to 20071224 so everyone still has the functionality
...
that used to be in security/audit-packages.
2008-01-13 20:23:18 +00:00
joerg
c44cfe5404
Only force gmake for imake on Linux, if using native implementation.
2008-01-12 22:44:10 +00:00
joerg
f30bc9ac38
If LOWER_ARCH is x86_64 on Linux, force it for MACHINE_ARCH as well.
...
On a Core 2 Xeon, it breaks a lot of things otherwise as it ends up as
something like "Intel(R) Core(R)".
2008-01-12 14:40:21 +00:00
rillig
e874c5ae78
Explained the difference between an lvalue and an rvalue.
...
Documented the __STDC__ macro, especially Sun's implementation.
2008-01-10 02:34:09 +00:00
gdt
129f9827d2
Document notion that Free/Open licenses do not end in -license.
2008-01-09 14:38:05 +00:00
ghen
9ec634a248
Update list of PostgreSQL mirrors, from:
...
http://wwwmaster.postgresql.org/download/mirrors-ftp
Include http mirrors.
2008-01-09 12:57:05 +00:00
smb
ac7ceb0e35
Add option description for jpilot in claws-mail
2008-01-09 03:50:00 +00:00
heinz
84bc04d0a3
Fixed spelling.
2008-01-08 16:09:23 +00:00
smb
2e4ede884a
Add options to liferea to permit selection of different rendering engines
2008-01-08 15:14:25 +00:00
rillig
279137b7ab
C compilers also emit error messages that are worth being explain.
2008-01-06 19:13:31 +00:00
rillig
e6d2d54c02
Explained an error message from g++ that occurs quite often.
2008-01-06 18:03:16 +00:00
rillig
f185f4e34c
Explicitly record the PKGNAME via the @name command. That way, it is
...
possible to create the package file using a temporary file first, and if
everything has succeeded, to rename it to the real name. This time, I
tested it creating various binary packages and installing them
afterwards, so I'm pretty sure it works now.
2008-01-05 22:06:20 +00:00
rillig
cf4165832c
Upper-case keywords may also end with a colon. This is used in
...
mk/check/check-portability.mk.
2008-01-05 19:48:27 +00:00
rillig
f07e60916d
Rewrote the help parser. You can get a list of all help topics by
...
running "bmake help topic=:index" now. This change is in preparation of
importing this help into the pkgsrc guide. There are still too many
false positives to be useful.
2008-01-05 17:55:48 +00:00
tron
864edbaeb5
Manually prefer "pkgsrc" versions of "Xft2" and "fontconfig" under
...
Mac OS X Leopard until the builtin detection in the "Xft2" package
works properly.
2008-01-05 17:21:46 +00:00
rillig
1194eb3d9e
The @imake-man macro should not yet be used, since it is subject to
...
further changes.
2008-01-05 17:03:04 +00:00
rillig
4d3b9ab24d
Instead of just recording whether a topic is relevant or not, collect
...
all applicable keywords (like variable names, make targets or explicit
keywords). This will help printing an index of all keywords.
2008-01-05 17:01:23 +00:00
heinz
79a03c3697
In the CHECK-PERMS case, moved test of exit code one line up, so the
...
removal of tmpdir does not overwrite the exit code to be tested.
2008-01-04 21:50:27 +00:00
rillig
7fca192e2e
Replaced all references to pkglint with lintpkgsrc, which has its own
...
package since a few days.
2008-01-04 15:49:07 +00:00
rillig
c564dfd5db
Reverted the change that tried to make binary packages more sane because
...
it had severe consequences: pkg_create gets lots of information from the
filename into which the package is written. The extension decides what
compression to apply, and the basename gets recorded as the @name. This
part needs more work.
Noticed by stoned@.
2008-01-04 14:22:06 +00:00
rillig
d3624fdf10
Made the .include directives simpler, since the directory of the
...
including file is always the first in the search path.
2008-01-04 01:46:24 +00:00
rillig
8df3cdc4f6
When creating the binary package, first create a temporary file, and if
...
everything went well, rename it to the real name. That way, it is less
likely that broken binary packages are created. It is a common
assumption that binary package files, if they exist, are usable.
An example for a broken binary package is security/sudo-1.6.9p10, in
which sbin/visudo wasn't readable when creating the package as an
unprivileged user.
2008-01-03 23:21:48 +00:00
adrianp
8c8f2165fb
* Rename AP var to AUDIT_PACKAGES as the former was a bit obscure
...
* Add DOWNLOAD_VULN_LIST var
* Get AUDIT_PACKAGES and DOWNLOAD_VULN_LIST to point to the right binaries
taking into consideration OPSYS and pkg_install version
* Replace all references to audit-packages and download-vulnerability-list
with AUDIT_PACKAGES and DOWNLOAD_VULN_LIST
2008-01-03 20:51:21 +00:00
obache
bfcf1f5783
Mirrors of SourceForgeJP seems changed, noticed by Zafer Aydogan in private mail.
...
+ jaist, iij
- keihanna, globalbase
Move round-robin host name to last, since it refers old mirros now.
2008-01-03 14:34:08 +00:00
obache
55d54e4005
Add more *ONW, *GRP and *MODE variables to BSD_MAKE_ENV for unprivileged build.
2008-01-01 14:20:20 +00:00
jlam
645f805678
Add support for NetBSD 4.0 compatibility through installing compat40
...
and netbsd32_compat40 packages. The compat40 packages are currently
built by comparing the 4.0 release against the 20071230 version of
HEAD.
Commit approved by <agc>.
2007-12-31 20:06:37 +00:00
joerg
08016fa1fa
EXTRACT_USING is always set, even when the necessary tools are not
...
depended on because it is not used. Work around it for now by checking
that the target is actually non-empty explicitly. This is still simpler
than the original code. After the branch, this will be reordered so that
it only gets set to non-default values when it will be used.
2007-12-30 13:37:18 +00:00
joerg
780c8a1afe
Fix EXTRACT_USING=gtar and simplify the other cases. TOOLS_GTAR was never
...
defined and therefore no argument was passed to the extract script.
This broke at least scmgit-docs on DragonFly.
2007-12-29 20:08:16 +00:00
tron
b7960a15bf
Simplify pattern for Mac OS X Leopard.
2007-12-28 15:36:29 +00:00
obache
6456ebb5c8
Change MOZILLA master sites difinitions, related to PR 37379.
...
There are three types Mozilla mirrors.
(http://www.mozilla.org/mirroring.html )
* mozilla-current
contains only the current version of Firefox and Thunderbird
* mozilla-release
contains Firefox, Thunderbird, and Sunbird releases
* mozilla-all
complete archive
Define following variables for mozilla master sites:
MASTER_SITE_MOZILLA_ALL = mozilla-all
MASTER_SITE_MOZILLA = mozilla-release
and change some packages to use appropriate variable.
Update contents of MASTER_SITE_MOZILLA with master and primary mirrors
taken from http://www.mozilla.org/mirrors.html and add some sample definitions.
2007-12-22 07:22:04 +00:00
abs
dc2c1fec59
remember to close() the "ls -l " exprs, lest we run out of file descriptors
2007-12-20 18:51:18 +00:00
rillig
b7678466da
Meta packages have user-destdir support and don't need any patches.
2007-12-19 12:32:06 +00:00
rillig
d877440c8b
Added a variable META_PACKAGE that should be set to "yes" by
...
meta-packages. That way, the packages don't need to know the details of
how meta-packages are defined.
2007-12-19 11:56:19 +00:00
markd
4767fe7dc4
Doing USE_TOOLS+=cmake in the configure stage is too late so move it
...
to tools. Also cmake wants cpack to exist in the same directory so
toolise it and make cmake and cpack imply each other.
2007-12-18 10:18:39 +00:00
tron
df740eb259
Make Apache 2.2.x the default as discussed on "tech-pkg" mailing list.
2007-12-17 22:09:58 +00:00
tron
0efe5a4def
Fix cut and paste error in last change.
2007-12-16 12:36:28 +00:00
tron
a9c785eaa1
Mac OS X's Leopard "/bin/sh" doesn't support "echo -n" (apparently by
...
purpose because if it is invoked as "/bin/bash" it does). Use
"/bin/echo -n" instead.
2007-12-16 12:27:28 +00:00
obache
2a5240ee93
Removing '||' does not mean 'simpler' (hi rillig).
2007-12-16 02:51:24 +00:00
adrianp
b919017b3c
audit-packages logic for its location depends on a variety of factors
...
including OS, pkg_install version and NetBSD version. The following
should pick the correct version to run.
2007-12-16 01:49:08 +00:00
bjs
b86b1ef032
Add an nls option so that packages can make it optional.
2007-12-14 08:27:39 +00:00
rillig
74b91acea7
show-var is related to show-vars and show-subdir-var.
2007-12-13 11:57:34 +00:00
rillig
b79b4beba7
Made "bmake show-help topic=show-var" (and probably some others) work
...
again.
2007-12-13 11:48:38 +00:00
rillig
173c29312a
Added information about the interface to this file, which can be queried
...
with "bmake show-all-pkginstall".
2007-12-13 11:10:42 +00:00
markd
98be5e390c
Add support for kde4 (currently in wip) so that packages in wip can use
...
"USE_DIRS+= kde4-1.0"
2007-12-12 05:14:15 +00:00
markd
ec09af76f0
Add support for cmake as a tool (USE_TOOLS+=cmake) and for using it in
...
the configure stage of a build (by setting USE_CMAKE=yes).
2007-12-12 01:00:38 +00:00
heinz
c500777638
Updated list of sourceforge mirrors according to
...
http://sourceforge.net/project/mirror_picker.php and sourceforge.jp
2007-12-11 19:55:06 +00:00
rillig
4290fb40eb
Added compatibility code for INSTALLATION_DIRS_FROM_PLIST. I had
...
intended that all the time, but didn't test enough. :(
Thanks to wiz for catching this one.
2007-12-10 22:49:19 +00:00
rillig
a2f9aae352
Added AUTO_MKDIRS as an alias for INSTALLATION_DIRS_FROM_PLIST. The
...
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-07 05:25:25 +00:00
rillig
2e6521f63c
Print an understandable error message if the number of arguments for
...
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-06 22:03:22 +00:00
tron
1f5e442207
Don't prefer "pkgsrc" versions of "MesaLib", "Xft2" etc. under
...
Mac OS X Leopard which ships with an uptodate version of X.org.
2007-12-05 21:38:06 +00:00
tron
66d2de41c9
Escape colons in preprocessor, compiler or linker flags while checking
...
their existances in other variables. This avoids parsing errors if
e.g. "BUILDLINK_LDFLAGS.<pkg>" contains a colon.
2007-12-05 21:36:43 +00:00
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