Commit graph

909 commits

Author SHA1 Message Date
rh
c2118f4461 Introduce NO_{SRC,BIN}_ON_{FTP,CDROM}. Warn about placing files on CD-ROM
or ftp during 'make package' or 'make mirror-distfiles'.
2000-07-20 12:33:43 +00:00
hubertf
333fc62f64 Use "reinstall" as default for DEPENDS_TARGET, to use any pkg already
built and possible deinstalled as dependency. Addresses PR 10629 by
Erich.T.Enke@wheaton.edu.

(If that's not enough, we can still introduce a "make clean ; make install"-
type target, but for now i'd prefer not to was the cycles)
2000-07-19 22:57:31 +00:00
rh
625e6d6521 Revise previous multi-component-pathname fix: do not depend on the
directory name of a package being the same as the package name when
creating ${DDIR} entries.
2000-07-19 00:08:32 +00:00
rh
a15b9039db Fix clean-update target to remove ${DDIR} if it didn't exist before. This
prevents 'make update' from "resuming" an update that never even began.
Thus, a sequence of

	make clean-update
	make update

is now safe, no matter if 'make update' was started previously or not.
2000-07-18 08:33:49 +00:00
rh
54232daa5b Fix the ${DDIR} target to work with multi-component paths. This makes the
update target work with pkgsrc installations that have more (or less) than
two components (like /src/NetBSD-current/pkgsrc).  Thanks for Matthias
Scheler for noting this!
2000-07-18 08:21:41 +00:00
agc
1430069499 Only look at the first prefix for a package when evaluating the prefix
using EVAL_PREFIX.
2000-07-15 21:36:22 +00:00
agc
78748d628a Instead of the clunky SHOW_PKG_PREFIX, introduce an EVAL_PREFIX definition,
which takes entries of the format <make-definition-name>=<pkgname>. This
has not been added to MAKEFLAGS because (a) premature optimisation is the
root of all evil, and (b) because the .for loop used to implement this
shows the wrong results when multiple prefices are evaluated.

Modify all the package Makefiles to use EVAL_PREFIX, thereby simplifying
them considerably.

ALso simplify the logic to calculate the prefix as well.
2000-07-15 20:39:13 +00:00
tron
a300e69f3c Use "printf("%d", ...)" instead of "print ..." when invoking "awk" in
"print-pkg-size-this" or "print-pkg-size-depends" targets to avoid package
sizes like "2.51887e+09" which "expr" can't handle.
2000-07-14 18:37:05 +00:00
agc
69cbb39071 The previous method of using a make target for finding a prerequisite
package's prefix would not work as part of the environment specification
via MAKE_ENV (as it would not be executed in the correct directory).

Fix this by invoking pkg_info(1) directly, not via an intermediate make(1)
step - this is not as clean, but more effective (i.e. it works).
2000-07-14 16:04:19 +00:00
agc
06a57d66d0 Introduce the mk.conf definition for PRIV_CONF_DIR, which defaults to
${LOCALBASE}/etc, and is the parent directory of the priv package's
user configuration data.

Modify Makefile to pick up this definition, and pass it on as an argument
to the configure script.

Modify the PLIST to include this location, and pre-process the PLIST at
install time to set the correct location.
2000-07-14 12:39:30 +00:00
rh
8410aeda89 Make USE_LIBTOOL depend on libtool-1.3.5nb4 or higher to make sure a C++
compatible version is used.
2000-07-14 06:55:26 +00:00
hubertf
d2131fb905 Remove trailing garbage from RCS Id on first line 2000-07-13 11:40:04 +00:00
agc
4aeac45f89 Make the determination of the pre-req package's installed directory be
a bit more user-friendly.

Introduce a show-{gtk+,imlib,kdebase,qt1,qt2,xpm}-prefix target in
bsd.pkg.mk, and use "${MAKE} show-*-prefix" in package Makefiles.
2000-07-11 14:53:35 +00:00
dmcmahill
255050913a add missing flags to the unzip command 2000-07-07 18:14:39 +00:00
hubertf
8fab5a14eb Add bin-install package: will install a binary package if available,
else run a "make package".

XXX needs to be extended to also look on some FTP sites.
2000-07-06 16:45:21 +00:00
hubertf
2aeced9ffe Allow overriding PKGSRCDIR and PKGPATH 2000-07-06 15:37:49 +00:00
hubertf
22978e75b5 Add PKG_DEVELOPER 2000-07-06 15:12:04 +00:00
hubertf
2956dce621 Eval PKG_DEVELOPER, and if set
* force zero fuzz on patches
 * run check-shlibs after a package is installed
2000-07-06 15:05:25 +00:00
hubertf
8c023fb555 * Fix processing of @dirrm commands: use the proper RE in sed, and
move it after the processing, so empty dirs are still handled properly
 * Align trailing \s
2000-07-04 11:58:49 +00:00
hubertf
3e55af10c1 print-PLIST: recognize MACHINE_ARCH and OPSYS_LOWER, and substitute with
${xxx} in generated PLIST
2000-07-04 03:52:17 +00:00
agc
c69d680f29 Don't bother defining an internal _USE_LOCALBASE_FOR_X11 variable - it's
not necessary. ".if ${X11PREFIX} == ${LOCALBASE}" works just as well.
2000-07-03 14:47:11 +00:00
hubertf
d6b5f73804 Replace one occurence of "$NetBSD$" by something that won't be replaced
by CVS.
2000-06-30 01:56:08 +00:00
dmcmahill
07293ca3e4 eliminate a few more makes from being forked off in the clean-depends area 2000-06-28 17:35:53 +00:00
dmcmahill
ced767a55c only clean depends with the "clean-depends" target, not the top level 2000-06-28 16:39:23 +00:00
dmcmahill
fb223bab16 rework how the DEPENDS tree is traversed in the 'clean-depends' target.
now, each branch is only traversed once instead of possibly multiple times.

depending on the size of the DEPENDS list, the speedup is _huge_.  For example
   make clean CLEANDEPENDS=yes
in x11/gnome now takes around 12 minutes instead of 4 hours on a DECstation
5000/240.

Thanks to Hubert for help and suggestions on this.  Look for more changes to
come as this same problem exists in other areas.
2000-06-28 16:05:44 +00:00
agc
df85410ce6 Remove the user setting of the USE_LOCALBASE_FOR_X11 definition.
(Users can still set it if they want, but it won't make much
difference).

In bsd.pkg.mk, check for the presence of the xpkgwedge package to
determine whether to use LOCALBASE for X11 programs.  Set
_USE_LOCALBASE_FOR_X11 (an internal definition) if xpkgwedge is
installed. Remove BUILD_DEPENDS on xpkgwedge (it would always have
been true anyway).

Add a new X11PREFIX definition, which reflects the PREFIX for X11
packages, and set it to LOCALBASE or X11BASE accordingly.

Remove all references to USE_LOCALBASE_FOR_X11 from the xpkgwedge
package.

In all, make the installation of xpkgwedge a tad less clumsy.
2000-06-28 15:02:31 +00:00
hubertf
cd310e1c77 * some whitespace fix
* s/.MAKEFLAGS/MAKEFLAGS/ in one place
 * add check-shlibs target. Need to at least document that later. :)
   (Should be added at end of root-install target, to check if the pkg's
   binaries/libs will find the shared libs they need)
