Commit Graph

646 Commits

Author SHA1 Message Date
Maxim Sobolev
59de89b322 Fix another "last" bug introduced with the speed-up commit. In some conditions
the bug resulted in "sh: Argument list too long" message during dependency
registration process.

Reported by:	*many*
Submitted by:	Joe Marcus Clarke <marcus@marcuscom.com>
2002-04-04 10:06:00 +00:00
Ade Lovett
b13d153e13 Fix missing quotes around one instance of
if [ ! -z "$$select" ]

Submitted by:	lioux
2002-04-03 01:17:57 +00:00
Ernst de Haan
d45f258f87 Fixed a problem that occurred if it would look for
JDK 1.2 while the FreeBSD JDK 1.3 was not installed,
but the FreeBSD JDK 1.2 was.

Reported by:	lioux
2002-04-02 08:57:28 +00:00
Kris Kennaway
59ac30e126 Fix a fetch bug in MASTER_SITES_NN introduced in rev 1.396.
Submitted by:	lioux
PR:		ports/36078 (part of)
2002-04-02 05:24:33 +00:00
Ernst de Haan
6c375d5787 Removed an extraneous .BEGIN. It was not causing any problems,
but it was not necessary either.

Submitted by:	Kimura Fuyuki <fuyuki@mj.0038.net>
2002-03-30 10:48:23 +00:00
Ernst de Haan
c1f7d64d08 Fixed 2 bugs related to dependencies.
Submitted by:	Kimura Fuyuki <fuyuki@mj.0038.net>
2002-03-29 11:22:41 +00:00
Ernst de Haan
d53122988d Added bsd.java.mk. This adds Java-specific support to ports by
means of a USE_JAVA definition. If a port does not define
USE_JAVA, then this change should not affect that port.

The purpose of this bsd.java.mk file has been extensively
discussed on the freebsd-java mailing list. The current
bsd.java.mk is based on the following specification documents:

http://www.metaverse.nl/~ernst/installing.html
http://www.metaverse.nl/~ernst/writing.html

A proposal that lead to the development of these documents and
finally the current bsd.java.mk file is:

http://www.metaverse.nl/~ernst/freebsd-java-proposal-20011116.html

The bsd.java.mk has been sent to portmgr for review. They had
no objections.

Reviewed by:	portmgr@FreeBSD.org, java@FreeBSD.org
Approved by:	sobomax@FreeBSD.org
2002-03-28 11:24:43 +00:00
Maxim Sobolev
c3fbe51db3 The second, and I hope the last, revision of speedup patch - make USE_SUBMAKE
working as advertised. This should fix mod_phpX and probably some other 30
ports that use USE_SUBMAKE. Default behaviour remains exactly the same.

