Commit graph

540 commits

Author SHA1 Message Date
Mark Linimon
a245fe1498 * Split bsd.port.mk pre and post includes into 3 pieces instead of 2, to
allow OPTIONS to be able to influence dependencies.  This is still
  experimental [1]

* Teach bsd.gcc.mk about gfortran [2]

* Remove the outdated emulators/linux_base; the new default has been
  linux_base-fc4.  This will allow the outdated port to be removed [3]

* Add USE_FIREBIRD macros to bsd.database.mk [4]

PR:	93687 [1], 93690 [2], 103184 [3], 103357 [4]

Submitted by:	shaun [1], Pedro F. Giffuni <giffunip at asme to org> [2],
		gerald [2], thierry [2], vd [3], skv [4]
2006-09-30 19:25:46 +00:00
Kris Kennaway
7bd57ec6dd Remove PARALLEL_PACKAGE_BUILD check from MANUAL_PACKAGE_BUILD, it is
spurious.
2006-09-20 04:04:05 +00:00
Kris Kennaway
52d554cec4 * Add missing '|| true' to silence an @unexec rmdir [1]
* Repair CONFLICTS, which was broken by previous DESTDIR changes [2]

* Use "set --" instead of "set" for better robustness [3]

* Avoid :L modifier in ${USE_LDCONFIG} which broke e.g. /usr/X11R6
  ports [4]

* Correct a comment typo [4]

* Force passive FTP mode by default (this is already the default with
  the standard login class, so this is a NOP for most users) [5].

PR:             ports/101809 [1], ports/102300 [2], ports/102514 [3],
                ports/102750 [4], ports/96088 [5]
Submitted by:   bsam [1], Matthias Andree <matthias.andree@gmx.de> [2],
                infofarmer [3], flz [4],
                Darren Pilgrim <darren.pilgrim@bitfreak.org> [5]
2006-09-20 04:02:09 +00:00
Mark Linimon
3f6d652468 * Add PKGVERSION to bsd.port.mk [1]
* Add bsd.lua.mk to support for lua-based ports [2]

* Remove DESTDIR from bsd.scons.mk [3]

* Add some quotes in 'missing' target to improve handling of duplicate
  origins [4]

PR:	98565 [1], 101612 [2], 101952 [3], 102100 [4]

Submitted by:	ahze [1], alepulver [2], alexbl [3], shaun [4]
2006-09-15 06:57:07 +00:00
Erwin Lansing
16a4d859c0 - s/${DESTDIR}${PREFIX}/${TARGETDIR}/
- Fix FORCE_PKG_REGISTER issues [1]
- Make USE_RCORDER respect DESTDIR [2]
- Make ldconfig stuff respect DESTDIR

Reported by:	lofi [1]
Submitted by:	gabor, sem [2]
2006-08-14 13:24:18 +00:00
Erwin Lansing
50513d5d52 Add support for DESTDIR part I.
This commit should largele be a NOOP as it only adds support
for DESTDIR undefined. This does allow us to start testing
ports with DESTDIR set, but this is as of yet not supported.

Although this has been extensively tested on pointyhat, this
is a very intrusive change and some cases may have been
overlooked. Please contact Gabor and me if you find any.

PR:             100555
Submitted by:   gabor
Sponsored by:   Google Summer of Code 2006
2006-08-04 12:34:50 +00:00
Mark Linimon
9e237669f1 * Introduce IA32_BINARY_PORT for certain cases where a given port fetches
and installs compiled i386 binaries [1]

* Adds some infrastructure for support of 32-bit i386 apps on amd64 [1]

* Again fix USE_LDCONFIG logic to make it work with non-default PREFIX to
  fix bug introduced in previous revision [2]

PR:	98105 [1], 99370 [2]

Submitted by:	gabor [1], gerald [2]
2006-07-18 04:12:51 +00:00
Mark Linimon
eb55adfc1b Fix comments about LDAP versions.
PR:		ports/99638
Submitted by:	Tsurutani Naoki <turutani at scphys dot kyoto-u dot ac dot jp>
Pointy hat to:	linimon
2006-07-06 17:56:45 +00:00
Mark Linimon
e2d64eefa6 * Change all bogus uses of BROKEN to IGNORE. Note: the BROKEN_WITH_*
forms are retained for compatibility but deprecated [1]

* Add sha256 to CHECKSUM_ALGORITHMS [2]

* Remove some whitespace [2]

* Add USE_SCONS and bsd.scons.mk for the Python-based SCons build system [3]

* Fix USE_LDCONFIG with non-default PREFIX [4]

* Add USE_WX and friends, and bsd.wx.mk, for common code for WxWidgets
  support [5]

* Add 'make missing' to show missing dependencies [6]

* Fix DESKTOP_ENTRIES processing on 4.x [7]

PR:	92445 [1], 98206 [2], 98731 [3], 99370 [4], 89398 [5],
	93601 [6], 98891 [7]

Submitted by:	linimon [1], edwin [2], alex at foxybanana dot com [3],
		gerald [4], flz [4], alepulver [5], alex at fafula dot com [6],
		shaun [7]
2006-07-05 02:18:09 +00:00
Mark Linimon
385e991024 Revert ports/95841. It breaks kdelibs3. I didn't spot this because kdelibs3
had failed to build before this patch, but for other reasons that had already
been fixed.  Apologies to all.

Hat:		portmgr
Pointy Hat:	linimon
2006-06-26 23:39:09 +00:00
Mark Linimon
23388699d1 * Update default MySQL version from 4.1 to 5.0 [1]
* Update default PHP version from 4 to 5 [2]