2000-06-27 20:14:45 +00:00
wiz
a381017e2c rename Size* to .Size* 2000-06-26 23:53:33 +00:00
hubertf
07a899535c Use $INSTALL_COOKIE in one appropriate place 2000-06-26 01:19:09 +00:00
hubertf
d353a8e363 fix typo in last 2000-06-25 06:31:12 +00:00
hubertf
79af869f9c Recognize EXTRACT_SUFX=".zip": pull in unzip pkg, and set EXTRACT_CMD 2000-06-25 04:26:56 +00:00
hubertf
0e26395aa2 Tune the print-pkg-size targets to not re-calculate the size for all the
depends, but use pkg_info -sS instead. Some code-restructuring and renaming
of the targets while there: print-pkg-size-this prints the size of the
current pkg, and print-pkg-size-depends prints the size of all the depends
ONLY (i.e. NO LONGER including the size of the current pkg).

Speeds up "make install" on a pkg requiring teTeX from ~3.2s to ~1.7s.
2000-06-25 03:58:17 +00:00
hubertf
77d97c2d75 In package-depends, don't print warnings about non-existing dir
if the information from that dir isn't used.

Reviewed by: wiz
2000-06-23 23:41:43 +00:00
hubertf
d0d8ec3372 The "package-path" target is no longer needed (use ${PKGPATH}) 2000-06-19 01:24:16 +00:00
hubertf
23447f8eab Add print-PLIST target for automatic PLIST generation:
- files & symlinks first
  - @exec/@unexec calls are added for info files
  - @dirrm statements last
  - empty directories are handled properly
  - dirs from mtree files are excluded

Usage:
  - make install
  - make print-PLIST | brain >pkg/PLIST

