Commit graph

4815 commits

Author SHA1 Message Date
rillig
6c7647173b This file must not be included by anything other than bsd.pkg.mk.
Enforce this by not writing it in a comment but checking it in the code.
2005-08-23 12:01:52 +00:00
rillig
7a95adad42 The real user name in PKG_USERS does not need to be escaped with double
backslashes anymore. A single backslash is enough. Changed the
definition in all affected packages. For those that are not caught, an
additional check is placed into bsd.pkginstall.mk.
2005-08-23 11:48:47 +00:00
rillig
50dc3acc56 Made the code for the shell file work on Solaris. 2005-08-23 10:00:50 +00:00
rillig
e3b7f76c55 Made the code to create the dirs file work on Solaris. 2005-08-23 09:51:35 +00:00
abs
4b9c2427e0 Avoid double // in the case where PREFIX is / (eg: shells/standalone-tcsh) 2005-08-23 09:33:14 +00:00
rillig
abb46cd4fa Made the code for the permissions file work on Solaris. 2005-08-23 09:29:06 +00:00
rillig
5be6707677 Shortened the code for the usergroup file and made it work even on Solaris. 2005-08-23 09:19:06 +00:00
rillig
06363de332 Cleaned up the code that parses the CONF_FILES etc. Now it is possible
again to have users and groups called "__dummy".
2005-08-23 08:58:20 +00:00
rillig
77246172ce Cleaned up the code for creating .install_files. Now only shell
constructs are used that are understood by the Solaris /bin/sh, too.
2005-08-23 08:54:29 +00:00
reed
17c4d72e54 Do not attempt to modify /etc/shells as a regular user.
Also set PKG_CREATE_USERGROUP with = instead of ?=.
2005-08-22 17:13:28 +00:00
rillig
6158929acb I forgot to add the trailing slash when stripping ${PREFIX} from pathnames. 2005-08-22 08:07:38 +00:00
rillig
bce7c2b832 ... and corrected a bug I had overseen. I had only tested that the function
works, not that it works in its environment.
2005-08-21 22:29:45 +00:00
rillig
e55825d282 Simplified the strip_prefix function. Tested with /usr/bin/awk on Solaris,
nawk and gawk.
2005-08-21 22:27:09 +00:00
rillig
57994895c2 Changed the comment for SUBST_STAGE to be more complete. Started the other
sentences with an uppercase letter. No code changes.
2005-08-21 22:00:07 +00:00
rillig
9c2ed58976 Cleaned up the code that checks which tools are needed for extraction. 2005-08-21 07:29:48 +00:00
grant
7b498027a9 preserve -Qoption arg if the 2nd next arg isn't -R. 2005-08-21 02:39:52 +00:00
jlam
cf4dfe44a5 Use REQD_DIRS instead of MAKE_DIRS for directories under ${PREFIX} so
that these directories will be conditionally removed (based on reference
counts), regardless of the value of PKG_CONFIG.  Bump the PKGREVISION
for packages that were modified as a result.
2005-08-20 19:16:21 +00:00
grant
7bdc3361fc strip leading "-Qoption ld" from -R args for sunpro C++ compiler, to
avoid duplicate "-Qoption ld" args when the -R args is later stripped.

thanks to jlam@ for the hint.
2005-08-20 14:37:53 +00:00
jlam
72cee106a2 Don't skip files that are under REQD_DIRS directories, as those are
typically under ${PREFIX}.
2005-08-20 02:45:05 +00:00
jlam
8463361cf4 Add a guideline for what should be listed in REQD_* variables -- they
should be files or directories under ${PREFIX}.
2005-08-20 02:22:02 +00:00
grant
fff581f880 add -xnolibmopt after -fast to disable the use of libsunmath (until it
can be sanely statically linked).
2005-08-20 02:11:15 +00:00
jlam
6fe2d57173 The various bsd.pkginstall.mk variables can be paths relative to
${PREFIX}, so prepend the words with ${PREFIX} in that case when
setting CHECK_FILES_SKIP.
2005-08-20 02:09:04 +00:00
jlam
66030afca0 Define new variables for package Makefile use:
REQD_FILES, REQD_FILES_PERMS, REQD_FILES_MODE
	REQD_DIRS, REQD_DIRS_PERMS

