Commit graph

3378 commits

Author SHA1 Message Date
wiz
2d7f64ccf3 Add VICE_USE_FFMPEG switch to enable ffmpeg support in vice.
Document it in bsd.pkg.defaults.mk.  Defaults to "no".
PKGREVISION not bumped since package does not change (by default).
2004-05-25 21:51:42 +00:00
xtraeme
9461692df5 Add ${X11BASE}/bin to the PATH when USE_IMAKE is used, without objections
in tech-pkg@.
2004-05-24 20:54:12 +00:00
jschauma
f59839502b Introduce and use three new variables:
LEAFNODE_DATA_DIR, LEAFNODE_USER and LEAFNODE_GROUP, to be used by leafnode
to specify the data dir, the user and the group, defaulting to 'news'.
Note: the default is the same as for inn.
Pointed out by Georg Schwarz in mail to tech-pkg.
2004-05-23 16:01:49 +00:00
jmmv
6dda30f393 Lets be pkgviews friendly: create the bin directory when installing wrappers. 2004-05-23 10:29:43 +00:00
jmmv
7aa73ae308 Let a package specify which is the real binary for each wrapper (by setting
JAVA_WRAPPER_BIN.<wrapper-name>), in case it differs from the default.
For example, sablevm does not install a 'java' program with that name, so
adding 'java' to JAVA_WRAPPERS couldn't DTRT.
2004-05-23 10:19:28 +00:00
jmmv
37aec7aa72 Initial addition.
This file provides a framework to easily create wrappers to run Java
environments (either compilers or virtual machines) installed under
${PREFIX}/java/<implementation>.  These wrappers hide the complexity
of having to modify the path, unlimit resources or to set a correct
CLASSPATH for the program to run.
2004-05-22 21:13:17 +00:00
cl
45fe3da9df add XEN12_USE_COM2 option to switch Xen console on com port2 2004-05-22 19:09:53 +00:00
jschauma
4b0427bd64 Introduce and use two new variables:
INN_USER and INN_GROUP, specifying the username and groupname to be used
by inn, defaulting to 'news'.
Noted by Georg Schwarz in mail to tech-pkg.
2004-05-22 18:58:29 +00:00
jschauma
5419c918f3 Follow Grant's advice: use _OPSYS_GPATCH_REQD to influence _NEED_PATCH
and let tools.mk take care of the rest.
2004-05-19 03:26:09 +00:00
jschauma
7384d31eb1 We have a variable _OPSYS_GPATCH_REQD, but it doesn't do anything.
Change that:  if it's set to YES, require devel/patch.  If building
devel/patch, set _OPSYS_GPATCH_REQD to NO, as otherwise we have a
circular dependency.
2004-05-19 01:27:03 +00:00
seb
00cc0486ea Garbage collect BUILDLINK_PKGBASE.<pkg> from buildlink3: it is not anymore
used since revision 1.139 of mk/buildlink3/bsd.buildlink3.mk.
2004-05-17 21:32:33 +00:00
jlam
9dc812c039 libtool archives don't start with '-', so don't match those, which are
probably options to the compiler.
2004-05-17 10:37:57 +00:00
jlam
6bb0a14e5a Check that MABIFLAG is defined before checking that it's non-empty. This
avoids breakage if MABIFLAG isn't defined.
2004-05-17 05:33:08 +00:00
jlam
ffec0a5c18 Add a new package-settable variable, INSTALLATION_PREFIX, as discussed
with gavan@NetBSD.org at pkgsrcCon.

Within the pkgsrc infrastructure, LOCALBASE has two different meanings:

    (1) where the package being built should be installed, and
    (2) where to find previously installed packages.

Most instances of case (2) should be converted to use EVAL_PREFIX,
but there are some cases where this is impossible.  To resolve this,
we preserve LOCALBASE to mean (2) and we create a new variable
INSTALLATION_PREFIX to mean (1).

INSTALLATION_PREFIX is meant to be set some time before bsd.pkg.mk is
included, and provides the value for PREFIX if it's defined, e.g.

	NO_MTREE=               yes
	INSTALLATION_PREFIX=    /

	.include "../../mk/bsd.pkg.mk"