Moved over from bsd.hf-pkg.mk, after it's lived there for quite
some time now.
2000-06-16 09:18:26 +00:00
veego
f355317f03 The perl archive on ftp.cdrom.com moved to ftp.freesoftware.com. 2000-06-10 06:51:31 +00:00
wennmach
79ea678a06 Added an entry for ARLA_CACHE, the location where arla looks for it's
local cache.
2000-06-08 16:00:44 +00:00
hubertf
d4ec096fc7 ignore errors from 'cd' in binpkg-list (lotsa useless warnings from the
daily cron job after the rototiling)
2000-06-05 18:49:29 +00:00
tron
355d5b6ef4 Restructure test for "${LICENCE}" so that "${ONLY_FOR_PLATFORM}" will
not be ignored if a the licence is acceptable.
2000-06-05 07:25:13 +00:00
rh
cfce428064 Fix aout brokenness. Bump libtool to 1.3.5nb3. 2000-06-04 17:56:15 +00:00
rh
01c52a7a60 Make USE_LIBTOOL depend on libtool-1.3.5nb2 or later. 2000-06-04 16:47:37 +00:00
mycroft
c348879256 Eliminate the sort and tail when determining PKGTOOLS_VERSION. 2000-06-04 04:35:13 +00:00
mycroft
9b2b5a01b5 Fix pasto. 2000-06-04 03:08:37 +00:00
hubertf
c8c613f3b3 Allow using absolute paths as second component of DEPENDS again. 2000-06-04 00:50:48 +00:00
hubertf
307a443e6f Don't enforce people to use relative dirs as second components of (BUILD_,RUN_)
DEPENDS. (there may be some other places from previous commits where that
was added in a frenzy of over-optimisation. Will re-visit & check these.
2000-06-04 00:12:57 +00:00
mycroft
6ee56a0cb9 Inline HTMLIFY using make(1) subsitution rules. Eliminates two more sed(1)
invocations per dependency.

XXX
This is really quite stupid, in that the characters we're quoting are also
shell metacharacters that are passed unquoted to the shell in other places.
CVS ----------------------------------------------------------------------
2000-06-03 22:59:04 +00:00
mycroft
d1d902333a Explicitly pass down MAKEFLAGS to all sub-makes, not just the first. 2000-06-03 22:33:22 +00:00
mycroft
2e07bae159 * Fix a bug in clean-depends: the sort -u' was ineffective because the tr'
was missing.
* Do make(1) pattern substitutions for fetch-list-recursive.
* Eliminate subshells in clean-depends and fetch-list-recursive.
* Make the rmdir for the WRKOBJDIR removal silent if it fails.
* Slight optimization to fetch-list-one-pkg: don't do the basename operation
  twice.
2000-06-03 21:51:57 +00:00
mycroft
5b3eca4bf1 /bin/echo -> echo. This file appears to have NetBSD-specific paths already,
so I'm not worried about .ifdefing it at the moment.
2000-06-03 21:18:47 +00:00
tron
353ce3500a Remove links in "package-links" target before trying to create them to
avoid failure if they already exist. We cannot use "ln -f" here because
it doesn't work as expected under Solaris.
2000-06-03 20:58:46 +00:00
mycroft
80a9eeae03 Fix missing redirection in ${DDIR} generation. 2000-06-03 20:31:27 +00:00
tron
141485f85b Fix broken "update" target. 2000-06-03 20:26:05 +00:00
mycroft
e3b07120c1 Use relative paths when adding magic dependencies for USE_* variables. 2000-06-03 20:03:37 +00:00
mycroft
a2ba7a0cc7 Another optimization; don't cd twice. 2000-06-03 19:43:20 +00:00
mycroft
0cad9b8192 Clean up `make clean' a little. In particular, make it safe with WRKOBJDIR
when doing a simultaneous build on another platform.
2000-06-03 19:20:55 +00:00
mycroft
51ea727f36 Missed a use of PKGSRC_SUBDIR in previous. 2000-06-03 19:12:17 +00:00
mycroft
28d6c5223d The __canonical_* stuff for WRKOBJDIR is unnecessary. Just use PKGPATH to
derive the work directory.  No more !=s in recursive make(1)s.
2000-06-03 19:10:48 +00:00
mycroft
b2ee0fbc7e Oops; use ?= for PKGBASE and PKGVERSION, so pkgs can derive their PKGNAMEs from them. 2000-06-03 19:03:20 +00:00
mycroft
d6845d79b9 Add PKGPATH, PKGBASE, PKGVERSION and PKGWILDCARD make(1) variables, so that
the substitution hacks are all done in one place.
Protect a few things with double quotes just to be safe.
Fix `readme' target that was left broken in last commit.
2000-06-03 18:51:34 +00:00
hubertf
e279d7b2d8 Clean up the previous commits:
* in package-depends split handling of DEPENDS and RUN_DEPENDS again. The
   fact that the code was equal for both cases (and thus broken!) is no
   excuse to fold the two together. (What's the difference? DEPENDS has a
   pkg name/patter as first value, RUN_DEPENDS has a executable name of
   file/path)
 * cut down two more ()s
 * fix binpkg-list to find binary pkgs again. Remember, $PACKAGES is where
   binary packages are placed, under a well defined directory structure
   (including dir "All" and category dirs).
 * Sort available binary pkgs in README.html by machine again
 * Inline one more use of the "package-path" target. It's unused now.
   Anyone care if we remove it?
 * Fix variable name in print-pkg-depend-sizes: the first component of
   DEPENDS is a package-name/patter, not a program.
2000-06-03 16:52:32 +00:00
mycroft
3752ab5b8e Pass down ${MAKEFLAGS}. 2000-06-03 15:25:16 +00:00
mycroft
9e697722e1 Another minor speedup. 2000-06-03 15:08:35 +00:00
mycroft
0b5edcbabf More random speedups. 2000-06-03 14:58:06 +00:00
mycroft
2764db3929 Speed up print-pkg-depend-sizes. 2000-06-03 14:24:13 +00:00
mycroft
a92177d0c9 Minor consistency issues, eliminate grep-before-awk, and fix a bug that was
introduced with BUILD_DEPENDS that have special targets.
2000-06-03 14:17:49 +00:00
mycroft
6bbf323859 Get rid of another fork. 2000-06-03 13:36:13 +00:00
hubertf
adf4bc6d1c Pass variables set via != to MAKEFLAGS, so the forking needed for that
process doesn't slow us down more than necessary.
2000-06-03 07:16:51 +00:00
hubertf
137c4a7b7b Speedups!
Major changes:
 * Avoid a big bunch of subshells/forks/execs by using make(1) features;
   should be good for some minor speedups.
 * Use shell builtins for echo, true, false, test. Using full paths here
   causes fork&execs, making things slow. Only changed for NetBSD.
 * Rename all references to ${.MAKEFLAGS} to ${MAKEFLAGS}. See make(1).
 * Evaluate all !=s only once, and add them to MAKEFLAGS
 * Pass ${MAKEFLAGS} to ALL ${MAKE} calls
   Now PKGTOOLS_VERSION is really only set once in a whole "make package"
   cycle, even across dependencies.

Minor changes:
 * SORTED_MASTER_SITES was renamed SORTED_MASTER_SITES_CMD and is now
   (only) execuded in the places where it's needed.
 * Don't check for /usr/bin/fetch - we never had it, and if someone
   depends on it he can set FETCH_CMD instead.
 * Don't fall back to README.port
 * Replace some commands by their uppercase equivalents (sed -> ${SED},
   same for grep, awk, ...)
 * Some whitespace changes to improve readability


=> With these changes, times for a "make clean" in x11/kde go down to 20%,
   time for "make readme" goes down to 33%!
2000-06-03 07:15:28 +00:00
hubertf
8b22d316f7 Remove a bunch of unneeded ()s. Inspired by OpenBSD. 2000-06-02 23:30:52 +00:00
rh
74add3b300 s/USE_LIBTOOL/USE_PKGLIBTOOL/
Add a new USE_LIBTOOL definition that uses the libtool package instead of
pkglibtool which is now considered outdated.
USE_PKGLIBTOOL is available for backwards compatibility with old packages
but is deprecated for new packages.
2000-06-01 11:23:11 +00:00
wiz
f85e06020d OPSYS-VERSION has earned its own column in the binary-package table
in README.html (as noted by hubertf).
2000-06-01 02:01:42 +00:00
wiz
2f6c5d032e make auto-generated README.html for packages HTML-3.2-compliant 2000-05-31 22:16:16 +00:00
jwise
89bac48215 Add JAVA_HOME to MAKE_ENV, CONFIGURE_ENV, and SCRIPTS_ENV, even if it is not
in the environment when make is called.
2000-05-31 21:25:48 +00:00
hubertf
f5c2fca63a * Move the clean-depends target near the clear target
* some whitespace change to enhance readability
2000-05-31 16:59:44 +00:00
hubertf
a6a54c3921 * rename root-install-flags to root-deinstall-flags (it's used in
root-DEinstall, after all :)
 * while there, pass these flags to the pkg_delete called for dependencies.

Now "make deinstall DEINSTALLDEPENDS=yes" should actually work, i.e. no
BUILD_DEPENDS should be left behind. (Hi Dan!)
2000-05-31 02:08:04 +00:00
hubertf
e2c7d4e9f4 Check if $DISTDIR is writable before downloading something
(and wonder if the "permission denied" comes from the distfile
being unreadable)
2000-05-31 01:07:14 +00:00
hubertf
ac12be191c Some cleanup:
* awk -> ${AWK}
 * remove some stale code
2000-05-31 01:02:08 +00:00
hubertf
6f33d27163 Move all settings of IGNORE into one spot. No need for the arch-checking
code (ONLY_FOR_PLATFORM, NOT_FOR_PLATFORM) to be located elsewhere.
Inspired by OpenBSD.
2000-05-30 22:36:53 +00:00
hubertf
ef559fa793 add some comments to make the code more readable, no functional changes 2000-05-30 22:00:48 +00:00
hubertf
429d93738e Remove restrictions on category names, and make delete-links
target safer. From OpenBSD.
2000-05-30 21:35:32 +00:00
tron
27365ed607 Replace empty GNOME mirror on "ftp.informatik.uni-bonn.de" by
"ftp.archive.de.uu.ne".
2000-05-30 17:25:20 +00:00
hubertf
f2a61838b6 Re-word message if a pkg is not supported no a given platform;
make it sound less broken.
2000-05-30 15:01:44 +00:00
hubertf
ad6c4dd126 Garbage collect.
Now that the procedure for building in a package and in a category is the
same, there's no longer any need to differentiate between the two cases.
2000-05-29 00:54:25 +00:00
dmcmahill
3154113d32 Do not abort compilation of several categories if building a single category
fails.
2000-05-28 12:42:26 +00:00
kim
8aa326d0b2 Fetchmail did not compile on i386 1.4Y with crypto-us. Made SSL optional. 2000-05-21 19:19:33 +00:00
jlam
d402a23c12 Add PG_MB_ENCODING to determine the backend language encoding of
PostgreSQL.
2000-05-20 19:44:15 +00:00
kim
f8ce8549c4 Make it possible to avoid SSL in mutt. 2000-05-20 17:39:20 +00:00
wiz
026912657e On failed file retrieval, mention file that wasn't fetched 2000-05-19 21:07:00 +00:00
jlam
18e1b15d00 Add share/doc/html, analogous to the same directory in the base tree. 2000-05-19 04:11:41 +00:00
fredb
ce696958fb Support bzip2 compressed patch files. 2000-05-17 03:32:43 +00:00
agc
ef268dcf91 Define a new target, "show-pkgsrc-dir", which prints the directory
from which an installed package can be re-installed.  This can be used
to build up a list of host specific packages, which is useful, for
example, in re-building all packages on a machine for a.out to ELF
transition.
2000-05-11 11:23:20 +00:00
agc
1faf8c57a1 Fix a pasto, pointed out by John Refling in PR 10094, which prevented
files from being ignored when making checksums for distfiles.
2000-05-11 08:14:35 +00:00
tron
211c58050d Remove obsolete entry for "MUTT_INTERNATIONAL". 2000-05-09 18:12:40 +00:00
abs
6642be2b54 Add NS_USE_BSDI to allow people to select the i386 BSDI binary for navigator
and communicator. Also rename PLIST files to reflect the real OS, and include
${BINNAME} (navigator/communicator)
2000-05-09 13:23:19 +00:00
fredb
2a225916a3 Document LYNX_SCREEN_LIB for lynx (actually, only lynx-current for now). 2000-05-08 02:01:45 +00:00
hubertf
5b891053b8 Add $PKG_ADMIN, "just in case this is used somewhere" :-) 2000-05-07 01:58:41 +00:00
danw
999c0cad32 When calling configure, set ac_given_INSTALL as well as INSTALL, to
work around a bug in how autoconf 2.13-generated scripts pass INSTALL
to sub-configures.
2000-05-02 18:44:37 +00:00
sakamoto
93d4a9d4d4 Add LINUX_LOCALES variable.
Used in linux-locale package to install specify language(s)
2000-04-28 10:30:36 +00:00
kim
b47fe97954 Document POSTFIX_PCRE and POSTFIX_VERP. 2000-04-27 01:10:00 +00:00
tron
efb6064cd3 Rename "SSL_DIR" variable to "SSLBASE" to be consistent with e.g.
"USE_MOTIF".
2000-04-26 21:16:10 +00:00
tron
70f8a03a2f Add new option "USE_SSL" for packages which require a SSL library. An
OpenSSL installation from "cryptosrc" is automatically utilizied. If
none is available the "openssl" package is used.
2000-04-26 21:09:02 +00:00
tron
3bd499e478 Don't use "MOTIFBASE" if "USE_MOTIF" was not defined. Patch supplied by
John Darrow in PR pkg/9914.
2000-04-25 20:19:56 +00:00
jwise
60cf0a246a Make previous more thorough:
In the USE_JAVA case, make PATH include ${JAVA_HOME}/bin, and set CLASSPATH in
CONFIGURE_ENV and SCRIPTS_ENV as well (no pkgs use this yet, but they could...)

