aboutsummaryrefslogtreecommitdiff
path: root/CHANGES
Commit message (Collapse)AuthorAgeFilesLines
* - 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
* Document new USES: desktop-file-utils and shared-mime-info.Koop Mast2013-05-091-0/+26
| | | | Notes: svn path=/head/; revision=317738
* USE_GETTEXT has totally been replaced by USES=gettext thanks, jgh and akBaptiste Daroussin2013-05-071-0/+2
| | | | | | | | USE_NCURSES has totally been replaced by USES=ncurses USE_READLINE has totally been replaced by USES=readline Notes: svn path=/head/; revision=317580
* Add new USES: shebangfixBaptiste Daroussin2013-05-061-0/+10
| | | | | | | | | use it to fix shebang on files specified by SHEBANG_FILES macro, by default it proposes default values for bash, perl, php, python, ruby, it can be customized and extended Notes: svn path=/head/; revision=317555
* Add new USES: ncurses and readlineBaptiste Daroussin2013-05-061-0/+16
| | | | Notes: svn path=/head/; revision=317523
* Introduces USES= iconv to replace USE_ICONV.Marcus von Appen2013-04-261-1/+8
| | | | | | | | | | | | | It takes no arguments. This deprecates USE_ICONV, please convert your ports. USE_ICONV will be removed as soon as it is no more used in the ports tree. Approved by: portmgr (bapt) Notes: svn path=/head/; revision=316636
* Remove USE_CDRTOOLS from bsd.port.mkBaptiste Daroussin2013-04-261-0/+1
| | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=316600
* Remove USE_FREETYPE from bsd.port.mkBaptiste Daroussin2013-04-261-0/+5
| | | | | | | It added no really value and was used only by 8 ports Notes: svn path=/head/; revision=316594
* Introduces USES= gettext to replace USE_GETTEXTJason Helfman2013-04-231-0/+13
| | | | | | | | | | | | | | | |   It can take 3 arguments:   build to add gettext into both RUN and BUILD DEPENDS   run to add gettext into RUN_DEPENDS   lib (default,implicit) to add gettext into LIB_DEPENDS   This deprecates USE_GETTEXT. Please convert your ports.   USE_GETTEXT will be removed as soon as it is no longer used in   the ports tree Approved by: portmgr (bapt) Notes: svn path=/head/; revision=316316
* Fix dateBaptiste Daroussin2013-04-231-1/+1
| | | | | | | Submitted by: bdrewery Notes: svn path=/head/; revision=316308
* - Add WITH_CCACHE_BUILD support during 'configure' phaseBryan Drewery2013-04-231-0/+9
| | | | | | | | | | | | | | | | - 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 Notes: svn path=/head/; revision=316289