* Update default LDAP version from 2.2 to 2.3 [3]

* Add support for LDAP version 2.4 [4]

* Update default linux_base from '8' (Redhat 8) to 'fc4' (Fedora Core 4) [5]

* Switch default Linux X implementation from XFree86 to xorg to track the
  above [5]

* Deprecate INSTALLS_SHLIB and replace it by USE_LDCONFIG.  If set to "yes",
  the old behavior is preserved.  Otherwise, it can be set to a list of
  directories to be added to ${PREFIX}/libdata/ldconfig/${UNIQUENAME}.
  Note that this directory is used by ldconfig startup script, it is meant
  to replace ldconfig scripts installed by some ports as (sometimes
  000.${UNQUENAME}.sh) [6]

* Adds USE_LDCONFIG32 which is like USE_LDCONFIG but the target file is
  ${PREFIX}/libdata/ldconfig32/${UNIQUENAME} instead.  (Note: this should
  only be used on 64-bit architectures) [6]

* Set the default LANG for tr to be C to avoid some build problems [7]

* Include bsd.java.mk in both pre and post sections [8]

* Get rid of remnants of FORCE_PKG_REGISTER [9]

* Always print options with make showconfig [10]

PR:	92805 [1], 92806 [2], 96793 [3], 97515 [4], 96849 [5],
	91933 [6], 91381 [7], 97020 [8], 95841 [9], 97133 [10]

Submitted by:	ale [1][2], delphij [3][4], netchild [5], flz [6],
		Tsurutani Naoki <turutani at scphys dot kyoto-u dot ac dot jp>
		[7], hq [8], sem [9], pav [10]
2006-06-16 04:53:43 +00:00
Kris Kennaway
0a3fc3fd5b * Avoid .if syntax that causes syntax error on old 4.x make [1]
* Cleanup comments [2] [3] [4]

* include bsd.emacs.mk only when USE_EMACS is set [5]

* Silence the install-info target [6] [7]

* Correct the implementation of pretty-print-run-depends-list [8]

* Use a consistent name for the cookies file when PKGNAMEPREFIX/SUFFIX
  are set after bsd.port.pre.mk. [9]

* Include bsd.tcl.mk if USE_TCL_BUILD is defined [10]

* Set PERL_MM_USE_DEFAULT in BATCH mode [11]

* Add the {ONLY,NOT}_FOR_ARCH_REASON and
  {ONLY,NOT}_FOR_ARCH_REASON_${ARCH} variables to allow better
  customization of the error string reported to users when they
  attempt a build on an unsupported architecture. [12]

* Avoid errors from duplicated targets when parsing MLINKS on ports
  without a default value set. [13]

* Fix handling of MLINKS when invalid entries are listed [14]

* Enforce sanity of DESKTOP_ENTRIES.  If the Categories field is
  omitted, try to map ports categories to their freedesktop.org
  counterpart [15]

PR:     93873 [1], 92923 [2], 93234 [3], 95680 [4], 95238 [5],
        91621 [6], 94035 [7], 94164 [8], 94219 [9], 92355 [10],
        95579 [11], 94675 [12], 66109 [13], 66110 [14], 95603 [15]

Submitted by:   Eric Cronin <ecronin@gizmolabs.org> [1],
                edwin [2][12], pav [3], vd [4][8], nobutaka [5],
                anray [6], krion [7],
                Andrey Deynega <licedey@gmail.com> [9], mnag [9],
                garga [10], skv [11], eik [13][14], jylefort [15]
2006-05-23 21:53:18 +00:00
Alexander Leidinger
09c8994868 Revert previous commit to this file (the commit message belongs to
bsd.linux-rpm.mk). It was done by accident.

Pointyhat to:	netchild
2006-05-02 10:09:23 +00:00
Alexander Leidinger
690d6ea08a Extract only the binary RPM's.
This should fix linux-expat, linux-glib2, linux-gnomelibs and
linux-xorg-libs (and thus linux-jpeg) on pointyhat.

Noticed by:	pointyhat (kris)
2006-05-02 10:06:54 +00:00
Joe Marcus Clarke
fa3a3d04e4 Add support for gstreamer-0.10 along side legacy support for 0.8.
Approved by:	portmgr (kris and implicit)
2006-04-29 22:09:41 +00:00
Ade Lovett
363cdd1ddb Clean up spurious "true" in the case of a non-autotools run-autotools
target.

PR:		93757
Forgotten by:	ade
Approved by:	portmgr (implicit)
2006-02-23 15:37:20 +00:00
Ade Lovett
23d7454341 Only include bsd.autotools.mk if USE_AUTOTOOLS is defined. Tested as
part of the single-libtool patch.

Approved by:	portmgr (kris)
2006-02-23 10:43:00 +00:00
Kris Kennaway
9c33f48abd * Back out the PERL_(BUILD|RUN)_DEPENDS. It needs to be reimplemented
so it appends to (BUILD|RUN)_DEPENDS instead of defining new types,
  since this requires changes to third party code like the
  tinderbox and pointyhat.  Hopefully this will be revisited by the
  author in the future. [1]

* Cause USE_RC_SUBR to install startup scripts as foo, rather than
  foo.sh, on applicable RELENG_6 systems as well as HEAD [2]

PR:             ports/92711 [1], ports/93265 [2]
Submitted by:   ade [1], dougb [2]
2006-02-23 08:28:14 +00:00
Anton Berezin
6f10f263a9 Perl 5.8.8 is the default now.
Approved by:	portmgr (kris)
2006-02-20 20:31:49 +00:00
Kris Kennaway
4c3ff6399d - Remove the use of .error in favour of BROKEN to fail more gracefully
[1]

