Commit graph

1246 commits

Author SHA1 Message Date
recht
b4268706cf Xrandr won't build without the X Extension library which is only present
in XFree86>=4.3; ignore it when checking dependencies or buildlinking.
Skip also randrext (Xrandr's header files) in this case.

The patch agains x11-links' builtin.mk is a slightly modified version of
the patch jlam@ posted in:
http://mail-index.netbsd.org/tech-pkg/2004/03/15/0001.html

ok'd by jlam@
2004-03-15 17:30:18 +00:00
tron
de6e90ca8f Fix recursive variable assignment. 2004-03-15 10:35:13 +00:00
jlam
cbf4f170bc builtin.mk file to hold information about the built-in X11R6
implementation.
2004-03-15 01:07:59 +00:00
jlam
fa037f0f75 Set USE_DIGEST=no to avoid checking and building a new digest package.
XXX This line should be removed once pkgsrc/bootstrap is up and running.
2004-03-13 21:00:19 +00:00
jlam
e949ebddbd Set USE_NATIVE_GCC in digest to avoid chicken-and-egg problem with
possibly depending on gcc.

XXX This should be removed after digest-handling has been changed to be
XXX done by BUILD_DEPENDS.
2004-03-13 19:38:26 +00:00
jlam
552d4662ff Solve a chicken-and-egg problem where pkgsrc uses newer features of
pkg_install, but older NetBSD installations, e.g. 1.5.3, won't support
them.  In this case, we explicitly use the native GCC compiler to
avoid problems with depending on pkgsrc GCC for building pkg_install.
2004-03-13 19:12:26 +00:00
grant
6a9f504b28 #if 0 out the __weak_alias stuff, which isn't needed here. should fix
build on OpenBSD ELF platforms.
2004-03-12 15:21:13 +00:00
reed
aaeb4475ce Add to DESCRiption: "It can be used as a file integrity checker." 2004-03-11 20:43:49 +00:00
sketch
4fa0de7b5c Solaris has fsid_t in sys/vfs.h, so include appropriately.
This gets the new pkgsrc bootstrap working on Solaris.
2004-03-11 18:35:29 +00:00
grant
95b42f0068 bump to 20040311 for Interix changes. 2004-03-11 14:11:31 +00:00
grant
e9479deda9 adding a file to cvs requires "cvs add". duh. 2004-03-11 14:11:04 +00:00
grant
8dcc56addb catch up with bootstrap-pkgsrc changes.
Just a comment doesn't seem to suffice in all cases.  For no-op commands,
use an explicit "true" invocation to avoid problems.  (A future merge of
current bmake may fix this issue.)
2004-03-11 13:33:57 +00:00
grant
361bc94452 catch up with bootstrap-pkgsrc changes.
- check for existence of fsid_t type, and typedef it if missing
- check for existence of struct statvfs.f_basetype field
- if <sys/mkdev.h> is included and makedev() is missing, try to use mkdev()
- add replacement library file for utimes() by wrappering utime()
2004-03-11 13:28:45 +00:00
grant
875ec1ebf8 catch up with bootstrap-pkgsrc changes.
Protect from multiple inclusion, in case system headers try to pull it in
(happens on Interix).
2004-03-11 13:17:34 +00:00
jlam
0190c06a95 Garbage collect USE_X11_LINKS, which was used solely to avoid
dependency loops, and which are now handled in a more general way
by bsd.buildlink3.mk.
2004-03-11 05:16:49 +00:00
jlam
d62c2888d0 Add a buildlink3.mk file for pkgtools/x11-links. This isn't meant to be
included manually by a package, but is intended for inclusion by
bsd.buildlink3.mk.  It will be used to avoid special-casing x11-links
when creating symlinks into the buildlink directory.
2004-03-11 00:50:14 +00:00
jlam
05cce146f3 Don't cat nonexistent files during the build. 2004-03-11 00:47:01 +00:00
minskim
099cdb48e5 bl3ify and enable pkgviews installation. 2004-03-10 22:54:47 +00:00
jlam
964efcc465 Catch up with removal of BUILDLINK_{IS,USE}_BUILTIN. 2004-03-10 18:35:32 +00:00
xtraeme
363fed6288 pkg_comp just works on NetBSD, so use ONLY_FOR_PLATFORM= NetBSD-*-*. 2004-03-10 13:32:39 +00:00
jlam
43fa93841c Update pkgtools/createbuildlink to 3.3. Changes from version 3.2 include
fixes to the whitespace in the generated files to more closely match the
template buildlink3.mk file.
2004-03-06 15:11:22 +00:00
jlam
50d94a7e2c Update pkgtools/createbuildlink to 3.2. Changes from version 3.1 include
creating buildlink3.mk that are in line with the template in revision 1.101
of mk/buildlink3/bsd.buildlink3.mk.
2004-03-05 19:42:06 +00:00
jlam
9ff0e10340 Reorder location and setting of BUILDLINK_PACKAGES to match template
buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.
2004-03-05 19:25:06 +00:00
jmmv
a104c813a1 Update to 1.2:
- Do not check for fnmatch(3) in the default configure script because we
  don't know beforehand if a package wants a GNU or a POSIX version of it.
  This fixes the build of, for example, diffutils.
2004-02-29 17:49:09 +00:00
jmmv
7e844bfa2c Update to 1.1:
- Fix detection of sys/mount.h in the default configure.ac script.
2004-02-24 22:00:46 +00:00
wiz
483d79750e Improve pattern matching for possible RCS Ids
to always check for a terminating dollar sign. Welcome to 3.68.
2004-02-23 12:33:29 +00:00
jmmv
369c1e3fc6 Prepend pkgtools to CATEGORIES. 2004-02-21 23:31:17 +00:00
jmmv
4a29bcb561 autoswc moved from sysutils to pkgtools. 2004-02-21 23:29:26 +00:00
jmmv
24c387b861 Reimport of autoswc, version 1.0, coming from sysutils:
autoswc is an utility that automatically generates system wide cache files
for use with configure scripts created by GNU autoconf, and specially by
those executed within pkgsrc.

Reason for the move: pkgtools' Makefile says this category is for packages
used within pkgsrc.  autoswc is specially designed to work for pkgsrc, so
it is better placed here.  And it may get more exposure ;-)
2004-02-21 23:28:32 +00:00
jmmv
c29536075d Create installation directories. Fixes PR pkg/24514. 2004-02-21 18:12:38 +00:00
jmmv
41d1ef3661 Update to 1.17:
- Recognize the PKGSRC_COMPILER variable and set it automatically in mk.conf.
- Add the REAL_CCACHE variable: if set, the directory pointed by it will be
  null-mounted inside the chroot in a place known by ccache to store the
  cache.  This is useful to keep it across rebuilds of the sandbox.
  Idea suggested by gavan@.
