1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
Commit Graph

795 Commits

Author SHA1 Message Date
Martin Wilke
749316327b - Remove support for Linux 2.4
Submitted by:	rene@
2013-05-30 08:55:05 +00:00
Bryan Drewery
01b1319fa6 Fix build with WITH_CCACHE_BUILD with ports that override PATH via
MAKE_ENV or CONFIGURE_ENV. I.e., don't set PATH in MAKE_ENV twice as
env(1) only takes one, in which case some ports fail to build. One
example is any USES=ada port (such as textproc/xmlada). Instead,
add the ccache path into PATH via := and let it fall into there
via the sourcing port's MAKE_ENV=PATH=...:${PATH} line.

A more comprehensive solution to this could be to add a MACRO/feature
to modify the PATH for all ports without using MAKE_ENV via
something like ADDPATH=...

With hat:	portmgr
Tested by:	several exp-runs
2013-05-30 01:14:42 +00:00
Niclas Zeising
92ea0d614b The FreeBSD x11 team proudly presents
an zeising, kwm, miwi, bapt, eadler production:

Xorg 7.7

Starring:
xserver 1.12.4 (new xorg only)
Mesa 8.0.4, including libGL, libGLU and dri (new xorg only)
libX11 1.5.0
libxcb 1.9
libdrm 2.4.42 (new xorg only)
freeglut 2.8.1
Also starring:
Updates to drivers and other libraries and utilities

Additional notes:
Change pkgconf to be a build dependency.
Add a new USE_XORG, xcb, to depend on libxcb and update all ports to use
this.
Trim makefile headers.
Take maintanership of x11/xcb-proto, ok'd by ashish.
If you are running WITH_NEW_XORG=, you need to rebuild all installed
drivers, see UPDATING for more information.
Various fixes to make ports compile.

PR:		ports/177942
Exp-run by:	miwi
Approved by:	portmgr (miwi)

Thanks to all who helped testing!
2013-05-25 14:37:02 +00:00
Baptiste Daroussin
e406c7cc21 Fix regression in MLINKS handling when using bmake 2013-05-24 10:36:04 +00:00
Bryan Drewery
d7e1eea732 - Follow-up to r317320: fix MAKE_JOBS_NUMBER not being set
if none of DISABLE_MAKE_JOBS or MAKE_JOBS_UNSAFE or
  MAKE_JOBS_SAFE or FORCE_MAKE_JOBS were set. This fixes
  the build for several ports updated in r317320.

Reported by:	miwi
With hat:	portmgr
2013-05-08 00:12:08 +00:00
Baptiste Daroussin
1e5ccf2bb9 USE_GETTEXT has totally been replaced by USES=gettext thanks, jgh and ak
USE_NCURSES has totally been replaced by USES=ncurses
USE_READLINE has totally been replaced by USES=readline
2013-05-07 08:01:46 +00:00
Hiroki Sato
139838ce1d TeXLive mega commit. The following ports have been added:
* Meta port
   - print/texlive-full: meta port to install all of the TeXLive components

  * Libraries
   - devel/tex-kpathsea: kpathsea library
   - devel/tex-web2c: WEB2C toolchain and TeX engines
   - print/tex-ptexenc: character code conversion library for pTeX

  * Base part of the TeXLive
   - print/texlive-base: binary programs in TeXLive
   - print/texlive-texmf: macro and font data in TeXLive
   - print/texlive-infra: tlmgr dependency (Perl modules)

  * TeX Formats
   - print/tex-formats: TeX, LaTeX, PDFTeX, AMSTeX, ConTeXT, CSLaTeX,
       EplainTeX, METAFONT, MLTeX, PDFTeX, TeXsis
   - print/tex-aleph: Aleph/Lambda
   - print/tex-xetex: XeTeX
   - print/tex-luatex: LuaTeX
   - print/tex-jadetex: JadeTeX
   - print/tex-xmltex: XMLTeX
   - japanese/tex-ptex: pTeX

  * DVI ware
   - print/tex-xdvik: XDvi

Mk/bsd.tex.mk is added for common part and USE_TEX knob [1].

Approved by:	portmgr (old version) [1]
PR:		ports/171571
PR:		ports/176399 [1]
2013-05-06 00:44:22 +00:00
Bryan Drewery
63f76304d6 - When DISABLE_MAKE_JOBS or MAKE_JOBS_UNSAFE is set, also set
MAKE_JOBS_NUMBER to 1. This makes it safe to do -j${MAKE_JOBS_NUMBER}
  without any extra logic.
- Cleanup ports working around the empty MAKE_JOBS_NUMBER
- This also fixes several ports that were expecting MAKE_JOBS_NUMBER
  to always have a number

