Commit graph

691 commits

Author SHA1 Message Date
Dmitry Marakasov
6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00
Baptiste Daroussin
7626bb39cb Simplify USERS/GROUPS management, use groupmod instead of usermod to append user to a group
This fix group management

PR:		ports/159577
Submitted by:	sahil
Reviewed by:	flz
Exp-run:	bapt
Approved by:	portmgr (flz)
2011-09-09 08:10:29 +00:00
Sunpoet Po-Chuan Hsieh
62896e4934 - Revert accidental commit 2011-09-04 17:35:07 +00:00
Sunpoet Po-Chuan Hsieh
65e103c48f - Remove ftp.net.ohio-state.edu
PR:		ports/160311
Submitted by:	Anton Shterenlikht <mexas@bristol.ac.uk>
2011-09-04 17:31:01 +00:00
Mark Linimon
dd83a86446 Refactor the perl parts of bsd.port.mk to live in bsd.perl.mk. This never
got finished correctly in the first place.

Note that this reverts two things in gabor's original bsd.perl.mk rewrite
that were never actually used/tested:

 - ability of USE_PERL5 and other variables to specify a version.

 - conditional inclusion of bsd.perl.mk based on USE_PERL5 or similar.

What this commit does is to make bsd.perl.mk be _exactly_ the current
code from bsd.port.mk (modulo a few comments).

Work to test the former would be welcome.  The problem with the latter
is that multiple attempts over the last N years to test it inevitably
showed INDEX breakage.  My own conclusion is that that simply makes the
tree too fragile (and is the reason I kept putting off working on it in
the first place).  Others will disagree.

Hopefully this change will make the perl-specific bits in bsd.*.mk easier
to maintain.

While here, fix a bogus comment (CCFLAGS).

Adding to pointy hat collection:	linimon
2011-08-12 16:39:23 +00:00
Mark Linimon
d423cdc650 - fix problem with metadata on tier-2 machines for Pascal ports. The
reason is that bsd.fpc.mk was only defining PPNAME for i386 and amd64.
   Provide a placeholder and proper IGNORE for tier-2 [1]

 - remove obsolete check for /usr/share/mk/bsd.port.options.mk [2]

 - add USE_DRUPAL for easy include of Mk/bsd.drupal.mk [3]

PR:		ports/155017 [2],
		ports/159288 [3]
Submitted by:	linimon (discussed with acm),
		eadler,
		crees
2011-08-12 16:10:02 +00:00
Baptiste Daroussin
a9a18a9577 removed unused __softMAKEFLAGS [0]
remove old security check code [1]

PR:		ports/156077 [1], ports/158956 [0]
Submitted by:	Eitan Adler <lists@eitanadler.com> [1], bapt@ (myself) [0]
Tested on:	pointyhat-west
With hat:	portmgr
2011-07-21 15:10:46 +00:00
Mark Linimon
2e12896268 Fix INDEXFILE for upcoming 10.0 branch.
PR:		ports/158750
Submitted by:	crees
Tested on:	pointyhat-west
2011-07-21 05:04:39 +00:00
Pav Lucistnik
49f1482237 - Unbreak fetch-urlall-list target when DIST_SUBDIR contains forward slashes
PR:		ports/158203
Submitted by:	Mamoru Sakaue <sakaue.mamoru-cmfho5lt@samurai.mwghennn.net>
2011-07-15 08:26:30 +00:00
Erwin Lansing
0f54071016 Update perl to 5.12.4
Changes:	http://search.cpan.org/~lbrocard/perl-5.12.4/pod/perl5124delta.pod

Submitted by:	skv
Tested on:	pointyhat
2011-07-03 15:51:18 +00:00
Baptiste Daroussin
3904f96634 Fix fetch-urlall-list
Reported by:	amdmi3@ (by mail)
Approved by:	portmgr@ (bapt@, self)
2011-06-09 08:22:45 +00:00
Hiroki Sato
cee3955026 - Add print/ghostscript9-nox11.
- Add "9" to USE_GHOSTSCRIPT_* variables and upgrade the default version to it.
2011-06-07 14:22:23 +00:00
Baptiste Daroussin
76eebf07a6 - remove some old code (unsused on supported OS) [1]
- prevent some useless external program call (based on [2])
- simplify (in)valid category detection