- Fix all-depends-list target with dependencies that use the ':target'
  syntax. [2]

- Correct errors in USE_DOS2UNIX. [3], [4]

- Detect conflicts between installed and requested FAM implementations and
  fail more gracefully instead of registering a dependency on the
  wrong port.  Set the default implementation based on what the user
  has already installed.  [5]

- Correctly clean up info subdirectories in pkg-plist [6]

- The linux ldconfig invocation has to be done in a chroot, else some
  FreeBSD native libs get cached in the linux ld.so.cache.  Use the
  internal chroot feature of the linux ldconfig to do this. [7]

- Update the OpenLDAP default version. [8]

PR:             ports/92446 [1], ports/86310 [2], ports/92584 [3],
                ports/92688 (partial) [4], ports/92583 [5], ports/91057 [6],
                ports/92322 [7], ports/86310 [9]
Submitted by:   linimon [1], mi [2], jylefort [3], danfe [3],
                Alejandro Pulver <alejandro at varnet dot biz> [4],
                marcus [5], gerald [6], netchild [7], vsevolod [8]
2006-02-11 02:34:48 +00:00
Mark Linimon
b09666fc1e - Fix possibility of "infinite make fork" when "Registering install for ..."
EMACS ports.  [1]

 - Allow building a port as root using an NFS-mounted /usr/ports if the
   server maps root to a UID other than root. [2]

 - Make 'BROKEN' and 'IGNORED' ports exit their "make install" with a fail
   status rather than success. [3]

 - Improve behavior when dealing with versioned dependencies. [4]

 - Fix false positives in check-conflicts target. [5]

 - Remove obsolete bzip2 code. [6]

 - Add physical category net-p2p. [7]

 - Don't fetch INDEXFILE if not necessary; respect FETCH_ENV. [8], [11]

 - INDEX can now be moved outside of ports tree. [9]

 - Add ghostscript-gpl. [10]

 - Remove obsolete USE_MESA. [12]

 - Force pkg_install tools from ports on FreeBSD 4.10 and older. [13]

 - Document ALWAYS_KEEP_DISTFILES. [14]

 - Remove USE_REINPLACE from bsd.port.mk USE_DOS2UNIX patch. [15]

PR:	ports/37596 [1], ports/57259 [2], ports/63216 [3],
	ports/89448 [4], ports/89710 [5], ports/88996 [6],
	ports/89260 [7], ports/89363 [8], ports/89809 [9],
	ports/89853 [10], ports/91086 [11], ports/91710 [12],
	ports/91727 [13], ports/92111 [14], ports/92124 [15]
Submitted by:	Jay Sachs <jay at eziba dot com> [1], sem [1, 3, 8, 12],
		Andrew Heybey <ath at niksun dot com> [2], Jamie Jones
		<jamie at thompson dot bishopston dot net>, tobez [4], Mark
		Andrews <Mark_Andrews at isc dot org> [5], edwin [6, 11, 15],
		pav [7, 13], Peter Jeremy <PeterJeremy at optushome dot com
		dot au> [9], Ulrich Spoerlein <q at galgenberg dot net> [10],
		netchild [11], erwin [14]
Reviewed by:	kris, clement (partially)
2006-01-28 02:11:35 +00:00
Mark Linimon
390e15c842 Fix regression in all-depends-list target on 4.X due to ancient, buggy,
make(1) that does not support -C properly.

PR:		ports/92188, 92189
Submitted by:	tobez, linimon
Patch from:	clement
Tested on:	4.10, 5.4, 6.0
2006-01-23 22:29:26 +00:00
Mark Linimon
244bf72e9e Emergency fix to the @dirrmtry code.
PR:		ports/92128
Submitted by:	edwin
Reviewed by:	kris, linimon
2006-01-22 04:28:39 +00:00
Joe Marcus Clarke
feb7b457a0 Add a missing '@' to the ${DO_NADA} in the patch-dos2unix target. This
fixes an errant "true" that can be seen after make patch.
2006-01-21 22:07:08 +00:00
Dejan Lesjak
627b13b9fb Upgrade to X.Org 6.9.0 release.
Remove separate mtree file for X_WINDOW_SYSTEM=XOrg case. Both X11
distributions now use the one from /etc/mtree again.
2006-01-21 18:55:08 +00:00
Kirill Ponomarev
01c588a635 - Fix 'all-depends-list' target in cases if dependencies list is
very long and if some dependencies can't be added into the list.
  [1]

- Fix FAM support.  Make gamin the default FAM system. [2]

- Introduce new 'quicksearch' target to show only port, path and
  info section of the matching ports. [3]

- Introduce new category - rubygems. [4]

- Fix stale dependencies while installing qmail slaveport and
  another port that depends on qmail. [5]

- Add commentary for describes target in bsd.port.mk. [6]

- Fix warning issued during make index on archs !368. [7]

- Add USE_DOS2UNIX variable.  If set to "YES", remove the ^M from
  all files under ${WRKSRC}. If set to a string, remove in all files
  under ${WRKSRC} with one of these names the ^Ms. [8]

- Add new variables PERL_RUN_DEPENDS and PERL_BUILD_DEPENDS by
  checking the existance of the Perl modules with the "perl -e 'use
  module;'" command. [9]

- Fix bsd.port.mk variable quoting issues.  No quoting is necessary
  anymore either in the Makefile or on the command line.  Affected
  variables include:

  BROKEN
  FORBIDDEN
  IGNORE
  MANUAL_PACKAGE_BUILD
  NO_CDROM
  NO_PACKAGE
  RESTRICTED

  [10]