These are the same as the CONF_* variables, except the files and
directories listed in REQD_* are always copied over, created or removed
(taking into account if there are user modifications from the originals,
etc.) regardless of the value of PKG_CONFIG.

The implementation involved pushing the knowledge of PKG_CONFIG,
PKG_RCD_SCRIPTS, PKG_CREATE_USERGROUP, and PKG_REGISTER_SHELLS into
the individual helper scripts.  The helper scripts are now always
invoked by the +INSTALL and +DEINSTALL scripts.  The +DIRS and +FILES
script have been enhanced to understand a new "f" flag that means
"force" to ignore the value of PKG_CONFIG and PKG_RCD_SCRIPTS.

Lastly, the +FILES script has been taught a new "r" flag just for rc.d
scripts and the +RCD_SCRIPTS script is now unnecessary.
2005-08-19 22:24:09 +00:00
jlam
6b5e1a1b43 perllocal.pod is like info/dir... we don't care if it's created or
removed by any package.
2005-08-19 22:07:46 +00:00
jmmv
4f121c6357 Add the 'ug' locale, initially used by gnome-themes 2.10.1 (AFAICT). 2005-08-19 21:47:51 +00:00
jlam
bd2788d930 Merge CONF_FILES/SUPPORT_FILES and CONF_FILES_PERMS/SUPPORT_FILES_PERMS
as the INSTALL and DEINSTALL scripts no longer distinguish between
the two types of files.  Drop SUPPORT_FILES{,_PERMS} and modify the
packages in pkgsrc accordingly.
2005-08-19 18:12:36 +00:00
jlam
9fd655b06c Rewrite sub-script targets so be less susceptible to "make variable
overflow" by splitting up the huge "one-liner" scriptlets into smaller,
individually executable bits.
2005-08-19 17:20:33 +00:00
jmmv
7709491e7e Add the 'te' locale, initially used by gnome-desktop-2.10.2 (AFAICT). 2005-08-19 17:04:47 +00:00
schmonz
a527ce3465 Skip the configure stage if NO_CONFIGURE is defined (useful for
djbware without conf-* files).
2005-08-19 13:47:26 +00:00
schmonz
16f2d72474 Add and define djbfft options. 2005-08-19 05:08:01 +00:00
schmonz
07fa8b9536 Convert DJB_ERRNO_HACK to a "djbware-errno-hack" option available
in all packages using djbware.mk. For now, keep the same default,
avoiding PKGREVISION bumps.
2005-08-19 04:44:09 +00:00
jlam
f1e3e67038 INSTALLATION_DIRS implies NO_MTREE: If a package sets INSTALLATION_DIRS,
then it's known to pre-create all of the directories that it needs at
install-time, so we don't need mtree to do it for us.
2005-08-18 19:24:15 +00:00
grant
9f4fe6c27d pass through -f flags that sunpro understands verbatim, drop other -f*
flags.
2005-08-18 05:04:49 +00:00
grant
0744c46196 drop -Wl,--export-dynamic, as Solaris ld(1) default behaviour is to
export all dynamic symbols.
2005-08-18 05:02:53 +00:00
dillo
c8597fd2b5 Don't add inet6 to PKG_DEFAULT_OPTIONS, it is a user settable
variable.  mk/defaults/obsolete.mk takes care of converting USE_INET6
to inet6 option.  Bug noted by schmonz.
2005-08-16 19:55:38 +00:00
jlam
151a84db64 Turn the location of the *.pc files in which the pkg-config wrapper will
look into a private variable _PKG_CONFIG_LIBDIR.  This variable should
*NOT* be settable by the user.
2005-08-16 13:32:00 +00:00
schmonz
0fec27d312 Add some to-do items. 2005-08-15 19:44:13 +00:00
jlam
9dcc7aa6ed Fix an annoying whitespace issue for 80 character-width displays. 2005-08-15 17:35:45 +00:00
jlam
33881f95e2 Alter the check-files target for ${PREFIX} to check for if files are
in ${PREFIX} but are not in the PLIST and also if files are in the
PLIST but not in ${PREFIX}.  We now flag both types of PLIST problems
as errors.
2005-08-15 17:33:31 +00:00
jlam
df250dd229 Minor nit... use ${.TARGET} instead of specifying the file name again
within a target.
2005-08-15 14:19:37 +00:00
rillig
60e46baa8e In print-pkg-size-this, initialize s before summing up all file sizes. This
results in "0" being printed for empty packages, which had been "" before.
Fixes PR 30955.
2005-08-15 13:05:18 +00:00
rillig
6f9f44642c Reordered the conditions of checking for .tar files in DISTFILES to improve
readability.
2005-08-15 12:57:07 +00:00
rillig
fee89c334d Reverted the change from revision 1.1710, which sorted all DEPENDS and
BUILD_DEPENDS alphabetically. Some packages depend on the
first-come-first-serve order.
2005-08-14 19:52:26 +00:00
kristerw
493773dd73 The check-files-post need to be done before post-install-script,
to prevent errors from pacakes using e.g. CONF_FILES.
2005-08-14 17:26:13 +00:00
dillo
f955669449 Convert sun-jre14 and sun-jre15 to use the options framework. 2005-08-13 11:25:14 +00:00
grant
6cd103ed89 transform -Wl,-soname to -h for sunpro 2005-08-13 06:37:18 +00:00
jlam
4a315577b1 Don't use the same inclusion guard as fam/buildlink3.mk. "Duh." 2005-08-12 15:33:15 +00:00
cube
38e162ab6a Change the order of libraries looked for, and start with libdb1 instead of
libdb.  A (obviously braindead) system might ship with a correct libdb1 and
a frivolous libdb.  I'm speaking of RedHat, of course.