This should make java packages build happily in bulk pkg builds where CLASSPATH
is not set or JAVA_HOME/bin is not in PATH on the system as a whole :-)
2000-04-24 22:39:11 +00:00
jwise
b77f29df69 If CLASSPATH is not set, assign a reasonable default. Although
pkgsrc/lang/jdk/pkg/MESSAGE advises people to set CLASSPATH, they
may not have by the time they build a dependent package, especially if
jdk was pulled in as a prerequisite...
2000-04-24 22:20:02 +00:00
kim
8520b168ca Set DEPENDS_TARGET=package during a "make package", and propagate
DEPENDS_TARGET to builds for dependencies.

This results in "make package" creating packages for all missing
dependencies as well, instead of merely installing them on the system.
This is a more consistent and intuitive behaviour.

Running "make install" will install the dependencies just like before
(no binary packages will be built).
2000-04-24 03:40:50 +00:00
wiz
9fc273abd9 update comment for ZIP_ENCRYPT -- it doesn't apply to unzip anymore 2000-04-20 04:02:55 +00:00
wiz
fd683ab63c make show-downlevel compare version numbers if a different version is
installed, instead of just saying that the version installed is older.
Useful e.g. for the -current packages which don't have -current in their
name (gimp, mutt, cvs et al.)
2000-04-19 15:02:31 +00:00
hubertf
6dd4923307 Fix print-pkg-size: when parsing the PLIST, use awk to prepend the
proper prefix (defaults to $PREFIX, but can be changed by
	@cwd from the PLIST).

Sent in in PR 9888 by Takahiro Kambe <taca@sky.yamashina.kyoto.jp>
2000-04-15 16:13:07 +00:00
hubertf
5bfd37b7e5 Your package tools need to be updated to 3000/02/02 versions.
The installed package tools were last updated on 1999/01/01.    <====
  Please make and install the pkgsrc/pkgtools/pkg_install package.

