1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
Commit Graph

77 Commits

Author SHA1 Message Date
Koop Mast
dd15126ccc Don't exec programs in post-install when STAGE mode is enabled.
Noticed by:	antoine (on #poudriere)
Reviewed by:	bapt@
2013-09-29 17:17:57 +00:00
Pietro Cerutti
3b9dcc5e6d - USES+=tcl and USES+=tk
Add support for specifying multiple versions in arguments, e.g.,
  USES+=tcl:84,85. The picked version is the highest available one.

  This basically brings in the last functionality that was left out in the
  switch from USE_TCL to USES+=tcl, namely TCL_INVALID_VER. To specify an
  invalid version, just list the valid ones.

Reviewed by:	bdrewery (portmgr)
2013-09-27 12:53:20 +00:00
Sunpoet Po-Chuan Hsieh
5d3ab38411 - Minor cleanup for PERL5_MAN* and P5MAN*
- perl.mk changes MAN3PREFIX only therefore we keep *MAN3 setting
  - PERL5_MAN[124-9] point to non-existence directories

Submitted by:	sunpoet
Reviewed by:	az
2013-09-26 15:52:38 +00:00
Pietro Cerutti
300da08eee - Fix handling of minimum versions (e.g., USES+=tk:84+)
Approved by:	portmgr (bapt)
2013-09-24 15:14:30 +00:00
Baptiste Daroussin
18f59d0843 Fix typo
Reported by:	ak
2013-09-24 13:23:15 +00:00
Baptiste Daroussin
f4d299ad64 Overwrite BINOWN/SHAREOWN/WWWOWN to allow all our INSTALL_* macros to properly work as a user 2013-09-24 12:47:31 +00:00
Baptiste Daroussin
898b5242b0 In preparation for package as user introduce a new uidfix, which will setup anything
need for a build system to allow staging as a user.
For now only setup for port using bsd.prog.mk is available
2013-09-24 10:00:08 +00:00
Sunpoet Po-Chuan Hsieh
2861467a4a - Remove trailing slash
Approved by:	bapt (via IRC)
2013-09-23 20:29:11 +00:00
Baptiste Daroussin
b7af6146d2 Introduce a new MANDIRS macros to make the compress-man determine where the makefiles should be found
Previous implementation was based on etc/man.d which doesn't exists in FreeBSD 8.
By default MANDIRS is ${MANPREFIX}/man. if a port adds USES=perl5 then the perl default locations is added

Reviewed by:	bdrewery
2013-09-23 20:07:18 +00:00
Baptiste Daroussin
611a27dced Simplify notation of perl man page path in pkg-plist when staged
Submitted by:	az
2013-09-23 15:44:20 +00:00
Ruslan Makhmatkhanov
dc659a215b - add new USES target: zope, and convert the tree to it
- old USE_ZOPE knob support was removed from bsd.python.mk
- update CHANGES and bsd.sanity.mk accordingly
- add ZOPE options knob and use it in lang/py-mx-base

The work is done by Marcus von Appen, but any problems are mine.

Submitted by:	mva (python ML)
2013-09-23 13:42:48 +00:00
Baptiste Daroussin
785d744f1f Add a new PERL_MANDIR substitution pattern to PLIST_SUB to easier staging p5- ports
Approved by:	perl (az)
2013-09-23 05:34:18 +00:00
Pietro Cerutti
be6d645e4f - Fix on < 10 2013-09-19 15:22:39 +00:00
Pietro Cerutti
815711e2d4 - Correct typo
Spotted by:	thierry
2013-09-19 14:18:29 +00:00
Pietro Cerutti
4bf4f3cb3a - Correct another typo 2013-09-19 13:42:38 +00:00
Pietro Cerutti
3e93feb586 - Fix typo
Spotted by:	antoine
2013-09-19 13:38:01 +00:00
Pietro Cerutti
c8209f84b4 - Implement USES+=tcl and USES+=tk
- Use bsd.default-versions.mk to specify the default Tcl/Tk version (8.6)
- Add warnings about the now deprecated use of USE_TCL, USE_TK, ...

  Notes:

  * USES+=tcl and USES+=tk take the following optional arguments

    - either a version in the form of XY or XY+, or 'wrapper' to depend on
      lang/tcl-wrapper or x11-toolkits/tk-wrapper

    - either 'build' (bring in build depend) or 'run' (bring in run depend)

  * it is an error to specify both 'tcl' and 'tk' in USES.

  * The functionality currently implemented via INVALID_TCL_VER and
    INVALID_TK_VER is not yet available.

Approved by:	bapt (portmgr)
2013-09-19 09:49:52 +00:00
Baptiste Daroussin
377fc0342d Introduce the one-true-way to handle multi version ports
This defines a new macros for end users!
DEFAULT_VERSIONS.
This macros is used to end-users to define what version they want to be
the default version for the whole ports tree (for ports allowing that)

Syntax is the following:
DEFAULT_VERSIONS=	perl5=5.18 ruby=2.0

Swith bsd.ruby.mk to use it[1], switch Uses/perl5.mk to use it[2]

If you are maintaining settable multi version port, please change it so
it uses DEFAULT_VERSIONS.

Reviewed by:	ruby (swills) [1], perl (az) [2]
Approved by:	ruby (swills) [1], perl (az) [2]
2013-09-19 08:16:43 +00:00
John Marino
74db0bce11 Mk/Uses/readline.mk: Restore functionality for DragonFly
For minimal breakage reasons, DragonFly has OSVERSION set to the
equivalent of FreeBSD 99.  When the readline compatibility for FreeBSD
10 was revoked recently, it broke a lot of dports.

Restore the default to how it was before on DragonFly only to restore
those ports using OPSYS.

Approved by:	portmgr (bapt)
2013-09-15 22:15:58 +00:00
Baptiste Daroussin
c79883b220 readline won't be removed in time for 10.0, let 10.0 use readline from base.
PR:		ports/172079
Submitted by:	Jan Beich <jbeich@tormail.org>
2013-09-14 10:59:34 +00:00
Boris Samorodov
7046a55fd8 Introduce variable ICONV_PREFIX at Mk/Uses/iconv.mk. The default for
pre 100043 is ${LOCALBASE} and /usr otherwise. Convert all ports to
new variable usage.

Approved by:	portmgr (bapt, implicit)
2013-09-07 19:49:41 +00:00
Boris Samorodov
54e44467d7 . introduce ICONV_CONFIGURE_BASE variable at Mk/Uses/iconv.mk. It's value is
"--with-libiconv=${LOCALBASE}" at systems pre OSVERSION 100043 and "" (null)
  otherwise;
. convert all ports which has CONFIGURE_ARGS=--with-libiconv=${LOCALBASE}.

Approved by:	portmgr (bapt, implicit)
2013-09-05 20:18:30 +00:00
Guido Falsi
642be1b81d - Make ports use the libc provided iconv implementation on 10-CURRENT
after r254273
- Fix a bunch of ports to properly work after this
- Mark converters/libiconv as IGNORE for systems with iconv in libc

Reviewed by:	bapt
Approved by:	portmgr (bapt)
Discussed with:	bapt, bsam (who both contributed ideas and code)
2013-09-04 18:06:07 +00:00
Andrej Zverev
28a6974148 - Fix things after recent modbuildtiny commit
Reviewed by:	bapt@
Kudos to: 	bapt@
2013-09-04 16:54:39 +00:00
Mathieu Arnold
687a70b642 * Add devel/p5-Module-Build-Tiny support to USE_PERL5 with modbuildtiny.
* Add doc for the configure, modbuild and modbuildtiny options.

Reviewed by:	az, bapt
Approved by:	az, bapt
2013-09-04 13:11:02 +00:00
Tijl Coosemans
f86cad0ce3 Two imake related changes:
1) Move -a from XMKMF command variable to a new XMKMF_ARGS variable.
   For ports that don't need -a introduce USES=imake:notall.
   This way ports no longer have to redefine XMKMF.