But anyway, it makes more sense, libdb1 just can't be anything but a db1
library.

OK'd by jlam@.
2005-08-11 20:25:20 +00:00
jlam
22dd66aade Add a buildlink3.mk file that will choose between the two FAM
implementations -- SGI FAM and GNOME gamin.
2005-08-10 21:10:54 +00:00
jlam
7820875fff Remove the abuse of buildlink that was pkg-config/buildlink3.mk. That
file's sole purpose was to provide a dependency on pkg-config and set
some environment variables.  Instead, turn pkg-config into a "tool"
in the tools framework, where the pkg-config wrapper automatically
adds PKG_CONFIG_LIBDIR to the environment before invoking the real
pkg-config.

For all package Makefiles that included pkg-config/buildlink3.mk, remove
that inclusion and replace it with USE_TOOLS+=pkg-config.
2005-08-10 20:56:10 +00:00
kristerw
7af58065d9 Move the check-files-post check so that it is done after the automatic
manual page handling.  This prevents the check from reporting errors
for manpages that are (un)compressed by the automatic manual page handling.
2005-08-10 18:21:07 +00:00
jlam
35be7aab3b If we need imake, then also pull in any other tools that imake needs to
work.
2005-08-10 16:28:59 +00:00
jlam
1a4f92a3d5 Fix a cut-and-paste bug. 2005-08-10 06:08:48 +00:00
jlam
3bb5f20078 No version of FreeBSD has /usr/bin/shlock. 2005-08-10 02:57:32 +00:00
xtraeme
a386e5f916 Set TOOLS_PLATFORM.shlock only if exists the binary on /usr/bin,
reported by Lars Nordlund via tech-pkg@.
2005-08-08 21:43:35 +00:00
veego
51a055db51 Restore the @(..)s which were removed in rev 1.1706.
They are needed in the fetch-list case to prevent outputting anything if
the distfile is allready in $DISTDIR.
2005-08-08 15:38:19 +00:00
wiz
c986248950 Remove variable which is not needed any longer after wxGTK update. 2005-08-07 16:37:11 +00:00
abs
dc52980e11 At least on NetBSD 2.0 i386 postgres80 is currently installing
lib/libecpg.so.5.0.0 not lib/libecpg.so.5.0
2005-08-06 23:01:19 +00:00
jlam
86f9268481 Update lang/perl5 to 5.8.7. Changes from version 5.8.6 include updates
for many "core" modules, UTF-8 and Unicode bugfixes, and ithreads
bugfixes.