PR:		ports/155629 [1],  ports/65804 [2], ports/157273 [3]
Submitted by:	Eitan Adler <lists@eitanadler.com> [1], green@ [2], bapt@ (myself) [2]
Exp-runs by:	pav@
2011-06-06 05:53:51 +00:00
Sergey Skvortsov
b9716b9857 Introduce Perl 5.14.0
Changes:	http://search.cpan.org/~jesse/perl-5.14.0/pod/perldelta.pod
2011-05-17 19:30:03 +00:00
Sergey Skvortsov
2879ba6109 Change default Perl version to 5.12. 2011-05-06 06:20:12 +00:00
Florent Thoumie
c406a95c53 Latest round of infrastructure changes.
- bsd.port.mk: add INDEX_PORTS, to support INDEX creation for a subset of the ports tree [1]
- bsd.port.mk: call target "install-rc-script" before "post-install" [2]
- [patch] ports/Mk bsd.port.mk order if groups/users are created by package [3]
- [bsd.port.mk] [patch] reaper of the dead: md5 has been in /sbin for a while [4]
- [bsd.port.mk] [patch] remove support for pre 7.x systems (b.*.m) [5]
- [patch] [bsd.port.mk] reaper of the dead: are three variable defintions needed [6]

PR:		ports/156575 [1],
		ports/139116 [2],
		ports/152498 [3],
		ports/155983 [4],
		ports/155510 [5],
		ports/156340 [6]
Submitted by:	Florent Thoumie <flz@xbsd.org> [1],
		Sergey Skvortsov <skv@freebsd.org> [2],
		Olli Hauer <ohauer@FreeBSD.org> [3],
		Eitan Adler <lists@eitanadler.com> [4],
		Eitan Adler <lists@eitanadler.com> [5],
		Eitan Adler <lists@eitanadler.com> [6]
2011-05-04 22:33:13 +00:00
Max Brazhnikov
314168b9be Update open-motif to 2.3.3
Remove needles patches (integrated upstream)
Pass maintainership to submitter

PR:		ports/154044
Submitted by:	Mikhail Tsatsenko <m.tsatsenko at gmail.com>
Exp-runs by:	pav
2011-05-02 12:40:24 +00:00
Olli Hauer
aaa59c1b11 Mk/bsd.apache.mk was rewritten with a new logic and some new parameters
to support future apache versions and the transition to apache22.

  Existing and new USE_APACHE* parameters:

  USE_APACHE         set apache and apxs as build and run dependency
  USE_APACHE_BUILD   set apache and apxs as build dependency
  USE_APACHE_RUN     set apache and apxs as run dependency

  The following example is representative of all three possible parameters to use:

  USE_APACHE= 22     specify exact version
  USE_APACHE= 1.3+   specify [min] version, no [max] version
  USE_APACHE= 13-22  specify [min]-[max] range
  USE_APACHE= -2.2   specify [max] version, no [min] version

  Values can be specified with and without "." (dot) between major and minor
  version numbers. For example 22 is equal to 2.2

  For documentation and full changelist please take a look into
  Mk/bsd.apache.mk or http://wiki.freebsd.org/bsd.apache.mk

  Commit with hat apache@

PR:		ports/156533
Submitted by:	ohauer
2011-04-24 15:37:53 +00:00
Baptiste Daroussin
8d27ddb9bd Add a new macro to deal with conflict between ncurses from base and ncurses from ports.
If a ports is linked against ncurses from base or from the ports, it should then add:
USE_NCURSES=yes

it is also possible to specify the hard dependency on the ports ncurses or one the base one adding the following macros:
WITH_NCURSES_PORT=yes or WITH_NCURSES_BASE=yes

PR:		ports/155269
Submitted by:	me
Reviwed by:	pav@
Approved by:	portmgr (pav@)
Exp-run by:	portmgr (pav@)
2011-04-11 08:34:17 +00:00
Thomas Abthorpe
87f78ba5a9 - Disable license checking with DISABLE_LICENSES [1]
- Remove temp files from /tmp when build is interrupted [2]

PR:		ports/149837 [1], ports/155890 [2]
2011-03-31 03:37:14 +00:00
Pav Lucistnik
a3c0bb0134 - Use ${UID} instead of calling ${ID} -u
PR:		ports/155543
Submitted by:	Eitan Adler <lists@eitanadler.com>
2011-03-19 21:30:34 +00:00
Martin Wilke
ab44c29293 - Fix spelling
PR:		ports/155195
Submitted by:	Warren Block <wblock@wonkity.com>

- Remove sanity check for X_WINDOW_SYSTEM
- Remove check for USE_XPM
PR:		ports/155502 ports/155504
Submitted by:	Eitan Adler <lists@eitanadler.com>
2011-03-18 01:43:49 +00:00
Erwin Lansing
d5c7de2d68 Pass CPPFLAGS to MAKE_ENV and CONFIGURE_ENV
PR:		153625
Submitted by:	gerald
2011-03-07 07:32:05 +00:00
Martin Wilke
d594ccc94f - Please welcome Xorg 7.5.1
The X-Server has been patched to the latest 1.7.X series, drivers
and fonts have been updated to the latest versions. This update includes
some components from Xorg 7.6 with a lot of improvements, and it seems
that the performance is much better than the old version. Also this
Update fix build issues with clang and binutils 2.17.50 in current,
remove 6.X gruft and de-author pkg-descr.