This allows us to remove all cases where PREFIX is explicitly set in
the package Makefile, e.g. Java VM packages, qmail, etc.
2004-05-17 04:44:44 +00:00
jschauma
6f7a52cca0 Allow use of 32bit gcc compiled from pkgsrc on 64bit Irix for a default
ABI of 64.
2004-05-17 03:12:46 +00:00
grant
5daeba1b33 update suggested CPAN mirror for Australia to mirror.aarnet.edu.au,
which is much more up-to-date than planetmirror.
2004-05-15 09:44:00 +00:00
reed
5adcc6fc9e Change date of when deprecated USE_GCC2, USE_GCC3, USE_PKGSRC_GCC,
USE_SUNPRO, USE_MIPSPRO variables would be removed. (According
to jlam@.)
mk/compiler.mk CVS:
----------------------------------------------------------------------
2004-05-12 21:49:39 +00:00
jschauma
10bc0c9d01 If ABI is set, LDFLAGS also needs the proper flag. 2004-05-12 21:31:50 +00:00
jschauma
e967e4dc7d Mention how SETGIDGAME and the other GAME vars are set per default.
Add commented-out definitions for all OPSYS - please adjust.
2004-05-12 14:10:18 +00:00
wiz
ec3d725a1d No USE_BUILDLINK2 package sets USE_FORTRAN any longer -- convert support
to bl3 and remove f2c's buildlink2.mk file.
2004-05-12 13:23:08 +00:00
jschauma
b639c76d93 INSTALL_GAME should be exported a as BSD_INSTALL_GAME 2004-05-12 01:37:42 +00:00
jschauma
559a086093 Introduce new variables:
SETGIDGAME:  specifies whether or not certain games are installed setgid
GAMEGRP:     the group owning games if SETGIDGAME is set
GAMEOWN:     the user owning games if SETFIDGAME is set
GAMEMODE:    the mode to install games as

Use these to provide INSTALL_GAME (for example for PR pkg/25313), and
set them to meaningful values under NetBSD.
2004-05-12 01:03:58 +00:00
xtraeme
293f8ac314 Fix typo. 2004-05-10 00:11:14 +00:00
grant
fab441674d add mipspro-ucode to _COMPILERS which was missed the first time. 2004-05-09 00:04:14 +00:00
grant
f8cbf47c3e remove a word which shouldn't be there. 2004-05-08 23:46:20 +00:00
grant
9d57e1df1f correctly preserve the user-specified order of pseudo-compilers. patch
from jlam@.
2004-05-08 16:36:55 +00:00
reed
91e9b985e1 Rename NO_CONFIGURE_INFODIR to CONFIGURE_HAS_INFODIR (which defaults to
"yes"). So any packages that have old GNU configure script that
does not support --infodir option (while using INFO_FILES) can set
CONFIGURE_HAS_INFODIR=NO.

This was suggested by agc@ as a clearer definition.
2004-05-08 16:14:55 +00:00
grant
fd58cdf03c _PKGSRC_COMPILER needs to contain the real compiler first, then
pseudo-compilers such as ccache and distcc.

fixes problem where lang/gcc{,3} would be incorrectly pulled in when
it should not be.
2004-05-08 15:09:31 +00:00
grant
4f762fb0ce implement {NOT,ONLY}_FOR_COMPILER so that packages can be marked as
requiring a specific compiler (most often those which use gcc-specific
hacks^wfeatures).

this allows users to define PKGSRC_COMPILER to multiple real compilers in
order to implement a compiler preference. for example,
PKGSRC_COMPILER="sunpro gcc" will use sunpro as the default compiler,
and fall back to gcc where a package is marked NOT_FOR_COMPILER=sunpro
or ONLY_FOR_COMPILER=gcc.
2004-05-08 06:03:26 +00:00
reed
b1c2609f21 If using GNU_CONFIGURE then set --infodir to ${PREFIX}/${INFO_DIR}.
I have used this successfully to install over 300 info files
using INFO_DIR=share/info.