The major changes are in the pkgsrc infrastructure to handle Perl and
Perl modules.  All pkgsrc-installed Perl modules are now installed in
"vendor" directories, and the perl interpreter has been modifed to
search for libraries in the following order: site, vendor, perl.  The
Perl library is stored in a directory that is named for the Perl ABI
version associated with the Perl release, so any updates of Perl to
newer versions can be done "in-place" as long as Perl ABI version
remains the same.  All Perl scripts and man pages are stored in
locations that won't conflict between site, vendor, and perl modules,
and a new utility perllink(1) now manages symlinks to those scripts
and man pages under the usual ${LOCALBASE}/bin and ${LOCALBASE}/man/man1.

PERL5_SITEPREFIX may be set to the prefix where local, site-specific
modules will be installed, e.g. PERL5_SITEPREFIX=/usr/local.  Note
that modules installed here are completely unmanaged by pkgsrc.

Update the buildlink and tool dependencies on perl to require perl>=5.8.7
to reflect the new locations for Perl modules and the Perl shared
library.
2005-08-06 06:18:44 +00:00
jlam
ca47ca0ada Hardcode a workaround for perl's DynaLoader.a which is definitely a
PIC code archive, but libtool isn't smart enough to realize it.  Munge
the name within cmd-sink-libtool into something that will make libtool
recognize it as a PIC code archive.  We unmunge it in arg-pp-main so
non-libtool wrappers see the right thing.  This let's us use libtool
to link applications with an embedded Perl interpreter.

