Commit graph

4608 commits

Author SHA1 Message Date
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
grant
ec6f7fe9a7 add cmd-sink for sunpro C++ which links shared libraries with the
standard C++ runtime libraries.

we need to explicitly do this because ${CXX} only links against the
C++ runtime libraries when building an executable, not a shared
object. this results in executables linked against libraries linked by
${CXX} unable to resolve C++ symbols at runtime.

fixes packages which link shared libraries using ${CXX}, including
graphics/glu, databases/db4, and packages which use shared libraries
provided by these packages.
2005-07-06 03:31:24 +00:00
grant
14b4d18530 ignore more gcc-specific arguments:
-fomit-frame-pointer
	-fwriteable-strings
	-traditional
2005-07-05 08:45:25 +00:00
grant
669abfdb53 sunpro needs the -mt -lpthread arguments for POSIX threads according
to cc(1). modify the -pthread transform accordingly.
2005-07-04 09:48:31 +00:00
tv
b851e4027d Set _OPSYS_LIBTOOL_REQD to 1.5.18nb4. 2005-07-03 19:04:10 +00:00
adam
55147a3c4e Cosmetics (so pkglint does not complain) 2005-06-30 12:52:12 +00:00
jmmv
4bb60182ea Add hy locale, initially used by gnome-panel 2.10.2. 2005-06-29 09:29:36 +00:00
rillig
cd217d9e1f Fixed the quoting. The shell is hard-coded to /bin/sh instead of relying
on which(1). Correctly pass all arguments (even the first one) to the
build script. See PR 30362 for details.
2005-06-27 18:37:22 +00:00