1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
Commit Graph

139 Commits

Author SHA1 Message Date
Rene Ladan
7657603be6 Spell out "nestedfct"
Approved by:	portmgr (bapt)
2013-12-15 23:45:39 +00:00
Rene Ladan
f7110a705a Mention nestedfct parameter.
Perform some language fixes while here.

Approved by:	portmgr (bapt)
2013-12-15 23:22:33 +00:00
Baptiste Daroussin
ea0afa43ec Add compiler:nestedfct which will automatically probe USE_GCC=any 2013-12-13 14:14:48 +00:00
Tijl Coosemans
7365cece2c New USES=fortran to replace USE_FORTRAN.
USE_FORTRAN=yes can be replaced with USES=fortran or USES=fortran:gcc.
USE_FORTRAN=ifort can be replaced with USES=fortran:ifort.
USE_FORTRAN=f77 is deprecated and the version of gcc it depends
on (lang/gcc34) is scheduled to be removed.

Note that USE_FORTRAN=yes also makes GCC the C/C++ compiler while
USES=fortran only sets the Fortran compiler and can be used together
with Clang as C/C++ compiler.
2013-12-13 13:22:32 +00:00
Marcus von Appen
885b528f02 New USES=twisted, to replace the old USE_TWISTED knob.
twisted can be configured with the arguments run or build to replace
the previous USE_TWISTED_RUN and USE_TWISTED_BUILD knobs. The twisted
components can be added as comma-separated arguments. If you previously
wrote
    USE_TWISTED=        yes
    USE_TWISTED=        conch names
    USE_TWISTED_RUN=    yes
you now would write
    USES=       twisted
    USES=       twisted:conch,names
    USES=       twisted:run
2013-12-08 12:04:07 +00:00
Baptiste Daroussin
a414afee4c Allow a user non belonging to whell to create a package 2013-11-29 14:57:42 +00:00
Gerald Pfeifer
545eced26f Extend description of USE=shebangfix. Improve grammar and formatting.
Approved by:	portmgr (bapt)
2013-11-28 23:57:53 +00:00
Max Brazhnikov
fb38a1f687 In preparation for Qt 5 ports:
bsd.qt.mk:
 - Deprecate QMAKEFLAGS, QMAKE_ARGS should be used instead
 - define LRELEASE/LUPDATE commands for general use
 Uses/qmake.mk:
 - USES=qmake now implies build dependency on qmake
 - Deprecate QMAKE_PRO (QMAKE_SOURCE_PATH should be used if required)
 - move QMAKE_ARGS definition to bsd.qt.mk
2013-11-21 14:15:53 +00:00
Baptiste Daroussin
fcc34a8a2b Fix a typo
Reported by:	Rainer Hurling <rhurlin@gwdg.de>
2013-11-20 21:48:30 +00:00
Baptiste Daroussin
2031b3ac69 Swap compiler.mk to use gcc 4.7 when requesting a C++11/C11 compiler and clang does not fit or the user explicitly want GCC. 2013-11-20 21:47:29 +00:00
Baptiste Daroussin
d93584fc42 Define the target in post section.
Remove the PHONY kmod-pre-install target and replace it with a real file target (well directory in this case)

Approved by:	rene
2013-11-20 12:43:29 +00:00
Baptiste Daroussin
a90833bd31 Add CHOSEN_COMPILER_TYPE which can be clang or gcc
It value correspond to the type of compiler chosen by the famework depending on the options