2004-02-21 13:08:31 +00:00
markd
8bcfe2a605 USE_LANGUAGES= # empty 2004-02-19 21:22:02 +00:00
tron
ba25819afd Update "rpm2pkg" package to version 2.0. Changes since version 1.3:
- added support for RPM archive compress with bzip2 as used by e.g.
  SuSE Linux 8.2.
- (hopefully) made portable
- rewrote ugly code for handling "-s" command line option
- converted source to KNF
2004-02-18 21:29:37 +00:00
jlam
b199b7e4d3 Update to x11-links-0.23: catch up with Xft2/buildlink3.mk changes. 2004-02-17 16:50:26 +00:00
jlam
c7ee88eb6d Update pkgtools/x11-links to 0.22. Changes from version 0.21 include
handling the built-in expat libraries and headers.
2004-02-17 08:26:25 +00:00
jlam
b4a03adcb9 Update pkgtools/x11-links to 0.21. Changes from version 0.20 include
catching up to changes to xcursor, Xrender, render, Xrandr, and randrext
by including their buildlink3.mk files.
2004-02-16 23:39:36 +00:00
wiz
389fe5621c Use more macros; fixes some warnings reported by tron. 2004-02-15 16:22:27 +00:00
simonb
9aef326f45 When checking for the <sys/mount.h> header, include <sys/param.h> if
it exists to stop a warning that comes from including <sys/mount.h> by
itself.

