aboutsummaryrefslogtreecommitdiff
path: root/CHANGES
Commit message (Collapse)AuthorAgeFilesLines
* When linking a library libA with a library libB using libtool, if libB.laTijl Coosemans2014-04-231-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | exists, libtool will add all libraries libB.la refers to (dependency_libs field) to the linker command line and store them in the dependency_libs field of libA.la. So everything that subsequently links with libA will also link to these extra libraries. This causes too much overlinking. This commit modifies Mk/Uses/libtool.mk so it empties the dependency_libs field in .la libraries during staging. However, because .la libraries have very limited use when dependency_libs is empty it makes sense to completely remove them during staging. So with this commit USES=libtool is modified to remove .la libraries and a new form (USES=libtool:keepla) is introduced in case they need to be kept (dependency_libs is still emptied). PORTREVISION is bumped on all ports with USES=libtool that install .la libraries. Most ports are also changed to add :keepla because .la libraries have to be kept around as long as there are dependent ports with .la libraries that refer to them in their dependency_libs field. In most cases :keepla can be removed again as soon as all dependent ports that install .la libraries have some form of USES=libtool added to their Makefile. PR: ports/188759 Exp-run: bdrewery Approved by: portmgr (bdrewery) Notes: svn path=/head/; revision=351936
* - Rename check-orphans to check-plist. Keep the old for backwards-compat.Bryan Drewery2014-04-191-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Bug fixes: makeplist/check-plist: - Fix showing directories owned by RUN_DEPENDS/LIB_DEPENDS [1] - Use proper "rmdir PATH" syntax, not "rmdir >/dev/null... PATH" which pkg will not recognize. - Never consider base /etc/mtree/BSD.usr.dist or LOCLABASE Templates/BSD.local.dist as needing @dirrm handling. check-plist: - Fix showing PORTDOCS/PORTEXAMPLES files when the OPTIONS are not set. makeplist will still suggest them. - Fix showing files installed through unselected OPTIONS as orphans, by considering "@comment file" to be ignored. [2] - Fix @sample, @fc, @fcfontsdir, @fontsdir support - Fix return status when orphans are found to be non-zero - Add note when PREFIX=!LOCALBASE - Be more clear when orphans/no orphans are found. - Add a whitelist mechanism for globally approved ignores. - Add *.bak/*.orig to orphan whitelist for now. - Fix false-positive with dirs installed to /, such as with archivers/dpkg creating /var/db/dpkg - Fix false-positive with @dirrm ending in /, such as with ports-mgmt/poudriere with a @dirrmtry share/zsh/ - There are likely still some false-positives. I fixed as many as I could find. Please let me know of others. * One in particular that is not easily fixable is installing a file into a directory owned by another port where that other port is not a run-time dependency. So the leaf port may create all of the parent dirs and never clean them up. Cleaning them up is not proper unless no other package is depending on them. This will be addressed by pkg(8) once pkg_install is EOL, or sooner. - Consider @dirrm of directories owned by run-time dependencies, or /etc/mtree/* or Templates/BSD.local.dist (at LOCALBASE) as fatal errors. These should not be removed in the plist. @comment lines are not considered for this; they will not ignore an error. ===> Checking for directories owned by dependencies or MTREEs Error: Owned by dependency: @dirrmtry share/locale/af/LC_MESSAGES Error: Owned by dependency: @dirrmtry share/locale/af Error: Owned by dependency: @dirrmtry %%PERL5_MAN3%% - Detect files in plist that do not exist in the stagedir. Pkgng already did this, but now we have it unified with this check. @comment lines are not considered for this; they will not ignore an error. ===> Checking for items in pkg-plist which are not in STAGEDIR Error: Missing: foo Error: Missing: @dirrmtry bar - Change orphaned output due to several new errors introduced: ===> Checking for items in STAGEDIR missing from pkg-plist Error: Orphaned: foo - Send errors to stderr check_leftovers.sh: - Prefer longer values for PLIST_SUB. bsd.options.mk: - Fix NOPORTDOCS/WITHOUT_NLS/NOPORTEXAMPLES not unsetting their respective OPTIONS. - Mark NOPORTDOCS/NOPORTEXAMPLES deprecated and hook them into the OPTIONS_WARNING to tell users the new format. - check-stagedir.sh refactoring: - Switch to using new PLIST_SUB_SED - Use ! instead of , in sed(1) regex to allow files/dirs with ',' - Rework PORTEXAMPLES/PORTDOCS handling so it acts on PLIST_SUB_SED'd value and not absolutes. Also simplify the regex for these a bit to allow reuse. - No longer need DOCSDIRS/EXAMPLESDIR in env - Wrap long lines - Unset some vars in env when they are done being used to free space for larger sed vars - Cleanup redundant sed regexes - Add a Scripts/plist_sub_sed_sort.sh to prefer longer values when substituting over shorter values. - To make check-plist ignore a file *as an orphan* do one of the following: 1. Install it 2. post-install: ${RM} ${STAGEDIR}file 3. Put the file behind an OPTION with a PLIST_SUB: %%OPTION%%file 4. Add to plist as a @comment [2]: @comment file @comment @dirrmtry dir Reviewed by: mat (much earlier version) Discussed with: mat, antoine, bapt, swills (various bits) With hat: portmgr PR: ports/185561 [1] Reported By: Alexander Yerenkow <yerenkow@gmail.com> [1] Tested with: pkg and pkg_install Reported by: many (false-positives) [2] This is a partial solution, we may still need a plist.ignore too. It doesn't make much sense to add files in main pkg-plist we don't care about, but maybe it does since you'll see and reconsider them being ignored someday. @comment is used as all the OPTION PLIST_SUB deactivations use @comment instead of something like @ignore. Notes: svn path=/head/; revision=351587
* - Make default target "make stage" if staging supported.Bryan Drewery2014-04-161-0/+6
| | | | | | | | | | | | This is so that 'make' followed by 'make deinstall install' will, by default, have a much shorter period of files missing on the system as it is without staging. Discussed with: bapt With hat: portmgr Notes: svn path=/head/; revision=351399
* - Add a @sample plist keywordBryan Drewery2014-04-121-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It accepts a file (must end in .sample, this is not configurable): @sample file.conf.sample This will install file.conf.sample and copy it to file.conf. The file.conf will be removed if it matches file.conf.sample on deinstall. This replaces older patterns of: @unexec if cmp -s %D/etc/pkgtools.conf %D/etc/pkgtools.conf.sample; then rm -f %D/etc/pkgtools.conf; fi etc/pkgtools.conf.sample @exec [ -f %B/pkgtools.conf ] || cp %B/%f %B/pkgtools.conf [1] This somewhat obsoletes work in ports/157168 which added CONF_FILES, but we have been moving towards more logic in pkg-plist where possible and less magical macros. Though this thinking does clash with autoplist ideas. We may still want CONF_FILES, which just drops a list of @sample entries into the plist anyway. - Add a Keywords/pkg_install.awk and hook it into generate-plist. This is for pkg_install compatibility since it does not know how to read Keywords/sample.yaml. This file gives us a strategy to implement more keywords before pkg_install is EOL. Keywords are documented here: https://github.com/freebsd/pkg/commit/bffc31420b1fd6146a43c9abcd45109dd901198a - This needs to be documented in PH and portlint support added still. PR: ports/157168 [1] Discussed with: bapt Reviewed by: bapt Requested by: many With hat: portmgr Notes: svn path=/head/; revision=351064
* Two new USES added to finish handling distfiles formats a consistent way:Baptiste Daroussin2014-03-121-0/+14
| | | | | | | | | | | | | | USES=tar[:[xz|bzip2|Z|tgz]] handles distributions files in format: - plain tar - tar.xz - tar.bz2 - tar.Z - tgz USES=lha handles distributions files info LHA format Notes: svn path=/head/; revision=347964
* Add a note for USES=zip and USES=makeself which were recently added by baptRene Ladan2014-03-071-0/+10
| | | | | | | Requested by: mat Notes: svn path=/head/; revision=347416
* KDE/FreeBSD team is happy to present Qt 5 in ports!Max Brazhnikov2014-03-031-0/+7
| | | | | | | | | | | | | Alberto Villa (avilla@) has done all the hard work to create Qt 5 ports. Trivial update from 5.2.0-beta1 to 5.2.1 by me. Special thanks for Adriaan de Groot <groot@kde.org> for his assistance for Qt-5.2.0 update. Approved by: portmgr (bapt) (for Mk/bsd.port.mk) Notes: svn path=/head/; revision=346930
* - Whitespace cleanupMartin Wilke2014-01-291-11/+11
| | | | Notes: svn path=/head/; revision=341696
* Add two new options helpers:Mathieu Arnold2014-01-271-0/+11
| | | | | | | | | | | | | | ${OPT}_${TYPE}_DEPENDS_OFF=<something> will automatically add: ${TYPE_DEPENDS}+=<something> in case OPT is 'off' ${OPT}_${FLAG}_OFF=<something> will automatically add: ${FLAG}+=<something> in case OPT is 'off' With hat: portmgr Sponsored by: Absolight Notes: svn path=/head/; revision=341467
* New USES=uniquefiles to make files or directories uniqueMarcus von Appen2014-01-111-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | by adding a prefix or suffix to them. Files listed in UNIQUE_PREFIX_FILES will receive the prefix set via UNIQUE_PREFIX. The same applies to UNIQUE_SUFFIX_FILES, but with the chosen UNIQUE_SUFFIX. UNIQUE_PREFIX and UNIQUE_SUFFIX are set to PKGNAMEPREFIX and PKGNAMESUFFIX by default. The uniquefiles USES enables ports to name files in special ways, e.g. by outlining that the port does not support X11 (-nox11). A binary named bin/foo thus can be easily renamed to bin/foo-featureA via USES= uniquefiles UNIQUE_SUFFIX= -featureA UNIQUE_SUFFIX_FILES= bin/foo The uniquefiles USES automatically adjusts the plist at installation time. There is no need to consider the prefix or suffix in the pkg-plist file itself. If the original name of the renamed file is bin/foo, this exact name should be put into pkg-plist. The dirs argument to USES=uniquefiles will cause certain standard directories, such as DOCSDIR or EXAMPLESDIR to be prepended with the UNIQUE_PREFIX. The change to the directories will hapen prior to configuring or building the port, so that the port Makefile as well as the port's build logic are aware of the changed name. Since the uniquefiles USES effectively manipulates the port's installation and file layout, it will only be available for stagedir-aware ports. Ports with NO_STAGE=yes will be unable to use the uniquefiles USES. Reviewed by: portmgr@ Approved by: portmgr@ Notes: svn path=/head/; revision=339436
* - Remove lang/python as implicit build and run dependency fromMarcus von Appen2013-12-181-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | bsd.python.mk Ports need to use a designated python interpreter, whether this is the default one chosen by the user (or provided by the system) and pulled in via USE_PYTHON[_BUILD|_RUN]=yes or an explicit version or version range pulled in via USE_PYTHON[_BUILD|_RUN]=X.Y does not matter. Ports should however not rely on 'python' at build or installation time, whenever possible to avoid problems with building packages for different python versions. This change tries to raise the barrier for misbehaving ports and eases package builds for different python versions. Tested with: exp-run (ports/184591) Reviewed by: wg@, koobs@ Supported by: wg@ With hat on: python@ Notes: svn path=/head/; revision=336850
* New USES=fortran to replace USE_FORTRAN.Tijl Coosemans2013-12-131-0/+14
| | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=336343
* New USES=twisted, to replace the old USE_TWISTED knob.Marcus von Appen2013-12-081-0/+17
| | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=335877
* Remove ltverhack's hard depend on USE_AUTOTOOLS=libtool.Koop Mast2013-11-191-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem with the old method is that the libtool is configured to look first in LOCALBASE for libraries to link to. Normaly this wouldn't cause a problem. However if a port that builds a library with new API also builds introspection files or say gtk bindings, then libtool will look first into LOCALBASE and find the old library version for linking the introspection files or gtk bindings. Due to the missing new API in old library the build will fail with unresolved symbols. The new ltverhack will patch the ltmain.sh and/or libtool files that where bundled with the port. This libtool is correctly configured to first look in for the just build libraries. If the port bundled version of ltmain.sh and/or libtool aren't in ${WRKSRC} then ltverhack_PATCH_FILES can be overwritten with there location in ${WRKSRC}. As a bonus when using the new ltverhack configure will honor --disable-static again. So please check your plist after converting. While here shorten the number of tabs in the lthacks, ltverhack and ltasneededhack PRE_PATCH components so they are just over 80 chars long. Exp-run by: bdrewery@ PR: ports/183936 Obtained from: gnome dev repo Notes: svn path=/head/; revision=334343
* Indent 20131031 entry like the rest of the file.Koop Mast2013-11-191-10/+10
| | | | Notes: svn path=/head/; revision=334342
* Add a description of USES=kmodRene Ladan2013-10-311-0/+14
| | | | Notes: svn path=/head/; revision=332230
* - Remove manual creation and removal of share/applications, as it's now in ↵Dmitry Marakasov2013-10-221-0/+6
| | | | | | | | | | | the mtree (remaining categories) - Add note on mtree change to CHANGES Approved by: portmgr (bdrewery) Notes: svn path=/head/; revision=331275
* - Fix typoSunpoet Po-Chuan Hsieh2013-10-191-1/+1
| | | | Notes: svn path=/head/; revision=330926
* New USES=compilerBaptiste Daroussin2013-10-081-0/+18
| | | | | | | | | | | | | | | | | | | | | Supported arguments are: - c++11-lang: the port needs a c++11 aware compiler what ever standard library it uses, implies features - c++11-lib: the port needs a c++11 standard library, implies features - c11: the ports needs a c11 aware compiler implies features - features: this will create a COMPILER_FEATURES variable which contains the list of features ${CC} do support, implies env. - env: the COMPILER_TYPE will be set to either gcc or clang. By default the uses will try to use clang33 from ports when nothing in base is relevant except if the user explicitly defines FAVORITE_COMPILER=gcc in his make.conf Please note that testing tinderbox prior to version: 4.0.1_1 is not able to properly figure out the dependencies implied by this USES. Notes: svn path=/head/; revision=329823
* - Add new USES= qmake (with staging support)Max Brazhnikov2013-10-081-0/+8
| | | | | | | Approved by: portmgr (bapt) Notes: svn path=/head/; revision=329802
* - PATCHFILES now support an optional :-pX flag that notes which patch stripBryan Drewery2013-10-051-0/+9
| | | | | | | | | | | | | | level to use. This allows multiple patches in 1 port to use different PATCH_DIST_STRIP values without changing PATCH_DIST_STRIP. Syntax: PATCHFILES= patch[:-pX][:distgroup] PR: ports/168222 Submitted by: knu With hat: portmgr Notes: svn path=/head/; revision=329434
* Introduce the new "scons" USES. The goal is to replace the old bsd.scons.mkBaptiste Daroussin2013-10-031-0/+6
| | | | | | | | Instead of redifining the building target, let's just reuse the existing ones. Bonus, MAKE_JOBS is now respected Notes: svn path=/head/; revision=329140
* Add an entry about "create packages as a user"Baptiste Daroussin2013-09-241-3/+16
| | | | Notes: svn path=/head/; revision=328139
* - add new USES target: zope, and convert the tree to itRuslan Makhmatkhanov2013-09-231-0/+8
| | | | | | | | | | | | | - 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) Notes: svn path=/head/; revision=328002
* Add support for staging area in the ports treeBaptiste Daroussin2013-09-231-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ports tree is now staged by default. With pkgng the sequence hasn't changed, the main difference is that creating package is now independent from installing it. With pkg_install, the package is now created first and make install, do install the package. New macros: - STAGEDIR: PATH to the directory where the port will be staged. - NO_STAGE: Keep the old behaviour of the ports tree (aka no staging area) Unsupported macro if NO_STAGE is not set: - MAN* with staging man page compression and handling of hardlinks and symlinks is automatically done in the stage. the manpages becomes then a "normal" plist files and should be tracked in pkg-plist. - MANCOMPRESSED the compress-man target is able to only compress when it needed. New target: - stage: this installs everything into the stage directory - makeplist: this will create a pkg-plist and print it to stdout. This is a sample plist and it should always be _reviewed_ not directly used. NOTE: with staging only what is in the plist will be installed, nothing more, meaning a port staged cannot have leftovers exect directories left. It is really important to double check the pkg-plist to make sure all the files the maintainer want to package are in! make makeplist can help in that area. The goal is to handle as quickly as possible a full removal of the NO_STAGE support. More features can be added once the full ports tree is converted to using the staging area Conversion notes: - Remove NO_STAGE - in {pre,do,post}-install * Before any usage of ${PREFIX}, ${ETCDIR}, ${PORTSDIR}, ${PORTEXAMPLES} prepend ${STAGEDIR} * Remove any thing that is done by @exec or +INSTALL script it will be done automatically when syncing packages * Remove any code to show PKG-MESSAGE it will be done automatically when syncing packages * Directory creation should remain in post-install (in particular because pkgng doesn't work like pkg_install in that area and pkgng ignores the @exec mkdir but directly pack the directory even if empty) - PORTDOCS/PORTEXAMPELS To support PORTDOCS, PORTEXAMPLES most of the time there is no more need for hacks. just add the right %%PORTDOCS%% or %%PORTEXAMPLES%% in your plist then the given files from the stagedir will or will not sync according to NOPORTDOCS and NOPORTEXAMPLES. With hat: portmgr Reviewed by: bdrewery Notes: svn path=/head/; revision=327910
* - Rename public name of SSP support to WITH_SSP_PORTS as /usr/srcBryan Drewery2013-09-221-2/+2
| | | | | | | | | | | | | | has issues with 'installworld' when WITH_SSP is defined. [1] Keep WITH_SSP support for now since it has been announced as that already. - Remove redundant wording in UPDATING [2] Suggested by: bapt [1] Reported by: blakkheim on EFNet With hat: portmgr Notes: svn path=/head/; revision=327844
* SSP support has been added to ports with WITH_SSP for i386 and amd64Bryan Drewery2013-09-201-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | on FreeBSD 10, and amd64 on earlier versions. SSP_UNSAFE is added to disable in a port if it fails to build, but this should only be used in rare circumstances such as kernel modules. Otherwise, the port may just be failing due to lack of respecting LDFLAGS. On FreeBSD 10, this uses an ldscript in /usr/lib/libc.so to pull in libssp_nonshared.a to address issues linking on i386 [1]. On earlier FreeBSD versions the WITH_SSP knob will add -lssp_nonshared to LDFLAGS on i386. This is not needed on amd64. However, several hundred ports do not currently respect LDFLAGS, so this support is disabled currently as it causes build failures if a dependency is looking for the stack_chk symbols. Many thanks to jlh@ for this as he had many years of patience in getting all of the necessary pieces [1][2] in. [1] http://svnweb.freebsd.org/base/head/lib/libc/libc.ldscript?revision=251668&view=markup PR: ports/138228 [2] Submitted by: jlh (bsd.ssp.mk based on) Reviewed by: bapt With hat: portmgr exp-runs done: 37 over a month on 91i386,91amd64,10i386,10amd64 Notes: svn path=/head/; revision=327697
* - Document the addition of tcl/tk to the USES and DEFAULT_VERSIONS framework.Pietro Cerutti2013-09-191-0/+14
| | | | Notes: svn path=/head/; revision=327609
* Remove the old perl framework, that also means all the perl code is not ↵Baptiste Daroussin2013-09-181-0/+11
| | | | | | | | | | | | loaded inconditionnaly anymore Huge thanks for az@ for his hard work on the subject! PR: ports/172608 Submitted by: az Notes: svn path=/head/; revision=327536
* - proper formatingAndrej Zverev2013-09-071-1/+4
| | | | | | | Noticed by: avg@ Notes: svn path=/head/; revision=326580
* - Make ports use the libc provided iconv implementation on 10-CURRENTGuido Falsi2013-09-041-0/+18
| | | | | | | | | | | | | 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) Notes: svn path=/head/; revision=326307
* Back to the presentBaptiste Daroussin2013-09-041-1/+1
| | | | | | | Reported by: madpilot Notes: svn path=/head/; revision=326276
* Document the removal of USE_GNOME=pkgconfigBaptiste Daroussin2013-09-021-0/+6
| | | | Notes: svn path=/head/; revision=325973
* - Add USE_PACKAGE_DEPENDS_ONLY which will try installing dependenciesBryan Drewery2013-08-311-0/+7
| | | | | | | | | | | | | | | | | | from existing packages and not fallback on building from source. This is useful for package building tools such as poudriere and tinderbox to avoid building from source and confusing the build log, if a dependency failed to build for some reason. NOTE: USE_PACKAGE_DEPENDS has not changed here. It has always reverted to source if the package was not present. PR: ports/180725 Submitted by: crees With hat: portmgr Notes: svn path=/head/; revision=325807
* Back to the presentBaptiste Daroussin2013-07-311-1/+1
| | | | | | | Reported by: feld Notes: svn path=/head/; revision=324053
* TypoBaptiste Daroussin2013-07-311-1/+1
| | | | Notes: svn path=/head/; revision=324010
* Document the new USE=perl5Baptiste Daroussin2013-07-311-0/+33
| | | | Notes: svn path=/head/; revision=324005
* KDE3 and QT3 expired on 2013-07-01, remove these ports.Rene Ladan2013-07-261-0/+10
| | | | | | | | | | | | | | | | | | | Unfortunately, this also affects some ports using QT3 as a GUI toolkit. Changes to infrastructure files: - bsd.kde.mk : obsolete, remove - bsd.qt.mk : note that a CONFLICTS_BUILD line can probably go after a while - CHANGES : document the removals from bsd.port.mk - KNOBS : remove KDE and QT (KDE4 and QT4 should be used instead) - MOVED : add the removed ports PR: ports/180745 Submitted by: rene Approved by: portmgr (bapt) Exp-run by: bapt Notes: svn path=/head/; revision=323748
* New USES imake to handle the dependency on imake.Baptiste Daroussin2013-06-281-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=321957
* Fix AUTHORS line in the last entryBaptiste Daroussin2013-06-261-1/+2
| | | | Notes: svn path=/head/; revision=321784
* Add a new USES: fmakeBaptiste Daroussin2013-06-201-1/+8
| | | | | | | | This uses will allow to build ports using the legacy FreeBSD make, for ports not compatible with bmake Notes: svn path=/head/; revision=321366
* Fix two typos: add two trailing curly braces.Boris Samorodov2013-06-191-2/+2
| | | | Notes: svn path=/head/; revision=321287
* Document the fact that _DEPENDS now also has per options helpersBaptiste Daroussin2013-06-141-0/+3
| | | | Notes: svn path=/head/; revision=320932
* Add a forgotten helper:Baptiste Daroussin2013-06-141-0/+6
| | | | | | | ${OPT}_CMAKE_ON and ${OPT}_CMAKE_OFF Notes: svn path=/head/; revision=320926
* New macros to help dealing with ports that have options:Baptiste Daroussin2013-06-141-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OPTIONS_SUB=yes when set in a port, all the option names are automatically added to the PLIST_SUB with "@comment " value in case the option is off and empty value in case the options is on. ${OPT}_CONFIGURE_ENABLE=<aname> will automatically add: CONFIGURE_ARGS+=--enable-<aname> in case OPT is activated CONFIGURE_ARGS+=--disable-<aname> in case OPT is deactivated ${OPT}_CONFIGURE_ON=<something> will automatically add: CONFIGURE_ARGS+=<something> in case OPT is activated ${OPT_CONFIGURE_OFF=<something> will automatically add: CONFIGURE_ARGS+=<something> in case OPT is deactivated ${OPT}_CFLAGS will append the specified new flags to CFLAGS if OPT is 'on' ${OPT}_CXXFLAGS will append the specified new flags to CXXFLAGS if OPT is 'on' ${OPT}_LDFLAGS will append the specified new flags to LDFLAGS if OPT is 'on' ${OPT}_CONFIGURE_ENV will append the specified variables to CONFIGURE_ENV if OPT is 'on' ${OPT}_MAKE_ENV will append the specified variables to MAKE_ENV if OPT is 'on' ${OPT}_USES will append the speficied uses to USES if OPT is 'on' ${OPT}_DISTFILES will append the specified distiles to DISTFILES if OPT in 'on' Reviewed and tested by: bdrewery Notes: svn path=/head/; revision=320916
* Add a USES display to replace USE_DISPLAY.Baptiste Daroussin2013-06-141-0/+13
| | | | | | | | | 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' Notes: svn path=/head/; revision=320906
* Fix ports using GH_TAGNAME=master to depend on a known hashBryan Drewery2013-06-071-0/+8
| | | | | | | | | instead of a branch that changes. With hat: portmgr Notes: svn path=/head/; revision=320228
* Add WRKSRC_SUBDIR to simplify overriding WRKSRC:Bryan Drewery2013-06-071-0/+12
| | | | | | | | | | | | WRKSRC= ${WRKDIR}/${DISTNAME}/src This becomes: WRKSRC_SUBDIR= src Reviewed by: bapt With hat: portmgr Notes: svn path=/head/; revision=320199
* WordingBaptiste Daroussin2013-06-061-2/+2
| | | | | | | Submitted by: remko Notes: svn path=/head/; revision=320056
* Remove support for parsing the old OPTIONS macro, the compatibility code to ↵Baptiste Daroussin2013-06-061-0/+6
| | | | | | | load the old optionsfile and compatibility with WITH_ and WITHOUT_ in make.conf remains for now; Notes: svn path=/head/; revision=320055