I feel so dirty...
2005-08-05 19:46:41 +00:00
jlam
ed87597c3e PGSQL_USE_HIER is actually undefined or yes. 2005-08-05 18:20:15 +00:00
rillig
f3eae6da8c Fixed evaluation of the PKG_USERS and PKG_GROUPS variables. Noted by
martii on tech-pkg.
2005-08-05 07:06:47 +00:00
rillig
0c26db2d94 Bugfix for shells that don't allow "for i in ;", that is: an empty list. 2005-08-04 21:37:33 +00:00
rillig
408cdaea69 Some fixes for the Solaris shell. After set -- foo bar; set --; echo $#
outputs 2, but 0 would be expected. That means that the arguments to set
-- must never be empty. I added the necessary checks. I also used
for...done loops instead of set, as they are simpler and don't use
global variables.
2005-08-04 16:54:53 +00:00
rillig
17988cfcbd Replaced the shell substitution ${egfile#${PREFIX}/} with a shell
function that does the same. The Solaris /bin/sh does not know this type
of substitution. Now we could only have problems with /bin/sh which do
not know functions, but as we are using shell functions in many other
places, this should be fine.
2005-08-04 15:03:39 +00:00
xtraeme
f9f1bad67e Comment out citkit.sf.net, timeout-ing all the time for many people. 2005-08-02 14:19:13 +00:00
tonio
917282866d add description for the mutt-hcache option: enable header caching in mutt 2005-08-02 13:16:23 +00:00
reed
4b52aacba0 Fix typo. 2005-08-02 03:38:09 +00:00
reed
0ba4386344 Replace references of pkgsrc/mk/bsd.pkg.defaults.mk to
pkgsrc/mk/defaults/mk.conf.

This is from PR 30741 from anonymous AT example.net.
2005-08-02 00:23:31 +00:00
wiz
0bbe0f0493 USE_DB2 is not used any longer, remove it. 2005-08-01 15:39:50 +00:00
wiz
ca34417c57 Describe sendmail-socketmap. 2005-08-01 15:29:24 +00:00
wiz
1b85815c74 Another variable can be removed after the next branch. 2005-08-01 14:56:44 +00:00
wiz
4acf55d953 Add comment that USE_MILTER legacy handling can be removed after 2005Q3. 2005-08-01 12:19:37 +00:00
wiz
1ce099d619 Remove comment about obsolete TKPASMAN_USE_SSL variable. 2005-08-01 11:46:36 +00:00
wiz
4891041ece Remove comments for deprecated XCHAT_* variable. 2005-08-01 11:39:59 +00:00
wiz
cc21f95c54 Remove comments for deprecated IRSSI_* variables 2005-08-01 11:39:18 +00:00
wiz
e3990d3f87 Remove some legacy vars that were removed from pkgsrc before the previous branch. 2005-08-01 11:37:38 +00:00
wiz
96138e271e Document gnutls. 2005-08-01 11:35:29 +00:00
wiz
09404e9f06 USE_PAM is dead, remove comment about it. 2005-08-01 10:55:18 +00:00
rillig
58a77e42a8 I found the reason for the misbehaviour. This will result in a new
testcase (bug2) for regress/make-quoting.
2005-08-01 00:37:21 +00:00
rillig
ba01e9bcd6 Don't quote X11BASE using :Q. It had weird effects, including build
failure of audio/bmp. This needs to be investigated further. See the
comment in the file.
2005-07-31 23:54:04 +00:00
snj
3b32d21e19 Relax the glob in ${LOCALPATCHES}/${PKGPATH} to catch all files.
This is a return to the behavior that we had prior to revision 1.5.
2005-07-31 05:26:50 +00:00
grant
1420457a5e Solaris may have tbl(1) from the SUNWdoc package. avoids unnecessary
dependency on groff just for tbl(1) when available in the base system.

also, add .if exists() around nroff(1) because SUNWdoc is optional.
2005-07-31 05:24:52 +00:00
seb
b33a847bf3 No need to define TOOLS_PLATFORM.gtar for Darwin and Linux,
it is correctly defined in tools.Darwin.mk and tools.Linux.mk.
2005-07-30 00:38:56 +00:00
jlam
fcf2722f04 When using pkginstall to create INSTALL/DEINSTALL scripts to handle
config files, directories, rc.d scripts, etc., use relative paths as
much as possible to avoid hard-coding the ${PREFIX}-location in which
the files should be installed.  Where full paths are specified, if
the path is within ${PREFIX}, then automatically strip off the ${PREFIX}
part when creating the entries for the helper scripts.  Also, modify
the helper scripts to understand that relative paths should be considered
to be relative to ${PKG_PREFIX}.
2005-07-29 21:41:04 +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
wiz
5828577e4c Document three more options. 2005-07-28 19:20:29 +00:00
jlam
f183b1ebf2 Add an inclusion guard for parts of x11.buildlink3.mk that we don't
want to be seen over and over again each time that file is included.
This stops us from appending the same bits over and over again to
CONFIGURE_ARGS and to X11_LDFLAGS.
2005-07-28 16:20:52 +00:00
dillo
c9294e90d1 Fix some more typos, noted by Leonard Schmidt. 2005-07-28 15:17:55 +00:00
wiz
d9cabf9515 There is no openldap option any longer. 2005-07-28 14:58:57 +00:00
wiz
ea2c5caa6e Describe some more options. 2005-07-28 14:48:28 +00:00
wiz
a6c70eb6d7 Fix typo in comment, from Leonard Schmidt via tech-pkg. 2005-07-28 13:22:08 +00:00
wiz
5adb1051a7 Fix swapped words, found by Leonard Schmidt via tech-pkg. 2005-07-28 13:20:13 +00:00
wiz
5f42cf4ff3 Start documenting variables. 2005-07-28 13:07:17 +00:00
wiz
c11b669072 Sync sourceforge mirror list with reality. 2005-07-28 13:07:03 +00:00
grant
91a2d8e88e fix some non-portable statements, allowing this to work properly
on Solaris.
2005-07-28 00:37:43 +00:00
jlam
3de5d86818 Rewrite scripts to be more resilient to shells that exit immediately
if an untested command fails (see sh(1), "-e errexit").  Do this by
changing lines that look like:

	test expression && command
to
	test ! expression || command

so that the statement list always returns 0.  Also, back out revision
1.38 of pkgsrc/mk/install/install and modify the if-test to branch
correctly if +USERGROUP doesn't exist.
2005-07-27 16:18:54 +00:00
tron
95f029e269 Rewrite the code handling user and group creation so it will not fail if
no user or group needs to be created. This fixes PR pkg/30849 by myself.
2005-07-27 11:54:03 +00:00
jlam
5c44ecc864 Avoid creating unnecessary +* scripts, e.g. if no PKG_USERS or PKG_GROUPS
are specified, then don't create +USERGROUP, etc.
2005-07-27 04:55:43 +00:00
jlam
4e9386339e Provide a "pod2man" tool used by some packages to build man pages.
Based on suggestion by Matthias Drochner.
2005-07-26 20:00:50 +00:00
dillo
228b1f9528 Fix typos in last, noted by wiz. 2005-07-26 16:09:34 +00:00
dillo
a6f3882d40 Add support for sets of options where at least one option from each
set must be selected, requested and reviewed by wiz:

PKG_OPTIONS_NONEMPTY_SETS
       This is a list of names of sets of options.  At
       least one option from each set must be selected.
       The options in each set are listed in
       PKG_OPTIONS_SET.<setname>.  Options from the sets
       will be automatically added to PKG_SUPPORTED_OPTIONS.
2005-07-26 09:00:42 +00:00
grant
b1f57c9784 icc 9.0 wants the same options as 8.1. 2005-07-26 07:36:54 +00:00
jlam
1465d7a6cc We only need to recognize TOOLS_IGNORE.* in the case where the tool
is pkgsrc-supplied.  In other cases, e.g. using the system tool,
falling back toS the system tool, etc., we should still create wrappers
and set "TOOL" variables.
2005-07-25 21:51:19 +00:00
grant
89cfcef364 fix typo in comment. 2005-07-23 04:48:12 +00:00
grant
a457387735 ensure gcc options are always passed to imake when using gcc on
Solaris.

fixes PR pkg/29608.
2005-07-23 04:45:30 +00:00
grant
69a5927260 s/planetmirror.com/planetmirror.com.au/ for suffix sorting 2005-07-23 04:37:39 +00:00
rillig
4b97388467 Sort the dependencies list alphabetically when checking if they are
installed. That makes it easier to check if a specific package is listed
or not.
2005-07-22 18:59:55 +00:00
wiz
6f2cc0ddcb Describe ggi option. 2005-07-21 15:21:41 +00:00
dillo
426c6f2957 Replace GECKO_PROVIDER with option group. New options are firefox
and mozilla.  Backwards compatibilty is provided.

Reviewed by wiz.
2005-07-21 13:11:42 +00:00
wiz
104f2884ab Do not list all licenses. Mention that packages
for which you need to accept a license will display the necessary information.

ok gdt@.
2005-07-21 12:28:30 +00:00
jlam
9ad4901b2f databases/db/buildlink3.mk was changed a long, long time ago to use
"db2" as the "BUILDLINK_PACKAGES" variable.  Drop the use of
_BDB_PKGBASE.*.  This fixes the settings for BDBBASE and BDB_LIBS if
BDB_DEFAULT is "db2".
2005-07-21 02:54:51 +00:00
grant
aa28d4e53a some packages expect "-Wl," immediately before flags to be passed to
the linker, set _COMPILER_RPATH_FLAG accordingly. "-Wl," is removed by
the sunpro compiler wrapper where necessary.

fix comment for _LINKER_RPATH_FLAG while here.

this fixes, among other things, apache modules built with apxs.
2005-07-21 01:36:25 +00:00
schmonz
d6a2862923 Remove the stanza to create ${RCD_SCRIPTS_EXAMPLEDIR} from the
install-rcd-${_script_} target; it gets created by mtree now.
2005-07-20 02:51:59 +00:00
schmonz
4a0a36c00f Add "share/examples/rc.d" to mtree specs, both because
RCD_SCRIPTS_EXAMPLEDIR has been fixed to this value for a while,
and because it ought not to be emitted by the print-PLIST target.
(Individual packages can't expect to be able to completely remove
this directory on deinstall, as it often has other packages' rc.d
scripts in it.)
2005-07-20 02:41:33 +00:00
jlam
40b99e5f80 Tools that are marked with ":pkgsrc" are needed very early on, probably
too early for pkgsrc to adequately cope.  In this case, imake-check.mk
was marking "imake" as a tool that was used to perform some tests.
This was causing xpkgwedge to be unnecessarily marked as a build
dependency since using imake in pkgsrc pretty much requires xpkgwedge.
However, in the case where we are running the "imake checks", we don't
need xpkgwedge around.

Solve this issue by marking all the tools in imake-check.mk with
":pkgsrc", and modify the xpkgwedge dependency test to not care about
"imake:pkgsrc".
2005-07-19 23:01:55 +00:00
jlam
6af048ffa5 Don't bother defining a temporary _PKGSRC_USE_TOOLS variable that doesn't
actually increase readability by much.
2005-07-19 22:31:01 +00:00
schmonz
281274387b Distinguish options specific to each of the following packages:
djbdns, ezmlm, qmail.
2005-07-19 19:42:36 +00:00
gdt
dfc7067f8c Note that OSI/FSF approved licenses do not require a LICENSE variable,
clarifying from definition by example.
2005-07-19 17:31:42 +00:00
wiz
3db360a471 Remove shareware license type; it was ill-defined, and no package still uses it. 2005-07-19 15:31:09 +00:00
dillo
f3e77304f9 Also print deprecated warnings in show-options target. 2005-07-19 10:30:22 +00:00
dillo
6701dc8ba7 PKG_OPTIONS_LEGACY_OPTS: only issue deprecated warning if the old
option is used.  Noted by adrianp.
2005-07-19 09:28:50 +00:00
jlam
11577c4d6a There is a new variable TOOLS_VALUE_GNU.<tool> for each tool that is the
value passed via the shell environment to the GNU configure script for
each of the "GNU" variables names for the tool.  It defaults to the full
path to the real tool so that these may be safely embedded in scripts
and config files.

One exception is the value for YACC when we use bison.  In that case,
pass YACC="bison -y" to the configure script so that we will invoke
bison in yacc-compatibility mode.
2005-07-19 04:18:51 +00:00
jlam
c6bbbf9c86 Whitespace fix. 2005-07-19 03:01:13 +00:00
jlam
4f9ec32e34 Avoid trailing spaces in TOOLS_<TOOL> values if TOOLS_ARGS.* is empty. 2005-07-18 21:40:55 +00:00
schmonz
16fcb4f82a Configure conf-bg{incs,libs} files, if they exist. 2005-07-18 18:26:47 +00:00
schmonz
486d7d3121 Describe althash, badrcptto, bigdns, darwin, ignoreip2, netqmail,
outgoingip, qregex, realrcptto, sasl, starttls, syncdir, tinydns64,
tls, viruscan. Remove nullenvsender (obsolete).
2005-07-18 17:05:19 +00:00
wiz
4fc6c1af9c Add an aalib option to mplayer. Patch from Leonard Schmidt on tech-pkg. 2005-07-18 12:07:32 +00:00
jlam
6f766967b6 Export a new variable TOOLS_CMDLINE_<TOOL> that holds the full command
line (path and arguments) needed to run the real tool.

Modify TOOLS_<TOOL> to hold only the path to the real tool.

Modify falcons-eye/Makefile and qt3-libs/Makefile.common to use
TOOLS_CMDLINE_YACC instead of TOOLS_YACC to that they'll use "bison -y".
2005-07-18 02:33:27 +00:00
jlam
056c186787 Rename variable: TOOLS_CMDLINE.<tool> => TOOLS_SCRIPT.<tool> to better
reflect the possible variable contents.
2005-07-17 23:19:04 +00:00
jlam
eb1a0153f2 Back out previous... the value will be exported in a different way. 2005-07-17 22:12:08 +00:00
jlam
af0d1a3145 Export a new variable "TOOLS_<TOOL>_PATH" that holds only the path to the
tool.  This variable is defined if <TOOL> is defined for that tool (see
tools/defaults.mk) and TOOLS_PATH.<tool> is set.
2005-07-17 22:07:49 +00:00
jlam
2f9e01f9ca Rename the following variables for brevity:
TOOLS_REAL_CMD.<tool>		=> TOOLS_PATH.<tool>
	TOOLS_REAL_ARGS.<tool>		=> TOOLS_ARGS.<tool>
	TOOLS_REAL_CMDLINE.<tool>	=> TOOLS_CMDLINE.<tool>
2005-07-17 21:36:24 +00:00
jlam
84e1bc1cb5 Redo workaround in revision 1.111. We now use a loop to copy one list
to another.  This appears to fix whatever hidden bug a bit more
completely.  "make show-var VARNAME=RM" in pkgsrc/x11/kdepim3 no longer
returns an empty value.

XXX I still have no idea why this "fixes" the problem.  I can't seem to
XXX create a test case that exposes this problem.
2005-07-17 20:51:04 +00:00
ben
af63d72ec7 Fix the following error:
Can't use an undefined value as an ARRAY reference at mk/bulk/post-build line 470.

In the case that no packages were broken, getBroken returns a hash
without the key "topten".  When Perl tries to use that undefined value
as an array reference, it croaks.
2005-07-17 13:38:01 +00:00
jlam
4032855bac Override the INSTALL setting in sys.mk that messes up the rest of the
logic in the tools framework.
2005-07-17 04:17:09 +00:00
jlam
b563e8eb9b There is still one small but important distinction between some of the
tools listed in USE_TOOLS -- some of them are required by the pkgsrc
infrastructure in variable assignment statements that look like:

    VARIABLE!=	${AWK} ...

These tools are actually *required* by pkgsrc to be installed on the
system before it can even work (bootstrap situation).  For these tools,
only override the "TOOL" name representing the tool if we're really
using the pkgsrc version of the tool.

We accomplish this by adding a new :pkgsrc modifier that is appended
to these tools listed in USE_TOOLS.  We also list these tools in
bsd.prefs.mk so that all packages pick them up fairly early on.
2005-07-16 22:33:18 +00:00
jlam
e6ab9808fa Changing := to = here fixes a bug seen in x11-links where _USE_TOOLS
was empty.

XXX I have no idea why this fixes the problem.
2005-07-16 05:34:59 +00:00
jlam
3e474a90d8 Get rid of USE_PERL5. The new way to express needing the Perl executable
around at either build-time or at run-time is:

	USE_TOOLS+=	perl		# build-time
	USE_TOOLS+=	perl:run	# run-time

Also remove some places where perl5/buildlink3.mk was being included
by a package Makefile, but all that the package wanted was the Perl
executable.
2005-07-16 01:19:06 +00:00
jlam
e26a9ed756 Drop support for TOOLS_DEPMETHOD.<tool>. The new way to specify a
run-time dependency (DEPENDS) on a tool is to append a ":run" modifier
to the tool name, e.g.,

	USE_TOOLS+=	perl:run

Tools without modifiers or with an explicit ":build" modifier will
cause build dependencies (BUILD_DEPENDS) on those tools to be added.
This makes the notation a bit more compact.
2005-07-15 20:14:02 +00:00
jlam
bf9129c41e Drop distinction between PKGSRC_USE_TOOLS and USE_TOOLS by making
PKGSRC_USE_TOOLS go away.  There is now only a single USE_TOOLS variable
that specifies all of the tools we need to build/run the package.
2005-07-15 18:27:48 +00:00
dillo
d49aa07269 document option jasper 2005-07-14 14:58:01 +00:00
dillo
127b28630b sort 2005-07-14 14:57:07 +00:00
rillig
2649c7e107 Removed superfluous "--" arguments from the command line, as the
argument following the "--" is guaranteed not to start with a dash.
Fixes pkg/30362.
2005-07-13 22:07:46 +00:00
sketch
81b91a7151 Document UNPRIVILEGED and default to NO so that it can be used by the
bulk build scripts.
2005-07-11 11:35:21 +00:00
jlam
7ab7ea45ee "imake" may be defined in PKGSRC_USE_TOOLS instead of USE_TOOLS, so add
any IMAKE_TOOLS in that case as well.
2005-07-08 13:43:47 +00:00
jlam
222936ee6b MacOS X 10.[34] have /usr/bin/shlock (from <schmonz>). 2005-07-07 21:29:11 +00:00
rillig
6474b33a62 Added the gcc option -fpermissive to the list of options that are ignored
by the SunPro compiler.
2005-07-06 14:29:04 +00:00
reed
c3c7946905 For the fetch-list target: Do not use mkdir if just creating a shell
script that will make the directory later. This fixes the problem
where it fails when doesn't have write access -- for example use
"make fetch-list" to create the shell script to use on another
system.

Thank you, Geert Hendrickx, for your feedback.

Also in a few places echo ${fetchfile:T} instead of ${fetchfile}.

(Todo: maybe should not say "not fetched" until has tried all sites.)
2005-07-06 05:52:34 +00:00
grant
597263b97a update copyright year 2005-07-06 03:35:28 +00:00