- Add NOFETCHFILES variable.  If set, don't download these files
  from the ${MASTER_SITES} or ${MASTER_SITE_BACKUP} (but do from
  ${MASTER_SITE_OVERRIDE}). [11]

- Improve 'search' target output. [12]

- Add a new virtual category for Amateur Radio - hamradio. [13]

- Cleanup some old/unused pathes in bsd.port.mk. [14]

- Add @dirrmtry for plists which does the same as:
  "@unexec rmdir %D/foo 2>/dev/null || true" [15]

- Remove virtual category - offix. [16]

- Use portsnap instead of cvsup or cvs on "make update" in
  /usr/ports. [17]

- Move location of bsd.autotools.mk within bsd.port.mk [18]

- Add bsd.linux-rpm.mk, fix INSTALLS_SHLIB for Linux ports [19]

- Use new USE_RC_SUBR format for FreeBSD version >= 700007 [20]

- Replace the string "FreeBSD" by "The FreeBSD Project" in the
  security warning [21]

- Add bsd.local.mk for local modification to ports framework. [22]

- Replace rcNG spelling by rc.d [23]

- Remove superfluous USE_REINPLACE. [24]

Special thanks to:      linimon for spending hours with all these patches
                        clement for fixes
                        kris for help with pointyhat
PR:     ports/86310 [1], ports/89498 [2], ports/83530 [3],
        ports/83789 [4], ports/84053 [5], ports/86281 [6],
        ports/87214 [7], ports/87234 [8], ports/87318 [9],
        ports/87396 [10], ports/87605 [11], ports/87840 [12],
        ports/88230 [13], ports/88493 [14], ports/88711 [15],
        ports/88751 [16], ports/89281 [17], ports/89999 [18],
        ports/90031 [19], ports/90150 [20], ports/90668 [21],
        ports/91433 [23], ports/88754 [24]
Submitted by:   mi [1], marcus [2], Lars Engels <lars.engels@0x20.net> [3],
                pav [4, 16, 20, 24], garga [5], cperciva [6], vd [7],
                edwin [8, 9, 11, 15, 21],
                fenner [10], Arseny Nasokin <tarc.po.cs.msu.su@tarc.po.cs.msu.su> [12],
                Carl Makin <carl@stagecraft.cx> [13], arved [14],
                NIIMI Satoshi <sa2c@sa2c.net> [17], thierry [18],
                jylefort [19], linimon [22], dougb [23]
2006-01-21 17:37:14 +00:00
Clement Laforet
a4b366df6a * Add bsd.database.mk [1]
- move out from bsd.port.mk USE_MYSQL and USE_PGSQL.
  - add support for Berkley DB and SQLite (via USE_BDB and USE_SQLITE
    knobs).

* Espace '+' in make search [2]

* Add "makepatch" target to simplify creation of patches during porting [3]

* Replace deprecated MACHINE_ARCH with ARCH [4]

* Remove support of OpenLDAP 2.1 [5]

* Add bsd.tcl.mk [6]
  It introduces USE_TCL/USE_TCL_BUILD knobs to support various
  version of tcl (8.0 -> 8.4)

* Fix cosmetic bugs in security-check target [7]

* Add support for INDEX-7 and above (up to INDEX-9 actually) [8]

* Add "package-recursive" to bsd.port.subdir.mk [9]

* Remove check for FreeBSD version < 460101 [10]

* New category: net-im [11]

* Add .desktop file facilities
  It introduces DESKTOPDIR and DESKTOP_ENTRIES knobs [12]

* Add SHA256 support to "*checksum" targets [13]

* Fix USE_PYTHON with OPTIONS [14]

* Force NO_LINT to MAKE_ENV to avoid library breaks [15]

* Fix typo: s/RC_ORDER/USE_RCORDER/g [16]

* Add support for PostgreSQL 8.1 [17]

* Add bsd.apache.mk
  USE_APACHE knob enhancements [18]

PR:		ports/85695 [1], ports/85669 [2], ports/85488 [3],
		ports/84489 [4], ports/83835 [5], ports/83718 [6],
		ports/83716 [7], ports/83710 [8], ports/82753 [9],
		ports/82138 [10], ports/81206 [11], ports/79509 [12],
		ports/79123 [13], ports/74866 [14], ports/85490 [15],
		ports/83514 [16], ports/88466 [17]

Submitted by:	vsevolod [1] [6], Ricardo Alves dos Reis
		<ricardo_bsd@yahoo.com.br> [2], markm [3] [15], obrien [4],
		krion [5] [8] , Petr Rehor <prehor@gmail.com> [7],
		clement [8] [18], jhs@berklix.org [9], edwin [10] [13],
		pav [11], jylefort [12], mnag [14], leeym [16], girgen [17]