2) xmkmf -a runs imake with the flags in IMAKECPPFLAGS as extra arguments
   to set CPP, CC and CXX.  This creates the top Makefile, and then xmkmf
   runs make Makefiles.  This Makefiles target runs imake for each
   subdirectory but these imake invocations did not have the flags from
   IMAKECPPFLAGS so the resulting makefiles used the wrong C preprocessor
   when clang is used (/usr/bin/cpp instead of /usr/local/bin/tradcpp).
   Instead of letting xmkmf pass IMAKECPPFLAGS from the environment to
   imake let imake handle IMAKECPPFLAGS itself just like it handles
   IMAKEINCLUDE.

   This exposed configure errors in x11-clocks/mouseclock and x11-wm/fvwm.

Approved by:	portmgr (bapt)
2013-09-02 13:26:34 +00:00
Boris Samorodov
41aa63fa0b 1. Introduce using iconv with arguments:
. lib (default, implicit);
. build,
. patch.

The default is the same, all existing ports stay valid.

2. Introduce variable ICONV_CMD with default to ${LOCALBASE}/bin/iconv.
It is intended to get the value of /usr/bin/iconv at recent 10.x.

3. Adopt all ports to using USES+= icomv:build and iconv:patch and
change iconv (executable) at Makefile commands to ${ICONV_CMD} at those ports.