Prompted by:	dirk
2002-03-28 09:58:08 +00:00
Maxim Sobolev
3c634c1303 Slightly adjust speedup patch, so that it works when user specifies unnatural
targets sequence, i.e. `make clean build'. It doesn't affect default behaviour.

Reported by:	knu
2002-03-27 04:26:44 +00:00
Akinori MUSHA
5fe1ba2315 lang/ruby:
- Update to the latest 1.6 stable snapshot as of 2002-03-27.
- Update the Oni Guruma alternative regex engine to 20020325.

lang/ruby-devel:
- Update to the latest 1.7 development snapshot as of 2002-03-26.
- Add the WITH_ONIGURUMA knob as well as lang/ruby.
- Require devel/autoconf (2.53 or later is required).
- Add several modules to the obsoleted modules list (now included):
	bigfloat
	fileutils
	racc-runtime
	strscan
2002-03-26 22:20:00 +00:00
Maxim Sobolev
d6ce894ff6 - Significantly reduce overhead associated with bsd.port.mk by replacing .USE
macro, which was invoking separate make(1) process for each of the main
  targets, with explicit make(1) targets and specifying the dependencies on
  those targets in normal Makefile way. This gives up to 4x speedup. For the
  ports relying on the old functionality (i.e. each main target in a separate
  make(1) process) provide a USE_SUBMAKE knob, which provides old behaviour;

- speed-up dependency registration process by the factor of two, which
  could be a great win especially for things like GNOME and KDE with very long
  dependency chains;

- clean-up internal structure of the file, so that it is easier to understand
  and extend it when necessary.

Inspired by:	NetBSD
Reviewed by:	freebsd-ports@
Tested by:	bento
2002-03-25 08:48:47 +00:00
MANTANI Nobutaka
bf74987ed7 Sync with emacs21 update.
Approved by:	shige
2002-03-19 03:28:51 +00:00
Trevor Johnson
e1aa5cb0a7 Add http://linux.dsi.internet2.edu to KDE and SUNSITE lists. 2002-03-17 04:51:20 +00:00
Will Andrews
089c1bb234 XFree86 4.2.0 Stage 1: bsd.port.mk
[1] Handle HTML-ified manpages in plists.
	[2] Add --x-[libraries,includes]=${X11BASE}/[lib,include] if we are
	    using GNU_CONFIGURE in this port.  This is required if the port
	    adds a bunch of other libraries by default to CPPFLAGS and
	    configure gets a false positive.

Submitted by:	[1] sf
		[2] many people
2002-03-16 23:37:02 +00:00
Mark Murray
05e08061c2 Take Perl 5.6.1 into account. Allow for slow updaters who prefer to
stay with an older CURRENT and perl 5.6.0.
2002-03-16 22:47:00 +00:00
Trevor Johnson
3ffe4d95a6 Remove ftp.dl.ac.uk and ftp.shellhung.org from GNU list because
they appear to no longer carry any GNU archives (seen in fenner's
survey and verified manually).

Add ftp.informatik.hu-berlin.de to GNOME, GNU and KDE lists.

Add ftp.dl.ac.uk to XCONTRIB list.

Make ftp.chg.ru last in every list containing it, because it is
often offline.

The ftp://ftp.sourceforge.net/pub/mirrors/ directory is empty.
Remove it from the CPAN, GNOME, GNU, KDE and SUNSITE lists.

Remove ftp.synesis.net from the KDE list.  Nothing is there except
a README which says "please use another mirror site."

Remove ftp.twoguys.org from the KDE list.  Its hostname does not
resolve.

Remove ftp.rediris.es from SUNSITE list; add it to the GNU, MOZILLA
and XFREE lists.

Remove ftp.lip6.fr from the XFREE list because its XFree86 archive
is not current.  Add the site to the GNU list.

Reviewed by:	demon and petef
2002-03-16 19:32:02 +00:00
Dmitry Sivachenko
2bf743da9f Add new mozilla download location. 2002-03-16 09:09:51 +00:00
Akinori MUSHA
c990483df5 Update to the latest stable snapshot as of 2002.03.13.
Add a WITH_ONIGURUMA knob that enables the Oni Guruma regex engine
that's currently under development that will eventually replace the
stock one that's derived from LGPL'd GNU regex. [experimental]
2002-03-13 22:57:19 +00:00
David E. O'Brien
bbd4540ab8 mirrors.rcn.net reorged. 2002-03-13 00:56:08 +00:00
Akinori MUSHA
edf66fa8c3 Move some variable definitions outside the .if defined(RUBY) block so
they will not be referenced without being defined.

Submitted by:	gad
2002-03-10 20:42:48 +00:00
Akinori MUSHA
933a01c2ca Update lang/ruby to the latest release, 1.6.7.
Update lang/ruby-devel to the latest snapshot as of 2002-03-01.
2002-03-01 16:53:55 +00:00
Andrey A. Chernov
a35cebf9cf Add -D_THREAD_SAFE for -current too
Approved by:	portmgr & ports silence
2002-02-24 16:54:34 +00:00
David E. O'Brien
b5e6b050c5 Fix a typo in the CD_MOUNTPTS bits.
Submitted by:	Alexander Zagrebin <alexz@visp.ru>
2002-02-22 18:53:28 +00:00
David E. O'Brien
2dba26a1c7 Fix the default CONFIGURE_TARGET to one that is a proper GNU tuple.
Approved by:	several portmgr members
2002-02-21 18:24:20 +00:00
Akinori MUSHA
a0a0db6a5e Update ruby-amstd to 2.0.0. 2002-02-20 05:00:47 +00:00
Akinori MUSHA
f64fedc24d Update lang/ruby-devel to the latest snapshot as of 2002-02-10. 2002-02-12 09:23:06 +00:00
Akinori MUSHA
d39325271f Prevent extconf.rb from getting patched for pthread more than once
when a port is built twice.
2002-02-10 18:12:38 +00:00
Akinori MUSHA
29ab188f02 To keep users from experiencing upgrading problems, make lang/ruby and
lang/ruby-devel deinstall obsoleted (integrated) packages in their
post-install targets (for installation from ports) and in their plists
(for installation from packages),

Update to the latest snapshot as of 2002-01-29 while I'm at it.
2002-01-29 09:14:09 +00:00
Akinori MUSHA
511ddbdf96 Update ruby and ruby-devel to the latest snapshots as of 2002-01-26. 2002-01-25 20:58:05 +00:00
Steve Price
ecaa30aadc Add a default value for _PATCH_SITES_DEFAULT so the MASTER_SITE_N
patch is functional.
2002-01-24 01:15:03 +00:00
Will Andrews
78be64afad Bring in changes tested on bento's new 4-exp tree, specially fitted for the
4.5 release.

 1) Add support for MASTER_SITE_N.  This is by far the largest part of
    this patch; many thanks to Mario for his hard work on this!
    Submitted by:	lioux

 2) Allow multiple CD mountpoints to be specified.
    PR:			8063
    Submitted by:	MOROHOSHI Akihiko <moro@race.u-tokyo.ac.jp>
    Rewritten by:	will (with suggestions from steve)

 3) Fix MLINKS description.
    PR:			29876
    Submitted by:	dirk

 4) Add imake dependency for XFree86 3.x when USE_IMAKE is defined
    because it's possible the port may not need X itself, but just imake.
    Submitted by:	max

 5) Fix installing as non-root with ${INSTALL*} macros.
    PR:			25531
    Submitted by:	Martin Kammerhofer <mkamm@gmx.net>

Thanks to Kris Kennaway <kris> and Steve Price <steve> for helping make the
experimental tree on bento a reality.
2002-01-23 03:48:44 +00:00
Thomas Gellekum
38d8068c7f Upgrade python21 to 2.1.2, the latest bugfix release.
PR:		34078
Submitted by:	Hye-Shik Chang <perky@fallin.lv>

Update checksum of dependent ports.
2002-01-22 12:53:28 +00:00
Thomas Gellekum
0bde08831d Grr. Really fix PYTHON_WRKSRC for 2.1.1. 2002-01-16 12:24:32 +00:00
Thomas Gellekum
1b36114760 Fix variables for Python-2.1.1. 2002-01-16 12:23:24 +00:00
Maxim Sobolev
2bdeafee66 Add chkdepschain.py - a tool to address one of the most annoying when it comes
down to user support flaws in the FreeBSD ports system.  The flaw in question
is related to the fact that dependencies are often "chained", which allows to
simplify maintenance of ports with large number of implied dependencies (a la
Evolution, Nautilus, you-name-it). Dependency chaining it's not a problem by
itself, but the fact that when building or installing a port the system doesn't
check chain integrity - it's only checks that dependencies explicitly
specified in port's Makefile are satisfied, which opens wide window for
various hard-trackable problems when one or more links in the middle of the
chain missed.

The idea behind the tool is quite simple - it should be executed right after
main dependency checking procedure, two times for each build - check build-time
chain before building the port (pre-pre-extract) and check run-time chain
before installing the port (pre-pre-install).  When executed, the tool checks
integrity of the specified chain (build-time, run-time or both) and reports all
errors, both fatal (dependency isn't installed) and non-fatal (dependency is
installed, but different version).

I've wrote this tool mostly to simplify maintenance of the GNOME ports, but
it doesn't contain anything GNOME-specific, so that it could be used in the
other parts of tree as well.

As an example I've added GNOME_VALIDATE_DEPS_CHAIN knob into bsd.gnome.mk (off
by default), which enables automatic chain validation for all ports that
USE_GNOMELIBS. This is a bit hackish, because I've used pre-extract and
pre-install targets - what we probably need is a generic way to plug various
custom tasks specified in bsd.xxx.mk (where xxx is kde, gnome, python, etc.)
into various parts of the build process (something like {pre,post}-pre-foo,
{pre,post}-post-foo springs into my mind).

The code is quite raw, so that I would appreciate any bug reports, patches,
suggestions, constructive critiquie and so on.
2002-01-13 12:05:07 +00:00
Maxim Sobolev
c95684ae39 Pessimize http://telia.dl.sourceforge.net/ - the host is unreachable. 2002-01-11 12:11:33 +00:00
Thomas Gellekum
2d5aba540b Add python2.2 to the list of legal PYTHON_VERSIONs. 2002-01-11 12:05:29 +00:00
Trevor Johnson
b8c7d3a975 Downloads via Sourceforge's Project Filelist Web pages are served
from telia.dl.sourceforge.net (also known as sourceforge.aleron.net--it
is in the USA, not Sweden), so I have placed it in the first position.
According to Fenner's survey, projects.sourceforge.net and
prdownload.sourceforge.net have been offline since late October and
early November of 2001.
2002-01-10 14:58:53 +00:00
Thomas Gellekum
555f286ca1 Upgrade lang/python to 2.2. Adjust bsd.python.mk accordingly.
PR:		33444
Submitted by:	Hye-Shik Chang <perky@fallin.lv>

Add new MD5 to dependent ports.
2002-01-07 13:26:47 +00:00
Dmitry Sivachenko
3dd26004e8 Add one more sourceforge mirror located in Rissia. 2002-01-07 08:55:54 +00:00
Akinori MUSHA
816167d11c Update lang/ruby to the 1.6.6 Xmas stable release.
Update lang/ruby-devel to the 1.7.2 Xmas' development snapshot.
2001-12-25 17:02:33 +00:00
Will Andrews
f8a48d00c2 Don't descend into a subdir for 'readmes' target if subdir doesn't exist.
PR:		28510
Submitted by:	Philippe Casidy <pcasidy@casidy.com>
2001-12-23 11:11:40 +00:00
Will Andrews
fa8f93bcfc Add AUTOMAKE_ARGS+=-i by default if AUTOMAKE_VER != 1.5. This generates
Makefiles more useful for non-GNU make(1).

Requested by:	obrien
Reviewed by:	steve, bento 4-exp
2001-12-22 17:13:38 +00:00
Maxim Sobolev
d15f6617de - Remove ftp://download.sourceforge.net - it doesn't accept ftp connections
anymore;
- move ftp://ftp.is.co.za/ down in the MASTER_SITE_MOZILLA - I'm getting
  connection timeout when trying to connect it.
2001-12-12 07:54:15 +00:00
Shigeyuki Fukushima
7273fd472b Add new directive.
EMACS_MASTERDIR_PKGFILES (default:NO)
   If YES, refer pkg-{comment,descr,plist}.${EMACS_PORT_NAME}
   in the master directory.

 EMACS_NO_SUBDIRSEL (cannot change by users)
   Whether emacsen has subdirs.el or not.

Add EMACS_SITE_LISPDIR and EMACS_VERSION_SITE_LISPDIR to SCRIPT_ENV, PLIST_SUB.

Start a transition period:
  EMACS_PORT_NAME for emacs-19.x. is from "emacs" to "emacs19"
2001-12-01 17:54:54 +00:00
Mario Sergio Fujikawa Ferreira
0273a8420e Add USE_AUTO{CONF,MAKE}_VER following original idea from bsd.kde.mk
by will

1) Make selection of AUTO{CONF,MAKE} flexible depending on *_VER
   variables.
2) This is backward compatible with previous behavior. For example,
   {ACLOCAL,AUTO{CONF,HEADER,MAKE,RECONF,SCAN,UPDATE,IFNAMES}} are
   set with default values even if USE_AUTO* are not set.
3) Have the defaults be devel/autoconf213 and devel/automake14 ports
   (just set the USE_*VER?= to the latest values, or a bogus value).
   If the user sets a bogus value, we use the default values.
4) Furthermore, add variables in the same sense of the
   PTHREAD_* vars. We must be able to automagically patch the ports
   based on the correct
   {ACLOCAL,AUTO{CONF,HEADER,MAKE,RECONF,SCAN,UPDATE,IFNAMES}}
   values.
5) Moreover, add {ACLOCAL,AUTO{MAKE,CONF}}_DIR variables pointing
   to the right locations based on the *_VER variables, this is
   useful if a port needs to grab files from those. This might seem
   too much but if we want automagical, we should go this extra
   mile.

Requested by:	too many
Reviewed by:	portmgr, ports
Approved by:	portmgr (will), ports (silence)
2001-11-28 05:00:36 +00:00
Akinori MUSHA
c7d7f1b6ef Update lang/ruby to the latest snapshot, 1.6-2001.11.23.
Update lang/ruby-devel to the latest snapshot, 1.7-2001.11.22.

Use bzip2 patches instead of gzip patches.
2001-11-24 09:02:52 +00:00
Akinori MUSHA
919909471b Fix a wrong comment. PATCHDIR is now ${MASTERDIR}/files by default,
not ${MASTERDIR}/patches.

PR:		ports/30328
Submitted by;	Hye-Shik Chang <perky@python.or.kr>
2001-11-17 21:35:39 +00:00
Akinori MUSHA
5493715c67 Add bzip2 support for distribution patches. The bzip2 dependency is
automatically added if there is a .bz2 patch in PATCHFILES.

PR:	ports/16252 and ports/30862
Seven months have passed since the PR was assigned to:	portmgr
2001-11-17 21:23:09 +00:00
Akinori MUSHA
e00f292763 Add a bunch of generally used command macros:
BZCAT, BZIP2_CMD, CHGRP, CUT, DC, ECHO_CMD, EGREP, FILE, FIND,
    HEAD, ID, IDENT, STRIP_CMD, SU, TAIL, TEST, XARGS

And use shell (ash or ksh) builtins where available for efficiency:

    ECHO_CMD, FALSE, TEST, TRUE

Grepping the ports tree, a few dozen ports already have FIND,
STRIP_CMD and XARGS variables on their own and numerous ports use
these commands without using macros.  Some ports use FILE as a .for
loop variable, but it doesn't matter anyway.

Obtained from:	NetBSD

Remove the definition of ECHO because it is already defined in
/usr/share/mk/sys.mk and leaving the useless definition may mislead
developers.  Add the following comment that would help:

    # ECHO is defined in /usr/share/mk/sys.mk and its value can either be
    # "echo", or "true" if the make flag -s is given.  Use ECHO_CMD where
    # you mean the echo command.

No response yet from:	portmgr
Clued by:	Cyrille Lefevre <clefevre@citeweb.net> (on ${ECHO})
2001-11-17 21:05:50 +00:00