Fix from Love Hornquist Astrand in PR pkg/24419.
2004-02-14 04:47:13 +00:00
snj
b838585d87 s/independant/independent/ 2004-02-13 23:52:07 +00:00
abs
3b2576a43a We don' need no ... languages 2004-02-13 21:08:33 +00:00
jmmv
678d560818 Update to 1.16:
- Use WRKDIR_BASENAME instead of OBJMACHINE to get a unique name of object
  directories.  This way, multiple jails can use the same pkgsrc tree with
  write access and get the right obj links.
- Fix COPYROOTCFG.
2004-02-11 22:53:18 +00:00
grant
b03f3aa882 pass OPSYS and MACHINE_ARCH in the environmen, not CPPFLAGS. 2004-02-11 11:41:43 +00:00
grant
a680366537 just use ${OPSYS} and ${MACHINE_ARCH} from the environment. this means
we can set it in the environment if bootstrapping or have pkgsrc do it
for us.
2004-02-11 11:31:26 +00:00
jlam
145bef304a This package uses no compilers. 2004-02-10 23:53:33 +00:00
jlam
23e22dc805 This package uses no compilers. 2004-02-10 23:00:05 +00:00
jlam
1b2674fcd7 The BUILDLINK_DEPENDS.<pkg> lines should match between the buildlink3.mk
and any pre-existing buildlink2.mk files.
2004-02-10 20:45:01 +00:00
jlam
36a14d50db Update pkgtools/createbuildlink to 3.1. Changes from version 3.0 include
generating buildlink3.mk files that only append to BUILDLINK_DEPENDS.*.
2004-02-10 03:36:55 +00:00
jlam
57ec57613f PERL5_REQD is now a list of values, so append to its value instead of
setting it.
2004-02-10 02:22:49 +00:00
jlam
e72366f27c Cut-n-paste error. 2004-02-09 22:04:12 +00:00
jlam
1f2f352ee7 bsd.prefs.mk includes mk/compiler/gcc.mk indirectly, which invokes
${PKG_ADMIN}, so we need to not use "-K" with pkg_admin, too.
2004-02-09 22:01:51 +00:00
jlam
cd7f9542e7 Include bsd.prefs.mk after defining PKG_INFO so that we don't pass any
options to pkg_info while evaluating bsd.prefs.mk.
2004-02-09 04:52:10 +00:00
jlam
a1c40fc01e We no longer need to explicitly call ${BUILDLINK_*} for CC, CXX, LIBTOOL,
etc. because the bare variables will point to the correct executables.
2004-02-08 04:03:14 +00:00
grant
5addf651f7 use ${AWK} instead of awk. makes this work on Solaris. 2004-02-07 21:40:17 +00:00
grant
29fb945cb1 sync with NetBSD-current's pkg_install from 20040207. 2004-02-07 10:37:52 +00:00
wiz
5d85dac024 Fix sed call so that ${MAKE} including a path works. 2004-02-06 23:02:16 +00:00
jlam
7699290f10 If we're passing through MAKEFLAGS variables whose values may contain
spaces, use the :Q modifier instead of double-quoting the value.  This
avoids breakage when executing the just-in-time su targets.
2004-02-06 19:04:24 +00:00
abs
f7ed72c42e Remove 'USE_LANGUAGES=' as at least on my system 'make install' compiles up
something to check the shared library type.
(An entertaining way to pick up on issues seems to be to set CFLAGS to include
an argument not understood by the base compiler, such as '-march=pentium3')
2004-02-03 12:44:20 +00:00
jlam
8fb6f3f443 These packages don't use any compilers, so set USE_LANGUAGES to an empty
value.
2004-02-02 10:08:43 +00:00
jlam
c0f9cec15a This packages is just shell scripts, so set USE_LANGUAGES to an empty
value.
2004-02-02 10:06:22 +00:00
snj
e605029e68 It's "its" 2004-02-01 00:18:29 +00:00
snj
445af1efbf s/seperate/separate/; s/independantly/independently/;
s/dependancies/dependencies/
2004-02-01 00:07:56 +00:00
recht
d04d6737d8 Add missing extensions/extutil.h and bump version to 0.20.
This fixes the build of Xrandr.
ok'ed by wiz@
2004-01-31 21:58:52 +00:00
snj
0555bf0ada Put post-install message into MESSAGE, so that people using
PKGSRC_MESSAGE_RECIPIENTS will get a copy mailed to them.