2005-11-08 09:02:51 +00:00
Vsevolod Stakhov
90e8af9d9c Bump openldap23 shared library version.
Approved by:	portmgr (krion)
2005-09-15 12:24:33 +00:00
Alex Dupre
ddabbb3919 Bump MySQL 5.0 library version.
Approved by:	portmgr (marcus)
2005-08-28 18:47:56 +00:00
Anton Berezin
77fccdbd9d Update bsd.port.mk's notion of the current perl version.
Approved by:	portmgr (krion)
2005-06-24 09:18:54 +00:00
Mathieu Arnold
4726b54ea8 Fix plist for perl ports using devel/p5-Module-Build
PR:		ports/79330
Approved by:	portmgr (kris with pointyhat help)
2005-06-23 10:09:22 +00:00
Alexander Leidinger
23b3bc4b0d Mega-patch to cleanup the ports infrastructure regarding our linux bits:
- USE_LINUX now implies NO_FILTER_SHLIBS=yes. It also doesn't use FreeBSD
    tools to strip binaries anymore, so it's not neccesary anymore to override
    STRIP and STRIP_CMD.
  - USE_LINUX_PREFIX implies NO_MTREE now.
  - In the USE_LINUX case, USE_XLIB now depends upon the linux X11 libraries
    instead upon the native FreeBSD libraries.
  - The variable LINUX_BASE_PORT contains a string which is suitable as an
    item in *_DEPENDS, so if a port BATCH_DEPENDS or FETCH_DEPENDS upon the
    default (or overriden) linux base, ${LINUX_BASE_PORT} should be used
    instead of a hardcoded reference.
  - Change all ports to comply to the "new world order".
  - The Ports Collection now allows to override the default linux_base port.
    Specify e.g. OVERRIDE_LINUX_BASE_PORT=rh-9 in /etc/make.conf to use
    ${PORTSDIR}/emulators/linux_base-rh-9 (the logic is to use
    ${PORTSDIR}/emulators/linux_base-${OVERRIDE_LINUX_BASE_PORT}).
  - If USE_LINUX or OVERRIDE_LINUX_BASE doesn't point to an existing linux_base
    port and if USE_LINUX isn't set to "yes" (case insensitive), the port will
    be marked as IGNORE. [1]
  - Readd USE_LINUX knobs into several ports and make several uses of a
    conditional dependency ("USE_LINUX?=") into an unconditional one
    ("USE_LINUX=") which where removed/changed by Trevor to allow the use of
    alternative linux_base ports. While this is a nice goal, the implementation
    resulted in missing dependencies. The OVERRIDE_LINUX_BASE_PORT knob
    in this commit is supposed to fix the problem while keeping the feature.
    Basicaly this includes a backout of Trevor's commit, to prevent confusion
    I mention it here explicitely.
  - Use the correct prefix (X11- instead of LOCAL- or LINUX-) for some ports.
    Chase dependencies for this.
  - Changes to make linux_devtools installable on amd64, remove some stray
    device nodes (they don't work on recent OS versions and aren't really
    needed).
  - Make linux_base-8 PREFIX clean and remove some stray device nodes.
    Additionally tell a little bit more about how to setup NIS/YP [2].
  - Update the PGSQL dependency in the linux-opengroupware port to a recent
    version (the old one isn't available anymore), I don't know if this
    works (at least it isn't more broken than before).
  - Use PREFIX/usr/share/doc instead of PREFIX/usr/doc in the divx4linux
    ports, the former path exists already and gets populated by other
    packages too (PREFIX=LINUXPREFIX!).
  - Fix some obvious (non-linuxolator) bugs in some linux ports while being
    there.
  - Bump PORTREVISION where neccesary.

Requested by:	portmgr (linimon) [1]
Submittted by:	Gerrit Kuehn <gerrit_huehn@gruft.fido.de [2]
Approved by:	portmgr (kris, linimon), maintainers (or maintainer timeout)
Tested on:	ports cluster (kris)
Reviewed by:	silence on emulation@
Superseedes PR:	69997

Maintainer approval from:
	chris@chrisburkert.de
	cracauer@cons.org
	des
	girgen
	jamie@bishopston.net
	mezz
	mi
	nivit@users.sf.net
        pat
	simond@irrelevant.org
	riggs@rrr.de
	Udo.Schweigert@Siemens.com
2005-06-17 22:59:29 +00:00
Kirill Ponomarev
bd272b52cc * Improve documentation of CONFLICTS. [1]
* Fix add-plist-docs target to work correctly with wildcards. [2]

* Fix USE_MYSQL and USE_PGSQL knobs to work in partitial ports tree. [2] [3]

* Introduce 2 new variables: USE_FAM and WANT_FAM_SYSTEM. [4]

* Suppress "Vulnerability check disabled" message if
  DISABLE_VULNERABILITIES is defined. [5]

* Switch default MySQL version to 4.1 [6]

* Add support for OpenLDAP v.23. [7]

* Fix add-plist-info and add-plist-post targets to avoid warnings
  from ports which redefine them. [8]

* Fix add-plist-docs target to handle NOPORTDOCS knob properly. [9]

* Use INSTALLDIRS="site" in configure for perl ports. [10]

* Fix NO_(CHECKSUM|BUILD|INSTALL|PACKAGE) knobs if OPTIONS are
  defined. [11]

* Add an ability to depend on versioned installed package. [12]
  Example:

        BUILD_DEPENDS=p5-Tree-Simple>=1.12:${PORTSDIR}/devel/p5-Tree-Simple

  Please note, it's experimental feature, work is currently in
  progress.

PR:		ports/81922 [1], ports/77820 [2], ports/80023 [2],
		ports/78597 [2], ports/79011 [3], ports/79012 [3],
		ports/81168 [4], ports/78607 [5], ports/79604 [6],
		ports/80653 [7], ports/80880 [8], ports/81189 [9],
		ports/78144 [10], ports/69512 [11], ports/79823 [12]
Submitted by:	gerald [1], clement [2], lawrance [2], Jilles
		Tjoelker <jilles at stack dot nl> [3], marcus [4],
		adamw [5], ale [6], Vsevolod Stakhov <vsevolod at
		highsecure.dot.ru> [7], Vasil Dimov <vd at datamax dot bg> [8],
		sem [10], leeym [11], tobez [12]
2005-06-09 20:39:43 +00:00
Dejan Lesjak
ac39221672 Upgrade X.Org ports to 6.8.2.
Release notes are available at
http://www.x.org/X11R6.8.2/doc/RELNOTES.html

Thanks to kris and krion for running several cluster test builds,
maintainers of GNOME for prompt responses, portmgr for postponing ports
freeze for this update, testers on FreeBSD-X11@ list and others that I
might have mised here.

Also included:
- fix for ATI Mobility on Dell Inspiron 7500 (obtained from Marc Aurele La
  France; obtained and tested by julian)
- fix for kbd driver on Sparc64 (tested by Aaron Dudek, Michael G. Jung and
  Matthias Muthmann), which still appears to have problems with some
  keyboards - so
- fix for kbd driver on PC98 (reported and tested by NAKAJI Hiroyuki; PR
  ports/77217)
- fix for i810 on HP D530 (obtained from Egbert Eich; obtained and tested
  by Anders Nor Berle; PR ports/74757)
2005-03-17 23:22:13 +00:00
Kirill Ponomarev
bd07e61e5b * Add info files to TMPPLIST, only if INFO is specified. [1]
* Fix PATH problems during README.html generation if "make
  -DPORTSTOP readmes" is defined. [2]

* Add support for early rcNG startup scripts. [3]

* Remove duplicate USE_XLIB handling. [4]

* Add check for USE_PYTHON_(BUILD|RUN), and include bsd.python.mk if
  both are specified. [5]

* Use PRE-INSTALL target for SUB_FILES and SUB_LIST. [6]

* Introduce bsd.gstreamer.mk and utilize new macros:
  USE_GSTREAMER/WANT_GSTREAMER. [7]

PR:		ports/77634 [1], ports/77592 [2], ports/77385 [3],
		ports/77557 [4], ports/77344 [5], ports/77211 [6],
		ports/77838 [7]
Submitted by:	krion [1] [2], Florent Thoumie <flz@xbsd.org> [3] [6],
		pav [4], lofi [5], ahze [7]
2005-02-28 21:09:05 +00:00
Kirill Ponomarev
445134f025 Fix variable expansion bug on 4.x systems, this will fix INDEX and
builds of some ports.

PR:		ports/77250
Submitted by:	NIIMI Satoshi <sa2c at sa2c dot net>
2005-02-09 09:07:37 +00:00
Kirill Ponomarev
1c8dc16ebe * Change bento to pointyhat names in comments. [1]
* Document DISABLE_VULNERABILITIES variable. [2]

* Add WWW: line for 'search' target. [3]

* Speedup check-vulnerable invokation, if portaudit is installed. [4]

* Run install-info for all .info files. [5]

* Run add-plist-docs more strictly and prevent some situations with
  leftover files in the future. [6]

* Introduce two new variables: MASTER_PORT and SLAVE_PORT.
  The results from these variables is only used as information for
  users. [7]

* Honour OPTIONS if PACKAGE_BUILDING or BATCH are defined. [8]

* Move all USE_GCC entries to new file - bsd.gcc.mk.  'test-gcc'
  target allows users to check gcc version if USE_GCC is used.  Give
  maintainers opportunity to add '+' character to USE_GCC version
  for using specified and higher versions. [9]

* Install startup scripts with the help of USE_RC_SUBR variable. [10]

* Add three new targets: config-recursive, rmconfig-recursive and
  config-conditional.  You can set or delete OPTIONS for all
  dependencies before every build.  config-conditional target is
  used to skip configuring ports which have already been
  configured. [11]

* Fix using of WANT_PGSQL_VER variable if postgresql is already
  installed. [12]

PR:		ports/75768 [1], ports/75728 [2], ports/76187 [3],
		ports/76191 [4], ports/76182 [5], ports/75379 [6],
		ports/75286 [7], ports/75727 [8], ports/76489 [9],
		ports/73691 ports/69217 [10], ports/76254 [11],
		ports/76988 [12]
Submitted by:	dinoex [1], edwin [2] [5] [6] [8] [9] [10],
		Marcus Grando <marcus@corp.grupos.com.br> [3],
		tobez and Valentin Nechayev <netch@netch.kiev.ua> [4],
		linimon [7], Florent Thoumie <flz@xbsd.org> [10],
		Chris Dillon <cdillon@wolves.k12.mo.us> [11],
		girgen [12]
2005-02-07 11:17:50 +00:00
Anton Berezin
e2611e24e0 Update bsd.port.mk's notion of the perl version (to 5.8.6) [1].
Use more correct OSVERSION threshold to distinguish between
base system perl and perl from ports - the right value is 500036 [1].

Also, simplify OSVERSION-related logic in lang/perl5 and lang/perl5.8.
Now it goes as follows:

- for lang/perl5.8, if there is perl in the base system, install
  use.perl script, use a helpful pkg-message, and do not automatically
  update symlinks;
- for lang/perl5.8, if there is no perl in the base system, do not
  install use.perl script, and update symlinks automatically;
- for lang/perl5, always install use.perl;
- for lang/perl5, never update symlinks automatically;
- for lang/perl5, vary produced pkg-message depending on the presence of
  the base system perl.

Bump PORTREVISION for both lang/perl5 and lang/perl5.8.

[1] Approved by:	portmgr
2005-02-02 09:34:05 +00:00
Palle Girgensohn
34fa6c853e Split the postgresql ports into a server and a client part.
All ports depending on postgresql shall use the USE_PGSQL=yes knob
defined in Mk/bsd.ports.mk. Bumping portrevisions where needed.

PR:		75344
Approved by:	portmgr@ (kris), ade & sean (mentors)
2005-01-31 00:35:55 +00:00
Alexander Leidinger
64cf27c85d Say hello to the linux mega patch, it consolidates our linux bits a
little bit and allows to proceed to a more recent linux_base from
a stable (read as: the major bugs should be ironed out or identified
and most linux ports build just fine) source.

It also allows to ship 4.11 with a working linuxolator (the EOLed
linux_base is marked forbidden because of a security hole).

This is a major update, please read UPDATING (and CHANGES if you
develop linux ports).

Changes:
 - change the default linux_base from v7 to v8
 - add a newer freetype to linux_base-8 for nicer fonts display [1]
 - don't let cpio use hardlinks in the linux_base-8 port to quiet some
   warnings in some cases [2]
 - fix a cut&past error in the linux_base-8 pkg-install script [3]
 - convert the binary knob "USE_LINUX" to a version specifier, e.g.
   USE_LINUX=<value> specifies a dependency upon
   emulators/linux_base-<value>, exceptions are a value of "7" (which
   does what you want and adds a dependency to linux_base) and any
   value without a corresponding port in
   PORTSDIR/emulators/linux_base-<value> (which adds a dependency to
   the default linux_base)
 - don't implicitly add USE_LINUX with the USE_LINUX_PREFIX knob,
   this allows us to use the USE_LINUX_PREFIX knob for linux_base and
   paves the way for splitting up future linux base ports into
   individual pieces
 - remove RESTRICTED from some GPL licensed ports, even when we only
   distribute binaries, we get them from official linux sites, so
   anyone can grab them there if he needs to
 - add a dependency upon the linux X11 bits where necessary (based upon
   guesswork)
 - don't use USE_X_PREFIX in some linux ports since it adds a dependency
   to the FreeBSD X11 libs, as a workaround use PREFIX?= (the clean
   solution would be to remove the implicit USE_XLIB from USE_X_PREFIX)
 - bump the portrevision of the linux ports ("better safe than sorry"
   algorithm)
 - pass maintainership of the important linux infrastructure to a
   mailinglist, hijack freebsd-emulation@ for this purpose (if somebody
   doesn't like this: tell us your bikeshed color at freebsd-emulation@,
   my color would be "linuxolator@" in case someone cares...)
 - add a pkg-install script for linux-fontconfig, but don't use it;
   everything should work without it (the FreeBSD fc-cache program should
   do all the work), but in case we need it we just need to decomment the
   pkg-install part in the Makefile
 - fix some dependencies
 - fix some bugs
 - add some static plists
 - unbreak the ports with dependecies to more than one linux_base

This also fixes some ports which are marked BROKEN because of dependencies
to v7 and v8 of linux_base at the same time.

Known bugs:
 - the linux-mesa and linux-devtools ports install libGL*.so symlinks
 - some "minor" plist bugs (e.g. ld.so.{conf,cache} are modified by
   the linux X11 port, so linx_Base-8 moans at deinstall time)

Future work (interested souls should coordinate with freebsd-emulation@):
 - add some kind of USE_LINUX_X11 knob to streamline the X11 dependencies,
   or modify the behavior of USE_XLIB in the USE_LINUX case
   AFAIK trevor has some patches.
 - make USE_XLIB and USE_X_PREFIX orthogonal to be able to get rid of
   the PREFIX?= workaround in some linux ports
   Should be discussed/coordinated on/with x11@.
 - move the RPM bits from x11-toolkits/linux-gtk/Makefile to PORTSDIR/Mk/
 - update to a more recent linux base

PR:			69997, 70539 (and maybe others)
Discussed with/on:	java@, x11@, trevor, portmgr
Tested by:		mezz, portmgr, pointyhat
RPM hunted down by:	Joseph Gelinas <scirocco@tasam.com> [1]
Requested by:		portmgr [2]
Submitted by:		kris [3]
Approved by:		portmgr
2004-12-31 18:24:10 +00:00
Kris Kennaway
71da5b35cf Rework MTREE_FILE handling from last commit:
* Users may specify a nonstandard PREFIX to install somewhere.  If they
  are trying to use an USE_X_PREFIX=yes port, install with BSD.x11*.dist.
  Otherwise, use BSD.local.dist.  Ports that deliberately set a nonstandard
  PREFIX must also set NO_MTREE to avoid spamming their hierarchy with an
  inappropriate MTREE specfile.

Pointed out by:	krion
2004-12-30 23:56:13 +00:00
Kris Kennaway
d9f3d6b0d0 * Back out introduction of DATE variable in previous commit; it conflicts
with the reasonable use of that variable to hold date strings in the
  environment [1]

* Overhaul the mtree spec file selection code: instead of deciding based
  on the value of USE_X_PREFIX, compare PREFIX to X11BASE and LOCALBASE
  directly.  This fixes the MTREE_FILE for ports that set PREFIX=${X11BASE}
  but don't set USE_X_PREFIX for some reason.  If PREFIX is a
  nonstandard value, set NO_MTREE=yes.

Noticed by:	Jez Hancock <jez.hancock@gmail.com> [1]
2004-12-30 07:14:27 +00:00
Eric Anholt
c90ee83f03 Update X.Org ports to 6.8.1, and the DRI port to use Mesa 6.2. Because Mesa 6.2
DRI drivers are incompatible with the old libGL in XFree86, they have been
repocopied to graphics/xfree86-dri.  Also note that with this commit the html
manpages are going away, and with it the runtime dependency on perl for the
imake port.

Release notes at: http://www.x.org/X11R6.8.1/RELNOTES.txt

Props to:	kris (multiple cluster runs and sorting through logs)
		lesi (fixing all the issues in those logs, and more)
2004-12-23 01:35:49 +00:00
Kirill Ponomarev
21ee7168bc * Add new command macros: DATE, FMT, MKTEMP, OBJDUMP,
and use command macro SORT. [1]

* Clean up the comments, and use 4 column tabs everywhere. [2]

* Introduce 2 new variables: SUB_FILES and SUB_LIST. [3]

* Document DEPRECATED and EXPIRATION_DATE variables. [4]

* Sanitize the intermittent output by the build infrastructure
  so that cutting and pasting from it no longer interferes
  with GNATS-tags. [5]

* Honour configure arguments for USE_XLIB if USE/WITH_LIBTOOL_
  is used. [6]

* Properly document 'describe' target. [7]

* Fix pkg-plist handling for ports that set a non-standard
  PREFIX. [8]

* Defaults INDEXFILE to INDEX-6 on 6-CURRENT (600000). [8]

PR:		ports/62298 [1], ports/73633 [2], ports/67151 [3],
		ports/74310 [4]. ports/74758 [5], ports/74536 [6],
		ports/74710 [7], ports/74691 [8]
Submitted by:	eik [1], edwin [2], Florent Thoumie <flz@xbsd.org>,
		sem [4], vs [5], ahze [6], linimon [7], kris [8]
2004-12-09 21:44:48 +00:00
Kirill Ponomarev
ae1ec8f3dc * Fix INDEX build if MAINTAINER is not defined. [1]
* Remove USE_QT2 since it's obsolete now. [2]

* Clarify comments about ARCH. [3]

* Speedup 'make readmes'.  Add a perl script "Tools/make_readmes"
  and modify bsd.port.subdir.mk to avoid recursing into individual
  port directories to create README.html. [4]

* Fix 'make search' to allow case insensitive search on 5-x/6-x. [5]

* Add the possibility to search the ports by category. [6]

* Remove tk42 and tcl76 from virtual categories since they're
  obsolete. [7]

* Introduce new variable - DISTVERSION, vendor version of the
  distribution, that can be set instead of PORTVERSION and is
  automatically converted in a conforming PORTVERSION. [8]

* Use --suffix instead of -b option for patch(1) to make it
  compatible with BSD patch(1) [9]

* Fix {WANT,WITH}_MYSQL_VER behavior, to deal with conflicting
  versions. [10]

PR:		ports/68895 [1], ports/69486 [2], ports/68539 [3],
		ports/70018 [4], ports/68896 [5], ports/73299 [6],
		ports/73570 [7], ports/67171 [8], ports/72182 [9]
Submitted by:	linimon [1][3], arved [2][7], cperciva [4],
		Matthew Seaman <m.seaman@infracaninophile.co.uk> [5],
		Radek Kozlowski <radek@raadradd.com> [6],
		eik [8], Andreas Hauser <andy-freebsd@splashground.de> [9],
		clement [10]
2004-11-19 13:45:07 +00:00
Kris Kennaway
ff63c67768 Change the default value of PTHREAD_LIBS to -pthread for 5.x and
beyond.  This avoids linking shared libraries with the thread library,
which causes problems when trying to change from one thread library to
another.  Instead all binaries that link to a library that uses
threads must themselves respect PTHREAD_LIBS.

Submitted by:	deischen, marcus
Approved by:	portmgr
2004-10-07 17:59:18 +00:00
Kris Kennaway
7f1f3ccd34 * Support USE_GCC=3.[34] properly, and allow newer 5.x systems to
build ports with older USE_GCC versions (useful in certain cases for
working around compile errors with newer gcc versions) [1] [2] [3] [4]
(based on)

* Only spit out the TRYBROKEN message when a BROKEN string is defined

PR:             ports/70322 [1], ports/71344 [2], ports/64316 [3]
Submitted by:   obrien [1], Xin LI <delphij@frontfree.net> [2],
                trevor [3], jkoshy [4], et. al.
Approved by:	portmgr
2004-09-30 05:21:01 +00:00
Joe Marcus Clarke
37dea055cc Separate precious __softMAKEFLAGS from .MAKEFLAGS to fix certain build
problems with the new make(1) .MAKEFLAGS handling.  To disable
__softMAKEFLAGS caching, set NOPRECIOUSSOFTMAKEVARS (note: this is done
by default if the new make(1) is being used).  To disable .MAKEFLAGS
caching, set NOPRECIOUSMAKEVARS (same as before).

PR:		standards/57295
Submitted by:	harti
Tested on:	pointyhat
2004-08-03 19:03:58 +00:00
Kirill Ponomarev
973f5e1c35 Update PERL_VERSION and PERL_VER
Submitted by:	tobez
2004-07-30 08:35:54 +00:00
Eric Anholt
4eb209da7d - Add the X_WINDOW_SYSTEM={xorg,xfree86-4,xfree86-3} variable to bsd.port.mk,
and make XFREE86_VERSION map to it.  XFREE86_VERSION is now deprecated.
- Make xorg the default X_WINDOW_SYSTEM on -current.
- Add several new X_*_PORT variables which point to various pieces of X11 based
  on the setting of X_WINDOW_SYSTEM, and make ports use them.
- Add information to CHANGES about how to handle the transition.

PR:		ports/68763
Approved by:	portmgr (marcus)
Approved by:	re (scottl)
2004-07-23 19:10:32 +00:00