Commit graph

4454 commits

Author SHA1 Message Date
dillo
7f874cf6f0 add support for groups of mutually exclusive options via
PKG_OPTIONS_REQUIRED_GROUPS and PKG_OPTIONS_OPTIONAL_GROUPS.
2005-06-02 20:38:09 +00:00
wiz
efadf7d13f Improve quoting. 2005-06-02 19:33:56 +00:00
wiz
b5070a4fd2 Remove obsolete PINFO* variable. 2005-06-02 18:30:42 +00:00
wiz
041e760873 Document pinfo options. 2005-06-02 18:30:25 +00:00
wiz
359d40ead8 Remove obsolete W3M* variables. 2005-06-02 18:24:56 +00:00
wiz
e8b75f2a7d Document w3m options. 2005-06-02 18:24:29 +00:00
wiz
5c086d4305 Remove obsolete GOLEM_WITH_SOUND variable. 2005-06-02 18:10:48 +00:00
wiz
bcc7ade370 Add an article. 2005-06-02 18:10:13 +00:00
wiz
e36bf04565 Remove obsoleted MPLAYER_* variables. 2005-06-02 16:10:53 +00:00
wiz
7f0aa6e905 Remove obsolete blender options. 2005-06-02 14:16:02 +00:00
wiz
5f6c56480d Describe blender options, and sort. 2005-06-02 14:15:19 +00:00
abs
4c051b2ece Allow USE_JAVA2 to (optionally) be set to 1.4 or 1.5, and use in tomcat55 2005-06-02 10:07:48 +00:00
tron
286d96e77f Test whether "_TOOLS_USE_PKGSRC.perl" is defined before checking its value.
This makes "make fetch-list" in "pkgsrc/meta-pkgs/kde3" work again.
2005-06-02 09:31:25 +00:00
dillo
496c3feff5 remove obsolete variable BATTLEBALL_USE_MESA 2005-06-01 21:30:18 +00:00
wiz
29e4dbe4d2 Remove two obsolete QPOPPER variables. 2005-06-01 21:14:46 +00:00
wiz
74bb463639 Document some more options. 2005-06-01 21:13:24 +00:00
wiz
7454574067 Remove USE_MMX section; all USE_MMX users have been converted
to the mmx option.
2005-06-01 20:19:21 +00:00
jlam
fcb7da800b Remove mk/autoconf.mk and mk/automake.mk and replace their usage with
USE_TOOLS and any of "autoconf", "autoconf213", "automake" or
"automake14".  Also, we don't need to call the auto* tools via
${ACLOCAL}, ${AUTOCONF}, etc., since the tools framework takes care
to symlink the correct tool to the correct name, so we can just use
aclocal, autoconf, etc.
2005-06-01 20:07:59 +00:00
wiz
339d39213e Document mmx. 2005-06-01 19:43:29 +00:00
wiz
cdf354a376 Remove obsolete ATERM variables. 2005-06-01 19:40:22 +00:00
wiz
d4eccad746 Document aterm options. 2005-06-01 19:39:58 +00:00
wiz
8aaaeb0bb0 Describe lprng-* options. 2005-06-01 18:54:20 +00:00
wiz
5b1d5367f3 Remove obsolete LPRNG* options. 2005-06-01 18:52:32 +00:00
jmmv
cbe4100202 Convert the mplayer* and mencoder* packages to the options framework.
This means that the MPLAYER_ENABLE_RUNTIME_CPU_DETECTION,
MPLAYER_DISABLE_DRIVERS and MPLAYER_USE_MEDIALIB become deprecated
(although still recognized).

Visible changes in the resulting binary packages should be minimum by
default (everything that was enabled before still is, and the same
dependencies are kept).  A notable addition, though, is the support for
user-defined menus, closing PR pkg/29784.

Also note that (almost) all dependencies have now a corresponding option
to disable them in case you want to get a minimalist mplayer package.
'make show-options' is your friend ;)

With thanks to wiz@ and dillo@ for their comments and help.
2005-06-01 18:45:45 +00:00
wiz
596cf2a5ae Remove ipv6 -- use inet6 instead. 2005-06-01 18:23:57 +00:00
wiz
96a7a5307e Recognize inet6 in PKG_SUPPORTED_OPTIONS as an indicator
that a package support IPv6 (for the README-IPv6.html generation).
2005-06-01 18:16:20 +00:00
jlam
05db0b4f12 Turn IMAKE_MAKE into a public variable that may be set via /etc/mk.conf. 2005-06-01 18:14:23 +00:00
jlam
95fd1f6ec9 Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.
Several changes are involved since they are all interrelated.  These
changes affect about 1000 files.