Requested by:	rene
2013-11-20 12:41:39 +00:00
Rene Ladan
050ed194bd Fix some typos and use modern Perl variables in comments.
Approved by:	portmgr (bapt)
2013-11-20 12:30:29 +00:00
Baptiste Daroussin
8635d31369 Mark some targets .PHONY 2013-11-20 07:29:08 +00:00
Rene Ladan
f22ee10444 Fix a typo in the DOS2UNIX_GLOB case (SRCSRC -> WRKSRC)
Approved by:	portmgr (bapt)
2013-11-19 23:25:45 +00:00
Rene Ladan
5c9fab7211 Fix a typo (specifed -> specified)
Approved by:	portmgr (bapt)
2013-11-19 23:24:20 +00:00
Baptiste Daroussin
f52e2d63c8 New USES=dos2unix
It is intended to replace USE_DOS2UNIX
By default it convert all the source files
Use:
DOS2UNIX_FILES=	<a list of files>
to convert files relative to ${WRKSRC} (globs allowed)
DOS2UNIX_REGEX=	<a regex>
To convert files matching the regex (using find -R -iregex)
DOS2UNIX_GLOB= <a glob pattern>
To convert files matching the glob pattern (using find -name)
2013-11-18 12:58:11 +00:00
Baptiste Daroussin
4ee0cb5d32 Make sure clang uses ports ld on FreeBSD 8 2013-11-15 22:25:40 +00:00
Jung-uk Kim
2288e33ed8 Fix symlink when PKGBASE, WEBPLUGIN_DIR, and WEBPLUGIN_NAME are not defined.
The deeply nested expression for .for loop cannot be completely evaluated at
the time of loop expansion because PKGBASE will be assigned much later.

Approved by:	bapt
2013-11-14 18:43:25 +00:00
Baptiste Daroussin
9bd61a7a21 Remove USES=npapi, please only use webplugin 2013-11-13 08:40:28 +00:00
Rene Ladan
af3e639e7d Do not try to remove /boot/modules, it is part of BSD.root.dist [1]
While here unquote an instance of /boot/modules.
Submitted by:	antoine [1]
2013-11-12 19:44:50 +00:00
Baptiste Daroussin
8a3c39c70a Fix when PREFIX != LOCALBASE
Reported by:	avilla
2013-11-12 18:01:39 +00:00
Baptiste Daroussin
89749057d9 No need to parse twice the webplugin arguments 2013-11-12 15:24:57 +00:00
Baptiste Daroussin
4e90cf7414 Use USESDIR when possible 2013-11-12 15:13:04 +00:00
Baptiste Daroussin
08348196a9 Convert www/firefox/Makefile.webplugins into a USES
Simplify it a lot,
remove all not supported anymore web browsers,
Prepend private varible behind an underscore
Rename the gecko18, gecko19 target into a simple gecko target

If you are writing a plugin port please use this USES, and if this USES does fit your need please report it so we can improve.
2013-11-12 14:11:22 +00:00
Rene Ladan
dc28effcb6 Fix with bmake which requires KMODDDIR to be defined before use.
Submitted by:	marino
2013-11-12 11:40:54 +00:00
Baptiste Daroussin
a23ec7269c On FreeBSD 8 clang will need a newer version of binutils.
Reported by:	dbn
2013-11-12 09:25:43 +00:00
Eitan Adler
db432dee6e Make Uses/npapi.mk STAGEDIR safe.
This was tested by commenting out poudriere's leftover testing and using this file with linux-f10-flash.

Approved by:	bapt
2013-11-11 23:11:16 +00:00
Eitan Adler
e2f2e74797 Copy npapi.mk from the mplayer port and USEify it.
Ports that currently include www/linux-mplayer-plugin/Makefile.npapi should be switched to USES once this is stagified.

Approved by:	bdrewery
2013-11-11 21:41:26 +00:00
Rene Ladan
a850c2461f Change KMODDDIR to /boot/modules if it is set to /boot/kernel
This allows upgrading a kernel without breaking any installed kernel ports
because during the upgrade /boot/kernel is renamed to /boot/kernel.old ,
resulting in moved files.

While /boot/modules is the default, it might be overridden by bsd.own.mk to
/boot/kernel before kmod is included, so setting MODULES_WITH_WORLD has no
effect.
2013-11-08 09:44:24 +00:00
Baptiste Daroussin
e64227dd6e Allow base clang to be used if version is >= 3.3
This gives 2 new variables to the porters:
ALT_COMPILER_TYPE which can be empty, clang or cc depending on what ${CC} is
ALT_COMPILER_VERSION which will give the porter a 2 digit version of the alternative compiler

Requested by:	many
2013-11-07 17:35:36 +00:00
Rusmir Dusko
08e586a29b - Unbreak pure.mk, use correct .include "${PORTSDIR}/Mk/Uses/gmake.mk"
- Remove devel/pure-gen/pkg-plist

