Commit graph

527 commits

Author SHA1 Message Date
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