Okayed by jmmv and wiz.
2004-01-29 22:25:06 +00:00
agc
157def92c1 Conditionally set DISTNAME, since this Makefile is included by the
pkgsrc/pkgtools/rdigest Makefile, which will end up with a PKGNAME of
digest-...  otherwise.  Noticed on bulk build output.
2004-01-26 21:26:53 +00:00
xtraeme
1d202088d2 Revert previous commit, it didn't work for binary packages. Noted by
Julio Merino.
2004-01-26 10:10:56 +00:00
xtraeme
8c9cfcd48d Add dependency on XFree86-libs if ${X11BASE}/include/X11/X.h doesn't
exists and we are using XFree86 packages from pkgsrc.
2004-01-25 07:43:54 +00:00
grant
c9cbc931c9 honour BINOWN and BINGRP.
from Min Sik Kim in PR pkg/24176.
2004-01-25 03:29:57 +00:00
jlam
a7d877ca6a Append to BUILDLINK_DEPENDS.<pkg> instead of setting a default value. In
the normal case when BUILDLINK_DEPENDS.<pkg> isn't specified, it receives
a value only once due to the multiple inclusion protection in the
bulldlink3.mk files.  In the case where a package includes several
buildlink3.mk files that each want a slightly different version of another
dependency, having BUILDLINK_DEPENDS.<pkg> be a list allows for the
strictest <pkg> dependency to be matched.
2004-01-24 03:26:45 +00:00
jmmv
1955870fa2 Update to 1.15:
- Automatic builds can now be interrupted at any time with CTRL+C and then
  resumed! (with 'auto resume' from the command line).
- MAKE_PACKAGES has been deprecated in favour of two new variables:
  BUILD_PACKAGES, which tells which packages to build after a 'makeroot'
  and AUTO_PACKAGES, used during the 'auto' target.
- MOUNT_SCRIPT and UMOUNT_SCRIPT have been deprecated in favour of MOUNT_HOOKS
  and UMOUNT_HOOKS, which take a list of shell functions or external commands
  to be executed.
- /pkg_comp is now symlinked to /p inside the chroot, to make paths simpler
  when working inside it (i.e., with the 'chroot' target).
- security/audit-packages is not installed any more inside the chroot by
  default.  This is not needed to get pkgsrc security checks working.
  The user can add it to BUILD_PACKAGES for a regular build.
- pkgtools/xpkgwedge is not installed any more during a 'makeroot'.  pkgsrc
  handles this automatically when needed, so we let it install the package
  for us.
- Ensure that libkver's library is preloaded when doing builds inside the
  chroot, so that packages get the right version number in them.
- When creating a template file, sort all variables alphabetically.
- Several miscellaneous changes in the code: simplification of syntax,
  addition of comments to functions, cleanup of messages...
2004-01-23 09:48:53 +00:00
grant
f0c1aba42f update to pkglint 3.67: catch deprecated USE_GMAKE. 2004-01-22 08:09:11 +00:00
agc
3ad1bdbf06 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:18:15 +00:00
jmmv
6ae89c5638 Convert to bl3 and allow pkgviews installation. 2004-01-19 13:38:28 +00:00
jlam
472aeffaeb Support pkgviews. 2004-01-19 13:07:48 +00:00
zuntum
9e20d6aff5 Nuke superfluous space 2004-01-18 20:45:42 +00:00
grant
208dcde535 we need to define OPSYS_NAME and MACHINE_ARCH to build this version of
pkg_install.
2004-01-15 01:40:13 +00:00
jlam
8a84165b29 Update pkgtools/pkg_install to 20040114. Changes from version 20040106
include:

* use ${MACHINE_ARCH} instead of what uname() puts into utsname.machine.
  the former represents the CPU architecture, which is what is recorded
  in binary packages; also allow the OS name to be overridden, as pkgsrc
  doesn't always use the value of utsname.sysname.

* allow adding depoted packages if another package with the same
  ${PKGBASE} is already installed as this is explicitly allowed for in
  pkgviews.
2004-01-14 23:55:29 +00:00
wiz
6987965e7c \r -> \n in two messages. 2004-01-14 23:18:46 +00:00
wiz
65be5cba5f Sort options. 2004-01-14 14:17:47 +00:00
grant
661b403916 relax the requirement for a >= 64bit off_t to enable long long
support, as some systems with a < 64bit off_t have long long support.
2004-01-14 08:59:31 +00:00
grant
7a12876daa use LL for long long suffix. 2004-01-14 08:58:41 +00:00
rh
6978c69a8a Update createbuildlink to 3.0. This now adds -2 and -3 options to create
either buildlink2.mk or buildlink3.mk files.
2004-01-14 08:53:57 +00:00
jmmv
bca9b36cd7 Fix typo (add missing word). 2004-01-13 11:24:16 +00:00
grant
94be7fc32c don't bother checking for md5.h, as the result overrides libnbcompat's
more appropriate test.

fixes build problem noted on RedHat.
2004-01-12 22:20:36 +00:00
wiz
0d9d14d348 Fix for pkgviews. From Min Sik Kim in PR 24042. 2004-01-10 22:31:51 +00:00
wiz
3aea5d68e9 Bump date for previous. 2004-01-10 21:19:59 +00:00
kristerw
fc001ebd5b Correct the default maintainer in the man page.
PKGREVISION++.
2004-01-10 19:23:41 +00:00
cjep
a313ade285 Don't die if pkg-comment does not exist. Some ports have a COMMENT= in
their Makefile already.
2004-01-10 16:27:06 +00:00
cjep
b50a383ded Use tech-pkg@NetBSD.org as default MAINTAINER. 2004-01-10 16:10:35 +00:00
jlam
3299e03171 Put the correct path to perl into the scripts. This fixes using this
package with pkgviews.
2004-01-10 05:40:40 +00:00
jmmv
0731c686bd Update to 1.14:
- Add the AUTO_TARGET variable.  This specifies the BUILD_TARGET used during
  an automated build of packages (i.e., pkg_comp auto), so that one can use
  'bin-install'.  Suggested by gavan@.
- Fix minor bug so that a libkver package is built during makeroot.
2004-01-08 14:06:15 +00:00
jmmv
7c0b9c5946 Allow pkgviews installation. 2004-01-06 19:49:24 +00:00
wiz
2897352fde Fix typo; new sentence, new line;
drop trailing spaces; add comma in enumeration.
2004-01-06 16:23:29 +00:00
hubertf
3da9e01015 Rework a bit to describe the pkg wildcards in their own
section, etc.
2004-01-06 16:15:54 +00:00
hubertf
f53fa863f8 pkg_install now prints post-install message by default, if available. 2004-01-06 15:53:41 +00:00
jlam
76085a8f5e Create only the right man/* directories based on the value of MANINSTALL. 2004-01-06 08:29:59 +00:00
jlam
22645a942c bl3ify 2004-01-05 11:28:07 +00:00
jlam
d279e6f535 Use S/+$// instead of C/\+$// to save a backslash. Very highly
recommended by seb :)
2004-01-05 11:05:44 +00:00
jlam
47bb2aae5f Re-arrange to match example buildlink3.mk file in bsd.buildlink3.mk. 2004-01-04 23:34:04 +00:00
reed
d72588da8b Make sure LOCALBASE and X11BASE are defined before comparing them.
(Thank you, Takahiro.)
2004-01-04 04:51:47 +00:00
hubertf
af99e2c61f In the "quick depends pre-scan", first print all bad matching depends,
then exit (instead printing one conflicting pkg/version on each run).
2004-01-04 01:49:38 +00:00