Commit graph

6549 commits

Author SHA1 Message Date
joerg
5f35b1a543 Fix last commit to really save forks at mentioned by rillig@:
OPSYS needs to be evaluated in-place, so use :=.
2007-04-17 19:45:35 +00:00
dillo
dcc6b8ead7 Rename option glx to dri; it will be used by MesaLib shortly, and
dri seems more natural there.
Okayed by wiz and joerg.
2007-04-17 19:07:49 +00:00
dillo
51ab8eca7e Describe glx option -- used by modular-xorg-server and wip/MesaLib
to enable direct rendering support.
XXX: Maybe it should be renamed to dri?
2007-04-17 14:17:11 +00:00
tnn
1a639746d4 fix botched $NetBSD$ 2007-04-17 11:09:28 +00:00
tnn
409fd2c40a add support for the HP-UX C/aC++ compilers 2007-04-17 11:05:33 +00:00
tnn
05620458c7 Save a fork() by not invoking the 'tr' utility.
XXX: the OS_VERSION stuff could use a similar cleanup, replacing
tr A-Z a-z occurences with the make :tl modifier.
2007-04-17 10:48:29 +00:00
rillig
6dd050be15 It makes more sense to run "bmake debug" when the WRKDIR is still
populated with all sorts of files, since they provide the most useful
information.
2007-04-15 22:14:44 +00:00
tnn
146da1286c Teach pkgsrc about HP-UX. 2007-04-14 14:17:49 +00:00
tnn
c162bb014e correct ulimit commands, cleanup obsolete definitions 2007-04-14 13:02:08 +00:00
hiramatsu
4eb0845915 OpenBSD xargs behaves like Linux xargs; add -r here too. 2007-04-13 06:56:20 +00:00
tnn
b81a545933 OSF1 always needs _REENTRANT to be defined when including pthread.h, or it
will bail out with an #error preprocessing directive, regardless of whether
we actually link to libpthread or not.
NB: We can't just sprinkle PTHREAD_AUTO_VARS=YES on the affected packages,
because that would introduce a libpthread.so dependency where such isn't
wanted. (MesaLib, glitz, ...)
For this reason -D_REENTRANT is added directly to CFLAGS.
2007-04-12 18:42:02 +00:00
tnn
2df0aa35f6 Add OSF1 wrapper quirks to always enable posix sockets and iso C++ iostreams.
Fixes PR 31444. Fixes PR 31447. Both problems reported by Rumi Szabolcs.
2007-04-12 14:51:10 +00:00
tnn
b06ac8fff5 Set correct OBJECT_FMT on OSF1. 2007-04-11 19:09:24 +00:00
tnn
d7b532d96e ECOFF on OSF1 behaves like ELF as far as PLISTs are concerned. 2007-04-11 19:01:00 +00:00
tnn
346430a654 OSF1 uses ECOFF libraries. Rename COFF to ECOFF to distinguish it from other
variants of COFF.
2007-04-11 18:58:52 +00:00
tnn
186ea1906e Kill _OPSYS_RPATH_NAME; it was renamed to COMPILER_RPATH_FLAG years ago. 2007-04-11 13:31:52 +00:00
tnn
20595fdc5c Add tool definitions for native printf, sleep and sed. 2007-04-11 13:12:15 +00:00
rillig
75757be4d4 When pkgsrc-wip is available, look in those files, too. 2007-04-11 06:40:09 +00:00
tonio
e4a5aca88e document the ocamlduce option 2007-04-10 20:29:18 +00:00
rillig
8b016e4a05 Fixed typo in the comment. 2007-04-10 03:45:36 +00:00
rillig
f98d016454 + -march=* 2007-04-10 03:44:34 +00:00
tron
aef83eee53 Remove special treatment of "DynaLoader.a" completely. It's not necessary
with current libtool version and breaks the build under Darwin 8.x and
NetBSD 4.0_BETA2.
2007-04-09 22:33:26 +00:00
wiz
23325b7421 Recognize XML files as text. 2007-04-05 18:33:09 +00:00
tv
a85c47118c Remove win32-jdk. This never really worked, and probably never will work
properly enough for pkgsrc use.
2007-04-04 14:32:52 +00:00
wiz
6dfc0822ec Support "Removed" again. Fix typo in comment. 2007-04-01 21:14:27 +00:00
kristerw
14eee92e95 Fix quoting issue that gave syntax error when printing the message
that new package tools are needed.
2007-04-01 19:02:14 +00:00
heinz
5f663ce08e Made this check work again. The regular expression did not match relative
paths from .PLIST.

Changed the working directory to ${DESTDIR}${PREFIX} so files can be
accessed correctly.

Extended the relative paths to absolute paths again for better clarity.

Improved (IMHO) some wording.
2007-03-24 18:23:54 +00:00
heinz
68d8d088d8 More DESTDIR fixes in warnng/error messages 2007-03-24 18:12:08 +00:00
heinz
ae77e8ea18 Removed unnecessary shell code:
p|p) is the same as p)
2007-03-24 18:03:09 +00:00
jlam
4686b9dae9 Resurrect the ability to skip the depends phase that was removed in
revision 1.10.  Use a new name that is more aligned with current
variable-naming methodology: SKIP_DEPENDS.  It's a YesNo variable that
defaults to "no".