The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk.  bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files.  Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred.  This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.

The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages.  Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc.  This modification is a nod toward LOCALBASE=/usr.  The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.

The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc.  The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.

The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files.  Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories.  These files are used as input
to imake since imake can't use stdin for that purpose.

The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead.  This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed.  Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries.  Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
2005-06-01 18:02:37 +00:00
jlam
d811860c7b *.makevars.mk doesn't exist until after ${WRKDIR} is created, which
doesn't happen until after the package is extracted.  Prior to
extraction, cache the variables named in MAKEVARS using MAKEFLAGS
instead.  This avoids invoking each expensive computation up to four
times before it gets cached.  For packages that include lots of
buildlink3.mk files, this saves a lot of CPU time.
2005-06-01 17:27:22 +00:00
jlam
a72cd1c453 Include bsd.makevars.mk in bsd.prefs.mk instead of bsd.pkg.mk. This
allows the saved make variables to be re-set whenever bsd.prefs.mk is
included, and is a shortcut for the common case where a Makefile
includes both.
2005-06-01 17:05:19 +00:00
wiz
fdfab0ae03 Remove obsolete DELIVER_SUID. 2005-06-01 14:45:35 +00:00
wiz
eaf372f7d1 Document deliver-suid. 2005-06-01 14:45:25 +00:00
markd
81c0cfd0d0 OpenWindows imake installs manual pages to different locations than
where the XFree86/xorg ones do.
2005-06-01 14:27:12 +00:00
markd
8ddab030e4 On NetBSD, OpenBSD and BSDOS imake always installs man/catN pages with
a "0" suffix.
2005-06-01 14:23:07 +00:00
dillo
b05a793493 fix bug in legacy vars handling for option names containing `-',
found by jmmv.
2005-06-01 13:40:14 +00:00
jlam
4631a73a95 Separate out the logic to include the correct <phase>.makevars.mk file
into a new file bsd.makevars.mk that can be included by other Makefiles.
2005-06-01 03:04:16 +00:00
wiz
baee768fc0 Remove obsolete GIMP_HELPBROWSER option. 2005-05-31 22:26:45 +00:00
wiz
85b5f6a9e1 Describe gimp1-helpbrowser 2005-05-31 22:26:28 +00:00
wiz
ec9d5ddd47 Document irssi-perl. 2005-05-31 21:58:45 +00:00
jlam
54de37e60e Convert USE_GNU_TOOLS into USE_TOOLS as the former is no longer supported
in pkgsrc.
2005-05-31 21:53:26 +00:00
wiz
76c821aa28 Suggest pam instead of PAM as USE_PAM replacement. 2005-05-31 21:50:56 +00:00
wiz
dcdac2f761 Remove some obsolete variables. 2005-05-31 20:01:00 +00:00
jmmv
33a592167e PKG_FAIL_REASON must be (double-)quoted to achieve the correct output. 2005-05-31 18:25:37 +00:00
wiz
9091e5cb6a Remove obsolete BITCHX_WITH_GTK variable. 2005-05-31 16:37:30 +00:00
wiz
ea4137d54e Describe inet6 option, and standardize oss description a bit. 2005-05-31 16:28:29 +00:00
wiz
cf1cb4f409 Add oss and its description. 2005-05-31 16:13:04 +00:00
wiz
e313f31d70 Remove legacy lame option. 2005-05-31 16:05:09 +00:00
wiz
985d98eb1c Describe gtk option. End gqmpeg options with a dot,
like the others.
2005-05-31 16:04:20 +00:00
wiz
8dfa9a3aa9 Show a deprecated warning even if the deprecated variable is set to
something other than [yY][eE][sS].
If a deprecated warning is defined, interpret it as YES (because some
variables in defaults/mk.conf have defined/not defined as yes/no).

Reviewed by dillo.
2005-05-31 16:03:41 +00:00
drochner
c443a4ee63 add a variable "GECKO_PROVIDER" which tells whether firefox or mozilla
is to be preferred when a pkg wants to embed the browser
defaults to "firefox" because this is smaller and better maintained
per jmmv's recommendation
2005-05-31 15:42:04 +00:00