I would like to thank:

	Beat Gaetzi
	Dima Panov
	Koop Mast
	Eitan Adler
	and all Testers.

PR:		ports/147646
		ports/148035
		ports/148744
		ports/150223
		ports/152889
		ports/154457
2011-02-25 16:52:50 +00:00
Pav Lucistnik
d88a3287e7 - Allow using linux base 2.4 on FreeBSD 8.X
PR:		ports/154186
Submitted by:	ale
2011-02-25 11:00:59 +00:00
Pav Lucistnik
996d853fd4 - Remove NO_SIZE support
PR:		ports/153547
Submitted by:	Eitan Adler <lists@eitanadler.com>
2011-02-25 10:55:08 +00:00
Mark Linimon
57c29b88a3 - make dirrmtry more friendly [1]
- allow checking STRIP when WITH_DEBUG is defined [2]
- unify the message with real URL by removing superfluous slash [3]

PR:		152102 [1],
		153539 [2],
		154653 [3]
Submitted by:	az [1],
		Anonymous <swell dot k at gmail dot com> [2],
		sunpoet [3]
2011-02-25 00:56:51 +00:00
Erwin Lansing
8f0f2e053a Make actual-package-depends work with (unsupported) non-standard
subtrees of ${PORTSDIR} with depths other than 2.

PR:		144482
Submitted by:	brooks
2011-02-16 10:43:53 +00:00
Erwin Lansing
cbef4fa3fb Remove trailing period to make fetch URL easier to copy/paste.
PR:		154390
Submitted by:	uqs
Feature safe:	yes
2011-02-07 13:50:13 +00:00
Erwin Lansing
3fb8ffdaed Drop the use of <> around portaudit URLs
PR:		127214
Submitted by:	uqs
Tested on:	pointyhat-west
Feature safe:	yes
2011-02-05 15:55:58 +00:00
Martin Wilke
d86445d661 - Fix Conflict handling. At the moment the build conflicts are recorded in
the packages which is not necessary.

Reported by:	makc@ via cvs-ports@, #bsdports
Submitted by:	beat@
2010-12-29 07:14:56 +00:00
Ade Lovett
843f8123d4 Sync to final (for now) bsd.autotools.mk 2010-12-22 20:05:49 +00:00
Beat Gaetzi
816027e823 - Add new variables to define buildtime and runtime dependencies on
Mozilla ports:

  USE_FIREFOX: Add runtime dependency on Firefox.
  Available values: yes 36+ 35+ 36 35
  NOTE: Default value 36 is used in case of USE_FIREFOX=yes

  USE_FIREFOX_BUILD: Add buildtime dependency on Firefox.
  Available values: see USE_FIREFOX

  USE_SEAMONKEY: Add runtime dependency on SeaMonkey.
  Available values: yes 11+ 20+ 11 20
  NOTE: Default value 20 is used in case of USE_SEAMONKEY=yes. SeaMonkey
  1.1 is obsolete and will be replaced with SeaMonkey 2.1 soon.

  USE_SEAMONKEY_BUILD: Add buildtime dependency on SeaMonkey.
  Available values: see USE_SEAMONKEY

  USE_THUNDERBIRD: Add runtime dependency on Thunderbird.
  Available values: yes 31+ 30+ 31 30
  NOTE: Default value 31 is used in case of USE_THUNDERBIRD=yes

  USE_THUNDERBIRD_BUILD: Add buildtime dependency on Thunderbird.
  Available values: see USE_THUNDERBIRD

PR:		ports/153018
Exp-run by:	erwin
Approved by:	portmgr (erwin)
2010-12-18 11:15:33 +00:00
Mark Linimon
6271f6f220 Add a temporary backstop definition of SRC_BASE. A more general solution
is forthcoming.

While here, remove a stale comment.
2010-12-17 03:21:19 +00:00
Pav Lucistnik
f6cf500917 - Upgrade -R flag to -F while fetching, to prevent "local modification time not
matching the remote" situation

PR:		ports/152620
Submitted by:	Tijl Coosemans <tijl@coosemans.org>
2010-12-09 20:33:02 +00:00
Ade Lovett
4a8684e352 Sync to new bsd.autotools.mk 2010-12-04 07:34:27 +00:00
Martin Wilke
da9e8a04fa - Remove two checks obviated by the removal of _OPTIONSFILE in revision 1.596 [1]
- Remove Legacy USE_BISON in bsd.port.mk [2]
- Remove Legacy 2004 Hack in bsd.port.mk [3]

