Commit graph

103 commits

Author SHA1 Message Date
rillig
9a9f25896f Broken gettext detection. 2008-01-13 23:08:35 +00:00
heinz
f484c25be4 Added support for installation to DESTDIR. 2008-01-03 23:18:07 +00:00
rillig
4e9fb66f51 Cannot be built in parallel. 2007-01-18 09:42:14 +00:00
rillig
2829e658f2 Mechanically replaced man/* with ${PKGMANDIR}/* in the definition of
INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with
${PREFIX}/${PKGMANDIR}.

Fixes PR 35265, although I did not use the patch provided therein.
2007-01-07 09:13:46 +00:00
wiz
9e63cacff4 Drop maintainership, I don't use this old version any longer. 2006-06-15 13:24:50 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
reed
21430ca449 For both bash packages, use CPP to define
DEFAULT_PATH_VALUE as /usr/bin:/bin:${LOCALBASE}/bin:/usr/local/bin

(Instead of having non-existent default PATH directories.)

Bump PKGREVISION.

This is for PR 25044.

Okayed by bash2 maintainer.
2005-12-27 21:32:59 +00:00
joerg
c79f412c1b Fix errno. 2005-12-19 00:28:02 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
wiz
5c11268df7 Remove some more *LEGACY* settings that are over a month old and
thus were before 2005Q3.
2005-10-05 13:29:49 +00:00
jlam
5b62763c63 Teach the +SHELLS helper script to not create an /etc/shells file if
one doesn't exist.  From now on, we only add the listed PKG_SHELL to
the /etc/shells file if it already exists.  This fixes PR pkg/27162.
2005-09-20 04:23:48 +00:00
jlam
9813468816 * Separate out the shell registration into a separately unpacked script
+SHELL.

* Turn PKG_REGISTER_SHELLS into a variable that can be set in the shell
  environment so that admins can make a choice when installing from
  binary packages.

* PKG_SHELL is now a list of paths, and if the path is relative, then it
  is taken to be relative to ${PREFIX}.  Convert packages that set
  PKG_SHELL to take advantage of this new feature by changing the full
  paths to the shells into relative paths.
2005-07-29 18:32:17 +00:00
minskim
8f8ee8e871 Use devel/readline instead of the included readline library. Bump
PKGREVISION due to the added dependency.

While here, set BUILDLINK_DEPMETHOD of dependent libraries to "build"
when the "static" option is enabled.

Approved by the maintainer (wiz@).
2005-07-01 16:11:05 +00:00
dillo
f81ae835ad Packages have no business modifying PKG_DEFAULT_OPTIONS -- it's a
user settable variable.  Set PKG_SUGGESTED_OPTIONS instead.  Also,
make use of PKG_OPTIONS_LEGACY_VARS.

Reviewed by wiz.
2005-05-31 10:01:36 +00:00
rillig
f795c2e475 Removed trailing white-space. 2005-05-23 08:26:03 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
d81d19f8e0 Add RMD160 digests. 2005-02-24 12:51:41 +00:00
tv
16b2341486 PKGREVISION bump for previous (since a binpkg already exists for the
afflicted platform).
2004-11-29 12:42:41 +00:00
tv
417ea3fbe2 Add glob workaround from <hiramatu@boreas.dti.ne.jp> in PR pkg/25908. 2004-11-29 12:41:54 +00:00
minskim
7580e8706e Append options to PKG_DEFAULT_OPTIONS instead of ${PKG_OPTIONS_VER},
following the semantic change of PKG_DEFAULT_OPTIONS.
2004-10-23 08:10:40 +00:00
minskim
222d88df55 Convert to use bsd.options.mk and add a new option, multibyte, to
enable/disable multibyte support.  Ok'ed by wiz@.
2004-10-22 23:54:22 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
jlam
9d5426ff76 Change the way that legacy USE_* and FOO_USE_* options are converted
into the bsd.options.mk framework.  Instead of appending to
${PKG_OPTIONS_VAR}, it appends to PKG_DEFAULT_OPTIONS.  This causes
the default options to be the union of PKG_DEFAULT_OPTIONS and any
old USE_* and FOO_USE_* settings.

This fixes PR pkg/26590.
2004-08-22 19:32:51 +00:00
minskim
2840e4feab Convert bash2 to use bsd.options.mk. 2004-08-07 21:03:59 +00:00
salo
0ac98a26de Add {BA,Z}SH_STATIC to BUILD_DEFS.
Addresses request on tech-pkg@ by Georg Schwarz.
2004-07-11 01:23:29 +00:00
minskim
51a394a206 Disable multibyte support only when wctype_t is not available. The
previous patches disabled it on NetBSD unconditionally.  Bump PKGREVISION.

Pointed out by Kibum Han.  Thanks to junyoung@ for testing.

OK'ed by schmonz@ and wiz@.
2004-06-22 14:05:39 +00:00
jschauma
24482317ee The Makefile for builtins is not using CFLAGS, but we do need CFLAGS
(for example under IRIX64 using gcc, where it otherwise will produce
32bit object files).  Patch that.
2004-05-17 22:29:30 +00:00
jschauma
7cb38bc887 On some systems (for example IRIX 5.3 with the IDO compilers), none of the
#ifdefs after this label leads to any code, so insert a no-op, just in case.

Based on emails from Georg Schwarz to wiz, also noted in
http://mail.gnu.org/archive/html/bug-bash/2003-04/msg00002.html.
2004-05-12 20:56:14 +00:00
jlam
49b57e1360 bl3ify 2004-01-05 12:36:41 +00:00
cjep
ba97a289fb whitespace nit 2003-07-26 15:21:58 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
wiz
43fa0c7cb6 PKGREVISION bump for libiconv update. 2003-07-13 13:50:19 +00:00
wiz
fbfbf9d3ea Take maintainership. 2003-06-30 08:59:03 +00:00
uebayasi
943f8baec1 Update to 2.05b.2.7. Pull in 3 official patches.
[bash205b-005]
When in a locale with multibyte characters, the readline display updater
will occasionally cause a segmentation fault when attempting to compute
the length of the first multibyte character on the line.

[bash205b-006]
When running in a locale with multibyte characters, the readline display
updater will use carriage returns when drawing the line, overwriting any
partial output already on the screen and not terminated by a newline.

[bash205b-007]
Using the vi editing mode's case-changing commands in a locale with
multibyte characters will cause garbage characters to be inserted into
the editing buffer.

Besides, export Bash's "test" target to Pkgsrc.  Type "make test" to try
this.

XXX The MAINTAINER should be taken by someone really using this.
2003-06-30 08:35:57 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
wiz
4a6d1b2168 Bump PKGREVISION for addition of official patches. 2003-03-14 15:21:09 +00:00
toshii
622ab741cd Add four official patches found in the master site. Fixes pkg/20673. 2003-03-14 14:40:36 +00:00
wiz
3fc687738b Note conflict with static version. Closes PR 20010 by Ryo HAYASAKA. 2003-02-14 18:59:19 +00:00
jlam
d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
2003-01-28 22:03:00 +00:00
jlam
c3eb9a3255 These packages are no longer needed to bootstrap buildlink2. Simplify the
building of these packages by using buildlink2.
2002-12-22 19:04:07 +00:00
drochner
45b8efe0b5 fix a fix: "#define HANDLE_MULTIBYTE 0" doesn't work as expected if
it is tested for by "#if defined"...
2002-12-17 14:45:12 +00:00
jlam
a2586d1f9a Whitespace. 2002-11-26 10:00:35 +00:00
jlam
2bab70be16 Only add "-lintl" to LIBS if libintl.* is found in the library path. This
addresses PR 18885 by Jeremy Reed <reed@reedmedia.net>.
2002-11-26 09:39:10 +00:00
schmonz
01fd684ef5 Disable multibyte support on NetBSD to fix compile error. 2002-11-25 05:39:33 +00:00
schmonz
41ed48c435 Update to 2.05b, and fix MASTER_SITES. Lots of changes since 2.05.
Here are some of them, excerpted from NEWS:

- New code to handle multibyte characters.
- `select' was changed to be more ksh-compatible
- There is now a bindable edit-and-execute-command readline command,
    like the vi-mode `v' command, bound to C-xC-e in emacs mode.
- The shell now performs arithmetic in the largest integer size the
    machine supports (intmax_t), instead of long.
- There is a new configuration option `--enable-mem-scramble', controls
    bash malloc behavior of writing garbage characters into memory at
    allocation and free time.
- The `complete' and `compgen' builtins now have a new `-s/-A service'
    option to complete on names from /etc/services.
- `read' has a new `-u fd' option to read from a specified file descriptor.
- The expansion of $LINENO inside a shell function is only relative to the
    function start if the shell is interactive -- if the shell is running a
    script, $LINENO expands to the line number in the script.  This is as
    POSIX-2001 requires.
- The bash debugger in examples/bashdb has been modified to work with the
    new DEBUG trap semantics, the command set has been made more gdb-like,
    and the changes to $LINENO make debugging functions work better.  Code
    from Gary Vaughan.
- New [n]<&word- and [n]>&word- redirections from ksh93 -- move fds (dup
    and close).
- The `echo' builtin now accepts \0xxx (zero to three octal digits following
    the `0') in addition to \xxx (one to three octal digits) for SUSv3/XPG6/
    POSIX.1-2001 compliance.
- Added support for DESTDIR installation root prefix, so you can do a
    `make install DESTDIR=bash-root' and do easier binary packaging.
- New `-A group/-g' option to complete and compgen; does group name
    completion.
- The ksh-like `ERR' trap has been added.  The `ERR' trap will be run
    whenever the shell would have exited if the -e option were enabled.
    It is not inherited by shell functions.
- configure has a new `--enable-largefile' option, like other GNU utilities.
- `for' loops now allow empty word lists after `in', like the latest POSIX
    drafts require.
- The builtin `ulimit' now takes two new non-numeric arguments:  `hard',
    meaning the current hard limit, and `soft', meaning the current soft
    limit, in addition to `unlimited'

Also, there is a "New unwind-protect implementation from Paul
Eggert", which I believe obviates the need for two sparc64-related
patches.
2002-11-25 04:18:47 +00:00
jlam
81a8137163 Check that the gettext headers and libraries exist before symlinking them. 2002-11-20 08:38:16 +00:00
salo
80f17bf2ba Convert packages to PKG_REGISTER_SHELLS framework. 2002-11-17 09:01:59 +00:00