- Add missed gnomeaudio into _USE_GNOME_ALL;
- refine dependencies for all components;
- add new redefineable knob GNOME_HTML_DIR, which allows to override value of
--with-html-dir configure argument;
- remove USE_REINPLACE workaround - real fix was just committed into
bsd.port.mk;
- improve example of gnome-optional port's logick;
- improve conditions when PLIST_SUB is defined for gnome-optional ports.
bsd.gnomeng.mk. Also increase OSVERSION `sed -i'check to be 500036 on
-current, as users report that 500034 isn't sufficient to catch new sed(1)
functionality.
Approved by: portmgr (silently)
converted to USE_GNOMENG. The real fix for bsd.port.mk will be committed
later, after portmgr@ approval.
Prompted by: Rasmus Skaarup <mfbsd@skaarup.org>
General:
[1] Add a means of updating via patches rather than always using tarballs.
Unfortunately, this method proved unreliable due to the binary files
included with most of the KDE tarballs. For now, leave this support
in until I can decide what to do with it.
[2] Remove patches that were fixed in KDE CVS for KDE_3_0_BRANCH. This
includes removal of malloc.h (from our viewpoint at least), a bug in
kiconloader, and a typo in knode.
[3] Move the current KDE version number to KDE_VERSION in bsd.kde.mk.
[4] Support the notion of KDE_PREFIX.
[5] Move arts and kde3-i18n* ports to use Makefile.kde.
french/kde3-i18n:
[6] Remove cruft from when this was generated with a core dump in the
3.0.1 distribution generation.
All other ports: No changes of note not mentioned above.
Thanks to the quick testers for their assistance with this upgrade:
Tested by: Matt Douhan <matt@athame.co.uk>
Andy Fawcett <andy@athame.co.uk>
Dave Cantrell <phaedrus@alltel.net>
to make GNOME1 platform more modular and will eventually replace bsd.gnome.mk
completely. For the time being, it should be explicitly activated by the
USE_GNOMENG knob, so that it is possible to do gradual conversion.
Reviewed by: marcus, gnome@
where sed(1) can't do in-place editing add a new USE_REINPLACE knob, which
if turned on defines REINPLACE_CMD and adds textproc/sed_inplace port into
BUILD_DEPENDS if necessary.
Not objected by: portmgr@
problems people were seeing with e.g. devel/pth and friends installed.
They conflict with GCC3 and may not be an issue anymore. But if someone
reports the issue again we'll address it with a finer comb next time.
- Allow installation to python-specific hierarchy. This will
benefit users of Zope and mod_python.
- Add PYTHON_*DIR variables to PLIST_SUB.
PR: 38769
Submitted by: Hye-Shik Chang <perky@fallin.lv>
The net has to be in *VERY* bad shape for you to fail on 21 sites and
finally get the needed file from the 22nd site.
If the list was meant more do document possible sites for to list in
/etc/make.conf, they could be re-added as comments.
[1] Warn people about Qt1, remove warning about Qt3, and fix something I
forgot to fix before committing the Qt3/KDE3 stuff.
[2] Programs that were using USE_QT_VER=3 were looking in the wrong
place for the headers if they relied solely on QTCPPFLAGS to give
it to them.
Reported by: [2] Frank Laszlo <laszlof@earthlink.net>
Remove the FTP listing for eu.dl.sourceforge.net, since it has not
allowing FTP connections at least since 22 hours ago. I left the
HTTP listing for the site.
sourceforge has made available. Additionally, the first site listed
(prdownloads) now gives a HTML selection page when you try to download
a file which causes md5 mismatch and is generally an ugly mess.
Update MASTER_SITE_SOUREFORGE with handful of approved roundrobin HTTP
and FTP sites
Submitted by: Sean Kelly <smkelly@zombie.org>
have been removed because it was not broken and a lot of working
ports depended on it. The qt145 port now installs files named
*qt1* instead of *qt* so it does not conflict with the other qt
versions.
it is decided what JDK ports have been installed.
Tested with: java/jdom net/spread
Reviewed requested from: java@FreeBSD.orgports@FreeBSD.org
Reviewed by: John Merryweather Cooper <john_m_cooper@yahoo.com>
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) ------------------------
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.
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>
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)
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>
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
- 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
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
[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
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
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]
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.
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.
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.
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.
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"
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)
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
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})
does not clobber the existing definitions because of the `?='
assignment.
Grepping the whole ports tree, a few dozen ports already define this
variable on their own and most of them have the same value as this
(${PREFIX}/share/examples/${PORTNAME}).
Approved but not committed by: portmgr
As I didn't see why the full package name is needed there, I changed
it to a simple regexp that matches any later version of the XFree86
3.x port.
No response from: portmgr
- Do not shrink series of spaces.
- Do not expand shell wildcards in pkg-comment.
I made the code cleaner and (3-4%) faster while I was at it.
Tested by: diff(1) and its option -b
(Maintainer timeout)
WARNING: This is not for anyone who isn't involved in my group of
KDE/FreeBSD developers & QA testers. Do not use it in any FreeBSD ports.
These changes will be mainly used by modules in the KDE CVS Repository.
This is the fastest way to move forward. A better way would be to
set USE_AUTOCONF and USE_AUTOMAKE to the version desired. We can do that
later, I don't want to hold up the update of the autoconf and automake
ports the latest versions.
less ports have to use NO_LATEST_LINK, and we won't have to keep artificially
setting the PORTNAME to get the Latest link logic to do something reasonable.
Approved by: will
ruby's architecture specific library paths, so that users do not need
to rebuild and reinstall ruby & all the modules when they minor
upgrade FreeBSD.
i.e. i386-freebsd4.4 -> i386-freebsd4
alpha-freebsd5.0 -> alpha-freebsd5
XFREE86_VERSION=4, Mesa3 will not get left out of the install. Previously,
bsd.port.mk would find libGLU.so.1 from XFree86-4 and thus wouldn't install
libglut.so.3 needed by XFree86-4 users for USE_MESA.
PR: 29546
Submitted by: petef
Urged on by for 4.4R: sf
1) Bump PKG_IGNORE_DEPENDS for XFree86 to XFree86-3.3.6_9
2) Modify LDCONFIG_RUNLIST to apply RE multiple times on the
same line. Needed for some ports.
PR: 27645 (1)
Submitted by: Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp> (1),
demon (2)
Reviewed by: portmgr