Submitted by:	bsam (me, via e-mail)
Approved by:	portmgr (bapt)
2013-09-02 05:41:50 +00:00
Raphael Kubo da Costa
c7f4daf154 Fix grammar in comment 2013-08-25 16:38:15 +00:00
Marcus von Appen
fecac8453d - Fix a documentation typo 2013-08-25 16:14:28 +00:00
Sunpoet Po-Chuan Hsieh
b31d1ef612 - Sync comment with default PERL_VERSION 2013-08-22 17:09:46 +00:00
Mathieu Arnold
3ffb70faa9 And actually allow people to continue using ports.
Submitted by:	az
2013-08-13 13:45:16 +00:00
Mathieu Arnold
5647074878 Introduce Perl 5.18.1
Changes:        http://search.cpan.org/dist/perl-5.18.0/pod/perldelta.pod
Changes:        http://search.cpan.org/dist/perl-5.18.1/pod/perldelta.pod
2013-08-13 13:04:55 +00:00
Baptiste Daroussin
27b5677573 New USES= perl5
Deprecate and replaces bsd.perl.mk, it adds more consistency:
only USE_PERL5 is needed to define all expected behaviour.

USE_PERL5 accept the following arguments:
Version: like 5.14+
- configure (formerly PERL_CONFIGURE=yes)
- run (formerly USE_PERL5_RUN=yes)
- build (formerly USE_PERL5_BUILD=yes)
- patch (only use perl as a patch dependency)
- extract (only use perl as an extract dependency)
- modbuild (formerly PERL_MODBUILD)

It has the new
P5MAN{1,2,3,4,5,6,7,8} macros equivalent to MAN{1,....} but depending on the perl path.

Reviewed by:	az
Thanks to:	az
2013-07-31 06:29:25 +00:00
Baptiste Daroussin
07b24b6cf9 Define MAKE_CMD in post.mk to allow anything to overwrite it 2013-07-30 06:32:01 +00:00
Baptiste Daroussin
aa6a847926 Reduce code duplication by overwriting MAKE_CMD when it is different. 2013-07-30 05:33:25 +00:00
Baptiste Daroussin
576ac6ff17 Use new LIB_DEPENDS format 2013-07-29 20:51:23 +00:00
Baptiste Daroussin
73b0eb9791 Use new LIB_DEPENDS format
Reported by:	mandree
2013-07-29 20:50:14 +00:00
Koop Mast
e03cd93ee2 Quiet update-desktop-database output, like when it complaining about invalid
MIME types in .desktop files. It all non-fatal, and ugly to boot.

