Commit graph

6395 commits

Author SHA1 Message Date
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