Commit graph

2370 commits

Author SHA1 Message Date
uebayasi
05ad69e68f Reflect the Emacs/Leim 20/21 move. 2003-04-11 01:20:44 +00:00
grant
40eaf6003a planetmirror -> http (the ftp server has a 250 user limit), use
`planetmirror.com.au' to help MASTER_SORT and add planetmirror to a
few MASTER_SITES.
2003-04-10 20:32:28 +00:00
grant
6df5770761 pass -O arg to pax. 2003-04-10 20:29:08 +00:00
wiz
81744c2306 Remove rwth-aachen as sunsite mirror (twice!). 2003-04-10 12:40:29 +00:00
grant
bbb8f396a8 set correct values for IMAKE_MAN_SUFFIX. 2003-04-10 01:39:52 +00:00
abs
ce21228830 pkgchk-*, like digest-*, does not require digest (certainly in binary add mode) 2003-04-04 10:06:41 +00:00
rh
a2670afcb9 Add webwasher licence (commented out) 2003-04-03 22:47:42 +00:00
salo
cd4d47b9c0 Add architecture specific MESSAGE file handling. 2003-04-03 16:55:09 +00:00
thorpej
40341eff88 Make sure _OPSYS_RPATH_NAME has a value (even if a bogus one) so that
the FIX_RPATH magic works.

Fix suggested by Tim Preston.
2003-04-01 16:48:20 +00:00
jschauma
a03d2b767f ${UNAME} -p is a good value for LOWER_ARCH on Irix as well. 2003-03-31 02:58:01 +00:00
grant
6dec3e31ab kill some trailing whitespace 2003-03-30 05:06:49 +00:00
seb
f3bbd5629b m4 on solaris is /usr/ccs/bin/m4 or /usr/xpg4/bin/m4.
set M4 to /usr/ccs/bin/m4 for starter.
2003-03-29 20:49:11 +00:00
jschauma
4422c0cce3 Add _OPSYS_LIBTOOL_REQD, following Darwin's example.
Suggested by grant.
2003-03-29 17:40:40 +00:00
wiz
eff90ed481 Quote tr arguments. 2003-03-28 21:16:10 +00:00
wiz
86e647bf29 Remove last traces of NO_PATCH. 2003-03-28 21:15:58 +00:00
agc
eb8b1b4224 Add default clamav user and group 2003-03-26 20:19:51 +00:00
jschauma
9e70a6455d Export RPATH_FLAG to MAKE_ENV and CONFIGURE_ENV. 2003-03-25 22:05:00 +00:00
salo
daf8bf7a39 Whitespace police. 2003-03-25 13:42:16 +00:00
jschauma
e7604e3722 Set MESA_REQD per default to latest stable version, 5.0. 2003-03-24 18:25:11 +00:00
jschauma
f30ed0c2e4 If a package requires a certain JVM, use that JVM for all dependencies
as well to avoid pulling in an additional, possibly unwanted JVM should
one of the dependencies require any JVM.
2003-03-23 17:30:39 +00:00
tron
4d65f35d83 Add "${LOCALBASE}/lib" before "${X11BASE}/lib" to the runtime library
search path. This stop package applications from picking up e.g.
XFree86 4.3.0's "expat", "fontconfig" or "Xt2" library also they
are supposed to use the packaged version.

Based on a suggestion by Christopher Richards.
2003-03-23 09:40:48 +00:00
dmcmahill
92bd9d4bd8 when creating PLIST's, substitute \. for . in the sed pattern for
the operating system version to avoid things like /1.6/ matching 106
which can create a huge mess in the generated PLIST.
2003-03-22 18:18:28 +00:00
grant
ecb185e7a9 add flow.dl.sourceforge.net (Flow Communications), an official
sourceforge download site in Australia.
2003-03-22 07:11:53 +00:00
wiz
2c825c0230 Let distribution patches generate ${NAME}.orig_dist backup copies to avoid
confusion with backup copies generated from pkgsrc patches (${NAME}.orig).
Suggested by Nicolas Fugier in PR 20588.
2003-03-22 04:00:57 +00:00
dmcmahill
4e909683e7 when there are no build depends, indicate this with "none" instead of
having an empty list.  Do the same for run depends.  Suggested by
Christian Hattemer in a private email.
2003-03-21 12:49:58 +00:00
hubertf
c539cd1618 Alternative check if IPv6 is available with the OS.
Addresses PR 20019.
2003-03-20 00:34:17 +00:00
dmcmahill
3c2f91c38e remove incorrect usage of README.html.BAK files. With this change,
1)  an extra /usr/pkgsrc/README.html.BAK file is not created
2)  we ensure that when a README.html file doesn't change, we don't
    touch it.  The prior version of this file caused the timestamp to
    change.
2003-03-20 00:03:16 +00:00
dmcmahill
58b8bccbc6 - fix a bug in the HOMEPAGE link when the URL contains an ampersand
- fix a bug in which caused only packages listed as DEPENDS to show
  up in the 'packages needed to build' section.  Now the BUILD_DEPENDS
  are also shown.  Thanks to Christian Hattemer for noting this.

- fix a bug which caused error messages claiming that category and top
  level README.html files could not be created even though they were
  created.  This bug only showed up if an old README.html file did not
  exist.  As part of this, clean up and unify the code which handles
  comparing the new README.html file to a possibly pre-existing one and
  only copying it over if there is a change.
2003-03-19 20:46:55 +00:00
dmcmahill
8dbf77cd41 fix a few 'strings split across lines' bugs which caused some dependencies
to be dropped from the README.html files.  Problem of missing dependencies
noted by Christian Hattemer in a private email.
2003-03-19 02:12:11 +00:00
hubertf
a8c6913957 * make print-PLIST deal better with /emul/linux/proc
* clearer description of possible options when a pkg is already installed

   ===>  glib-1.2.10nb4 is already installed - perhaps an older version?
   *** If so, you may use either of:
   ***  - "pkg_delete glib-1.2.10nb4" and "make reinstall" to upgrade properly
   ***  - "make update" to rebuild the package and all of its dependencies
   ***  - "make replace" to replace only the package without re-linking
   ***    dependencies, risking various problems.

   Improved wording welcome.
2003-03-19 01:19:30 +00:00
dmcmahill
5fb18e1827 Add some notes with thoughts on what a parallel bulk build system should do. 2003-03-16 13:45:12 +00:00
jmmv
c76dd1e5ba echo -> ${ECHO} 2003-03-16 11:12:02 +00:00
jlam
3ef633718c (1) Publicly export the value of _OPSYS_RPATH_NAME as RPATH_FLAG;
Makefiles simply need to use this value often, for better or for
    worse.

(2) Create a new variable FIX_RPATH that lists variables that should
    be cleansed of -R or -rpath values if ${_USE_RPATH} is "no".  By
    default, FIX_RPATH contains LIBS, X11_LDFLAGS, and LDFLAGS, and
    additional variables may be appended from package Makefiles.
2003-03-14 19:37:30 +00:00
dmcmahill
38ead3a47c add de_DE, ja_JP, nl_NL locales 2003-03-10 23:05:59 +00:00
wiz
a72a201aea Add am locale dirs. 2003-03-10 13:20:34 +00:00
jschauma
ee035fccf7 Introduce MESA_REQD variable.
Can be set to any default value, current default is 3.4.2 (ie the version
that comes with XF4.2).  Packages that require just any version of Mesa
and friends to be present need not set it.  If a package requires 5.0,
however, it can set this variable and regardless of xpkgwedge or the version
of XF installed, it will pull in Mesa 5.0 and install it in LOCALBASE.
2003-03-09 19:22:31 +00:00
cjep
895c1a56cf Use CVS_USER for RSYNC options. 2003-03-09 15:46:00 +00:00
grant
9910cb422d provide CDRECORD_CONF. 2003-03-08 08:45:22 +00:00
jschauma
88e08b33b1 Use /bin/ksh in favor of /bin/sh, which seems to loose variables
(such as the rather important MAKE variable set by bmake).
2003-03-07 16:36:27 +00:00
wiz
c3dfe0455f Add es_AR locale dir (for mcrypt). 2003-03-05 08:24:26 +00:00
seb
89dce5e7f1 Move M4 default definition into the defs.$OPSYS.mk files: unconditionally
set it to /usr/bin/m4 for everyone, at least for now.
2003-03-04 14:50:09 +00:00
seb
65abbfad07 Document USE_SASL2: default value 'undefined'. 2003-03-04 00:29:14 +00:00
seb
9b8a9e8e65 We want to remove '-Wl,-R' and '-rpath' when USE_BUILDLINK2 is "no"
not the opposite: this was a little mistake introduced in revision
1.1086.
(hopping nothing will be broken by this change...)
2003-03-03 19:41:27 +00:00
jmmv
9cd4411cfb Added kn locale dir. 2003-02-28 10:25:17 +00:00
jschauma
5f58e72933 Add definitions for HOSTNAME_CMD, so that just-in-time-su doesn't fail
on Irix.  Noted and suggested by Pavel Cahyna in a private email.
2003-02-28 03:41:39 +00:00
tron
7b18e1d951 SunOS stores manual pages in "share/man" not in "man". 2003-02-27 08:15:53 +00:00
grant
78404ecd1f look for basename, egrep, fgrep, grep and sed in both /bin and
/usr/bin, to deal with varying linux distributions.

addresses PR pkg/20477 from Tracy Di Marco White.
2003-02-27 06:05:21 +00:00
jschauma
660899fee5 Add defaults for IMAKE_MAN_DIR and friends.
Until we determine better values, use NetBSD defaults:
currently, package _not_ using IMAKE_* install there anyway, so if packages
work this way, all's well.  If not, then they were broken to begin with
and need attention.
2003-02-26 15:15:37 +00:00
grant
019a559042 prefer PREFIX/bin/gzip (and friends) and pax, if they exist. 2003-02-26 03:03:47 +00:00
grant
3b94220111 prefer PREFIX/bin/pax if it exists. 2003-02-26 03:02:59 +00:00
tron
a5a436a092 Do package list substitutions before modifications for compressed manual
pages. This fixes problems with the "MANZ" option after the introduction
of "IMAKE_MAN_DIR" and friends.
2003-02-25 15:23:55 +00:00
jschauma
cfa6436dde When using imake, add a bunch of variables to the PLIST_SUBST list, in
order to simplify man-page handling across platforms:
If your application installs man pages on NetBSD into
man/cat1/foo.0
but in
man/man1/foo.1x
on Linux, simply use
${IMAKE_MAN_DIR}/foo.${IMAKE_MANNEWSUFFIX}

Definitions for Darwin provided by grant, others from
/usr/X11R6/lib/X11/config/*

This allows us to put away with having multiple PLISTs just for the different
man page locations.

PKGREVISION bumps of `grep -l USE_IMAKE pkgsrc/*/*/Makefile` coming up after
revision and adjusting.
2003-02-24 19:49:47 +00:00
jmmv
7da92b5d53 Add a MASTER_SITE_APACHE variable with a bunch of apache.org mirrors. 2003-02-23 14:36:57 +00:00
uebayasi
6fec9d9b84 Add MASTER_SITE_XEMACS. 2003-02-22 05:47:00 +00:00
grant
c1c552d3a2 use the bootstrap versions of tar and mtree, if they exist. 2003-02-21 12:01:00 +00:00
jmmv
4bd7f0e8c7 Use ${.CURDIR} when referencing install/deinstall scripts. 2003-02-18 17:51:08 +00:00
lukem
d30e0c6147 Wrap "Lock acquired ..." and "Lock released ..." messages with PKG_VERBOSE check 2003-02-18 10:36:44 +00:00
seb
5e67d3e639 Add default value for FLOW_TOOLS_USE_MYSQL.
It is used by flow-tools to enable support of flow records export
into a MySQL database.
2003-02-16 23:56:12 +00:00
seb
9b776bd8c4 Use EVAL_PREFIX on ttmkfdir and type1inst so LOCALBASE is not harcoded.
Okay'ed by jmmv.
2003-02-16 21:34:04 +00:00
jmmv
62f4d1bb45 Implement a simple framework to handle font databases. It regenerates the
fonts.dir, fonts.scale and Fontmap files (depending on the font type) in
the right directories at (de)install time.  Support included for TrueType,
Type1 and standard X11 fonts.

Reviewed by jlam.
2003-02-16 12:14:31 +00:00
salo
79e8953060 oops. add few missing backslashes from previous. 2003-02-16 04:43:02 +00:00
salo
4ccee698ae Add more mirrors to MASTER_SITE_MOZILLA, MASTER_SITE_GNOME, MASTER_SITE_GNU
and MASTER_SITE_SUNSITE.

Minor whitespace cleanups.

From Juan RP via PR pkg/20361.
2003-02-16 04:27:26 +00:00
wiz
1d5548654b Add bn and mn locale dirs. 2003-02-15 10:06:48 +00:00
hubertf
3554352077 lint: no news is good news, don't tell us about "OK" items from pkglint. 2003-02-15 00:26:58 +00:00
wiz
0cd357ab3c Add some SUSE mirror sites. From Juan RP in PR 19768. 2003-02-14 19:46:43 +00:00
dmcmahill
4e23ffd1d9 correct the 'broken due to depends' processing. This change makes the
summary email list correctly the packages which are broken because of
their dependencies.  Problem noted on Huberts most recent bulk build.
2003-02-13 22:51:03 +00:00
abs
1c61f9f069 When comparing install-info version, ignore non [0-9.] - treat 4.0b as 4.0 2003-02-13 18:51:55 +00:00
wiz
620d99bab0 Open/close HTML mark-up in the correct order. Noted by Kevin P. Neal. 2003-02-09 14:59:12 +00:00
wiz
246e1b5e85 s/${ENV}/${SETENV}/, noted by Kevin P. Neal in connection with PR 19586. 2003-02-09 14:38:51 +00:00
kei
2a95fc68a5 honor PKG_SKIP_REASON as well as PKG_FAIL_REASON, like normal build does. 2003-02-08 23:27:00 +00:00
yyamano
274016a5d7 Add backslash for a line continuation to fix "make readme" error
on darwin. Approved by mcmahill.
2003-02-08 06:47:52 +00:00
dmcmahill
8c25100911 protect one more inclusion of ${_JDK_PKGSRCDIR}/buildlink2.mk with
a check to make sure _JDK_PKGSRCDIR exists.  Now one can create
README.html files for all java pkgs on a system without a JVM.
2003-02-07 01:14:19 +00:00
dmcmahill
cbca7b0604 make this also behave correctly when USE_BUILDLINK2 is not defined as well as _JRE_PKGSRCDIR not being defined 2003-02-06 23:44:07 +00:00
dmcmahill
b83dd54045 only include _JRE_PKGSRCDIR/buildlink2.mk if it exists (allowing things like
make show-var VARNAME=PKGNAME
to work on systems without a JVM.
2003-02-06 23:25:25 +00:00
dmcmahill
2ed8fd1292 on systems where _PKG_JVM is not set, set PKG_FAIL_REASON and set
_PKG_JVM to "none" to avoid makefile errors.
2003-02-06 10:17:38 +00:00
jlam
a37b5c1d19 Use a table-based lookup scheme to pair up JREs to JDKs. 2003-01-29 20:52:01 +00:00
jlam
9aaa6ee3c1 Create directories at pre-install time instead of post-install so that
we can more accurately determine if we "own" a directory.  Ownership is
determined by seeing if the directory doesn't exist before the package is
installed.
2003-01-29 19:47:29 +00:00
jlam
4f29e75ab3 sun-jdk14 has moved to .../java/sun-1.4. 2003-01-29 19:35:41 +00:00
jlam
7cf1a7b253 Move the inclusion of bsd.pkg.install.mk higher so that binary packages
are generated correctly (with INSTALL and DEINSTALL scripts).  Fix
suggested by Stoned Elipot <seb@netbsd.org>.
2003-01-29 19:34:14 +00:00
abs
855c36cf9e Set _JAVA_BASE_CLASSES to classes.zip or wre.jar in java-vm.mk, then use in
bsd.pkg.mk. We are now more wonka friendly.
2003-01-29 09:34:29 +00:00
jlam
e5b3822bd2 Ensure that PKG_SYSCONFBASE is always defined (defaulting to ${PREFIX}/etc). 2003-01-28 22:57:53 +00:00
jlam
d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
2003-01-28 22:03:00 +00:00
seb
dcdd15e6d0 Search for the system provided install-info in /usr/bin and if needed
in /sbin.

If devel/gtexinfo if not used assume makeinfo is /usr/bin/makeinfo.

Confirmed to work on RedHat 7.3 by abs, thanks!
2003-01-28 20:03:02 +00:00
seb
5b23966cfb white space fix: replace spaces by tabs 2003-01-28 00:08:29 +00:00
jschauma
ce9144b328 Add some LOWER_VENDOR definitions on Linux to better customize packages
in the future (on Debian, for example, there is no libtermcap, and we need to
depend on ncurses etc.)
2003-01-25 22:39:56 +00:00
jlam
0fb7eda7a3 Create a fake libpthread.la that corresponds to /usr/lib/libpthread.*.
This should allow building packages that use libtool and use native
pthreads even if pth is installed.
2003-01-25 08:39:54 +00:00
jlam
45373af245 Modify code to produce fake libtool archives to check whether the libraries
named using the shell pattern actually exist.
2003-01-25 07:57:21 +00:00
uebayasi
3e16e4b300 Skip if no valid Emacs version found. For bulk builds. 2003-01-25 03:21:30 +00:00
jlam
69fbe893c6 Strip bare "-L${BUILDLINK_DIR}" (note there is no trailing "/lib") from
dependency_libs definitions in *.lai files.  This should remove another
instance that can cause "buildlink2 leakage" into installed files under
${LOCALBASE}.
2003-01-24 12:09:16 +00:00
agc
5f6807909a Use an /etc/mk.conf setting for libdvdcss's HOMEPAGE and MASTER_SITES,
following a suggestion by salo.

This allows users to specify

LIBDVDCSS_MASTER_SITES= ...
LIBDVDCSS_HOMEPAGE= ...

in their /etc/mk.conf files.
2003-01-24 10:04:23 +00:00
grant
da30fb13f6 require at least libtool 1.4.20010614nb12 on Darwin. 2003-01-21 22:48:57 +00:00
jschauma
334447021d Pax NetBSDi. 2003-01-21 14:28:14 +00:00
grant
f8a44170f0 add MYSQL_USER, MYSQL_GROUP, MYSQL_DATADIR. 2003-01-21 08:24:32 +00:00
kristerw
afc3b5c6af List which packages depend on the different variables, and some consistency
changes to the descriptions.

XXX I have only done the [A-C]* variables for now. The rest will be done RSN.
2003-01-20 23:39:35 +00:00
kristerw
d81abd3c52 BOOTSTRAP_EGCS is not used any longer. Remove it. 2003-01-20 23:15:34 +00:00
wiz
a4764c1249 Add stamp-vti to AUTOMAKE_PATTERNS; fixes bison problem, tested by salo. 2003-01-20 16:26:43 +00:00
dmcmahill
dd9d9f18d5 fix a bug introduced by the last commit where a string was accidentally
split across a line.  Thanks to Greg Woods for catching this.
2003-01-20 01:31:21 +00:00
dmcmahill
e2438ae141 Many white space and indenting fixes to bring this more in line with
/usr/share/misc/style.  Prompted by a private email from Greg Woods,
woods at weird dot com.
2003-01-18 04:28:57 +00:00
wiz
4f9e3f0345 -. if (${AUTOMAKE_OVERRIDE} == "YES")
+.  if empty(AUTOMAKE_OVERRIDE:M[nN][oO])
to match bsd.buildlink2.mk (which defines AUTOMAKE_OVERRIDE to yes).
2003-01-17 13:55:27 +00:00
jlam
63029a767b Make BUILD_DIR always point to a physical path by invoking /bin/pwd instead
of relying on the shell's builtin pwd.  This makes BUILD_DIR consistently
point to the correct directory regardless of the definition of SHELL.  This
fixes elusive some buildlink2 errors due to the fact that BUILDLINK_DIR is
derived from BUILD_DIR and some paths were incorrectly being translated.
2003-01-15 20:55:38 +00:00
jlam
bae57c8408 Revert previous change. Defining BSD_PREFS_MK instead of BSD_PKG_MK
breaks too many users' /etc/mk.conf files that have a

	.ifdef BSD_PKG_MK
	# /usr/pkgsrc stuff
	.else
	# /usr/src stuff
	.endif

structure.  We'll think of another way to protect against multiple
inclusion of bsd.pkg.mk and bsd.prefs.mk.
2003-01-15 10:06:48 +00:00
jlam
b9a5491738 Add RCS Id. 2003-01-15 09:26:14 +00:00
dmcmahill
a89746c11a avoid the use of the gensub() function as it is a gawk extension not
found in other awk implementations.  Patch provided by Greg Woods,
woods at weird dot com, via private email.
2003-01-15 00:40:50 +00:00
wiz
d2bb2ec016 Define and check for BSD_PREFS_MK, not BSD_PKG_MK. Proposed by Jan Schaumann. 2003-01-14 16:25:41 +00:00
jlam
1ced74ea7f Bump build dependency on x11-links to 0.12 after teaching x11-links about
Xrender.
2003-01-14 09:32:12 +00:00
jschauma
d07838581f On Linux, LOWER_ARCH is generally not yet defined. Move assignment. 2003-01-14 03:01:37 +00:00
grant
ce61865a53 bump BUILD_DEPENDS on x11-links (Darwin fixes). 2003-01-13 09:49:22 +00:00
jschauma
207359eaa9 According to seb, make on 1.5 does not know about ${VAR:tl}, so let's go back to
echo VAR | tr A-Z a-z
2003-01-12 22:36:14 +00:00
jschauma
a2843dc815 efficiency++;
Make can take care of substitutions itself, so we don't need to use
echo VAR | sed
or
echo VAR | tr
Suggested by seb.
2003-01-12 22:30:08 +00:00
jschauma
638f4888bd On Linux, s/i.86/i386/ for LOWER_ARCH and MACHINE_ARCH as suggested by
Jeremy C. Reed on tech-pkg.
Even though bootstrap's bmake will do this at build-time, this ensures
that even older bmake's don't fail if a package checks it for == i386.
2003-01-12 20:36:58 +00:00
jlam
29347ddf13 Alphabetize _BLNK_CACHE_ALL list. 2003-01-10 20:09:38 +00:00
jmmv
29764b8c34 Added http://osdn.dl.sourceforge.net/sourceforge/ as Sourceforge mirror.
Okay'ed by wiz.
2003-01-10 19:17:52 +00:00
thorpej
0470555b2c Don't add rpath statements to _BLNK_LDFLAGS if _USE_RPATH != "yes". 2003-01-10 18:44:02 +00:00
mycroft
d296aa91c5 Protect some substitutions with slashes -- i.e. so that /usr/pkgsrc/.../work
doesn't get the /usr/pkg part expanded accidentally.
2003-01-10 14:25:22 +00:00
agc
c02f311ec8 Add the PKG_PRESERVE capability to bsd.pkg.mk.
A package which has PKG_PRESERVE definied in its Makefile will not be able
to be deleted, and the capability is carried into binary packages.
2003-01-10 11:57:09 +00:00
jlam
10b6718d6c Protect ${WRKDIR} from transformation. We only want to transform paths
from outside of the work directory.
2003-01-10 09:59:25 +00:00
jlam
a6486220cb Fix indentation for case statement. 2003-01-10 09:41:53 +00:00
jlam
1abdd450fe Install a ${PREFIX}/bin/shlibtool as part of the devel/libtool-base
package.  shlibtool will not build static libraries.  Add handling in
bsd.pkg.mk for a variable named "SHLIBTOOL_OVERRIDE" that is analogous to
LIBTOOL_OVERRIDE and causes any listed libtool scripts to be replaced with
a symlink to shlibtool, and teach buildlink2 about shlibtool.  Bump
PKGREVISION of devel/libtool* packages to 11.
2003-01-10 08:44:18 +00:00
mycroft
01f16000a1 Add locale/bs/LC_MESSAGES. 2003-01-10 01:14:47 +00:00
schmonz
97b0067034 Introduce NO_PKGTOOLS_REQD_CHECK, with which a package can disable
warnings about out-of-date pkg_install. It's defined in pkgtools/digest,
pkgtools/pkg_install, and databases/db (needed by pkg_install).

Replace sequences of ${ECHO_MSG} and ${FALSE} with PKG_FAIL_REASON.

Replace "make" with ${MAKE} in a few places.
2003-01-09 13:16:38 +00:00
jlam
27d0cedb05 Teach buildlink2 about ${_OPSYS_RPATH_NAME} instead of just using -Wl,-R
everywhere.
2003-01-08 08:33:54 +00:00
jlam
23c71bd134 Also substitute for @BUILDLINK_X11_DIR@ in the wrapper scripts. This was
a harmless bug, and the scripts will now run a little faster.
2003-01-07 21:56:10 +00:00
jlam
ec198db7a5 Output warnings to stderr, not to stdout (duh!) 2003-01-07 07:34:39 +00:00
jlam
722f6a3d3d Don't complain about (correct) .buildlink leakage in the fake libtool
archive case.  Also output errors to stderr, not stdout (duh!).
2003-01-07 07:34:08 +00:00
grant
01eae24936 use ${LOCALBASE}/{g,}patch (in that order) if gpatch is not in
the base system.
2003-01-06 22:29:23 +00:00
jlam
d852427494 Catch buildlink2 leakage as soon as it happens during the build process.
This will hopefully prevent leakage from ever happening unnoticed.
2003-01-06 09:06:09 +00:00
jlam
5adb04fe9b Fix buildlink2 leakage into installed libtool archives that has been going
on since 2002-10-30.  This mostly affects KDE packages.
2003-01-06 09:04:29 +00:00
jlam
0e29f29c69 Some changes for Bourne shells that don't match NetBSD's feature-set:
if ! test ...; then ...; fi

becomes:

	if test ! ...; then ...; fi

and

	if ! command; then ...; fi

becomes:

	if command; then :; else ...; fi

This fixes PR 19690 by Frank Cusack <fcusack@fcusack.com>.
2003-01-06 04:30:12 +00:00
jlam
60415acdfc Remove a unused hack (it was only used by pthread.buildlink.mk, which is
now gone).
2003-01-05 22:48:12 +00:00
dmcmahill
3c18e7dacd add a -a|--append option to allow appending to an existing database instead of
creating a new one.
2003-01-05 15:17:24 +00:00
dmcmahill
742bcd19d1 Switch the top level pkgsrc 'readme' and 'cdrom-readme' targets to use the
new and much more efficient code.  Previously a 'make readme' took over
3 weeks on my SS5 and now takes < 3 hours.  The number of make calls has
been reduced from somewhere over 1,000,000 to one per package which is
around 3,000.  The mk/scripts/mkreadme script does all the work now.  This
script has been used in standalone form for a month or two on ftp.netbsd.org
and has had no problem.
2003-01-05 13:37:15 +00:00
lukem
68108c1bfb when invoking genreadme.awk, set TMPDIR correctly 2003-01-05 00:40:46 +00:00
dmcmahill
76343e4400 expr -> ${EXPR} 2003-01-04 22:27:46 +00:00
dmcmahill
81ddc1c49d redo the README.html target for increased speed. For packages with
no dependencies the speedup is about 2x for ones like gnome with
lots of dependencies, the speedup is aroud 400x.  The speedup is
obtained by generating the dependency list in a more efficient way that
only takes 1 make call per dependency instead of potentially many many
make calls.
2003-01-04 22:20:47 +00:00
dmcmahill
98812f4595 move bulk/{mkreadme,genreadme.awk} to scripts/ as this is a more suitable
location.  They are not really part of the bulk build stuff.
2003-01-04 21:13:34 +00:00
dmcmahill
06ea622f25 add two scripts used for creating dependency databases. These scripts
can be used anytime one needs to extract the complete dependency information
for a package for example, when creating a README.html file for the pkg.
The approach used by mkdatabase requires exactly one make call per package
which makes it scale well to packages with large dependency trees that have
many paths to the leaves.
2003-01-04 21:03:08 +00:00
grant
d46d0a15b8 fix a typo in a comment.
noted by salo.
2003-01-04 15:52:13 +00:00
tron
862cfe7068 Require at least version 0.10 of the "x11-links" package because
version 0.9 causes build failures in e.g. the "enlightenment" package.
2003-01-03 10:23:25 +00:00
jlam
909a7770f1 Add the buildlink2 warnings to the wrapper log as well as outputting to
stdout.
2003-01-03 04:44:48 +00:00
jmmv
191304d51d Add lib/pkgconfig directory. It is used by several packages and is currently
not properly managed by their PLISTs. This will simplify these files.

Approved by wiz.
2003-01-02 22:42:54 +00:00
wiz
f85281b9b8 Correct comment on where defaults are set for DEFAULT_SERIAL_DEVICE, and
add USE_I586 and USE_OPENLDAP (used by gnupg, perhaps others?).
2003-01-02 20:12:15 +00:00
hubertf
28a6492fea Add a few switches to allow changing compile-time options:
ATERM_USE_KANJI, ATERM_USE_BIG5, ATERM_USE_XTERM_SCROLL, ATERM_USE_GREEK.

Patch contributed by Jon Olsson <jon@joshua.haninge.kth.se> in PR 19382.
2003-01-02 05:55:11 +00:00
jlam
f161acbf13 Use a while loop instead of a for loop to iterate over the arguments. This
potentially allows for manipulating sequences of arguments instead of just
one argument at a time.
2003-01-01 07:16:57 +00:00
cjep
3bcfb29272 Introduce a variable called kernel which is either empty or contains the
full pathname to the kernel file (e.g. for NetBSD /netbsd, OpenBSD /bsd, etc)
2002-12-31 17:46:12 +00:00
cjep
7b08a3ada9 Loopback mount /proc on SunOS. shells/tcsh successfully builds in the sandbox
except for one peculiar thing: bmake does not pick up a definition for CC.
Something is missing (for SunOS).
2002-12-31 17:42:32 +00:00
jlam
7751a84cde Remove deprecated USE_JAVA code from bsd.pkg.mk. Packages should use
java-vm.mk instead (see java-vm.mk for details on proper usage).
2002-12-31 15:46:42 +00:00
cjep
9c42c5520e Add /usr/ccs, /usr/ucb and /usr/xpg4 for SunOS in sandboxDirs.
Provided that I copy a working gcc and the binaries from the bootstrap kit
into the sandbox manually, this gets me as far as having a pkgsrc
sandbox that can build pkg_tools/pkg_install.
2002-12-31 15:33:56 +00:00
cjep
c892115b8e 1. On SunOS populate /dev in the sandbox with devfsadm and ucblinks.
2. Introduce sandboxDirs, a list of directories that need to be
null mounted. This is different (e.g. on SunOS).
2002-12-31 15:09:01 +00:00
jlam
bd8b4c9da7 USE_JAVA2 is used to note that the package requires a Java2 implementation.
It's undefined by default, but may be set to "yes".
2002-12-31 14:42:21 +00:00
jlam
0422b46d80 Allow for strangely-cased USE_JAVA values. 2002-12-31 14:39:59 +00:00