1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
Commit Graph

659 Commits

Author SHA1 Message Date
Ernst de Haan
f1fbaf5a19 Introduction of NEED_JAVAC knob in bsd.java.mk, stage 3.
NEED_JAVAC now actually defaults to NO.

Tested with:	net/spread
		lang/kawa
		java/jdom
2002-04-27 00:18:53 +00:00
Ernst de Haan
4da7745589 Add support for the Sun JDK 1.2.
Also fix one NEED_JAVAC related bug/typo.
2002-04-26 23:39:17 +00:00
Ernst de Haan
aae053233d Update to IBM JDK 1.3.1 (cxia32131-20020302).
PR:		37397
Submitted by:	Hye-Shik Chang <perky@akaraka.yonsei.ac.kr>
2002-04-26 23:23:02 +00:00
Ernst de Haan
a4c952c405 Introduction of NEED_JAVAC knob in bsd.java.mk, stage 2.
All ports that need a Java compiler (either 'javac' or
'jikes') should from now on define NEED_JAVAC.
2002-04-26 22:30:47 +00:00
Thomas Gellekum
3688540fe6 Fix comment to reflect the actual usage of USE_PYDISTUTILS. 2002-04-26 10:45:42 +00:00
Maxim Sobolev
ac09919701 Heroic attempt to reduce number of PRs assigned to portmgr@:
1. Make PY_DISTUTILS recently added into <bsd.python.mk> actually working.

PR:		36537
Submitted by:	tg

2. Propagate error code from failed `make depends', when one of the ports
   we depend upon is marked BROKEN/FORBIDDEN.

PR:		25522
Submitted by:	alex

3. By default, when bsd.port.mk configurating Makefile.PL only pass
   PREFIX as argument, but some Perl module (eg. Test-Harness) needed
   INSTALLPRIVLIB and/or INSTALLARCHLIB in order to install, otherwise
   default installation will goes to /usr/lib and not ${PREFIX}/lib,
   in some case, adding these tag to CONFIGURE_ARGS is not bad.

PR:		29681
Submitted by:	Shell Hung <shell@shellhung.org>

4. Update patch-libtool target, so that it doesn't break ports with
   autoconf 2.13-generated configure script. USE_LIBTOOL is still not
   very useful for such cases, but at least it doesn't break them badly
   anymore.

PR:		31142
Submitted by:	wjv

5. Make `make search' working even when /usr/obj/usr/ports exists.

PR:		31862
Submitted by:	gad

6. When configure script fails unexpectedly don't dump thousands lines of
   config.log to the user's screen, because it usually doesn't contain
   information useful for tracking the problem anyway. Instead display a
   message asking a user to report the failure to the proper entity
   (maintainer) and what to include into the problem report.

PR:		34459, 35488
Submitted by:	Thomas Hurst <freaky@aagh.net>
		Alan Eldridge <ports@geeksrus.net>
		sobomax
		other countless hackers whose names are lost in the noise
Text of message suggested by:	asmodai

7. Make PREFIX=/usr situation more sane. When PREFIX is set to /usr,
   bsd.port.mk uses MANPREFIX=${PREFIX} and BSD.local.dist for mtree as
   always, however those defaults are not appropriate for /usr, and better
   options are available.

PR:		36030
Submitted by:	DougB

8. Use ${ECHO_CMD} instead of ${ECHO} everywhere in the bsd.port.mk to
   avoid clashing with system .mk settings (${ECHO} has a different meaning
   there). Actually the patch is imcomplete, because large portion of those
   ${ECHO_CMD}s should be ${ECHO_MSG}, but this one will at least make Bruce
   happy, which shouldn't be underestimated.

PR:		34988
Submitted by:	knu

All of the above tested by:	bento
Special thanks goes to:		kris (for his help with getting this tested)

-------------------------- THE END (to be continued) ------------------------
2002-04-25 15:28:48 +00:00
Will Andrews
e05ed36727 Say goodbye to Qt 1.x and all of its dependents. The one port I found
which probably isn't supposed to be removed is misc/instant-workstation,
which had a dependency on audio/xamp (being removed), so I removed that
dependency and bumped PORTREVISION.  All other ports are real dependents
upon Qt 1.x, including KDE 1.x stuff.

Code in bsd.kde.mk supporting these ports is also removed or adjusted.
Also, some adjustments made to accomodate Qt3/KDE3 ports, which will be
committed Real Soon Now (TM), pending repo-copies.

This commit made in impending view of Qt3/KDE3 entering ports tree.
2002-04-19 02:30:02 +00:00
Thomas Gellekum
2f77a42bb4 New trigger USE_PYDISTUTILS. When defined, do-build' and do-install'
will call the equivalent of `python setup.py {build|install}'. This
should help with most current extensions to the Python language.

PR:		36537
Submitted by:	Hye-Shik Chang <perky@fallin.lv>
2002-04-17 11:34:47 +00:00
Akinori MUSHA
26b21d0b3c Update ruby-devel to the latest 1.7 snapshot as of 2002-04-12. 2002-04-14 12:36:47 +00:00
Thomas Gellekum
70f395a1f5 Upgrade to Python-2.2.
PR:		36977
Submitted by:	Hye-Shik Chang <perky@fallin.lv>
2002-04-12 10:33:42 +00:00
Thomas Gellekum
f64dfaa0a8 Upgrade to 2.1.3.
PR:		36977 36979
Submitted by:	"Karsten W. Rohrbach" <karsten@rohrbach.de>
2002-04-11 11:29:52 +00:00
Maxim Sobolev
07e69f9aa3 Pessimise ftp.yggdrasil.com GNOME mirror, because it's currently unresolvable. 2002-04-09 09:40:38 +00:00
Ernst de Haan
0dfa641e89 Some small improvements. Added some comments at the top
summarizing the stages. Identified a sixth stage. Renamed the
JDK_FILE setting to _JDK_FILE, for consistency with other
settings that are only used internally in the mk file.

Tested with:	jakarta-tomcat-3.3.1_7 (www/jakarta-tomcat3),
		jakarta-tomcat-4.0.3_3 (www/jakarta-tomcat),
		orion-1.5.2_17 (www/orion)
2002-04-04 23:01:24 +00:00
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