Approved by:	pawel / wg (mentors, implicit)
2013-11-07 00:20:49 +00:00
Xin LI
bc0d646198 Update to 0.57.
PR:		ports/179390
Submitted by:	nemysis
Approved by:	maintainer
2013-11-06 22:50:21 +00:00
Baptiste Daroussin
16c627dc09 Now that tinderbox knows how to properly check this, tests on OSVERSIONS are useless, just check is libreadline.so is in base
With hat:	portmgr
2013-11-05 14:26:41 +00:00
Baptiste Daroussin
7713357eb3 Remove useless OSVERSION check, now that tinderbox properly do not leak those tests from the host
With hat:	portmgr
2013-11-05 14:24:45 +00:00
Rene Ladan
c61a61be20 Using stage does not magically enforce the use of sane package tools, so
always use the "@unexec rmdir" form in TMPPLIST.  @dirrmtry lines are
substituted with this in bsd.port.mk, but only when generating TMPPLIST.

While here update the description in the header.

Submitted by:	QAT for commit r332642 (8.4-QAT/i386)
2013-11-04 09:30:22 +00:00
Rene Ladan
7d59899f0c Use @unexec rmdir instead of @dirrmtry in the NO_STAGE case.
Submitted by:	vsevolod via IRC
2013-11-03 22:51:56 +00:00
Rene Ladan
4df4cd508b Make sure that kldxref(8) is not run when installing into the staging
directory to prevent orphaned linker.hints files.

Obtained from:	Porters Handbook section 6.1
2013-11-03 19:41:58 +00:00
Rene Ladan
4d17670e3d Add a new USES for kernel module ports.
USES=kmod takes no arguments and:
- adds kld to CATEGORIES
- sets SSP_UNSAFE
- sets IGNORE if the kernel sources are not found
- defines KMODDIR to /boot/modules by default, add it to
  PLIST_SUB and MAKE_ENV, and create it upon installation
- handles cross-referencing kernel modules upon installation and
  deinstallation

Approved by:	bapt
2013-10-31 11:34:46 +00:00
Rene Ladan
40f217cafe Properly guard against multiple inclusion.
Approved by:	bapt
2013-10-29 13:14:41 +00:00
Dirk Meyer
f9a95694ae - revert r331810 2013-10-28 20:17:49 +00:00
Dirk Meyer
338eecf237 - use STAGEDIR
- use OPTIONS_DEFINE
2013-10-27 22:29:46 +00:00
Sunpoet Po-Chuan Hsieh
166d24f12c - Use leading "-" to ignore exit status instead of trailing "|| ${TRUE}"
Suggested by:	mat
2013-10-27 17:35:52 +00:00
Sunpoet Po-Chuan Hsieh
e018bc8aeb - Add missing || ${TRUE} 2013-10-25 07:53:24 +00:00
Sunpoet Po-Chuan Hsieh
c69aa3b0c1 - Fix .packlist only when ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/auto exists
Reported by:	John Marino <freebsd.contact@marino.st>
2013-10-23 17:47:31 +00:00
Ulrich Spörlein
2e790e6f32 Allow users to install converters/libiconv on 10.x systems if they
decided to build world with WITHOUT_ICONV set. There's no need for
this check to be based on OSVERSION.

Some users (i.e. me), report subtle application breakages with the
iconv-from-src that disappear when iconv-from-ports is installed.
Allow for a bridge till these issues are sorted out.

Approved by:	portmgr (bdrewery)
2013-10-23 15:05:04 +00:00
Sunpoet Po-Chuan Hsieh
fe67692ab3 - Cosmetic change:
- Reorder knobs
  - Indent using tabstop=4
2013-10-20 08:29:15 +00:00
Sunpoet Po-Chuan Hsieh
1ffcb16a96 - Add staging support for USE_PERL5=modbuild*
- Remove STAGEDIR prefix from .packlist
2013-10-19 19:11:19 +00:00
Rusmir Dusko
cda8b376c1 - New Uses pure.mk
- Provide support for Pure Programming Language based projects

PR:		ports/179401
Submitted by:	nemysis (self)
Approved by:	pawel (mentor), bapt (portmgr)
2013-10-18 22:12:37 +00:00
Rene Ladan
38ea0176b6 Document "openmp" as a valid argument.
Approved by:	portmgr (bapt)
2013-10-17 09:50:51 +00:00