PR:		ports/180843
Submitted by:	pawel@
2013-07-25 19:07:37 +00:00
John Marino
5feebd9c74 Replace John Marino email address with FreeBSD version
While I'm here, also trim the headers on a couple of ports and remove
a reference to the Dragonlace mirror which is down indefinitely.

Approved by:	bapt (mentor)
2013-07-12 13:40:50 +00:00
Baptiste Daroussin
9b17397fe0 New USES=motif that will handle the open-motif dependency.
If a user want to enforce lesstif in place of open-motif then the usual
WANT_LESSTIF in make.conf will be respected
2013-07-09 21:05:14 +00:00
Baptiste Daroussin
7ab85fc309 Remove target name restriction on USES=display
To allow to activate display on any targets
2013-07-08 13:43:38 +00:00
Baptiste Daroussin
edf7ecb356 Remove direct usage of X_FONTS_MISC_PORT and X_FONTS_ALIAS_PORT
While here fixed missing ${PORTSDIR} [1]

Reported by:	rm [1]
2013-07-07 12:56:07 +00:00
Baptiste Daroussin
71aec7fcbd Fix MAKE_FORCE_JOBS 2013-07-06 12:53:57 +00:00
Baptiste Daroussin
01d6c7d5de Import new gmake.mk and rip out USE_GMAKE from bsd.port.mk
A USE_GMAKE stub as be created to help migration please now use USES=gmake

Reviewed by:	bdrewery
Exp-run by:	bdrewery
2013-07-05 13:32:31 +00:00
Baptiste Daroussin
4c10c42149 Reverting r322247 it breaks too many imake:env users while only fixing a couple, better to fix the couple that needs it port by port 2013-07-03 19:23:20 +00:00
Baptiste Daroussin
2f18bb58d8 LATE_INSTALL_ARGS needs to be defined either in case of imake:env
Reported by:	dinoex
2013-07-03 18:54:59 +00:00
Baptiste Daroussin
932db7c46c New USES imake to handle the dependency on imake.
This uses accept 'env' as an argument for ports that do use their own or a different do-configure target.

Modify xmkmf so it accept IMAKECPPFLAGS as default flags for imake and pass it to the called imake.
Modify xorg-cf-files (the FreeBSD.cf configuration file) to allow CppCmd to be overwritten.
Pass CppCmd CcCmd and CplusplusCmd via command line to each call of imake via IMAKECPPFLAGS
Pass IMAKE_DEFINE with the above arguments to MAKE_ARGS so that imake spawned from Makefile generated by a previous
imake also inherit the defined CppCmd CcCmd and CplusplusCmd.
Make imake use devel/tradcpp all the time, so that when buidling with clang we do not depend on gcc's cpp.
Make imake respect CC and CXX
Make imake respect USE_GCC (if set imake will use gcc's cpp).

While here:
- Remove a couple of indefinite articles from comments
- Trim headers
- Fix a couple of ports to build with clang or use: USE_GCC=any
- Fix a now useless redefinition of the extraction chain
- Fix a typo in japanese/Wnn7-lib bundled imake template definitions
- Fix some XMKMF execution with no env specified
- Use options helper in x11/xautolock to simplify the port
2013-06-28 11:51:05 +00:00
Baptiste Daroussin
3e0fd1eb74 Fix stop-display target 2013-06-27 10:39:43 +00:00
Baptiste Daroussin
4698330b90 Add a new USES: fmake
This uses will allow to build ports using the legacy FreeBSD make, for ports
not compatible with bmake
2013-06-20 09:48:08 +00:00
Baptiste Daroussin
e290dec1ca Add a USES display to replace USE_DISPLAY.
as USE_DISPLAY it will handle the dependencies needed for a display. But it will also start and stop the Xfvb process during the requested phase the display it needed.

it takes 'install' as an implicit argument, but may also accept 'build'
2013-06-14 12:47:19 +00:00