Also add new variable called NO_CONFIGURE_INFODIR (as suggested
by Greg Woods) because some autoconf-style configure scripts
don't know --infodir. (The alternative is to use HAS_CONFIGURE
and add the needed CONFIGURE_ARGS.)

Please note that the info tool may not find custom INFO_DIR
unless it is configure to know it. (I will update gtexinfo
for this, but if using native info you are on your own
if you customize this.)
2004-05-08 02:13:00 +00:00
jschauma
b02a7b431a Finally set _COMPILER_LD_FLAG.
(Not having this set caused various rpath related problems, as the compiler
was passed ' -rpath,/path' instead of '-Wl,-rpath,/path', leading to
a rpath of ",path", which of course wouldn't work.)
2004-05-06 14:25:02 +00:00
adam
f8281e3318 Use system maximum command line length 2004-05-06 06:32:22 +00:00
xtraeme
c7ff8b1ba1 Make sure buildlink3 file exists before trying to use it. 2004-05-05 16:47:12 +00:00
tv
1b983ac925 Use numeric uid/gid instead of Administrator/+Administrators, as native
language non-English versions of Windows name these accounts differently.
2004-05-05 14:37:21 +00:00
jschauma
44f433156b gcc can use -mabi=${ABI}, if ABI is set (for example on Irix).
(Includes ugly hack for ABI-inconsistency.  See also PR pkg/22571.)
2004-05-05 03:05:41 +00:00
snj
8aaf6bd8b4 No longer used. 2004-05-04 02:59:53 +00:00
danw
04e1556286 /usr/bin/cpp on darwin is a wrapper script that forces the
-traditional flag; you need to use "gcc -E" to get sane behavior.
Override sys.mk's definition of CPP in defs.Darwin.mk, and don't
re-override CPP in gcc.mk if ${OPSYS} == Darwin.
2004-05-04 00:11:23 +00:00
wiz
f4257e2c3a Unused. 2004-05-03 23:32:28 +00:00
wiz
6afb688fec Unused. 2004-05-03 16:10:07 +00:00
xtraeme
b98188d70a Add buildlink3 bits. 2004-05-02 20:30:44 +00:00
xtraeme
e1e5944f20 Rename GRUB_ISO9660 and GRUB_UFS2 to GRUB_USE_ISO9660 and GRUB_USE_UFS2
respectively, and document them in bsd.pkg.defaults.mk.
2004-05-02 20:04:36 +00:00
xtraeme
4512659f11 Rename ENABLE_CACHE option to JWHOIS_ENABLE_CACHE, and document it in
the defaults file.
2004-05-02 19:15:18 +00:00
tv
5f543a495d Add an explicit DEPENDS on xpkgwedge-1.10 if USE_X11BASE is defined
(as 1.9 is not good enough).
2004-04-30 19:45:29 +00:00
reed
9e271c2b3d No code change, but just indent two lines. 2004-04-30 04:22:02 +00:00
reed
9fd9f12d2f Use the shell's builtin echo instead of /bin/echo. 2004-04-30 04:16:37 +00:00
jschauma
aa6f4b3b90 On older IRIX systems, /usr/bin/awk is actually less functional than
/usr/bin/nawk.  On newer IRIX systems, the former is a symlink to the
latter.  So just always use nawk.  Pointed out by Georg Schwarz.
2004-04-29 20:07:48 +00:00
dmcmahill
5e1b3f9aca add missing -r option that the usage claimed existed. Noted by garbled@ 2004-04-29 02:23:26 +00:00
uebayasi
9a6b557834 * Bl3ify.
* Enable pkgviews installation.
* Obsolete PRIV_CONF_DIR and follow PKG_SYSCONFDIR, the standard.
2004-04-28 11:27:54 +00:00
tv
b3b780ea83 Add Autoconf overrides that prevent recognition of <poll.h> or poll(2). 2004-04-28 11:11:19 +00:00
tv
19a94159ac Add a new install macro INSTALL_LIB for use when installing libraries
(mainly intended for shlib use, but for homeful use on all libraries so
that currently static libs can be "provisioned" for future shlib use).
2004-04-27 22:35:47 +00:00