Print out the second date from the right variable.
2000-04-13 23:19:20 +00:00
tron
bb3acfbf10 Remove description of obsolete "GLX_CHIPSET" variable. 2000-04-11 22:51:48 +00:00
hubertf
9d722decbb * small whitespace fix
* set DECOMPRESS_CMD to ${CAT} if EXTRACT_SUFX == ".tar"
2000-04-06 16:03:22 +00:00
fredb
e410dc661a Correct the sense of the example use of "BSD_PKG_MK". Error pointed out
by Hubert Feyrer.
2000-04-02 08:22:44 +00:00
wiz
f88a0a03d8 Add and document variable BASH_STATIC, as per pkg/8792 by Jim Bernard
<jbernard@mines.edu>.
2000-03-30 12:13:13 +00:00
tron
0cc9b5c48e Don't invoke "${CONFIGURE_SCRIPT}" with leading "./" so that an absolute
pathname will work properly.
2000-03-27 08:43:05 +00:00
fredb
92bbcf914b Document BSD_PKG_MK. 2000-03-26 19:56:25 +00:00
jlam
45c2310c69 In print-pkg-size target, pre-filter the input to "xargs ls -ld" to
shell escape any spaces in the filename.  This allows building with the
correct package size for things like StarOffice or Maelstrom.
2000-03-26 08:11:21 +00:00
enami
e310c9a242 Introduce three control variable for this package; EMACS_USE_{POP,X,X_TOOLKIT}.
The first one defaults to `yes' and latter two aren't defined by default (so,
the configure script will configure automagically).
2000-03-26 07:59:30 +00:00
fredb
b69ab5508b Deal with some hidden dependencies, commonly induced by Gnu configure, by
setting M4, and by adding M4 and YACC to CONFIGURE_ENV (YACC is already set,
for NetBSD, in "sys.mk"). If it turns out that a package really needs "gm4"
for "m4", or "bison -y" for "yacc", the corresponding variable will have to
be set in the package's Makefile (and the explicit dependency added, too).
2000-03-25 17:17:37 +00:00
wiz
f427f8274d remove now unused TRN_* variables, and add trn again to comment for
USE_INN.
2000-03-18 19:55:24 +00:00
jlam
454d48168c Nuke PGSQL_USE_TCL. Superseded by databases/{tcl,tk}-postgresql. 2000-03-18 17:57:58 +00:00
hubertf
32110c5f9b if DESTDIR is set, don't change PKG_DBDIR when PKGTOOLSVERSION
is not known (yet).
2000-03-13 17:47:07 +00:00
agc
755bef9345 Previous commit to bsd.pkg.mk caught some "SMART_MESSAGES" work - document
them now, in mk.conf.example, and add a small comment explaining what they
do.

When SMART_MESSAGES is defined, when compiling packages, the make(1)
target is displayed, and also the current stack of packages being built.
2000-03-13 14:24:27 +00:00
agc
2b9aa50765 Fix PACKAGE_DEPENDS_QUICK when installing on Solaris - escape the
argument from the shell, so that we can install packages on Solaris
again, and use canonical ${GREP} and ${AWK} programs.
2000-03-13 14:19:15 +00:00
wiz
9fe0402e1e Added variable for display depth rasmol gets compiled for, since
it only supports one per executable :-(
2000-03-13 04:44:18 +00:00
agc
dfd49da283 In informational messages to the user, use '=>' in preference to '>>',
so that cut-n-paste into send-pr will work correctly.

Fixes PR 9173 from ITOH Yasufumi.
2000-03-10 16:07:37 +00:00
hubertf
50f2df320b Change print-depends to look into /var/db/pkg, instead of pkgsrc
(implements $PACKAGE_DEPENDS_QUICK)

--

Thomas Klausner hinted me at some interresting problem WRT the
print-depends package. If something depends on suse_linus-6.*, that
package will register whatever suse_linux there is right now on the system
(in his case V6.1). What print-depends then does is also dig out any pkgs
required for suse_linux, based on what's in pkgsrc, which is of course
_wrong_, as this most likely doesn't match the installed version.[*] The
right thing instead is to print whatever the (currently installed)
suse_linux package depends on, which can be read from "pkg_info -qf"
output, looking at the @pkgdep lines.

Of course this only works if the pkg is actually installed, so it cannot
be used for README.html generation etc., but that's bad luck.

One positive aspect of using the @pkgdep list instead of going down
recursively is that this saves some time and processes. On my P133 it's
going down from ~11s to 0.5s for the pkgsrc/x11/kde package. During a
"make package" of kde itself (not counting the depending pkgs) this will
cut down like 20s (once for the fake-pkg target, and another one for the
pkg_create args - maybe a 3rd time for pkg_create in fake-pkg, but I don't
want to check that right now).

Anyways, a general solution would be to use the "pkg_info -qf | grep
@pkgdep" in print-depends instead of recursion (only!) in the places that
we know that the depends are installed. Which is the PKG_ARGS assignment
(for pkg_create) and the fake-pkg target.


[*] Plus it may be questioned that we should not go down recursively
    for pkg depends anyways, but this is used in too many subtle ways
    throughout the system to change.
2000-03-09 14:05:26 +00:00
hubertf
4c257865d4 Changes to make DESTDIR builds have a bit more chance to survive,
esp. WRT PKG_DBDIR; Plus one comment.
2000-03-09 13:54:50 +00:00
soren
654348726b Add ftp.dk.netbsd.org. 2000-03-05 22:30:57 +00:00
wiz
c8dbdb2596 delete more created files when NO_WRKDIR is set 2000-03-02 18:35:59 +00:00
tron
b2c6e7b6ed Add mirror on "ftp.informatik.rwth-aachen.de" to "MASTER_SITE_SUNSITE". 2000-03-01 10:53:07 +00:00
fredb
d22d091537 Special case DEINSTALLDEPENDS=ALL in deinstall target, so that update
target won't delete BUILD_DEPENDS packages. No one should be setting
DEINSTALLDEPENDS to ALL in /etc/mk.conf--it's done unconditionally by
the update target. Setting DEINSTALLDEPENDS to anything but NO or ALL
will still cause the BUILD_DEPENDS to be pkg_deleted.
2000-02-28 22:13:31 +00:00
hubertf
586e83db55 We don't support FETCH_DEPENDS for some time now, remove the
remaining code (fetch-depends calls, fetch-depends calling
_DEPENDS_USE).
2000-02-28 01:38:37 +00:00
hubertf
6f7bfe172b Also remove pkgs installed via BUILD_DEPENDS, they are not noted in the
installed pkg and this won't be caught by "pkg_delete -r".

There are still situations where pkgs can be left behind if they were
pulled in as BUILD_DEPENDS of any depends installed via the "depends"
target. Maybe Makefile-level recursion should be used instead of
"pkg_delete -r" to implement this...
2000-02-26 21:58:55 +00:00
hubertf
88ade01ee1 Only add DIST_SUBDIR to MASTER_SITE_OVERRIDE if MASTER_SITE_OVERRIDE
is actually set. Prevents "Variable MASTER_SITE_OVERRIDE is recursive"
message.

Found by Ezra Story <ezy@panix.com>
2000-02-25 05:46:27 +00:00
wiz
278a82fb86 removed obsoleted ${UVM} variable, all ports are UVM now, and have
been since approx. 1.4
2000-02-19 04:00:44 +00:00
hubertf
e29c26fdcb Extend MASTER_SITE_OVERRIDE properly (like MASTER_SITE_BACKUP), when
DIST_SUBDIR is set.

Noted by Bill Squier (groo@cs.stevens-tech.edu) in private mail.
2000-02-17 17:30:15 +00:00
wiz
f8f0f7d44f added entries for trn4; punctuation fix. 2000-02-16 18:47:55 +00:00
tron
fe9ac2c3f2 Don't enable IPv6 support if socks support is activated. 2000-02-13 10:33:22 +00:00
wiz
d69778581a revert last change, and make sure the PLIST actually exists
where it is used (after discussion with hubertf)
2000-02-12 23:46:05 +00:00
wiz
2f2f25cb05 move ${PLIST} generation to the right place, fixing installation of
compressed man pages. Also save one process (Hi David & Al!)
2000-02-12 22:00:04 +00:00
fredb
c5c1809be0 Be quiet about finding no gzipped man pages in PLIST. 2000-02-12 17:24:41 +00:00
tron
d22a026a29 Use preprocessed package list instead of package list source during
automatical manual page handling. Patch supplied by Brook Milligan in
PR pkg/9391.
2000-02-12 11:00:25 +00:00
wiz
76e696bfc8 remove bogus 'ftp' before URL 2000-02-05 14:10:27 +00:00
tron
c0cfc85bfd Update GNU mirror list. 2000-02-03 16:41:48 +00:00
hubertf
6ac5b1f78c Bump PKGTOOLS_REQD to 20000202. As a consequence of this
- unconditionally enable the size code
 - use wildcards consistently (PACKAGE_DEPENDS_WITH_PATTERNS=true)
2000-02-02 16:28:55 +00:00
rh
6d652f1908 Change the 'update' target to skip non-existent (removed) directories.
This fixes PR pkg/9181 by Richard Rauch.
2000-02-01 16:30:07 +00:00
hubertf
4e9881f898 SSH_CONF_DIR is also used in openssh 2000-01-27 15:22:44 +00:00
itojun
2b821a1bf9 make USE_INET6=YES a default, if the package is compiled on IPv6-ready
userland (checked by existence of /sbin/ping6).

with the change, the default value for USE_INET6 will be like this:
- non-NetBSD: undefined
- NetBSD releases prior and including 1.4.x: undefined
- NetBSD-current (pre-1.5) prior to IPv6 integration: undefined
- NetBSD-current after IPv6 integration: USE_INET6=YES

It is advised to obey the default.
2000-01-24 07:04:28 +00:00
wiz
49e253fff1 re-add line that got lost in revision 1.114 2000-01-23 02:30:26 +00:00
hubertf
81911d508c Document UPCLIENT_LOGIN, UPCLIENT_PASSWORD, UPCLIENT_HOSTID 2000-01-21 01:39:04 +00:00
agc
42c349e4ab Remove the attempt to patch a second time if a patch doesn't apply
cleanly the first time.  This is unnecessary now that fuzz has been
removed from pkgsrc patches.
2000-01-17 17:11:49 +00:00
jlam
a4692870d9 Document two new make variables which may be defined in mk.conf:
USE_CRYPTO:	YES, NO; Default: YES
	- whether or not net/speakfreely is compiled with support for
	  encrypted connections

USE_IDEA:	YES, NO; Default: package-dependent
	- whether or not to compile with support for patented IDEA;
	  used by net/speakfreely and security/ssh

Also, remove SSH_DONT_USE_IDEA.  This is still handled by ssh Makefile,
but is marked as deprecated.
2000-01-17 16:21:31 +00:00
agc
dc8097ac65 Introduce another definition WARN_NO_OBJECT_FMT, defaulting to yes, which
governs whether a package which was installed before OBJECT_FMT was added
to the BUILD_DEFS will display an warning message. To shut up the message,
set WARN_NO_OBJECT_FMT to "no".
2000-01-17 14:49:55 +00:00
agc
6da66b2b6d Avoid problems with the newly updated Perl package by expressing the
dependency as a wildcard:

DEPENDS+=            perl-*:${PKGSRCDIR}/lang/perl5
2000-01-17 14:33:46 +00:00
ad
dbca62244e - Sort MASTER_SITES_* examples.
- Add MASTER_SITES_* entries for the UK (Sunsite UK).
2000-01-15 12:22:30 +00:00
jwise
224a006405 Two nits with the show-shlib-type target:
1.) protect definition of show-shlib-type with `if !target(show-shlib-type)'
    so that it can be overriden in a pkg makefile

2.) move the definition in lang/jdk/Makefile before the include of bsd.pkg.mk
    to trigger this.