- CONFLICT handling in has been reworked. There are two new variables in bsd.ports.mk:
  - CONFLICTS_BUILDS: Check for conflicts prior to build
  - CONFLICTS_INSTALL: Check for conflicts prior to installation stage

    The existing CONFLICTS checks for conflicts prior to build and installation stage.
    Users could defer the conflict check of CONFLICTS_BUILDS and CONFLICTS to the installation stage by using DEFER_CONFLICTS_CHECK.
    As already possible with CONFLICTS the new conflict checks could be disabled by using DISABLE_CONFLICTS.
    This patch was submitted by beat@

PR:		ports/149670 [1]
		ports/151806 [2] [3]
Subitted by:	bf <bf1783@gmail.com> [1]
		Eitan Adler <lists@eitanadler.com> [2] [3]
2010-12-01 08:32:50 +00:00
Pav Lucistnik
d2df0057b8 - Add a hack to display pkg-message on package install on packages created with
pkg_create -b

PR:		ports/152626
Reported by:	ohauer
2010-11-30 21:36:42 +00:00
Pav Lucistnik
82300a1549 - DESKTOP_ENTRIES: commandline is used to name installed .desktop file, this
can lead to files containing whitespace and funny characters; thus strip all
  non-alphanumeric characters

PR:		ports/147701 (adapted)
Submitted by:	Warren Block <wblock@wonkity.com>
2010-11-27 17:42:46 +00:00
Pav Lucistnik
8951e3d834 - Fix NO_INSTALL ports to register an entry in /var/db/pkg (ie. print/cups)
- Change package-noinstall target to create package with pkg_create -b instead
  of specifying all the arguments

PR:		ports/144164
Submitted by:	Dominic Fandrey <kamikaze@bsdforen.de>
2010-11-24 23:04:02 +00:00
Pav Lucistnik
627be0e01c - no-op/style: make use of an assigned variable
PR:		ports/152090
Submitted by:	Eitan Adler <lists@eitanadler.com>
2010-11-17 21:06:43 +00:00
Pav Lucistnik
e6659d08ac - Fix PLIST_DIRSTRY: swap the substitutions to the proper order
PR:		ports/151799
Submitted by:	sunpoet
2010-11-08 16:07:03 +00:00
Erwin Lansing
23c2ad986c Fix a mismerge in the previous revision and revert the reversion
of revision 1.651.

Noticed by:	sunpoet
2010-10-29 12:41:29 +00:00
Erwin Lansing
74cb9eff53 Deprecate md5 in favour of sha256 checksums. md5 checksums will no longer
be generated or checked, and will be silently ignored for now.  Also,
generalize the MD5_FILE macro to DISTINFO_FILO.

PR:		149657
Submitted by:	rene
Approved by:	portmgr
Tested on:	pointyhat i386 7-exp
2010-10-28 21:00:21 +00:00
Erwin Lansing
a720cd4fc9 - Pass CPP to CONFIGURE_ENV and MAKE_ENV [1]
- fix fetch-required-list output [2]

PR:		151047 [1],
		145955 [2]
Submitted by:	gerald [1],
		Martin Simmons <martin@lispworks.com> [2]
2010-10-25 18:36:56 +00:00
Erwin Lansing
c427b101da - add INSTALL_LIB target [1]
- Add PLIST_DIRSTRY macro [2]

PR:		150303 [1],
		150337 [2]
Submitted by:	rene [1],
		kwm [2]
2010-10-13 09:04:30 +00:00
Pav Lucistnik
2ebb0a9d1a - Introduce a new virtual category enlightenment, for the popular desktop
environment

PR:		ports/150492
Requested by:	Grzegorz Blach <magik@roorback.net>
2010-09-29 20:51:55 +00:00
TAKATSU Tomonari
46d3e7ba41 - Add CRAN_Include_MAINTAINER tag to Mk/bsd.cran.mk
- Rename R_MOD to USE_R_MOD to be suitable for bsd.port.mk
- Remove math/R-cran-sm/files/bsd.cran.mk to complete the moving

Approved by:	wen (via e-mail)
2010-09-26 07:59:14 +00:00
Pav Lucistnik
6ce2b61709 - Desupport USE_CDRTOOLS=cjk
PR:		ports/150362
Submitted by:	marius
2010-09-17 07:31:36 +00:00
Ade Lovett
8262a7b51d Autotools update. Read ports/UPDATING 20100915 for details.
Approved by:	portmgr (for Mk/bsd.port.mk part)
Tested by:	Multiple -exp runs
2010-09-15 18:35:24 +00:00