Reviewed by:	bapt
Spotted by:	John Marino <draco@marino.st>
With hat:	portmgr
2013-05-04 14:06:08 +00:00
Baptiste Daroussin
d5c63e5a5d ghostscript 7 has been resurrected (this fix package building of ghostscript7 packages on packages builder 2013-05-03 23:37:06 +00:00
Baptiste Daroussin
40b085ef55 Preliminary support for bmake
Please note that bmake it only supported on current starting at r250164:

- make sure bmake treats -V as expected [1]
- tell bmake we use the old :L :U modifiers [1]
- workaround an incompatible loop syntax using bmake's inline loop [1]
- avoid forking a shell to get the CKSUMFILES which gives a make(1)/bmake(1) compatible syntax [2]

Submitted by:	sjg[1]
Obtained from:	dports[2]
2013-05-02 14:07:31 +00:00
Baptiste Daroussin
5271da855f Rely on bsdtar to autodetermine the format of the distfiles when possible
For a while now bsdtar is able to autotermine compression and archive format.
Let's then use tar directly instead of piping to tar.

Now USE_BZIP2 and USE_XZ only set EXTRACT_SUFX to the right format
2013-04-29 08:57:12 +00:00
Baptiste Daroussin
ab7078e178 Remove any reference to USE_ICONV now that it has been totally replace by USES= iconv
Submitted by:	mva
2013-04-27 22:15:26 +00:00
Baptiste Daroussin
dba80fffe4 Remove USE_CDRTOOLS from bsd.port.mk
This macros has been useless since cdrtools-cjk port has gone.
This macros also lead to badly handled dependencies assuming that the dependency
on cdrtools was most BUILD and RUN dependency. While most of the time it is
simply a RUN dependency and sometime a build one.

While here:
- Trim some headers
- Convert some ports to optionsng
- Convert some ports to USES= gettext
2013-04-26 12:35:50 +00:00
Baptiste Daroussin
982dc133e0 Remove USE_FREETYPE from bsd.port.mk
It added no really value and was used only by 8 ports
2013-04-26 09:27:26 +00:00
Baptiste Daroussin
c4eb46fbd3 Remove the now useless compatibility bits for USE_CMAKE 2013-04-25 06:48:09 +00:00
Baptiste Daroussin
ae5d9d6d94 Remove now unused USE_PKGCONFIG code 2013-04-23 14:28:52 +00:00
Bryan Drewery
4292fecc2e - Add WITH_CCACHE_BUILD support during 'configure' phase
- Add CCACHE_DIR
  The MAKE_ENV/CONFIGURE_ENV+= method of adding CCACHE_DIR
  in /etc/make.conf does not work for many ports since they
  overwrite using = instead of appending with +=. By adding
  CCACHE_DIR into the ENV variables after reading in the port
  the directory is properly set in the environment. Without
  this, the ccache support would sometimes work but incorrectly
  not respect the set CCACHE_DIR, potentially using 2 caches.

With hat:	portmgr
2013-04-23 00:26:55 +00:00
Baptiste Daroussin
185c92f4d9 Use simple glob matching instead of a regex to test if PREFIX defined as an absolute patch 2013-04-22 17:01:33 +00:00
Baptiste Daroussin
43ba324fd5 Add a global config.site cache.
This has 2 effects:
- it caches lots of things autotools are looking for and we know that are
  already on FreeBSD (speeding up configure scripts)
- it forces the autotool enable build chain to use by default commands from the
  base system like sed, awk, cp, bzip2, gzip etc

To overwrite things set in config.site just add the variable in CONFIGURE_ENV
within your port

Please help us to add new values in this config.site
2013-04-22 16:16:46 +00:00
Bryan Drewery
1697c075d9 - Fix check-vulnerable failing when pkg(8) is not installed
and WITH_PKGNG is set. This can happen when deinstall and
  reinstalling ports-mgmt/pkg in some cases

With hat:	portmgr
2013-03-30 05:31:29 +00:00
Baptiste Daroussin
39eb1ba22b ghostscript7 is very very outdated consider using newer version like print/ghostscript9
Approved by:	doceng (gjb)
2013-03-26 15:55:59 +00:00
Baptiste Daroussin
2dccb25602 Fix displaying multi description 2013-03-21 15:43:29 +00:00
Bryan Drewery
cca914e0f6 - Fix dialog4ports missing when PREFIX!=LOCALBASE
PR:		ports/177174
Reported by:	Hirohisa Yamaguchi <umq@ueo.co.jp>
With hat:	portmgr
2013-03-21 11:13:49 +00:00
Martin Wilke
58df3eebfb - Ports that use alternative targets to depend on others, for example:
BUILD_DEPENDS=	${NONEXISTENT}:${PORTSDIR}/foo/bar:target
  fail when built in jails that restrict network access during !fetch phase.
  This commit address this problem.

Tested by:	bmany exp-runs, drewery, bapt, crees

PR:		169850
Submitted by:	crees@
2013-03-21 07:34:50 +00:00
Bryan Drewery
becd92b496 - Remove prompt for dialog4ports. Dialog4Ports is a
required part of ports 'make config' now. This is seen
  as not much different than any other dependency.
- Allow dialog4ports to work with INSTALL_AS_USER
  by building and using the port's WRKDIR version
  through a Tools/scripts wrapper
- Add NO_DIALOG for 'config' as well.
- Fix D4P environment variables not passing to dialog4ports:
  D4PHEIGHT, D4PWIDTH, D4PFULLSCREEN

Reviewed by:	miwi, bapt, rum1cro@yandex.ru
Tested by:	miwi, bapt, rum1cro@yandex.ru
Tested by:	bdrewery (small exp-run)
Requested by:	many
2013-03-21 02:55:32 +00:00
Baptiste Daroussin
72a8d49547 Make config-depends target respect NO_DIALOG
Clean out the dialog4ports workdir after installing it

Reported by:	flo
Tested by:	flo
2013-03-20 09:30:04 +00:00
Baptiste Daroussin
e27e2c7316 if user has decide not to install dialog4ports, quit with a failre.
Reported by:	many
2013-03-20 07:58:56 +00:00
Max Brazhnikov
f8a306de30 Convert USE_CMAKE to USES macro:
Usage:		USES= cmake or USES= cmake:ARGS
 Valid ARGS:	outsource (perform an out-of-source build)

Tested by:	exp-run (bapt)
Approved by:	portmgr (bapt)
2013-03-19 17:59:30 +00:00
Baptiste Daroussin
5718fc3071 Make the ports tree use dialog4ports for make config.
dialog4ports has been contributed by Ilya A. Arkhipov. It extends dialog(3) to
provide a mixed dialog widget allowing to represent all features provide by the
new options framework.

This allows the ports tree to not anymore depends on dialog(1) from base to configure
the options and be able to improve if needed on all supported plateforms at the same time.

Exp-run by:	miwi
2013-03-19 09:27:52 +00:00
Bryan Drewery
63f96859ce - Convert USE_QMAIL_RUN, USE_QMAIL_BUILD and WANT_QMAIL into USES feature
bapt contributed to the qmail.mk as well
- Trim headers

USES= qmail:run will add qmail into RUN_DEPENDS
USES= qmail:build will add qmail into BUILD_DEPENDS
USES= qmail[:both] will add qmail into both RUN and BUILD DEPENDS
USES= qmail:vars will set QMAIL_PREFIX

With hat:	portmgr
2013-03-15 22:03:42 +00:00
Baptiste Daroussin
911c27a74b r314316 loads the features a bit too late it should be done prior to the path sanity checking
Reported by:	bdrewery
2013-03-15 16:45:47 +00:00
Baptiste Daroussin
be3b808c2a Load features at the end of pre.mk instead of the begonning of post.mk
This allows to test/manipulates variables from USES between .pre.mk and .post.mk

Having it loaded in the end of pre.mk still allows to set USES inside bsd.*.mk
and after bsd.port.options.mk.

The only limitation is that USES set after bsd.port.pre.mk will not be taken loaded.
Which is the same behaviour as for USE_*.

Requested by:	bdrewery
Exp-run by:	miwi
2013-03-15 16:37:31 +00:00
Baptiste Daroussin
5285b348d3 Fix info files with pkgng.
This bring the first Keyword into the ports tree.
Keywords are pkgng custom plist keyword definition.

info.yaml defines a new @info keyword usable only with pkgng which will:
- add the info agument to the file list
- set a post-installation execution script
- set a post-deinstallation execution script

in keyword definition the script uses the same format (%f, %F, %D, ...) as @exec/@unexec does
it just add a new one: %@ which correspond the the keyword argument line.

Exp-run:	miwi
2013-03-14 10:11:19 +00:00
Bryan Drewery
f7fde92337 - Fix fetch-urlall-list fetch-url-list fetch-url-list-int targets
incorrectly looking at distinfo data. These were copied from
  do-fetch at some point, but they do not actually run FETCH_CMD,
  so the DIR and CKSIZE vars are not needed.

PR:		ports/175717
Submitted by:	amdmi3
With hat:	portmgr
2013-03-13 02:20:47 +00:00
Bryan Drewery
cec5e7a589 - Make the config sanity check more clear that it defaults
to [Y]es

PR:		ports/171083
Submitted by:	rakuco
With hat:	portmgr
2013-03-13 00:31:27 +00:00
Baptiste Daroussin
7d20ef9811 Get rid of XAWVER option in bsd.port.mk it does not need to be specified there also remove a useless global XAWVER PLIST_SUB 2013-03-09 21:43:02 +00:00
Baptiste Daroussin
f4285add25 Remove some dead variables 2013-03-09 21:23:54 +00:00
Baptiste Daroussin
7372ce16d9 Remove old USE_BISON related code from bsd.port.mk 2013-03-08 11:34:33 +00:00
Martin Wilke
0f92912af4 - Add new knob USE_LHA [1]
- Convert few ports to USE_LHA [1]
- Revert r303619 since CONFIGURE_ENV already sets CPPFLAGS and LDFLAGS by default. [2]

PR:		176187 [1]
		174790 [2]
Submitted by:	Christoph Mallon <christoph.mallon@gmx.de> [1]
		Gerald Pfeifer <gerald@pfeifer.com> [2]
2013-03-07 17:08:13 +00:00
Baptiste Daroussin
da12e6723d Convert USE_FUSE macros into USES feature.
While here trim headers
Convert some USE_GNOME= gnomehack -> USES= pathfix
2013-03-06 16:52:02 +00:00
Baptiste Daroussin
05b55e937f New USES macros that loads "features" on demand.
First feature implemented: pathfix which will lookup in WRKSRC for Makefile.in
and configure and fix common path that doesn't fit with FreeBSD hier(7)

This is an extract of bsd.gnome.mk's gnomehack to avoid porters to have to load
the full bsd.gnome.mk just for this feature

More features to come...
2013-03-06 14:28:57 +00:00
Baptiste Daroussin
f05b0c8f66 Do not append options to pkg-plist when using pkgng given that this is already
appended to +MANIFEST in bsd.pkgng.mk

Submitted by:	bdrewery
2013-03-06 07:04:45 +00:00
Martin Wilke
20490dc7a0 - Drop obsoleted USE_QT_VER=4 [1]
- Add auditdistd user to the blacklist [2]

PR:		171797 [1]
		176276 [2]
Submitted by:	makc@ [1]
		"John W. O'Brien" <john@saltant.com> [2]
2013-03-03 06:53:34 +00:00
Max Brazhnikov
537fa0cbd2 Update DESKTOP_ENTRIES framework:
- update list of categories to the version 1.1 of Desktop Menu Specification
- require Icon field to follow Desktop Entry Specification (the field must be
  absolute path or icon name if icon theme is used)
- require main category to be set (listed in DESKTOP_CATEGORIES_MAIN)
- remove deprecated Encoding key
- allow StartupNotify field to be empty string
- be less strict when generating filename for desktop entry (to improve
  readability when full path to executable is used)
- use port ${COMMENT} if comment field is not set
- add GenericName key (comment field will be used)

PR:		ports/175102
Approved by:	portmgr (bapt)
Tested by:	mini exp-run (bapt)
2013-01-23 14:32:20 +00:00
Florian Smeets
d26530b713 - introduce a USE_FUSE macro
- convert all fuse ports to use the new macro

The macro makes sure sysutils/fusefs-libs gets installed and depending on
fuse being in base or not it installs sysutils/fusefs-kmod.

Approved by:	portmgr (bapt)
2012-12-14 15:47:00 +00:00
Koop Mast
1dc6a664e3 Rename USE_GSTREAMER08 to USE_GSTREAMER1. The old one is a left over from
when bsd.gstreamer.mk had support for the 0.8 Gstreamer series. The new macro
will be used for the Gstreamer 1.x framework. This isn't completly finished yet
but this allows me to drop bsd.port.mk from my patchset.

Approved by:	portmgr (bapt)
2012-12-10 12:46:43 +00:00
Baptiste Daroussin
34d5249610 Extend the options framework providing 2 new macros:
OPTIONS_RADIO: a more user friendly way to allow selecting only 0 or 1 options
               among a list of options
OPTIONS_GROUP: this macros should be used to group options by theme allowing the
               user to select 0 or N options among a list of options

With hat:	portmgr
Reviewed by:	beat
2012-12-10 10:14:05 +00:00
Baptiste Daroussin
0adf8ae323 PKG_DEVEL is not there yet, this shouldn't have been committed, sorry
Feature safe:	yes
2012-10-26 08:16:17 +00:00
Baptiste Daroussin
e32eca5754 Remove GOGO option and gogo run dependencies along with gogo mp3 encoder itself
Feature safe:	yes
2012-10-26 06:33:41 +00:00
Beat Gaetzi
b7139dede3 - Only add GH to MASTER_SITES if not already there [1]
- Allow WRKSRC to be overridden when using USE_GITHUB [2]

PR:		ports/171644 [1], ports/171688 [2]
Submitted by:	bdrewery
Reviewed by:	gahr
Tested by:	Exp-run on pointyhat
2012-10-10 18:20:21 +00:00