Without these changes, show-shlib-type was `ELF\na.out' on i386/ELF, so
it was still treated as ELF.

lang/jdk now works on i386/ELF  (yay!).


While there, fix JAVA_HOME default to be JDK_HOME if PKG_JVM is jdk
and JDK_HOME is defined.
2000-01-15 02:08:03 +00:00
jwise
ba5547e596 Correct default for ${JDK_HOME}, and document ${PKG_JVM), ${JAVA_HOME},
${JAKARTA_HOME} and ${JSDK_HOME}
2000-01-15 01:03:17 +00:00
agc
1a2b110324 Introduce another definition, FATAL_OBJECT_FMT_SKEW, defaulting to "yes".
This halts the execution if an installed package's object format is not
the same as the object format currently in use. It can be set to "no" on
the rare occasion where the interface to the pre-requisite packages is one
of a binary, not a library.
2000-01-14 11:58:21 +00:00
agc
003906a9b8 Add a check, inspired by Thor Lancelot Simon:
When an installed package is found as part of a DEPENDS pre-requisite,
check its object format.  If there is none in the installed package,
that package was probably built before 29th September 1999, which was
when the OBJECT_FMT definition was added to the BUILD_DEFS, so print a
warning and continue.  If the object format of the installed package
and ${OBJECT_FMT} are the same, then continue.  If the object format
of the installed package and ${OBJECT_FMT} differ, then print an error
message explaining the error, and exit.
2000-01-14 11:39:31 +00:00
jwise
cd74daddd2 Add a USE_JAVA= variable for packages which use java, and a PKG_JVM variable
for users to choose their own JVM.

USE_JAVA sets up DEPENDS and $JAVA_HOME appropriately, based on PKG_JVM.

Currently sane values of PKG_JVM are `jdk' and `kaffe', where the default
is `jdk' on NetBSD-*-i386, and `kaffe' elsewhere.
2000-01-13 17:40:42 +00:00
hubertf
c1caa86ba9 Fix the clean-depends target by using make(1) modifiers before variable
expansion, instead of letting sh(1) DTWT.

Noted by Kazuki Sakamoto <sakamoto@cec.co.jp>
2000-01-11 13:59:28 +00:00
hubertf
ee064f5420 adjust date for size code, also fix the comment 2000-01-11 13:19:03 +00:00
agc
07b897362b The size options have only available in pkg_create since 23rd November
1999, so make that the date for the test, not 9th September 1999.
2000-01-11 09:18:03 +00:00
hubertf
922d8f63e0 When checking and registerring dependencies, recognize dependencies that
match more than one package, and warn about it:

*** WARNING: Dependency on 'gnome-*' expands to several installed packages
    ( gnome-libs-1.0.53 gnome-core-1.0.53 gnome-print-0.9 ).
    Please check if this is really intended!

In such a case, the pattern ('gnome-*') should be tightened to only match
what's really intended (e.g. 'gnome-[0-9]*').
2000-01-10 19:43:37 +00:00
hubertf
7b45a0cbff Split print-pkg-depend-sizes into two pkgs, to work make processing of
$DEPENDS with wildcards and relational depends possible. (The previous
solution with :Q was not useful as this also quoted the seperator between
the single depends, making the DEPENDS useless).
2000-01-10 19:17:27 +00:00
hubertf
7cdabb3acc Properly protect any wildcards from being expanded (or attempted to ... :)
by the shell.
2000-01-10 15:42:57 +00:00
agc
e60f13c811 Use _PKG_SILENT and _PKG_DEBUG in print-pkg-size, to aid debugging.
Make the print-pkg-size target work on Solaris if there are no
pre-requisite packages.
2000-01-10 12:33:58 +00:00
hubertf
fa65728c46 Fix size-registering code.
(Need to test PKGTOOLS_VERSION, not PKGTOOLS_REQD, to see if the new code
 is present; for PKGTOOLS_VERSION to get defined, some code needs to get
 moved around a bit, though)
2000-01-09 04:43:20 +00:00
abs
cd9b20bcc8 Calculate current pkgtools version once (inline rather than via
additional make call), and pass it in the environment to any
recursive make calls. 'make fetch' in gnumeric on my system is now
> 15% faster checking dependencies.
2000-01-07 12:24:14 +00:00
fredb
08885c2e61 Document USE_MESA=, for battleball. 2000-01-06 08:48:52 +00:00
hubertf
ccdab674e6 protect some more wildcard dependencies from interacting with the shell.
fixes pr 9106 by abs@netbsd.org.
2000-01-06 03:21:51 +00:00
wiz
686ee17cc0 mention in comment for USE_GIF that it's also used by tiff 2000-01-06 01:26:31 +00:00
hubertf
f30b8bee1a Add quotes round one place where it may be useful, and add a "plist"
target to create the PLIST on the fly. (This is just an alias for the
existing ${PLIST} target, but with that you have to type the full path
which is inconvenient).
2000-01-05 16:55:32 +00:00
fredb
dc444f5e0a Document KERMIT_SUID_UUCP option. 2000-01-04 01:51:44 +00:00
bad
a5f0042eb2 Use dot-files for the BUILD_VERSION- and BUILD_INFO_FILE. 1999-12-29 16:04:18 +00:00
wiz
f9025941d1 ${FIND} added 1999-12-28 03:33:53 +00:00
dmcmahill
f1b9dc7fd8 sort the list of binary packages when generating README.html 1999-12-23 03:12:44 +00:00
hubertf
6488cf70bc This patch cleans up our message for unacceptable licenses:
miyu% make
===>  xephem-3.1 Unacceptable license: no-commercial-use.
        To build this package, add this line to your /etc/mk.conf:
        ACCEPTABLE_LICENSES+=no-commercial-use

To do this, we need to change the semantics of the IGNORE variable. It is
no longer taken as one variable, but rather as one variable with several
lines, seperated by whitespace. Each line will be printed on it's own.

In addition, the code for the IGNORE_FAIL has been slightly moved around
so IGNORE_SILENT can be used together with IGNORE_FAIL now. (does someone
use this?).
1999-12-16 03:20:35 +00:00
abs
b6140f538f Fix off by one count of packages in a category in README.html 1999-12-15 15:52:17 +00:00
hubertf
00bb37ff6e document JDK_HOME 1999-12-10 03:55:47 +00:00
sakamoto
12fea9c887 Added LTCONFIG_OVERRIDE and LIBTOOL_OVERRIDE definition to
substitute pkglibtool for the pkg's own libtool.

	"ltconfig" is script to make "libtool" script.
	"ltconfig" is executed by GNU's "configure" script at
	"do-configure" target.

	if USE_LIBTOOL and LTCONFIG_OVERRIDE defined, specified "ltconfig"
	is overrided to symlink pkglibtool to "libtool" instead of making
	"libtool" before executing "configure".

	if USE_LIBTOOL and LIBTOOL_OVERRIDE defined, specified "libtool" is
	removed, and symlinked from pkglibtool after executing "configure"
	(and "ltconfig").
1999-12-07 08:55:58 +00:00
abs
ece830ebfe Add total number of packages to the category README.html 1999-12-06 23:40:55 +00:00
tron
c69cbf3977 Add entry for "USE_DB2". 1999-12-01 22:20:03 +00:00
hubertf
8993a94673 DTRT in package-depends if RUN_DEPENDS and PACKAGE_DEPENDS_WITH_PATTERNS
are set.
1999-11-30 04:17:58 +00:00
hubertf
00b3506c71 Add code to include the size of a package into both the
installed version and binary packages. The size can be queried then
via pkg_info:

        xfeyrer @ noon% pkg_info -s xv
        Information for xv-3.10apl1:

        Size of this package in bytes: 4670692


        xfeyrer @ noon% pkg_info -S xv
        Information for xv-3.10apl1:

        Size in bytes including required pkgs: 14610165

While doing work on the size code, support for the @src directive was
removed (formerly enabled with the pkg_create -s switch, but unused in
our pkg system).  The new pkg_info -s and -S switches were tested on
installed, local (file) and remote (ftp) packages.