This functionality is just way too useful to pkgsrc developers to lose.
2007-03-23 21:21:33 +00:00
abs
da5bb3f20f add nspluginwrapper 2007-03-23 19:00:18 +00:00
rillig
b425a8ed66 The egrep line can be removed when audit-packages becomes fast enough. 2007-03-22 11:43:18 +00:00
joerg
28be10b7b5 Fix check-interpreter when using USE_DESTDIR. From Klaus Heinz on
tech-pkg.
2007-03-20 16:21:10 +00:00
joerg
6912785d50 When building the dependency lists, handle bootstrap dependencies like
normal build dependencies. That way digest can be recorded correctly.
2007-03-19 16:43:59 +00:00
rillig
f1d5b6cf3f Documented MAKE_JOBS_SAFE. 2007-03-18 23:09:09 +00:00
rillig
953092259f Typo. 2007-03-18 19:37:12 +00:00
rillig
322a55983b Added a procedure to determine the build options of a package. This file
can be used instead of writing the same code in every package.
2007-03-18 11:09:32 +00:00
rillig
73455306d9 XXX: "make replace" should be one transaction. 2007-03-17 17:17:33 +00:00
reed
86669ee97a Check for /usr/bin/sleep. I have had this in my pkgsrc for a long time.
According to the  Filesystem Hierarchy Standard for Linux, sleep
is not listed as a required command (or symlink) in /bin.
2007-03-17 00:14:50 +00:00
rillig
f35b4b9752 Typo. 2007-03-16 20:41:44 +00:00
rillig
acdbf77cec For the package pkgtools/shlock, it is not possbile to provide locking. 2007-03-16 20:38:40 +00:00
rillig
185782f13a Added the variable declarations for the "show-all" target. 2007-03-16 10:29:22 +00:00
rillig
3279664f38 The single-letter labels (U, P, S) could easily be confused with the CVS
status (there is also U and P), so it is changed to three-letter labels
(usr, pkg, sys).
2007-03-16 10:28:50 +00:00
rillig
dc3b9d6541 Don't check files in ${PACKAGES} and ${DISTDIR}. 2007-03-16 10:17:13 +00:00
rillig
06d7235c76 After the quick fix from some minutes ago, here is the better solution.
Just don't evaluate variables at load-time, but at run-time.
2007-03-16 10:05:20 +00:00
rillig
c319d43a9e Don't evaluate variables unless there's reason to do. This fixes warning
messages like:

cd ${WRKOBJDIR}/x11/kdebase3/work/kdebase-3.5.6 && echo "__dummy-ent ...
cd: can't cd to ${WRKOBJDIR}/x11/kdelibs3/work/kdelibs-3.5.6
2007-03-16 09:53:37 +00:00
reed
5c58e8efc1 Check for /bin/bzcat. Noticed on Ubuntu Linux over a week ago.
(Could check for /bin/bzip2 also, but I didn't need that.)
2007-03-15 23:11:12 +00:00
rillig
66bf916302 For all those who are interested in the inner workings of pkgsrc, there
is a new target "show-all" that fits to the existing "debug",
"show-tools", "show-vars" targets. It prints a list of the variables
that make up the public interface to pkgsrc. Running this target is
especially useful if you want to do some things, you know that they must
have been implemented but you don't know what it is called. It also
shows the "class" of a variable (user-defined, package-defined,
system-defined).
2007-03-15 22:54:24 +00:00
rillig
34cbf0da37 _COMPILER_LD_FLAG is only used in this file, and no other compiler file
defines this variable, so it doesn't hurt to remove it.
2007-03-15 22:33:42 +00:00
rillig
b8b5d028d6 Made show-depends a flavor-specific target. 2007-03-15 22:14:30 +00:00
rillig
b422be0f7a wrapper_type can be IMAKE, too. 2007-03-15 22:09:29 +00:00
rillig
1de2f00cda Moved the definition of CONFIG_SHELL from gnu-configure.mk to configure.mk.
Improved the documentation.
2007-03-15 11:20:40 +00:00
rillig
d3382dcdf9 If the "Internal error #1" happens again, it will at least provide a
hint where to look for the cause of the message. Without that, it is
next to useless.
2007-03-15 03:01:33 +00:00
rillig
d61f4b03b7 The CHECK_WRKREF variable has changed type: It is now a list of
directory aliases. That makes it possible to check for references into
TOOLS_DIR and WRKSRC, but to leave out the other infrastructure
directories.

On IRIX, x11/gtk2 failed to build because of an unknown library
-lharfbuzz. That library turned out to be an internal dependency of
graphics/cairo, which had made it into the installed libpangocairo.la
file.

With this change, that bug would have been caught earlier.
2007-03-15 01:06:02 +00:00
rillig
6d687a884a Forgot to disable the "echo-only" mode in the last commit.
Now "make cce" really commits.
2007-03-14 17:53:03 +00:00
joerg
83a29f686f Use the new -T option of pkg_crate, if pkg_install is new enough.
This means that all build dependencies are recorded in the package as
well, making it much easier to decide whether a dependency changed the
package should be rebuild in a bulk build.

This would have also been useful for users wanting to switch to modular
Xorg to decide what used x11-links.

OK agc@
2007-03-14 16:23:48 +00:00
rillig
c09a97f2db Added the target "commit-changes-entry", or "cce", which adds a single
package change to the CHANGES file and commits it.

Added error checking to the changes-entry target.
2007-03-14 16:21:58 +00:00
rillig
49052c55cc Added keywords for SPECIAL_PERMS, so it is found by
"bmake help topic=setuid".
2007-03-13 09:43:59 +00:00
tron
f2c3793d4d Don't handle Perl's "DynaLoader.a" specially under Mac OS X. It is not
necessary and doing so causes build problems.

This fixes PR pkg/35990.
2007-03-12 19:19:45 +00:00
joerg
628bfdc904 Sync authoritive instance of config.guess and config.sub with the
upstream versions.
2007-03-12 00:35:05 +00:00
rillig
0bb5c89c69 Removed unused variables. Note that _ALIASES.* could only be removed
because all the alias names are covered by _WRAP_ALIASES.*.

Slowly this file becomes as short and simple as it should have always
been.
2007-03-09 10:58:20 +00:00
rillig
137f973134 Removed the creation of the extra wrapper directory WRKDIR/.sunpro and
everything that is related to it.

The wrappers in WRKDIR/.wrapper now call the compilers in SUNWSPROBASE
directly. The aliases that have been provided had never been called
because WRKDIR/.wrapper was earlier in the PATH and already called the
canonical compiler (for example, .wrapper/gcc called .sunpro/cc, not
.sunpro/gcc).

Also removed the comments related to f2c. We have a version control
system to keep outdated code, so why keep it in the current source?
2007-03-09 10:29:29 +00:00
rillig
a74015f852 Rewrote the file so that it is easier to see what needs to be done when
adding a language.
2007-03-09 09:59:21 +00:00
rillig
2cca9b926f Fixed a quoting bug that occurred when PKG_DEVELOPER=#yes,
CHECK_SHLIBS=yes and some shared library doesn't have the execute bit
set.
2007-03-09 04:07:50 +00:00
rillig
c66cd8fa30 Fixed pkglint warnings. 2007-03-09 03:28:58 +00:00
rillig
a22ded7626 Replaced PKG_SILENT/PKG_DEBUG with RUN. 2007-03-09 03:15:33 +00:00
rillig
feeac72e9a Replaced the remaining PKG_SILENT/PKG_DEBUG pairs with RUN. 2007-03-09 03:05:38 +00:00
rillig
3b97228894 Fixed the quoting in INSTALLATION_DIRS and install-dirs-from-PLIST.
In install-dirs-from-PLIST, all directories that don't contain an '@' or
'$' character are automatically installed.
2007-03-09 02:51:45 +00:00
rillig
ffc69c6568 Added documentation and error checking. 2007-03-09 02:04:04 +00:00
rillig
aa979492e3 The mk/*/*/*.mk files are also interesting.
Don't print the make target definition in the help text.
2007-03-09 01:34:50 +00:00
rillig
2ccda09cd0 Added MAKEFLAGS to the call to RECURSIVE_MAKE. 2007-03-09 01:29:11 +00:00
rillig
836ffbe9b9 Added MAKEFLAGS to the RECURSIVE_MAKE call. Almost all other calls
already have it.
2007-03-09 00:45:54 +00:00
rillig
8dd9cf3d41 Renamed some more flavor-specific targets to have the form _flavor-*.
Split check-vulnerable into a general an a flavor-specific part, for
consistence with all the other targets.
2007-03-09 00:39:54 +00:00
rillig
18851a0799 Better documentation. 2007-03-08 23:58:20 +00:00
rillig
e92c96025d Reformatted the documentation. 2007-03-08 23:38:43 +00:00
rillig
45098e0977 Renamed package-warnings to _package-warnings, since it is a private
target.
2007-03-08 23:33:35 +00:00
rillig
33024986cb Moved the build-env target from bsd.pkg.debug.mk to build/build.mk. It
is no longer available to packages that set NO_BUILD.

Added the variable BUILD_ENV_SHELL, since I prefer a comfortable shell
over /bin/sh for interactive work.
2007-03-08 23:16:06 +00:00
rillig
197add6321 On IRIX, <standards.h> needs to be included before <sys/endian.h>. 2007-03-08 23:11:20 +00:00
rillig
dc31efeb7a Renamed replace-pkg to _flavor-replace and undo-replace-pkg to
_flavor-undo-replace. The leading underscore makes it obvious that these
targets are private, which saves redundant comments.
2007-03-08 23:06:37 +00:00
rillig
07e433310c Added headings. 2007-03-08 22:57:00 +00:00
rillig
38de695082 Documented how to use checkperms in bulk builds. 2007-03-08 22:49:05 +00:00
rillig
f701a00e46 Don't create ${.TARGET} unless no further error can occur. The make(1)
manual page says that ${.TARGET} is removed automatically if make is
interrupted, but it is _not_ removed if a command fails. This case may
happen after an incomplete CVS update (I forgot the -d option). When
running "make depends" for the first time, an error message is printed.
When running it for the second time, an empty .depends file existed, so
the build continued.
2007-03-08 15:38:47 +00:00
rillig
5e2cc53c82 A hint to the real problem is a nice addition to an error message. 2007-03-07 23:32:49 +00:00
rillig
f25aeae6f1 Added the BULK_ID to BULK_BUILD_ID_FILE, so that multiple bulk builds can
share the same pkgsrc tree in read-write mode. Fixes PR 35939.
2007-03-07 22:13:38 +00:00
rillig
1ceda05973 Added the flags to control diagnostics. 2007-03-07 22:02:34 +00:00
rillig
53cf03e2a6 Fixed the quoting for SUBST_VARS.*. Now every character gets replaced
properly. The regression test passes.
2007-03-07 21:27:59 +00:00
rillig
528cd68dee Fixed a GNU awk warning about quoting. 2007-03-07 16:32:45 +00:00
rillig
ca73e90164 Fixed the documentation of the opt:*:* transformation. 2007-03-07 12:40:54 +00:00
rillig
4ff63088a6 Better documentation. 2007-03-07 10:42:30 +00:00
rillig
17d32cd56b Make the #error directive an error with MIPSpro. 2007-03-07 01:37:18 +00:00
rillig
df8fff7998 Renamed the configure-cookie target to _configure-cookie. 2007-03-07 01:27:27 +00:00
rillig
64c66d1ff3 Removed many redundant comments and restructured the code, so that it
becomes a little shorter.
2007-03-07 01:06:11 +00:00
rillig
e7e1da6834 Split the documentation into a user and a developer part. 2007-03-07 00:33:24 +00:00
rmind
04fec34dd8 - Add a general description of "doc" option.
- sysbench: Add a "doc" option, now it could be
  installed without documentation.
Thanks xtraeme@ for comments and review.
2007-03-06 21:53:55 +00:00
rillig
b1deb83ac9 The first few lines of a bulk build log don't need to be printed on the
terminal.

The wrapper warnings are included in the build log, no matter if it
succeeds or not.
2007-03-06 15:54:54 +00:00
rillig
07da582827 Removed the unused "arch" variable. 2007-03-06 10:57:11 +00:00
rillig
ffa8f5f575 The warnings from the wrapper log are added to the report file. 2007-03-06 10:56:34 +00:00
xtraeme
fd52fae771 Improve message when /usr/include/fuse.h is not found on NetBSD. 2007-03-06 00:03:40 +00:00
rillig
bbd9ed673a Backed out the latest change because of:
http://mail-index.netbsd.org/pkgsrc-changes/2007/02/28/0009.html
2007-03-05 23:35:59 +00:00
tonio
ef8e228b22 Document the ncursesw option:
- Enable wide character ncurses support.
Add the smime option:
- Enable S/MIME support.
2007-03-04 17:20:42 +00:00
wiz
71203d2002 Remove two GNU ex-mirrors. 2007-03-04 10:53:17 +00:00
wiz
5dce6c7d9d Make MTREE_FILE and MTREE_ARGS internal by prefixing them with '_'.
They are not supposed to be set by the user.
2007-03-02 09:08:33 +00:00
wiz
1520ab35d5 Desupport unused FORCE_PKG_REGISTER. 2007-03-02 08:49:40 +00:00
wiz
082ea716fe Remove warning about LIB_DEPENDS, it's sooooo long gone... 2007-03-02 06:01:44 +00:00
wiz
e2718d1233 Remove support for obsolete and unused NO_DEPENDS. 2007-03-02 05:58:34 +00:00
wiz
fc3f7b9811 Remove support for obsolete and unused NO_PKG_REGISTER. 2007-03-02 05:54:18 +00:00
wiz
d0afd38d29 Deprecate unused BUILD_USES_GETTEXT_M4 variable. 2007-03-01 22:29:15 +00:00
wiz
a26ed30484 Update SCRIPTS_ENV description. 2007-03-01 18:30:36 +00:00
wiz
0ca9fb10ba Remove SCRIPTS_ENV TODO, it is already documented in
mk/configure/bsd.configure-vars.mk.
2007-03-01 18:30:11 +00:00
wiz
3e1a000ebc Remove unused SCRIPTDIR variable. 2007-03-01 18:21:31 +00:00
wiz
09ac7dcbaa Add defaults for mail/mailagent. 2007-03-01 18:03:02 +00:00
schmonz
503a481527 Define RELAY_CTRL_DIR, the directory for relay-ctrl's database. 2007-02-28 14:13:33 +00:00
reed
071cc8a6a3 Define DEVOSSAUDIO and DEVOSSSOUND for DragonFly.
From Kimura Fuyuki in PR #35824.
2007-02-25 00:29:27 +00:00
rillig
3d61247309 The post-build-only option also needs to load the variables. 2007-02-23 03:43:53 +00:00
rillig
8d8d67c7de Too many packages fail in mysterious ways when they cannot find
pkg-config, which happens mostly after updating a package. Therefore, a
failing wrapper is installed for this tool.
2007-02-23 02:49:56 +00:00
rillig
215797f36f The compiler option -Wl,foo,bar,baz is split into -Wl,foo -Wl,bar
-Wl,baz before processing the resulting options again.

Fixes PR 32203.
2007-02-23 00:31:29 +00:00
rillig
a65c6021a4 Changed the default Java Virtual Machine for NetBSD and Linux from "jdk"
(JDK 1.1.8) to "sun-jdk" (any Sun JDK >= 1.2), since JDK 1.1.8 has been
crashing for some NetBSD bulk builds for over a year now.
2007-02-22 23:52:58 +00:00
rillig
7cdc72c444 Changed the default warning message to include the word "unknown", since
otherwise it doesn't sound like a warning.
2007-02-22 14:54:32 +00:00
rillig
990ee366b6 Added the missing documentation that explains _why_ OBJHOSTNAME should
be set for locking. Based on the CVS log for bsd.pkg.mk 1.907.
2007-02-22 07:25:43 +00:00
rillig
322b451e11 Finished the split of PKGSRC_LOCKTYPE into LOCALBASE_LOCKTYPE and
WRKDIR_LOCKTYPE. Added more documentation.
2007-02-22 07:20:41 +00:00
rillig
6699eeb63a More documentation. 2007-02-22 07:15:54 +00:00
rillig
75380048aa Updated the ABI documentation, which also works on Solaris. 2007-02-22 07:05:57 +00:00
rillig
1b99f46aad gcc understands -Wno-unused-parameter. 2007-02-21 19:29:56 +00:00
rillig
d1b2c5f7f4 At the very beginning, the variables are extracted by running bmake in
the pkglint directory. This part had been more time-consuming than
necessary. Now it only needs one call to bmake instead of n.
2007-02-21 14:25:20 +00:00
rillig
4d2476efa1 Changed the failure into a warning when options such as "-I -L" appear
next to each other.
2007-02-21 12:27:36 +00:00
rillig
a0dd1a37e7 The options -I, -L and -R must not be followed directly by another
option. Instead of just merging them, the wrapper fails. Let's see which
packages get broken by that and then fix them.

I've also heard rumours that a plain -L is used as an alias to -nostdlib
in some compilers. This would have been handled wrong up to now, since
it definitely wasn't intended to be merged with the following argument.
2007-02-21 09:43:26 +00:00
jschauma
b9211a69aa - also find possible listings in {whatever}foo variations
- use PKGVULNDIR from env for correct location of pkg-vulnerabilities
2007-02-21 05:32:30 +00:00
rillig
90bdb331b2 OPSYS is not a list, so don't use the :M operator on it. 2007-02-21 01:33:55 +00:00
xtraeme
86825fa8bd Use fuse.buildlink3.mk from filesystems/fuse if OPSYS is linux. 2007-02-20 23:49:05 +00:00
xtraeme
af9810cf6a If OS is not linux or NetBSD with /usr/include/fuse.h, use
PKG_FAIL_REASON.

FreeBSD and Linux support needs changes yet...
2007-02-20 22:56:35 +00:00
rillig
4354925665 Made the locking more flexible by letting the user choose different
locking types for WRKDIR and LOCALBASE.

The default values are currently based on PKGSRC_LOCKTYPE, but the
recommended values are different. For LOCALBASE, the recommended value
is "sleep", since after one transaction has finished, the next can be
done in the new LOCALBASE without problems.

The situation is different though in WRKDIR. After one transaction has
finished there, it is often the case that the directory is removed,
including the lockfile. In that case, the package has usually been
installed and packaged successfully, and it would be a bad idea to let
the next transaction try to do the same again. Therefore, the
recommended value here is "once".
2007-02-20 22:11:10 +00:00
wiz
991a68755c Quite a number of unrelated packages install files into
share/emacs/site-lisp -- add it to default directories.
2007-02-20 18:57:05 +00:00
rillig
f1bc7a1210 Mapping command line options to the ABI is not as simple as I thought:
-32 does _not_ belong to ABI 32. Instead, the mapping is:

	ABI	Options
	(undef)	-o32 -32
	32	-n32
	64	-64

While here, allowing -OPT:* to pass through to the compiler, since it
will understand it.

This should fix PR 35729.
2007-02-20 16:12:41 +00:00
rillig
114317f32c Added a README file with some basic introduction to encourage developers
to port pkgsrc to other packaging systems.
2007-02-20 13:08:32 +00:00
uebayasi
d660bce7c0 Teach emacs22nox and leim22. 2007-02-20 12:36:02 +00:00
rillig
fdd9280481 Make the help finder find multi-line definitions, like in
mk/configure/replace-interpreter.mk.
2007-02-20 11:45:40 +00:00
rillig
a856ec03a1 Cleaned up the code:
- Targets that are not intended to be defined here (replace-pkg and
  undo-replace-pkg) are not defined here. (Sounds obvious, but apparently
  isn't.)

- Targets that are intended to be defined here and only here (replace
  and undo-replace) do not need a multiple-definition protection.

- Moved all comments to the top of the file.
2007-02-20 11:17:03 +00:00
rillig
70e7958fda I find the ABI useful to know when looking at a binary package. 2007-02-20 10:32:09 +00:00
rillig
79c6d231d0 For all but a very few developers, it is sufficient to check the
distfiles' checksums once and only once, between fetching and extracting
them.

The DO_CHECKSUMS_REPEATEDLY variable can be set to "yes" by those who
need the checksums checked more than once.
2007-02-20 09:53:23 +00:00
uebayasi
2a60f0037b A missing quote. 2007-02-20 09:22:14 +00:00
jschauma
853b673667 Only invoke audit-packages if we do find the package-name prefix in
the vulnerabilities file.  This cuts down significantly on the time
spent running sort-packages:
On 3228 packages before:
20259.43s real  9888.82s user 13138.60s system

With this change:
 6595.97s real  3215.58s user  4265.13s system
2007-02-20 06:46:20 +00:00
rillig
5495a908a1 The ABI for which the code should be generated can be queried from the
wrapper_abi variable. This is used in the MIPSpro wrapper to reject any
package that tries to compile a file for the wrong ABI. This is not just
a warning because such a package most likely has more severe problems.

The gcc -Wall option seems to be similar to the MIPSpro -fullwarn
option, so map them.
2007-02-19 14:50:33 +00:00
rillig
b157602e03 The argument -64 means to use the 64-bit ABI for Sun C and MIPSpro. 2007-02-19 14:43:05 +00:00
rillig
9ef7b40e37 Fixed "make debug" when CONFIGURE_ARGS contains a shell redirection for
stdin.
2007-02-19 12:19:49 +00:00
rillig
56ae0e7a97 The error output of "make debug" may be useful to know, too. 2007-02-19 12:10:43 +00:00
rillig
92248be659 Fixed more shell quoting issues, which showed up on IRIX. No wonder that
the package count on IRIX is so small.
2007-02-19 11:05:48 +00:00
rillig
acce7c2324 Oops: In the pre-previous commit, I forgot the $$2. 2007-02-19 10:51:58 +00:00
rillig
5f821d63e6 Why is OBJHOSTNAME needed for locking? 2007-02-19 10:39:47 +00:00
rillig
fad42cf10b When make(1)'s shell is a Korn shell, brace expansion may be performed.
This is especially critical for dependency patterns like
p5-perl-headers-6.5{,nb*}, which just occured on IRIX.

By the way, in "set -e" mode, assertions for non-empty variables can be
written much easier.
2007-02-19 10:33:46 +00:00
rillig
5a2b720572 Made _DEPENDS_PATTERNS_CMD a little simpler. 2007-02-19 10:18:33 +00:00
jnemeth
ae54396f9d Fix _EMACS_VERSION_NOREV. Thanks to dsl@ for spotting the missing ".". 2007-02-19 09:20:59 +00:00
rillig
ecb69be79f The mipspro compiler knows -32, -n32 and -64, of course. 2007-02-18 23:59:57 +00:00
rillig
ea5e7c8c6d Documented WRAPPER_REORDER_CMDS. 2007-02-18 23:49:44 +00:00
xtraeme
a5cf3e1e21 Add missing comment. 2007-02-18 22:37:51 +00:00
xtraeme
ddf11a8816 Fix if/else/endif case and indentation. 2007-02-18 22:37:06 +00:00
xtraeme
a8818eb624 FUSE framework for pkgsrc, in a very rudimentary state.
Seems to work fine on NetBSD with librefuse and some packages,
will need modifications for other systems.

Requested by agc@.
2007-02-18 22:07:56 +00:00
tv
6e168c7c12 Add support for sun-j{dk,re}6. 2007-02-18 19:12:07 +00:00
tv
6460221db6 Add JAVA_LD_LIBRARY_PATH, which is needed by the upcoming sun-jre6. 2007-02-18 16:25:54 +00:00
adrianp
e345235eb8 * Add an extra -V option to mkreadme to support a non-standard PKGVULNDIR
* Add the necessary changes to allow genreadme.awk to process the v1.1.0
  format pkg-vulnerabilities file.
* Changes are fully backward compatable i.e. mkreadme should be able to
  parse v1.0.0 and v1.1.0 format files.
2007-02-18 00:08:36 +00:00
adrianp
17ebee959f Add new snort descriptions for upcoming update to the 2.6 branch 2007-02-17 17:35:25 +00:00
tonio
2a3096f51c Make sure MACHINE_ARCH is set to x86_64 for FreeBSD-amd64 2007-02-16 16:09:23 +00:00
obache
21f5a560f1 Added qdbm option (used by mail/bogofilter). 2007-02-16 15:50:06 +00:00
rillig
7438982732 Sorted the _ONLY_FOR_PLATFORM.* lists so that each operating system has
its own line. Since NetBSD 1.6 has been EOL'd, replaced the special
entries with more generic ones, like NetBSD-*-i386.
2007-02-16 11:13:02 +00:00
rillig
f507eee3a1 Reverted the last change, since it was wrong. In a single shell word, a
dollar character does not have to be quoted.

Thanks to joerg for pointing me to it.
2007-02-15 16:08:20 +00:00
rillig
1b1f43cbdd Fixed shell quoting, noted by pkglint. 2007-02-15 10:48:25 +00:00
jnemeth
a4a461c83c add emacs22nox stuff 2007-02-11 11:38:43 +00:00
rillig
1205636186 Added a check for PKG_INSTALLATION_TYPES. 2007-02-10 09:01:05 +00:00
rillig
f6a8043bf5 Replaced the deprecated PKG_SKIP_REASON with PKG_FAIL_REASON. 2007-02-10 08:59:07 +00:00
sketch
b1e7556614 The HTTP interface to ftp.fi.netbsd.org has a nasty 404 handler which results
in missing distfiles retrieving www.nic.funet.fi.file_not_found.html instead
of failing and carrying on to the next site.

Use FTP instead which does the right thing.
2007-02-09 15:33:19 +00:00
obache
abd8e894eb MAKEFLAGS for su-${.TARGET} is ${MAKEFLAGS.su-${.TARGET}},
not ${MAKEFLAGS.${.TARGET}} .

Fix non-root user update target.
2007-02-09 01:57:17 +00:00
rillig
0d3fab7636 Fixed the detection of config_headers, so that it also catches
non-standard definitions, like for example in devel/ncurses.
2007-02-07 23:10:23 +00:00
joerg
87b9fe82ef Someone decided to remove gtar without discussing this first, so keep
track of it here as well.
2007-02-07 19:25:33 +00:00
rillig
96a2636f64 Added option handlers for all of -fPIC, -fpic, -KPIC, -kPIC,
-xcode=pic13 and -xcode=pic32, as suggested in PR 35555.

This also fixes and old bug where -fPIC (32 bit) had been translated to
-kpic (13 bit), but apparently that doesn't make a big difference in
practice.
2007-02-07 18:25:29 +00:00
rillig
ab106b40bd Documented NO_BUILD. 2007-02-06 20:48:07 +00:00
rillig
fdd5258a69 Added a new variable wrapper_type to the wrappers, so that the
transformations can decide whether they happen in a C or a C++ compiler.
Now the wrappers don't depend on the basename of the executed compiler
wrapper anymore.

Fixes PR 35555.
2007-02-06 20:33:50 +00:00
rillig
f705bc4de8 Some more gcc options I've found on Solaris. 2007-02-06 20:26:51 +00:00
rillig
97bb220eca White-space and comment improvements. 2007-02-06 20:06:38 +00:00
rillig
e5ac8f68ad Documented PKGNAME and PKGREVISION. 2007-02-06 20:03:30 +00:00
rillig
87fa979174 A bit more documentation. 2007-02-06 19:47:13 +00:00
rillig
8bae16fa25 More gcc options. 2007-02-06 19:35:41 +00:00
rillig
38cb040e39 More documentation for debugging pkgsrc. 2007-02-05 14:27:34 +00:00
rillig
c55eb274b2 Some Makefile.in files start with the letters PACKAGE. NetBSD's file(1)
considers files starting with the letters PACK to be related to Quake.
2007-02-05 08:39:23 +00:00
rillig
ddb7fdc307 Some keywords for PKGSRC_LOCKTYPE. 2007-02-04 23:23:40 +00:00
schmonz
a111493663 Describe "ucspi-tcp-nodefaultrbl". 2007-02-02 13:03:03 +00:00
joerg
f05a8245ab Add FreeBSD 6. From Peter Schuller in private mail. 2007-01-30 17:47:39 +00:00
wiz
a9be4d8d01 Remove some legacy variable handling after 2-3 branches. 2007-01-30 07:11:19 +00:00
wiz
0d9cad1ded Remove obsolete EMACS_USE_LEIM after 3 branches. 2007-01-30 07:10:05 +00:00
wiz
a55cc2ba2b Remove obsolete IGNORE_RECOMMENDED support after two branches. 2007-01-30 07:09:40 +00:00
kristerw
d96a551412 Remove old .bulk-not_available (NOT_AVAILABLE_FILE) files that are left
from previous run.
2007-01-28 19:23:22 +00:00
rillig
9ce0a959a1 More documentation for the purpose of this file and a tiny wording
improvement for TEST_DIRS.
2007-01-28 15:29:11 +00:00
uebayasi
8b10f06a4c Support Emacs 22, which is hold in wip/emacs-current. Prompted by wiz.
(Should I put a note "emacs22" EMACS_TYPE is experimental somewhere?)
2007-01-27 12:27:42 +00:00
uebayasi
8cc8e03813 Document TEST_TARGET with help from Alistair Crooks. 2007-01-27 08:14:07 +00:00
wiz
b9105fc685 Sync kde mirrors with reality a bit. 2007-01-27 06:32:37 +00:00
markd
8aa4eba1a8 Teach USE_DIRS about kde3. 2007-01-26 02:33:31 +00:00
rpaulo
2146838c44 Some Linux distros have gawk and install in /bin. 2007-01-25 21:34:54 +00:00
joerg
cb3b0ff71b Absolute never use .x11-buildlink. Some cases get nasty to fix, so
back to this.
2007-01-25 15:37:12 +00:00
wiz
75a166599b Do not create share/skel, nothing installs into it. 2007-01-24 19:52:08 +00:00
epg
eba0631438 Oops, this was meant to go in with the rest of the apr changes.
Use devel/apr0 for apache2 and devel/apr and devel/apr-util for apache22.
2007-01-24 19:48:44 +00:00
joerg
24f2398eb9 ... and quote the $ for subst so that ${RM} ends up in the final file. 2007-01-24 14:33:50 +00:00
joerg
62b0e7af34 *blush* Fix variable substituation to not substitute the same string
twice.
2007-01-24 13:26:26 +00:00
rillig
492c03802f Empty files are so ambiguous, so better leave a friendly message in the
STARTFILE.
2007-01-24 02:48:51 +00:00
rillig
2d13644250 Quick fix: The main code of the bulk build cannot be run in the shell's
"set -e" mode, since it would fill up the temporary directory. Reverted
that change.
2007-01-24 01:37:20 +00:00
rillig
a1fe379914 Since there are many cases where the string @FOO@ is replaced with the
pkgsrc variable ${FOO}, there is now a shorter variant for it. Instead
of defining SUBST_SED.*, just say SUBST_VARS.* = FOO.
2007-01-23 06:05:39 +00:00
wiz
1c44f90185 Add descriptions for anthy-* options. Remove old anthy option names. 2007-01-22 22:36:35 +00:00
rillig
3781574e5e Reverted the change between 1.37 and 1.38.
MANPATH cannot be overridden so easily to make it right for imake
Packages. Noticed by Dan.
2007-01-22 20:47:06 +00:00
joerg
68042f366f Add xinit as tool. 2007-01-22 20:43:04 +00:00
rillig
70259785af A big cleanup:
- The "header" of the build log is always printed, not only when
  PRECLEAN is set.

- The variable "installed" was redundant. Removing it saves 5 lines
  of code.

- When the package is outdated and currently installed, it suffices to
  just run pkg_delete. The "make deinstall" is too expensive and doesn't
  do anything further.

- Completely rewrote the section that deinstalls unneeded packages. It
  seems to me that the pkg_info -Q flag has been introduced after the
  bulk build was initially written, so it wasn't used here.

- A package that doesn't get deinstalled with a simple pkg_delete
  probably has a reason for that. Don't try to run pkg_delete -f after
  it.

- To remove all packages, it isn't necessary to iterate over the
  installed packages. Just pkg_delete -r "*".

- Replaced "required package" with "dependency" in the log messages,
  since that is shorter. Maybe the term "required package" comes from
  the time where packages also depended on shared library versions, so
  that terminology made sense back in 2000. Anyway, that's long ago.
2007-01-22 12:24:20 +00:00
rillig
2e84b4080a Fixed misleading indentation. 2007-01-21 23:42:29 +00:00
rillig
7c42eb00de Some variable definitions in mk/defaults/mk.conf have only one word in
the line where the variable name appears.
2007-01-21 10:00:34 +00:00
rillig
777113885f Backed out my previous change. The variable fetchdir needs to be a
relative path.

The error message nevertheless includes the full path.
2007-01-18 10:51:48 +00:00
rillig
d817b0900c pkgsrc bulk builds need much CPU time, but do they also need much stack? 2007-01-18 09:04:53 +00:00
rillig
6cd528c1df The sunpro C++ compiler needs its own cache, since cc and CC transform
-Wall to different arguments.
2007-01-17 13:20:56 +00:00
rillig
a440d183a7 The sunpro wrapper needs to distinguish whether cc or CC is called in
some cases.

XXX: There should be more support in the infrastructure for this case.
2007-01-17 13:19:47 +00:00
rillig
36ecdf2c10 Documented WRKDIR. 2007-01-17 12:47:21 +00:00
tonio
a86d2a8615 Add coqide option description 2007-01-17 11:15:33 +00:00
rillig
5acfb0b6ca Renamed BUILDLINK_TRANSFORM.* to BUILDLINK_FNAME_TRANSFORM.*, to make
clear that these variables are completely unrelated to
BUILDLINK_TRANSFORM.

Added a legacy check that catches appearances of BUILDLINK_TRANSFORM.*.

XXX: Where should incompatible changes in pkgsrc be documented?
2007-01-17 03:11:18 +00:00
dmcmahill
3581eb2081 change the default user/group for dbus to something <=8 chars since some systems (eg solaris) need that. Addresses PR/34127 2007-01-16 23:27:51 +00:00
joerg
e717686df8 Add modular Xorg support for iceauth and xmessage as tool, nuke
makepsres at the same time. The latter wasn't used in pkgsrc and
is related to DPS which is dead.
2007-01-16 21:45:38 +00:00
dmcmahill
5e003ae099 when using sunpro, go ahead and use the sun fortran compiler insted of f2c. The former seems to work as well or better 2007-01-16 17:16:24 +00:00
dmcmahill
b08bdfa69e alias f2c-f77 as g77 as well as f77 and f2c-f77. libtool cares. 2007-01-16 17:16:20 +00:00
rillig
e605b6ff86 Made the database lookup for deinstalling the unneeded packages less
obscure by using awk instead of sed.
2007-01-15 07:12:15 +00:00
rillig
b8a865c6de Documented PKGDIR. 2007-01-15 06:25:41 +00:00
rillig
faba91bc57 Options to subprocesses like the assember must pass the transformations.
They are _not_ GCC warnings, although they start with -W.
2007-01-14 18:56:25 +00:00
rillig
4325294fae The new variable SUBST_SKIP_TEXT_CHECK.* can be set to "yes" to do the
substitutions in all files, whether or not file(1) says they are text.
2007-01-14 17:05:02 +00:00
rillig
82ff4507d8 The default variable assignment is printed by "make help" again.
Completely empty lines are suppressed.
2007-01-14 16:42:37 +00:00
rillig
3043b03272 Inserted an empty line between two paragraphs, so they look a little
more aesthetic.
2007-01-14 15:00:54 +00:00
wiz
0532fb3f64 Add descriptions for speex, sndfile, samplerate. Sort. 2007-01-12 20:28:03 +00:00
rillig
ece83b3456 Added the file msg.help, which describes the INFO_MSG, WARNING_MSG,
ERROR_MSG and FATAL_MSG commands.
2007-01-12 07:54:30 +00:00
rillig
0040b5c2e8 PKGTOOLS_ENV does not exist anymore. 2007-01-12 07:48:09 +00:00
rillig
72cd4c9450 Fixed the documentation of the PREFIX variable. It cannot be overridden,
neither by the user nor by a package.
2007-01-12 07:47:16 +00:00
rillig
86e14e4200 When a SUBST change leaves a file as-is, print an informational message.
For all messages, the current SUBST_CLASS is printed, too.
2007-01-11 12:12:12 +00:00
rillig
9ea67301ad Added the INFO_MSG command, which can be used when the user should be
noticed about something that is not severe enough to need a warning.
INFO messages go to stdout instead of stderr.

Added the :M* modifier to the INSTALL_MACROS to make the resulting
command lines somewhat shorter.
2007-01-11 12:11:03 +00:00
rillig
ddfa53d9af MAKE_JOBS is only used in the do-build target, nowhere else. 2007-01-11 00:39:35 +00:00
rillig
741c0c4065 Bugfix: the first and second paragraph of a topic had not had an empty
line between them.
2007-01-11 00:36:12 +00:00
rillig
39f6b30d1d It's more informative to use absolute pathnames in error messages than
just ".".
2007-01-10 14:31:35 +00:00
dmcmahill
6f3772be2d Add an option to allow a batch mode pcb to be built. Useful for webserver
environments.
2007-01-09 11:55:52 +00:00
rillig
05ac362276 Added a typical command for the post-extract target. 2007-01-09 05:13:43 +00:00
rillig
c9990b973a Fixed the documentation. 2007-01-09 05:13:27 +00:00
rillig
871cdd10b7 The help topic at the very end of the last file must also be considered. 2007-01-09 04:28:23 +00:00
rillig
5c9820e74b Packages that are not available on the current platform (and the
packages depending on them) are listed in a separate category in the
bulk build report.
2007-01-08 22:42:00 +00:00
rillig
af7757c981 Shortened the code. 2007-01-08 21:36:07 +00:00
adrianp
f58ba92ec6 Don't mention -m in the example when the script does not support it. 2007-01-08 20:52:59 +00:00
gavan
5d1e177d2f gcc2 does not support -std=c99. If c99 is needed, require
at least gcc 3.0.
2007-01-08 19:29:45 +00:00
joerg
b5ce6faeeb Revert, the location of xdg-x11 is hardwired in other places. 2007-01-08 15:33:13 +00:00
joerg
4f08b1e9ba Always use xdg-dirs for modular Xorg, xdg-x11-dirs would just redirect
anyway.
2007-01-08 15:20:28 +00:00
rillig
78860dce69 Fixed a syntax error. 2007-01-08 14:01:41 +00:00
rillig
91f388696d MIPSpro knows the -c99, -M and -MDupdate options. 2007-01-08 12:09:47 +00:00
rillig
413e730b3f Rewrote the config.h parsing code to work with both autoconf 2.13 and
2.59. Tested with devel/libslang, which is particularly nasty because it
comes without a configure.ac file and also does not use the standard
config.h filename.
2007-01-08 11:06:44 +00:00
rillig
a58a507610 Added two keywords to the description of WRKOBJDIR, since I just cannot
remember whether it's WRKOBJDIR (right) or OBJWRKDIR (wrong).
2007-01-08 09:52:17 +00:00
rillig
81f8e0d093 IRIX patch isn't usable. 2007-01-08 08:55:52 +00:00