In bsd.pkg.mk, take special care for pkg_* versions that do not have
the pkg_create -s and -S switches and do not record size information
there.
1999-11-29 19:48:15 +00:00
agc
fa1864ab33 Document POPTOP_USE_MPPE (used in netpop package). 1999-11-24 10:33:30 +00:00
dmcmahill
99f389a8cd add "" around ${F77} and ${FC} when adding to MAKE_ENV. This way if someone
specifies flags in PKG_FC, they are properly handled.
1999-11-23 14:31:24 +00:00
dmcmahill
35b83b8278 document PKG_FC variable for selection of the fortran compiler 1999-11-22 23:43:31 +00:00
dmcmahill
2595a8be59 - Add USE_FORTRAN variable. In packages which need a fortran compiler to build,
USE_FORTRAN should be set in the package Makefile.  The logic added by this
  commit will choose a fortran compiler to use and set the correct dependency
  rather than having this selection scattered across each package which needs
  a fortran compiler.
- Add PKG_FC variable.  By setting PKG_FC in /etc/mk.conf, users can force the
  selection of which fortran compiler gets used by the package system.  If not
  specified, PKG_FC defaults to f2c-f77 on pre-1.4 systems that did not include
  /usr/bin/f77.  In addition PKG_FC defaults to f2c-f77 on newer systems since
  f77 is still somewhat buggy.  When /usr/bin/f77 becomes more stable, the
  default should be changed from f2c-f77 to f77.
1999-11-22 23:42:21 +00:00
agc
2e66df838d Cosmetic change - the list of installed packages includes a trailing
whitespace - don't duplicate the whitespace.
1999-11-22 12:02:46 +00:00
hubertf
1694e904cc When we're making a _binary_ package, say so. 1999-11-22 02:42:30 +00:00
hubertf
11c54300fe Automatically set MASTER_SITE_LOCAL from MASTER_SITE_BACKUP, and make sure
MASTER_SITE_BACKUP doesn't end in //.

For this, any setting of MASTER_SITE_LOCAL in /etc/mk.conf must no longer
include ${DIST_SUBDIR} - this will be added automatically, if needed.
1999-11-20 21:15:49 +00:00
agc
dacffc483f Change the format of this file so that it does not require leading white
space (make(1) interprets leading tabs as the prefix denoting a shell
command).
1999-11-17 09:13:43 +00:00
sakamoto
8c6f9eb454 Add "no-profit" to ACCEPTABLE_LICENSE example.
this license is used by graphics/cqcam and mail/sendmail pkgs.
Suggested by Bjoern Labitzke <hermit@labitzke.isdn.cs.tu-berlin.de>.
1999-11-17 04:05:28 +00:00
sakamoto
52f3b3c09e fix MASTER_SITE_SUNSITE example for japan.
ftp://sunsite.sut.ac.jp/pub/archives/linux/sunsite-unc/
1999-11-16 02:29:24 +00:00
hubertf
7e2c589ca9 remove LAME_USE_GTK, it is no longer used 1999-11-15 17:44:29 +00:00
tron
897db03df3 Add documentation for "squid" package related variables. 1999-11-12 22:52:16 +00:00
abs
5e760986d1 Enable alternate rsh path with SSH_RSHPATH
Patch from NoRM <norm@mono.org>
1999-11-12 16:34:29 +00:00
agc
cc0ff64bd3 Clarify the way in which PATCH_FUZZ_FACTOR should be set. 1999-11-12 12:05:02 +00:00
agc
778fd30e2f Use asterisks, which are more visible, when flagging a bad fuzz factor
in a package patch.
1999-11-12 11:58:45 +00:00
agc
02f43d35d1 Introduce a variable called PATCH_FUZZ_FACTOR, default "", and use it
if patch(1) is smart enough (i.e.  not Solaris by default).  Also
introduce a second patch stage (in the package patch phase, not the
distribution patches), whereby a misapplied patch with
${PATCH_FUZZ_FACTOR} will be tried again without a fuzz factor.  This
will fail on package patches which patch many files, but these should
be fixed anyway.
1999-11-12 10:34:47 +00:00
agc
577f3b74d5 Use fuzz factor 0 when patching on NetBSD and Linux. Solaris, of course,
has a patch(1) that doesn't recognise a fuzz-factor option.

Pointed out by Frank van der Linden.
1999-11-10 10:50:30 +00:00
agc
53fe9f03a7 Provide an example MOTIFBASE definition. 1999-11-10 10:37:12 +00:00
agc
b49a8211ed Add a MOTIFBASE definition, to allow Motif libraries and headers to be
picked up from a different directory (typically, this is /usr/dt on
Solaris).
1999-11-10 10:36:05 +00:00
agc
eb6541e756 Recognise "lib" entries with two or more version numbers, in the
PLIST, as shared objects.  Tested with both GNU egrep and Solaris XPG4
egrep.  Not the most compact of regular expressions, due to
non-portability of {n,m} repetition atoms between different versions
of egrep.
1999-11-01 11:15:20 +00:00
rh
ffd71caeb7 Change the "update" target so it becomes more useful (and less dangerous!).
Here is a summary of the changed behaviour:

 * A "make update" will no longer clean the subtree before running.

 * If called a second time, it will resume package installation, in
   case a previous "make update" was interrupted for some reason.
   (just make sure you don't call "make clean" in between ;-)

 * Unless "NOCLEAN" is set, "make update" will clean up the subtree
   after successfully updating _all_ packages (to avoid a dirty directory
   structure for future makes).

 * A "clean-update" target has been introduced to clean up the subtree
   that gets updated.  This should be used prior to an initial "make
   update" if you suspect that one of the packages that get updated may
   be dirty.

XXX: this still does not automatically check for or update any obsolete
     ´upstream' packages (e.g., if gtk depends on glib, a "make update"
     in the gtk directory won't automatically update glib, you have to
     do it the other way round).
1999-10-31 19:43:02 +00:00
jdolecek
b4da84990c Cleanup as suggested in PR #8717 by wiz@danbala.ifoer.tuwien.ac.at:
- substitute leading tabs with spaces in IRRD_USE_PGP comment
- use ``YES'' instead of ``yes'' for appropriate variables
- move GLX_CHIPSET, INN_DATA_DIR and KNEWS_* so that the variables are sorted
  alphabetically
- add description of possible values for USE_GIF
- comment out NMH_MTA (nmh Makefiles DTRT)
- append = to variables as appropriate so that make(1) will parse them
  correctly if they are uncommented

Other minor cleanups:
- s/set, not set/defined, not defined/ in comments
- use empty value consistently for variables whose only purpose is to
  be either defined or undefined (previously, either ``yes'', ``1'' or
  empty value was used)
- mark variable UVM as obsolete (XXX it should be g/c'ed probably)
1999-10-31 17:47:44 +00:00
kim
587fc466ff Document IRRD_USE_PGP. 1999-10-28 20:13:07 +00:00
kim
bef13fe06c Move SSH_DONT_USE_IDEA to its alphabetical spot in the file. 1999-10-28 20:10:34 +00:00
minoura
e5260a26e9 Add variables USE_CANNA, USE_SJ3 and USE_WNN4. 1999-10-24 15:43:46 +00:00
agc
b7dfded8d9 Document the possible JB settings for the jitterbug package. *sigh* 1999-10-22 14:43:59 +00:00
agc
7728e6f519 As pointed out by Hubert Feyrer, the pattern that pkg_info takes (in the
show-downlevel target) is a shell glob pattern, not a regular expression,
so wildcards are '*', not '.*'. Due to the format of package names, the
regular expression will match in most cases (a single digit major version
number), but that's no excuse.
1999-10-22 14:14:22 +00:00
agc
8955a8a3b1 Remove the xvile USE_MENUS definition, which is on by default now. 1999-10-21 18:42:18 +00:00
agc
cbd3af2fa3 Be more careful when matching packages in show-downlevel target - apply
the fix from The Wiz in pkg PR 8597. This will still produce erroneous
results for the foo-current vs. foo package discrepancy, but that's left
as an exercise for a later day.
1999-10-21 14:49:59 +00:00
agc
c702a35695 Optimise some of the ELF shared object awk script. 1999-10-21 14:23:38 +00:00
agc
ca9878d24c Make ELF shared object links work again using nawk as well as gawk.
Use awk more efficiently.
1999-10-20 09:57:47 +00:00
agc
19e708b3c7 Re-enable shared lib handling on Solaris as well as NetBSD.
"Someone" owes me big-time for this.
1999-10-19 14:08:47 +00:00
agc
80baf91309 Be a bit more efficient when calculating whether patch-sum files have
changed, and avoid extraneous gibberish at the end of a cmp(1) command,
so that patch-sum creation works on Solaris.
1999-10-19 12:04:45 +00:00
agc
62dd5185de s/USE_WALLPAPER/KTERM_USE_WALLPAPER/ to make it more obvious which package
uses this definition.
1999-10-19 09:17:35 +00:00
agc
252f515425 Move PATCH_DEBUG into the generic options group of definitions - although
it is only used specifically by the exmh package, PATCH_DEBUG can still be
set to get more information as the patches are applied.
1999-10-19 09:15:12 +00:00
agc
d8abe93037 Delete NOMANINSTALL, which is not used by any package, and would cause
PLISTs to be inconsistent if it were used.
1999-10-19 09:04:34 +00:00
agc
edd09fb5be s/EXTRA_DICT/ISPELL_EXTRA_DICT/ to make it obvious which package uses
this definition.
1999-10-19 08:59:37 +00:00
agc
25fabddd97 s/DOMAIN_NAME/KNEWS_DOMAIN_NAME/ to make it more obvious which package
uses this definition.

Also s/DOMAIN_FILE/KNEWS_DOMAIN_FILE/ in the package Makefile, and document
it in mk.conf.example.
1999-10-19 08:55:48 +00:00
agc
4e05a4a3c5 s/DONT_USE_IDEA/SSH_DONT_USE_IDEA/ to make it more obvious which package
uses this definition.
1999-10-19 08:49:48 +00:00
hubertf
b3d14c3c2b Replace leading tabs with spaces
Noted in PR 8612 by Kawamoto Yosihisa <kawamoto@tenjin.org>
1999-10-14 12:06:18 +00:00
fredb
572a7ac9c0 Update "makepatchsum" target to produce a placeholder patch-sum file
if and only if there are no patches and patch-sum already exists.
This is necessary to meet the original purpose of that target, which
is to "catch" users who happen to have old patches lying around,
for whatever reason. Also, don't update patch-sum if it wouldn't change.
1999-10-14 05:31:22 +00:00
explorer
dac6f1c8dc Use LAME_USE_GTK=NO to turn off the GTK+ interface for 'lame' rather than two
separate packages, lame and lame-gui.
1999-10-13 05:52:45 +00:00
hubertf
c91a2b3f27 When appending some files to PLIST for shared lib handling, escape any
characters special to REs (e.g. libncurses++.so).

Fixes PR 8612 by SUNAGAWA Keiki <kei_sun@ba2.so-net.ne.jp>
1999-10-13 01:41:10 +00:00
jlam
39d24f27fe Back out revision 1.351 which added XPKGBASE. This seems to be an issue of
some contention, so better leave changes for till after all the dust
settles.
1999-10-07 16:04:57 +00:00
tron
b0558cd366 Support using a preinstalled Motif installation instead of Lesstif again. 1999-10-05 22:18:05 +00:00
jlam
2eef71cfff New variable XPKGBASE automatically set to ${LOCALBASE} or ${X11BASE} based
on value of USE_LOCALBASE_FOR_X11.  This points to the installation path of
X11 packages built via pkgsrc.
1999-10-05 15:48:26 +00:00
tron
5078017ba8 Replace the dead GNU mirror on "ftp.informatik.tu-muenchen.de" by the
one on "ftp.gwdg.de".
1999-10-04 17:13:02 +00:00
drochner
3d44e5c0fb document USE_GIF 1999-10-01 15:14:50 +00:00
tron
e4919e5b24 Document "GLX_CHIPSET" used by the "Mesa-glx" package. 1999-09-29 22:51:57 +00:00
agc
caf0c37c93 Add OBJECT_FMT to the list of BUILD_DEFS placed in the BuildInfo file. 1999-09-29 15:13:26 +00:00
agc
dd88c0d13a Use pkglibtool on Solaris as well as NetBSD. 1999-09-29 10:07:24 +00:00
agc
a950719aad Correct typo in previous target addition. 1999-09-28 10:07:38 +00:00
agc
37ec38a97a Add a convenience target called "show-var", which will echo a make(1)
variable from the command line:  i.e.  "make show-var VARNAME=var"
will echo var's value
1999-09-28 10:03:16 +00:00
fredb
1e07c2ac7b Abolish old-style bundled args for ${GTAR}. The purpose is to permit
EXTRACT_ELEMENTS to contain getopts style args and long args, specifically
"-X foo" and "--exclude foo". Addresses PR pkg/8498.
1999-09-27 17:08:43 +00:00
tron
80b9d999a3 Replace the call to "sed" used to modify the package list during automatic
ELF shared object handling by a call to "awk" to avoid clobbering
exclamation marks in the package list.
1999-09-24 22:20:30 +00:00
tron
f76cffc29e Don't apply automatical manual page handling to package list entries
starting with "@".
1999-09-24 17:13:31 +00:00
hubertf
816e188293 document and use DEFAULT_IRC_SERVER 1999-09-23 16:28:17 +00:00
hubertf
32c6064b91 Do not include lines like
@exec ln -fs dlopen.3.gz %D/emul/linux/usr/man/man3/dlclose.3.gz
into the list of manpages to decompress (for automatic manpage compression
handling.

Bug hit in the emulators/suse_base  package, hashed out by tron.
1999-09-21 12:53:14 +00:00
tron
0bdbd39505 Remove "ftp.funet.fi" from "MASTER_SITE_SUNSITE" because the mirror is not
complete.
1999-09-20 23:00:04 +00:00
jlam
1e2ade6f01 Change the semantics of PGSQL_USE_TCL to be YES/NO, defaulting to YES since
the old 6.4.2 package included the Tcl/Tk stuff.  "Backwards compatible
upgrade."
1999-09-20 03:56:25 +00:00
jlam
9c93f7739f Document new PGSQL_USE_TCL variable which enables building the Tcl/Tk
interface for PostgreSQL.
1999-09-19 04:29:11 +00:00
kim
9ec7d89a66 Fix unknown MACHINE_ARCH on Solaris. 1999-09-18 15:33:55 +00:00
jwise
814ccd277a When a package is already installed, tell people about ``make update''
in addition to ``make reinstall'' and ``make FORCE_PKG_REGISTER= install''
1999-09-18 04:24:22 +00:00
rh
299eb5fbd4 In ${DDIR} creation, change ${GREP} to ${EGREP} and modify pattern to only
match package Makefiles.  This fixes pkg/8396.
1999-09-15 05:39:38 +00:00
jlam
30c69a9109 Document LPRng-specific variables. 1999-09-14 15:52:29 +00:00