CHANGES 141 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237
  1. Updating Information for FreeBSD ports developers
  2. This file is maintained by portmgr@FreeBSD.org and copyrighted by the
  3. FreeBSD Foundation.
  4. This file contains major changes to ports and the ports infrastructure.
  5. Intended audience are ports committers, maintainers and other
  6. developers. User oriented changes should be submitted for inclusion
  7. in the release notes and/or placed into UPDATING.
  8. All ports committers are allowed to commit to this file.
  9. 20240408:
  10. AUTHOR: flo@FreeBSD.org
  11. A new variable DBD_MYSQL has been introduced and should be used to depend
  12. on the correct version of p5-DBD-mysql. Versions >= 5.000 removed support
  13. for MariaDB. DBD_MYSQL will check which MYSQL_FLAVOUR is used and set the
  14. correct version as a dependency. For this to work, ports need to add mysql
  15. to USES.
  16. 20240408:
  17. AUTHOR: makc@FreeBSD.org
  18. USES=cmake now supports `indirect' argument. This argument adds cmake binary
  19. to the BUILD_DEPENDS and and exposes CMAKE_ARGS and some other helpers, but
  20. does not run cmake in the configure step. cmake:indirect is intended
  21. primarily for ports which use meson or pep517 for build.
  22. 20240229:
  23. AUTHOR: tijl@FreeBSD.org
  24. A new command SETENVI that clears the environment and a new variable
  25. WRK_ENV that contains a basic environment to use with SETENVI have
  26. been added.
  27. Ports that run (parts of) the upstream build system directly using
  28. commands like "${SETENV} ${MAKE_ENV} ${MAKE_CMD} ..." should change
  29. that to "${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${MAKE_CMD} ...". This way
  30. the build system runs with a clean environment without interference
  31. from the user environment or ports framework environment. Ports can
  32. add extra environment variables to WRK_ENV similar to CONFIGURE_ENV,
  33. MAKE_ENV, TEST_ENV, and so on, but WRK_ENV is used in all targets
  34. while the latter are target-specific.
  35. 20240111:
  36. AUTHOR: bapt@FreeBSD.org
  37. MAN[1-8LN]PREFIX variable has been removed from the framework, use PREFIX
  38. directly.
  39. 20230929:
  40. AUTHOR: sunpoet@FreeBSD.org
  41. USE_PYTHON=cryptography{,_build,_test} has been added to the ports tree.
  42. 20230722 entry is obsoleted now. All existing USES=pycryptography* have
  43. been converted to USE_PYTHON=cryptography{,_build,_test} in PR 273727.
  44. Usage:
  45. USE_PYTHON=cryptography_build adds security/py-cryptography to BUILD_DEPENDS
  46. USE_PYTHON=cryptography adds security/py-cryptography to RUN_DEPENDS
  47. USE_PYTHON=cryptography_test adds security/py-cryptography to TEST_DEPENDS
  48. 20230823:
  49. AUTHOR: tcberner@FreeBSD.org
  50. USES=llvm.mk now supports 'export' (default) and 'noexport' arguments.
  51. When export is set, CC, CXX and CPP will be set to the path corresponding
  52. to the chosen llvm-version.
  53. 20230821:
  54. AUTHOR: jhale@FreeBSD.org
  55. A new uses 'ebur128' has been added to transparently depend on the
  56. proper variant of 'rust' or 'legacy' depending on the default version
  57. set by the user.
  58. Usage: USES=ebur128:ARGS
  59. Valid ARGS: <none>, build, lib, run, test
  60. <none>: (default) same as lib
  61. build: add BUILD_DEPENDS
  62. lib: add LIB_DEPENDS
  63. run: add RUN_DEPENDS
  64. test: add TEST_DEPENDS
  65. If you prefer not to use rust, add the following to your make.conf:
  66. DEFAULT_VERSIONS+=ebur128=legacy
  67. 20230728:
  68. AUTHOR: andrew@tao11.riddles.org.uk, fuz@FreeBSD.org
  69. A new uses 'guile' has been added to transparently depend on the
  70. proper variant of guile depending on the default version set by the
  71. user and the demands of the port.
  72. See Mk/Uses/guile.mk for in-depth documentation.
  73. 20230722:
  74. AUTHOR: tcberner@FreeBSD.org
  75. A new uses 'pycryptography' has been added to transparently depend on the
  76. proper variant of 'rust' or 'legacy' depending on the default version set
  77. by the user.
  78. Supported arguments: <none>,build,run
  79. Passing no arguments (<none>) is equivalent to passing both build and run.
  80. Usage:
  81. USES=pycryptography:build
  82. -> adds a BUILD_DEPENDS only
  83. USES=pycryptography:run
  84. -> adds a RUN_DEPENDS only
  85. USES=pycryptography:test
  86. -> adds a TEST_DEPENDS only
  87. USES=pycryptography:build,run or USES=pycryptography
  88. -> adds a BUILD_ and RUN_DEPENDS
  89. 20230712:
  90. AUTHOR: zirias@FreeBSD.org
  91. USE_GITLAB has been changed to allow fetching by tag name. This was done by
  92. removing the GL_COMMIT variable and introducing GL_TAGNAME instead.
  93. Similar to USE_GITHUB/GH_TAGNAME, you can still use a commit hash with
  94. GL_TAGNAME (the full 40-character hash is required for that). If not
  95. specified, GL_TAGNAME defaults to DISTVERSIONFULL.
  96. Note fetching by tag name might not work on gitlab installations running
  97. very old versions; in that case, you must still specify a commit hash.
  98. For now, GL_COMMIT is still recognized but deprecated, using it will issue
  99. a warning in developer mode.
  100. 20230712:
  101. AUTHOR: 0mp@FreeBSD.org
  102. Two new targets are now available: fetch-url-recursive-list
  103. and fetch-urlall-recursive-list. They are the recursive variants
  104. of the well-established targets fetch-url-list and fetch-urlall-list,
  105. which allow for listing the complete URLs of DISTFILES and PATCHFILES
  106. of a port. The recursive variants add the URLs of the port's dependencies
  107. to the output.
  108. 20230430:
  109. AUTHOR: zirias@FreeBSD.org
  110. USES=magick has been updated based on flavorized ports.
  111. A new argument 'x11' is available to specifically depend on the flavor
  112. with X11 support. Fallback to DEFAULT_VERSIONS now happens
  113. independently for the version (currently 6 or 7) and the flavor
  114. (currently x11 or nox11).
  115. Only use arguments for version or flavor if your port really requires
  116. it. Also, there is no need to add options for selecting the -nox11
  117. flavor any more, as the user setting in DEFAULT_VERSIONS will be
  118. honored.
  119. 20230111:
  120. AUTHOR: vishwin@FreeBSD.org
  121. USE_PYTHON=pep517 has been added to facilitate building using the
  122. new format.
  123. USE_PYTHON=pep517 takes no arguments. Operation is similar to
  124. USE_PYTHON=distutils, although the build backend specified in
  125. pyproject.toml shall be specified in BUILD_DEPENDS.
  126. A usage guide and implementation primer is available at:
  127. https://wiki.freebsd.org/Python/PEP-517
  128. 20221217:
  129. AUTHOR: tcberner@FreeBSD.org
  130. USES=llvm has been added to more easily depend on llvm.
  131. USES=llvm supports two kinds of arguments:
  132. * mode
  133. <none>: defaults to build
  134. build: add a BUILD_DEPENDS on chosen llvm-port
  135. run: add a RUN_DEPENDS on chosen llvm-port
  136. lib: add a LIB_DEPENDS on chosen llvm-port
  137. * version
  138. <none>: defaults to ${LLVM_DEFAULT}
  139. number: use explicitly the specified version
  140. min=number: use specified min if ${LLVM_DEFAULT} is lower
  141. max=number: use specified max if ${LLVM_DEFAULT} is higher
  142. An example usage might be:
  143. USES= llvm
  144. or
  145. USES= llvm:13,build
  146. or
  147. USES= llvm:min=14,lib
  148. The following variables are exposed to be used in the ports tree at the moment:
  149. * LLVM_VERSION version chosen from the arguments to llvm.mk
  150. * LLVM_PORT chosen llvm port
  151. * LLVM_CONFIG llvm-config of the chosen port
  152. * LLVM_LIBLLVM libLLVM.so of the chosen port
  153. * LLVM_PREFIX installation prefix of the chosen port
  154. 20221026:
  155. AUTHOR: bapt@FreeBSD.org
  156. 3 new features are available now: PIE, RELRO, BIND_NOW, each port can
  157. specify the inability to support any via <feature>_UNSAFE
  158. All 3 are off by default, the intent is to activate following the freebsd
  159. base activation of the same features.
  160. End users can activate/deactivate globally via WITH_/WITHOUT_ <feature>
  161. 20221014:
  162. AUTHOR: adamw@FreeBSD.org
  163. USES=luajit has been added to support a unified luajit version. The
  164. default here is luajit-devel, which should be the right version for
  165. nearly everybody.
  166. luajit-openresty is a drop-in replacement for anything that luajit-devel
  167. works in, though not necessarily the other way around. If a program uses
  168. the openresty-specific API then you will need USES=luajit:luajit-openresty.
  169. The standard USES for most ports:
  170. USES=luajit
  171. For anything that requires the openresty API:
  172. USES=luajit:luajit-openresty
  173. 20220911:
  174. AUTHOR: zirias@FreeBSD.org
  175. kde.mk, qt.mk and pyqt.mk now use a colon for component suffixes
  176. Suffixes for build, run and test (for pyqt) dependencies used an underscore
  177. previously. This was not in line with most other USES, using a colon for
  178. that purpose.
  179. So if you previously had for example
  180. USE_QT= buildtools_build
  181. replace it with
  182. USE_QT= buildtools:build
  183. 20220907:
  184. AUTHOR: se@FreeBSD.org
  185. The convention of a WWW: line at the end of each port's pkg-descr file
  186. has been changed to a WWW= definition in the port's Makefile. All ports
  187. have been converted to follow this new scheme.
  188. The portlint and portfmt ports will be updated, but may erroneously flag
  189. the new convention as incorrect until the new versions have been installed.
  190. 20220826:
  191. AUTHOR: tcberner@FreeBSD.org
  192. A new Uses for 'vala' has been added.
  193. To depend on libvala, use
  194. USES=vala:lib
  195. to only add a build-time dependency, use
  196. USES=vala:build
  197. 20220821:
  198. AUTHOR: kde@FreeBSD.org
  199. qt.mk now supports both Qt 5 and Qt 6.
  200. To make use of Qt6 write:
  201. USES=qt:6
  202. USE_QT=list of Qt6 components
  203. Please take a look at qt.mk to see the available components.
  204. 20220722:
  205. AUTHOR: portmgr@FreeBSD.org
  206. 'Created by' are being removed from the ports makefiles.
  207. Created by lines have historically been used to attribute contributions
  208. to the original creators of the ports. However, those might no longer
  209. be contributing to the port
  210. 20220430:
  211. AUTHOR: tcberner@FreeBSD.org
  212. A new USES has been added to handle dependency on gstreamer.
  213. Instead of writing
  214. USE_GSTREAMER1=[list of components]
  215. you now have to write
  216. USES=gstreamer
  217. USE_GSTREAMER=[list of components]
  218. If your port previously set just
  219. USE_GSTREAMER=yes
  220. this now is simply
  221. USES=gstreamer
  222. 20220415:
  223. AUTHOR: amdmi3@FreeBSD.org
  224. A new USES has been added to handle testing with pytest.
  225. USES= pytest
  226. Introduces dependency on pytest and adds do-test target which calls
  227. pytest with the right environment and arguments.
  228. Additionally, PYTEST_{IGNORED,BROKEN}_TESTS knobs are provided for
  229. skipping failing tests in a convenient and documented way.
  230. 20220218:
  231. AUTHOR: jrm@FreeBSD.org
  232. A new USES has been added to change an ELF binary's feature control note.
  233. USES= elfctl
  234. ELF_FEATURES= +noaslr,wxneeded:foo \
  235. -noprotmax:foo \
  236. +nostackgap:bar
  237. Turns on noaslr and wxneeded and turns off noprotmax for the ELF
  238. binary foo and turns on nostackgap for the ELF binary bar.
  239. The file paths listed in ELF_FEATURES are relative to ${BUILD_WRKSRC}.
  240. File modifications are made post-build as certain test targets may run on
  241. the build-tree binaries.
  242. 20220127:
  243. AUTHOR: kde@FreeBSD.org
  244. PyQt modules have been merged into devel/py-qt5-pyqt.
  245. This allows us to simplify PyQt framework and to be in adequacy with the
  246. packages that the author of these libraries proposes, namely:
  247. * PyQt - devel/py-qt5-pyqt
  248. * PyQt-Charts - x11-toolkits/py-qt5-chart
  249. * PyQt-NetworkAuth – net/py-qt5-networkauth
  250. * PyQt-WebEngine – www/py-qt5-webengine
  251. * SIP – devel/py-sip
  252. * py-sip - devel/py-qt5-sip
  253. * PyQt-builder - devel/py-qtbuilder
  254. * Qscintilla - devel/py-qt5-qscintilla2
  255. Ports depending on PyQt, must be declared with USE_PYQT=pyqt5 instead of
  256. USE_PYQT=core gui svg etc.
  257. 20220117:
  258. AUTHOR: tobik@FreeBSD.org
  259. Standalone USE_GL, USE_GNOME, USE_MATE, USE_PHP, USE_SDL,
  260. USE_XORG have been deprecated for a while. For migration
  261. purposes the framework automatically loaded the corresponding
  262. USES={gl,gnome,mate,php,sdl,xorg} with a warning. The migration
  263. period is now over and you must add the USES manually for USE_*
  264. to have any effect.
  265. 20220111:
  266. AUTHOR: se@FreeBSD.org
  267. The CPU_AND, CPU_ANDNOT, CPU_OR, and CPU_XOR macros in 14-CURRENT
  268. and 13-STABLE after this date have been made compatible with GLIBC
  269. conventions. Specifically, they now take 3 arguments instead of 2.
  270. Ports can check whether the CPU_ALLOC macro is defined and then
  271. use the 3 parameter form, e.g.:
  272. #ifdef CPU_ALLOC
  273. CPU_AND(dst, dst, src);
  274. #else
  275. CPU_AND(dst, src);
  276. #endif
  277. 20211211:
  278. AUTHOR: tcberner@FreeBSD.org
  279. A new USES has been added to depend on ImageMagick.
  280. USES=magick
  281. adds a LIB_DEPENDS on graphics/ImageMagick${IMAGEMAGICK_DEFAULT}.
  282. If a specific version is required, use for example
  283. USES=magick:6 resp. USES=magick:7
  284. If only a build, run or test is required, use for example
  285. USES=magick:build resp. USES=magick:6,build,test
  286. If a dependency on the nox11 flavor is required, use for example
  287. USES=magick:nox11 resp. USES=magick:7,nox11,run,test
  288. See magick.mk for more details on the available flags.
  289. 20211122:
  290. AUTHOR: bapt@FreeBSD.org
  291. The default compression for INDEX file as fetch via make fetchindex has
  292. switched from .bz2 to .xz (.zst is also available).
  293. The .bz2 format is still available but is considered deprecated and may
  294. be removed in the future.
  295. 20211010:
  296. AUTHOR: bapt@FreeBSD.org
  297. INSTALLS_ICONS has been replace by a trigger on gtk-update-icon-cache.
  298. the macro does nothing anymore.
  299. 20211010:
  300. AUTHOR: bapt@FreeBSD.org
  301. A new USES has been added, to simplify the integration of triggers in
  302. the ports tree.
  303. 20210801:
  304. AUTHOR: delphij@FreeBSD.org
  305. WANT_OPENLDAP_SASL is removed now that OpenLDAP is always built with
  306. SASL support.
  307. 20210730:
  308. AUTHOR: tcberner@FreeBSD.org
  309. A new USES has been added to depend on the mlt multimedia framework.
  310. Ports that depend on mlt should now use USES=mlt:<version> to specify
  311. their dependency.
  312. At the moment the supported version is 6, but will be extended to also
  313. allow for selection of mlt 7 shortly.
  314. 20210604:
  315. AUTHOR: mat@FreeBSD.org
  316. The prepare-commit-msg hook was enhanced to auto-fill the first line of the
  317. commit with the category/port in case only one port was committed to.
  318. 20210525:
  319. AUTHOR: amdmi3@FreeBSD.org
  320. PYTHON_REL has been switched from a 4 digits number to a 5 digits number to
  321. handle python 3.10.0. Ports checking for python 3.7.10 should compare
  322. PYTHON_REL against 30710 and ports checking for python 3.10.0 should compare
  323. PYTHON_REL against 31000.
  324. 20210420:
  325. AUTHOR: mat@FreeBSD.org
  326. A prepare-commit-msg hook was added to the repository. This hooks prepares
  327. the commit message template for specific ports tree usage.
  328. To make use of it, the easiest way is to run:
  329. git config --add core.hooksPath .hooks
  330. 20201120:
  331. AUTHOR: gnome@FreeBSD.org
  332. New default version for librsvg2.
  333. Current versions of graphics/librsvg2 are using parts written in rust.
  334. For architectures that do not have support for rust, and for people
  335. who prefer not to have, or are not able to compile rust software due
  336. to hardware limitations, the version can be chosen via this new flag.
  337. The default on almost all architectures is rust.
  338. If you prefer no to use rust, add the following to your make.conf:
  339. DEFAULT_VERSIONS+=librsvg2=legacy
  340. 20210327:
  341. AUTHOR: bapt@FreeBSD.org
  342. New @touch keyword
  343. Its purpose is to ensure that a file is being created at install time
  344. while not necessary tracked by the package.
  345. 20201120:
  346. AUTHOR: pauamma@gundo.com
  347. New virtual category: education.
  348. This category comprises ports that are mainly educational in nature or
  349. purpose, such as:
  350. * course-writing or course-delivery applications,
  351. * classroom or school management applications (eg, scheduling classes),
  352. * applications, utilities, or games primarily or substantially designed
  353. to help the user learn a specific topic or study in general, like typing
  354. tutors, flashcard applications, or educational games.
  355. 20201110:
  356. AUTHOR: bapt@FreeBSD.org
  357. Patents are a complicated topic, and their regulation varies depending on
  358. jurisdiction. Patents are not necessarily related to the license and so
  359. should not be connected to the license framework.
  360. Patent limitations within the ports tree have been removed and left to the
  361. user or consumer to deal with their local legislation to determine if they
  362. can use the software without legal restrictions.
  363. 20201022:
  364. AUTHOR: bapt@FreeBSD.org
  365. New @rmempty keyword
  366. Its purpose is to delete empty files at deinstallation time. It is meant
  367. to be used for generated files/untracked by the package manager files.
  368. It respects rootdir
  369. 20201022:
  370. AUTHOR: bapt@FreeBSD.org
  371. @shell has been rewritten in lua
  372. It provides the exact same feature set as the previous version but it is now
  373. sandboxed and rootdir compliant (see the pkg -r option).
  374. 20201001:
  375. AUTHOR: manu@FreeBSD.org
  376. The @sample keyword was rewritten in lua.
  377. It behaves exactly like the previous one but it is sandboxed and
  378. is rootdir compliant (see pkg -r option).
  379. 20201001:
  380. AUTHOR: bapt@FreeBSD.org
  381. packages scripts and keywords can both be written in lua (version 5.3), see
  382. pkg-lua-script(5) for the API.
  383. Note that all scripts written in lua will:
  384. - run inside a capsicum sandbox,
  385. - be rootdir compatible (see pkg -r option)
  386. - be cross installation compatible example: installing packages in an arm64
  387. rootdir on and amd64 host.
  388. 20200531:
  389. AUTHOR: kde@FreeBSD.org
  390. pyqt.mk gained support for test-only dependencies. If a component, say
  391. py-qt5-gui is only required for testing, you can add
  392. USE_PYQT=<other_deps> gui_test
  393. 20200514:
  394. AUTHOR: mat@FreeBSD.org
  395. Add PATCH_CONTINUE_ON_FAIL to allow patching to go through all the patches
  396. even if one fail.
  397. This helps when upgrading ports with a large number of patches, like
  398. www/chromium where having to fix one patch, re-do the patching, fix the
  399. fallout, 800 times, is really painful.
  400. 20200414:
  401. AUTHOR: bapt@FreeBSD.org
  402. package scripts can now be done in lua, the following are supported:
  403. - pkg-pre-install.lua
  404. - pkg-post-install.lua
  405. - pkg-pre-deinstall.lua
  406. - pkg-post-deinstall.lua
  407. see pkg-lua-script(5) for more details.
  408. 20200414:
  409. AUTHOR: mat@FreeBSD.org
  410. USES=lua gained flavors.
  411. Ports using USES=lua:module or lua:flavors will be flavored. A range of
  412. supported lua versions can be set using XX-YY (or XX-, or -YY, or simply ZZ)
  413. for ports not supporting all lua versions.
  414. USES=lua sets LUA_FLAVOR that needs to be used on all dependencies of
  415. flavored lua ports, in a similar way as PHP or Python flavors.
  416. 20200115:
  417. AUTHOR: bapt@FreeBSD.org
  418. ${PREFIX}/share/man is now a valid location for manpages ${PREFIX}/man being
  419. considered as deprecated.
  420. 20191009:
  421. AUTHOR: bapt@FreeBSD.org
  422. The ipv6 virtual category is gone, it does not make sense anymore in 2019
  423. where the norm in applications is to have support both ipv4 and ipv6.
  424. 20191001:
  425. AUTHOR: bapt@FreeBSD.org
  426. BINARY_WRAPPERS allow to push in front of the PATH wrappers for binaries.
  427. This is useful when 2 tools do provide the same feature, but the configure
  428. scripts do test for some variables which are not in one of the tool.
  429. 20190919:
  430. AUTHOR: madpilot@FreeBSD.org
  431. USES=xfce now defaults to gtk3, so for ported applications requiring
  432. GTK2 XFCE support USES=xfce:gtk2 should be used.
  433. 20190903:
  434. AUTHOR: bapt@FreeBSD.org
  435. The ports tree now supports overlays
  436. overlays are a way to help users to integrate their own ports tree
  437. with the official ports tree without having to maintain clone of the
  438. official tree and remerge on regular basis.
  439. The ports tree will lookup in the overlays (in the order the are listed in
  440. OVERLAY variable) for the dependencies and the USES. It will use the first
  441. found.
  442. in order to use it the user have to declare his overlays that way in their
  443. make.conf:
  444. OVERLAYS= overlay1 overlay2 overlay3
  445. 20181225:
  446. AUTHOR: kde@FreeBSD.org
  447. cmake.mk now defaults to out-of-sourcetree builds. The option 'outsource'
  448. has been removed. Ports that need an intree build now can pass 'insource'.
  449. 20181110:
  450. AUTHOR: bapt@FreeBSD.org
  451. texinfo files are now installed in ${PREFIX}/share/info
  452. 20180630:
  453. AUTHOR: kde@FreeBSD.org
  454. bsd.qt.mk has been replaced by qt.mk. This changes the way ports have to
  455. depend on Qt slightly.
  456. Previously one would have written
  457. USE_QT4=foo bar
  458. or
  459. USE_QT5=foo bar
  460. while now one has to write
  461. USES=qt:4
  462. USE_QT=foo bar
  463. respectively
  464. USES=qt:5
  465. USE_QT=foo bar
  466. Further qmake.mk no longer respects QT_NONSTANDARD. Ports that don't want to
  467. get the configure environment provided by qmake.mk should add the argument
  468. no_env, ports that don't want the configure target should specify no_configure.
  469. 20180506:
  470. AUTHOR: brnrd@FreeBSD.org
  471. All USE_ and WANT_ variables for PHP have been removed and marked
  472. UNSUPPORTED. Use USES= php:<feature> as a replacement.
  473. USE_PHPIZE, USE_PHPEXT, USE_ZENDEXT, USE_PHP_BUILD,
  474. WANT_PHP_CLI, WANT_PHP_CGI, WANT_PHP_MOD, WANT_PHP_WEB, WANT_PHP_EMB
  475. 20180311:
  476. AUTHOR: brnrd@FreeBSD.org
  477. USE_APACHE has been replaced by USES=apache.
  478. 20180308:
  479. AUTHOR: mat@FreeBSD.org
  480. Ports using USES=php:phpize, php:ext, php:zend, and php:pecl are now
  481. flavored. They will automatically get flavors (php56, php70, php71, php72)
  482. depending of the versions they support (set with IGNORE_WITH_PHP). As a
  483. consequence, ports using USES=pear and USES=horde are also flavored.
  484. As all packages must have different package names, the following variables
  485. must be used in PKGNAMEPREFIX/SUFFIX:
  486. Variable + Values +
  487. --------------------------------------------------------------------------------------
  488. PHP_PKGNAMEPREFIX | php56- php72- | PHP Extensions
  489. | | and modules
  490. --------------------------------------------------------------------------------------
  491. PHP_PKGNAMESUFFIX | -php56 -php72 | PHP Applications
  492. --------------------------------------------------------------------------------------
  493. PECL_PKGNAMEPREFIX | php56-pecl- | PECL extensions
  494. | | automatic
  495. --------------------------------------------------------------------------------------
  496. PEAR_PKGNAMEPREFIX | php56-pear- | PEAR modules
  497. | | without PEAR_CHANNEL
  498. PEAR_<channel>_PKGNAMEPREFIX | php56-pear-channel- | with PEAR_CHANNEL
  499. | | automatic
  500. In all the ports with PHP dependencies, the *_DEPENDS entries MUST end with
  501. the flavor so that the framework knows which to build/use. This is done by
  502. appending '@${PHP_FLAVOR}' after the origin. For example:
  503. RUN_DEPENDS= ${PEAR_PKGNAMEPREFIX}Validate>=0.5.0:devel/pear-Validate@${PHP_FLAVOR} \
  504. ${PECL_PKGNAMEPREFIX}smbclient>=0.8.0:net/pecl-smbclient@${PHP_FLAVOR} \
  505. PHP applications (for example, www/wordpress) can also get flavors, add the
  506. flavors keyword to USES=php, for example: USES=php:flavors, and add
  507. ${PHP_PKGNAMESUFFIX} to its PKGNAMESUFFIX.
  508. 20180125:
  509. AUTHOR: mat@FreeBSD.org
  510. Add support to passing directories to EXTRA_PATCHES.
  511. Instead of:
  512. EXTRA_PATCHES= ${PATCHDIR}/feat-foo-patch-file.c \
  513. ${PATCHDIR}/feat-foo-patch-file.h \
  514. ${PATCHDIR}/feat-foo-patch-file2.c
  515. Move those files to ${PATCHDIR}/feat-foo/, name them patch-*, and set:
  516. EXTRA_PATCHES= ${PATCHDIR}/feat-foo
  517. 20180116:
  518. AUTHOR: mat@FreeBSD.org
  519. The deprecated PYTHON_DEFAULT_VERSION, PYTHON2_DEFAULT_VERSION, and
  520. PYTHON3_DEFAULT_VERSION have been removed.
  521. 20180106:
  522. AUTHOR: kde@FreeBSD.org
  523. USES=qmake now accepts a new variable, QMAKE_CONFIGURE_ARGS.
  524. Starting with Qt 5.8.0, qmake can use configure.json files to help define
  525. configuration options and configuration time checks. These options are
  526. generally in the form '-foo -no-bar', and must be passed after "--" at the
  527. end of qmake's command line.
  528. The QMAKE_CONFIGURE_ARGS variable allows one to set those options, and
  529. USES=qmake takes care of passing them at the right position when invoking
  530. qmake.
  531. 20180102:
  532. AUTHOR: kde@FreeBSD.org
  533. There is a new USES=eigen to depend on math/eigen[23].
  534. Usage:
  535. USES=eigen:<version>[,<type>]
  536. version: 2 or 3 (required)
  537. type: build (default), run
  538. For example:
  539. USES=eigen:2,build,run
  540. will add a BUILD- and RUN_DEPENDS on math/eigen2, and
  541. USES=eigen:3
  542. will add a BUILD_DEPENDS on math/eigen3.
  543. 20171231:
  544. AUTHOR: kde@FreeBSD.org
  545. USES=cmake now supports two additional list variables:
  546. * CMAKE_ON : List of variables to turn on
  547. * CMAKE_OFF : List of variables to turn off
  548. This can be used as a shortcut to append these to CMAKE_ARGS.
  549. For example ports that previously set
  550. CMAKE_ARGS= -DVAR1:BOOL=TRUE -DVAR2:BOOL=TRUE -DVAR3:BOOL=FALSE
  551. can now set this as
  552. CMAKE_ON= VAR1 VAR2
  553. CMAKE_OFF= VAR3
  554. 20171130:
  555. AUTHOR: mat@FreeBSD.org
  556. Ports using USE_PYTHON=distutils are now flavored. They will automatically
  557. get flavors (py27, py34, py35, py36) depending on what versions they support.
  558. There is also a USE_PYTHON=flavors for ports that do not use distutils but
  559. need FLAVORS to be set. A USE_PYTHON=noflavors can be set if the port is
  560. using distutils but flavors are not wanted.
  561. A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been added
  562. to cope with Python ports that did not have the Python PKGNAMEPREFIX but are
  563. flavored.
  564. USES=python now also exports a PY_FLAVOR variable that contains the current
  565. python flavor. It can be used in dependency lines when the port itself is
  566. not python flavored, for example, deskutils/calibre.
  567. By default it will only generate flavors for the versions in PYTHON2_DEFAULT
  568. and PYTHON3_DEFAULT. Define BUILD_ALL_PYTHON_FLAVORS in your make.conf to
  569. generate all possible flavors. A port can set USE_PYTHON=allflavors to have
  570. all the flavors and not simply the default ones.
  571. In all the ports with Python dependencies, the *_DEPENDS entries MUST end
  572. with the flavor so that the framework knows which to build/use. This is done
  573. by appending '@${PY_FLAVOR}' after the origin. For example:
  574. RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
  575. 20171130:
  576. AUTHOR: mat@FreeBSD.org
  577. To help with flavored ports, helpers are available. In these, replace <*>
  578. with the flavor name.
  579. *_PKGNAMEPREFIX *_PKGNAMESUFFIX *_PLIST *_DESCR will overwrite the variable.
  580. *_CONFLICTS *_CONFLICTS_BUILD *_CONFLICTS_INSTALL *_PKG_DEPENDS
  581. *_EXTRACT_DEPENDS *_PATCH_DEPENDS *_FETCH_DEPENDS *_BUILD_DEPENDS
  582. *_LIB_DEPENDS *_RUN_DEPENDS *_TEST_DEPENDS will append to the variable.
  583. For example:
  584. flavor2_PKGNAMESUFFIX= -foo
  585. can replace:
  586. .if ${FLAVOR:U} == flavor2
  587. PKGNAMESUFFIX= -foo
  588. .endif
  589. 20171130:
  590. AUTHOR: mat@FreeBSD.org
  591. Flavors are a way to have multiple variations of a port. The port is built
  592. multiple times, with the variations. To declare flavors, set the FLAVORS
  593. variable to the flavors you want defined. The first flavor will be the
  594. default:
  595. FLAVORS= flavor1 flavor2
  596. The flavors MUST be lowercase, and can contain [[:lower:][:digit:]_].
  597. Then, when building the port, pass the FLAVOR as an argument after make to
  598. select the flavor.
  599. $ make install FLAVOR=flavor2
  600. In the port, you can then change the behavior depending on the value of the
  601. FLAVOR variable. Note that the different flavors MUST have different
  602. PKGNAMEs. Be sure to guard against an empty FLAVOR variable by using
  603. ${FLAVOR:U}:
  604. .if ${FLAVOR:U} == flavor2
  605. PKGNAMESUFFIX= -foo
  606. OPTIONS_DEFAULT+= FOO
  607. .endif
  608. A tools guide is available at:
  609. https://wiki.freebsd.org/Ports/FlavorsTools
  610. A port migration guide is available at:
  611. https://wiki.freebsd.org/Ports/FlavorsMigration
  612. 20171020:
  613. AUTHOR: ak@FreeBSD.org
  614. The USES=fmake has been removed. It was created to help migration from
  615. old FreeBSD make (pmake) and there are no more users of it left in
  616. the ports tree.
  617. 20171012:
  618. AUTHOR: mat@FreeBSD.org
  619. Remove WANT_GNOME and HAVE_GNOME, they were in disuse, and made useless by
  620. options.
  621. 20171011:
  622. AUTHOR: bapt@FreeBSD.org
  623. New BINARY_ALIAS variable has been added, when defined it will create symlinks
  624. of some given binaries in a directory which will be prepended to the PATH.
  625. The syntax is the following:
  626. BINARY_ALIAS= target1=source1 target2=source2
  627. For example to have a "swig" binary in the path which will be pointing at
  628. swig3.0 and a "sed" pointing at GNU sed: gsed
  629. BINARY_ALIAS= swig=swig3.0 sed=gsed
  630. 20170625:
  631. AUTHOR: kde@FreeBSD.org
  632. The default generator for USES=cmake ports has been switched to ninja.
  633. Previously it was possible to opt-in to using ninja instead of make(1)
  634. by setting CMAKE_NINJA, now ports need to opt-out.
  635. Ports that do not build with ninja must switch from
  636. USES=cmake:<args>
  637. to
  638. USES=cmake:<args>,noninja
  639. 20170417:
  640. AUTHOR: kwm@FreeBSD.org
  641. New USES: meson, to handle properly the meson building system.
  642. 20170313:
  643. AUTHOR: tijl@FreeBSD.org
  644. HTTPS certificates are now verified when "make makesum" fetches distfiles.
  645. If this fails make sure you have a CA certificate bundle installed such as
  646. security/ca_root_nss. If it still fails and there are other HTTPS sites
  647. with a valid certificate consider removing the site from MASTER_SITES.
  648. If the site cannot be removed you can disable certificate verification by
  649. adding the following line to the port Makefile:
  650. FETCH_ENV= SSL_NO_VERIFY_PEER=1 SSL_NO_VERIFY_HOSTNAME=1
  651. 20170218:
  652. AUTHOR: kde@FreeBSD.org
  653. * Qt 4's binaries have been moved to lib/qt4/bin to match what is already done
  654. to Qt 5's binaries. Since these binaries are no longer in ${LOCALBASE}/bin,
  655. they also do not have the -qt4 suffix in their names any more.
  656. * Consequently, there are no Qt 4 or Qt 5 binaries in the default $PATH, and
  657. misc/qtchooser is now used to select the actual Qt binaries. In other
  658. words, calling "qmake" or "moc" now goes through qtchooser, which prefers
  659. Qt 5 binaries by default.
  660. The ports framework handles this automatically. The UPDATING entry covers
  661. this in more detail.
  662. * Qt 5.7.1 requires a C++11-capable compiler to be used. qmake and CMake pass
  663. the appropriate flags to the compiler (such as -std=c++11) automatically,
  664. but if your port fetches Qt's build flags via pkg-config (which can be the
  665. case for autotools-based ports), you might need to take care of this
  666. manually by setting USE_CXXSTD in your Makefile:
  667. USE_CXXSTD= c++11
  668. 20160116:
  669. AUTHOR: mat@FreeBSD.org
  670. A new EXTRA_PATCH_TREE has been added. Points to a directory hierarchy with
  671. the same layout as the ports tree, where local patches can be found. This
  672. allows a third party to keep their patches in some other source control
  673. system if needed.
  674. For example, if you have EXTRA_PATCH_TREE=/patches, when building
  675. lang/perl5.24, any file named patch-* in /patches/lang/perl5.24/ will be used
  676. to patch the Perl distribution.
  677. 20160116:
  678. AUTHOR: mat@FreeBSD.org
  679. During extraction of the do-patch target into a separate script, the "-d
  680. PATCH_WRKSRC" had to be removed from the PATCH_ARGS and PATCH_DIST_ARGS
  681. variables. If using these variables directly, you will need to adapt the
  682. Makefile. For example:
  683. ${PATCH} ${PATCH_ARGS} < ${FILESDIR}/extra-patch
  684. needs to be changed to:
  685. ${PATCH} -d ${PATCH_WRKSRC} ${PATCH_ARGS} < ${FILESDIR}/extra-patch
  686. 20161218:
  687. AUTHOR: tcberner@FreeBSD.org
  688. QT_PREFIX has been dropped, in favour of using PREFIX directly.
  689. 20160911:
  690. AUTHOR: amdmi3@FreeBSD.org
  691. Support has been added for complete set of Creative Commons licenses
  692. CC-(BY|BY-ND|BY-NC|BY-NC-ND|BY-NC-SA|BY-SA)-(1.0|2.0|2.5|3.0|4.0)
  693. 20160909:
  694. AUTHOR: amdmi3@FreeBSD.org
  695. Verbose build logs are now preferred and enabled by default for cmake,
  696. ninja and GNU configure. Ports which still produce quiet build logs
  697. (hiding actual commands) are strongly advised to switch to verbose logs.
  698. 20160908:
  699. AUTHOR: amdmi3@FreeBSD.org
  700. Support has been added for NONE license, use it when the port doesn't
  701. have cleanly defined licensing terms. Note that without clean license
  702. allowing you to use and distribute the code it would be be illegal to do
  703. so in many jurisdictions, so for ports with NONE license no distfiles or
  704. packages are distributed.
  705. 20160824:
  706. AUTHOR: mat@FreeBSD.org
  707. To complete the USE_GITHUB framework, a GH_SUBDIR variable has been added.
  708. It automatically moves a secondary distfile to the right place inside WRKSRC.
  709. It also extends the GH_TUPLE variable to make it as easy to use as possible.
  710. Before:
  711. GH_TUPLE= Regaddi:Chart.js:f13f99b:chart_js \
  712. FVANCOP:ChartNew.js:77e7f87:chartnew_js
  713. post-extract:
  714. @${RMDIR} ${WRKSRC}/database ${WRKSRC}/3rd/Chart.js
  715. @${MV} ${WRKSRC_database} ${WRKSRC}/database
  716. @${MV} ${WRKSRC_chart_js} ${WRKSRC}/3rd/Chart.js
  717. After:
  718. GH_TUPLE= Regaddi:Chart.js:f13f99b:chart_js/3rd/Chart.js \
  719. FVANCOP:ChartNew.js:77e7f87:chartnew_js/3rd/ChartNew.js
  720. It also works if not using GH_TUPLE but the regular
  721. GH_ACCOUNT/PROJECT/TAGNAME variables:
  722. GH_SUBDIR= 3rd/Chart.js:chart_js 3rd/ChartNew.js:chartnew_js
  723. 20160824:
  724. AUTHOR: kde@FreeBSD.org
  725. A new USES file has been introduced: USES=kde:4, which replaces the old
  726. bsd.kde4.mk file in preparation for upcoming KDE Frameworks and Plasma5
  727. ports.
  728. Ports depending on KDE4 have to switch from
  729. USE_KDE4=foo bar
  730. to
  731. USES=kde:4
  732. USE_KDE=foo bar
  733. and make sure to switch from using KDE4_PREFIX to the new name KDE_PREFIX
  734. in the Makefiles as well as plists.
  735. 20160821:
  736. AUTHOR: kde@FreeBSD.org
  737. A new USES file has been introduced: USES=grantlee:[4,5], which introduces a
  738. LIB_DEPENDS on either devel/grantlee (Qt4) or devel/grantlee5 (Qt5).
  739. Uses/grantlee.mk also exports the GRANTLEE_VERSION variable to users, and the
  740. GRANTLEE_VERSION_FULL and GRANTLEE_VERSION_SHORT pkg-plist substitutions.
  741. 20160817:
  742. AUTHOR: mat@FreeBSD.org
  743. This adds the possibility to use regular expressions for the makeplist stage
  744. of the PLIST_SUB life.
  745. From time to time, the values are too generic, and they get in the way of
  746. other stuff.
  747. This adds the possibility to have a VAR_regex=regex that will be used
  748. instead of the VAR=string to search for possible replacements.
  749. For example, in lang/perl5*, there is PERL_ARCH=mach, which will get replaced
  750. in paths if a file is called, say "machine", will end up being
  751. "%%PERL_ARCH%%ine". Adding PERL_ARCH_regex="\bmach\b" will ensure only full
  752. words are replaced, so machine will stay machine, but "lib/mach/foo "will
  753. still be replaced by "lib/%%PERL_ARCH%%/foo".
  754. 20160803:
  755. AUTHOR: mat@FreeBSD.org
  756. Every PHP (or Zend) extension now installs its own .ini file in
  757. /usr/local/etc/php. A PHP extension will be automatically activated when
  758. installed. The order into which extensions are loaded is automatically
  759. guessed. In some very rare cases, the guess will be wrong, and PHP_MOD_PRIO
  760. will need to be set. Refer to the USES=php section of the Porter's Handbook
  761. for more information.
  762. 20160628:
  763. AUTHOR: mat@FreeBSD.org
  764. USEify USES=php.
  765. The following variables have been folded into arguments:
  766. - USE_PHPIZE -> USES=php:phpize
  767. - USE_PHPEXT -> USES=php:ext
  768. - USE_ZENDEXT -> USES=php:zend
  769. - USE_PHP_BUILD -> USES=php:build
  770. - WANT_PHP_CLI -> USES=php:cli
  771. - WANT_PHP_CGI -> USES=php:cgi
  772. - WANT_PHP_MOD -> USES=php:mod
  773. - WANT_PHP_WEB -> USES=php:web
  774. - WANT_PHP_EMB -> USES=php:embed
  775. 20160627:
  776. AUTHOR: mat@FreeBSD.org
  777. USE_OPENSSL has been replaced by USES=ssl.
  778. 20160625:
  779. AUTHOR: adamw@FreeBSD.org
  780. A new ${opt}_CMAKE_BOOL OPTIONS helper has been added. Instead of:
  781. FOO_CMAKE_ON= -DWITH_FOO:BOOL=YES -DWITH_BAR:BOOL=YES
  782. FOO_CMAKE_OFF= -DWITH_FOO:BOOL=NO -DWITH_BAR:BOOL=NO
  783. you can use this shortcut:
  784. SOMEOPT_CMAKE_BOOL= WITH_FOO WITH_BAR
  785. 20160525:
  786. AUTHOR: mat@FreeBSD.org
  787. A new stage-qa test has been added, it reports all shared libraries
  788. dependencies that are not part of the port list of dependencies. It help
  789. finds what is called proxy dependencies.
  790. A is needed by B, and B is needed by C. If C also needs A, then it needs to
  791. be registered, and this check will tell you to do so.
  792. Right now, it is only reporting the problems, but if you add
  793. PROXYDEPS_FATAL=yes to your environment, it will give an error and will force
  794. you to fix the dependencies.
  795. 20160525:
  796. AUTHOR: bapt@FreeBSD.org
  797. New keyword @xmlcatmgr has been added, to handle the XML and SGML catalog
  798. maintainance, in order to improve consistency and correctness of the
  799. generation of the catalog.
  800. If the catalog file has an extension being '.xml' it will be automatically
  801. added to the XML catalog, otherwise it will be added to the SGML catalog
  802. 20160512:
  803. AUTHOR: emaste@FreeBSD.org
  804. "make makesum" now writes the current timestamp to distinfo when it is run.
  805. This is done to support development and prototyping efforts for reproducible
  806. package builds, which require some concept of a "last updated" time.
  807. The TIMESTAMP can currently be ignored for ports that have no distinfo, and
  808. for updates done without using "make makesum."
  809. 20160428
  810. AUTHOR: mat@FreeBSD.org
  811. USE_RUBYGEMS has been replaced by USES=gem.
  812. 20160426:
  813. AUTHOR: mat@FreeBSD.org
  814. USE_MYSQL and USE_BDB have been replaced by USES=mysql and USES=bdb.
  815. WANT_BDB_VER=XX should be replaced by USES=bdb:XX.
  816. 20160414:
  817. AUTHOR: mat@FreeBSD.org
  818. USE_RC_SUBR=yes has not done anything for a long time, it will now give an error.
  819. 20160413:
  820. AUTHOR: jbeich@FreeBSD.org
  821. Introducing CONFIGURE_OUTSOURCE. It changes HAS_CONFIGURE and GNU_CONFIGURE
  822. by invoking configure, build and install stage outside of source tree e.g.,
  823. $ mkdir ../.build
  824. $ cd ../.build
  825. $ ${OLDPWD}/configure
  826. $ gmake
  827. $ gmake install
  828. 20160402:
  829. AUTHOR: bapt@FreeBSD.org
  830. Adding ${PORTSDIR} in dependency lines is no longer necessary meaning
  831. RUN_DEPENDS= foo:${PORTSDIR}/bar/foo
  832. can now be written
  833. RUN_DEPENDS= foo:bar/foo
  834. if the path after ':' is not absolute the framework will automatically
  835. prepend ${PORTSDIR}/
  836. 20160301:
  837. AUTHOR: mat@FreeBSD.org
  838. Introduce GH_TUPLE.
  839. GH_TUPLE allows one to put all the GH_{ACCOUNT,PROJECT,TAGNAME} into one
  840. variable, in the form of account:project:tagname[:group]. It is helpful when
  841. there are many submodules.
  842. 20160207:
  843. AUTHOR: kwm@FreeBSD.org
  844. The GNOME and MATE framework activation changed. To use the frameworks
  845. now either gnome or mate needs to be added USES.
  846. The usage of USE_GNOME, USE_MATE, INSTALLS_ICONS and for example
  847. GLIB_SCHEMAS stays the same.
  848. Like with USES, the use of USE_GNOME and so after bsd.port.pre.mk
  849. is now forbidden.
  850. 20160112:
  851. AUTHOR: amdmi3@FreeBSD.org
  852. Support has been added for "or later" variants of GNU licenses
  853. (e.g. LICENSE=GPLv2+) and for Public Domain (LICENSE=PD).
  854. Complete list of new LICENSE values:
  855. AGPLv3+ GPLv1+ GPLv2+ GPLv3+ GPLv3RLE+ LGPL20+ LGPL21+ LGPL3+ PD
  856. 20160110:
  857. AUTHOR: bapt@FreeBSD.org
  858. USE_FIREBIRD and USE_SQLITE has been replaced by USES=firebird and
  859. USES=sqlite
  860. 20151105:
  861. AUTHOR: mat@FreeBSD.org
  862. Change the meaning of NO_WRKSUBDIR to force a WRKDIR != WRKSRC.
  863. Right now, NO_WRKSUBDIR means that the extraction does not produce a
  864. subdirectory, and that everything goes straight into WRKDIR. It is
  865. problematic, because during the build of a port, quite a few files
  866. are created in there, and then, a stage directory, where everything
  867. is installed, and then a pkg directory where the package is created,
  868. and those often conflict, or get in the way, of the building
  869. process.
  870. With this, NO_WRKSUBDIR will extract the distfiles directly into
  871. WRKSRC instead of WRKDIR. In this case, WRKSRC is artificial and is
  872. based on PKGNAME and not DISTNAME, mitigate conflicts with rc files.
  873. 20151022:
  874. AUTHOR: amdmi3@FreeBSD.org
  875. Improved support for USES=shebangfix
  876. - We now support multiple values for *_OLD_CMD
  877. - We replace more variants by default (/bin/${lang}, /usr/bin/${lang},
  878. /usr/bin/env ${lang}).
  879. - shebangfix now also supports lua if USES=lua is specified
  880. - Pattern matching has been improved: we now only match whole worlds,
  881. e.g. "/usr/bin/perl5.005" is no longer erroneously replaced with
  882. "${perl_CMD}5.005".
  883. Note that *_OLD_CMD entries which contain spaces must now be quoted.
  884. 20150928:
  885. AUTHOR: amdmi3@FreeBSD.org
  886. Implemented complete support for test target.
  887. You can now `make test' on any port to run test sequence, no-op by default.
  888. If a port defines TEST_TARGET, it'll run sub-make with specified target,
  889. usually `check' or `test', useful if upstream supports that. The port may
  890. instead define custom do-test target, as well as usual satellite targets:
  891. {pre,do,post}-test, {pre,do,post}-test-OPT, {pre,do,post}-test-OPT-off
  892. `make test' builds and stages port first, so test may use both WRKDIR and
  893. STAGEDIR, and both BUILD and RUN depends are available for test target.
  894. Additionally, TEST_DEPENDS is now properly supported and may be used to
  895. define additional depends specifically for testing.
  896. Framework may define default tests for specific cases. For instance,
  897. perl5.mk and cran.mk provide default test target on their own.
  898. 20150926:
  899. AUTHOR: bapt@FreeBSD.org
  900. @sample now accept arguments, so it can now be used the following way:
  901. @sample afile.sample
  902. or
  903. @sample path/to/example etc/target
  904. 20150926:
  905. AUTHOR: bapt@FreeBSD.org
  906. New keywords are supported in pkg since 1.5.x:
  907. @preexec <command>: execute the <command> during pre-install scripts
  908. @postexec <command>: execute the <command> during post-install scripts
  909. @preunexec <command>: execute the <command> during pre-deinstall scripts
  910. @postunexec <command>: execute the <command> during post-deinstall scripts
  911. @exec does not specify when it should be executed and is now considered as
  912. deprecated.
  913. 20150914:
  914. AUTHOR: mat@FreeBSD.org
  915. Introducing the %%PERL5_MAN1%% PLIST_SUB entry, as Perl now installs man1
  916. pages in the same prefix as man3 pages.
  917. 20150828:
  918. AUTHOR: mat@FreeBSD.org
  919. <opt>_VARS and <opt>_VARS_OFF have been introduced to allow for a generic way
  920. to set/append to variables.
  921. OPT1_VARS= foo=bar baz+=bam
  922. will set FOO to bar and append bam to BAZ if OPT1 is enabled. <opt>_VARS_OFF
  923. works the same way, if the option is disabled.
  924. 20150818:
  925. AUTHOR: kde@FreeBSD.org
  926. The CMAKE_ENV option has been deprecated. It no longer has any effect, and
  927. the CONFIGURE_ENV variable should be used instead.
  928. 20150818:
  929. AUTHOR: mat@FreeBSD.org
  930. <opt>_IMPLIES and <opt>_PREVENTS have been introduced to register dependency,
  931. or conflicts between options.
  932. OPTIONS_DEFINE= FOO BAR BAZ
  933. FOO_IMPLIES= BAR
  934. BAZ_PREVENTS= BAR
  935. If the FOO option is selected, the BAR option will be enabled as well. If
  936. the BAZ and BAR options are both enabled, an error will be given.
  937. 20150817:
  938. AUTHOR: mat@FreeBSD.org
  939. UNIQUENAME and LATEST_LINK have been removed. LATEST_LINK was only used by
  940. ports-mgmt/pkg{,-devel} and PKGBASE can be used in its stead. UNIQUENAME was
  941. used by USE_LDCONFIG where it was not unique enough, and as old compat shims
  942. with options.
  943. 20150716:
  944. AUTHOR: kwm@FreeBSD.org
  945. USE_GHOSTSCRIPT was replaced by USES=ghostscript. The ghostscript USES
  946. accepts version, build, run, nox11 and for version 9 the agpl argument.
  947. If no version is specified, the default 9 for GHOSTSCRIPT_DEFAULT is honored.
  948. 20150701:
  949. AUTHOR: mat@FreeBSD.org
  950. Make option target helpers have been added, it allows replacing:
  951. .include <bsd.port.options.mk>
  952. post-patch:
  953. ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
  954. ${WRKSRC}/Configure ${WRKSRC}/hints/freebsd.sh
  955. .if ${PORT_OPTIONS:MPTHREAD}
  956. ${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|-lpthread|g;' \
  957. ${WRKSRC}/hints/freebsd.sh
  958. .else
  959. ${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%||g;' \
  960. ${WRKSRC}/hints/freebsd.sh
  961. .endif
  962. with:
  963. post-patch:
  964. ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
  965. ${WRKSRC}/Configure ${WRKSRC}/hints/freebsd.sh
  966. post-patch-PTHREAD-on:
  967. ${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|-lpthread|g;' \
  968. ${WRKSRC}/hints/freebsd.sh
  969. post-patch-PTHREAD-off:
  970. ${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%||g;' \
  971. ${WRKSRC}/hints/freebsd.sh
  972. 20150622:
  973. AUTHOR: bapt@FreeBSD.org
  974. Remove USE_RCORDER, USE_RC_SUBR has been modified to support PREFIX=/usr
  975. automatically
  976. 20150529:
  977. AUTHOR: mat@FreeBSD.org
  978. Extend the multiple distfiles USE_GITHUB framework by allowing it to fetch
  979. only additional distfiles, but not the main one. Set USE_GITHUB=nodefault
  980. and use the GH_* variables with groups as usual.
  981. 20150528:
  982. AUTHOR: mat@FreeBSD.org
  983. USE_GITHUB can now fetch multiple distfiles. It uses a grouping feature
  984. similar to MASTER_SITES/PATCH_SITES.
  985. Some helpful variables are provided: WRKSRC_<group> for putting things in the
  986. right place in post-extract, and DISTNAME_<group>/DISTFILE_<group> for use
  987. with EXTRACT_ONLY.
  988. A simple example:
  989. PORTNAME= bar
  990. PORTVERSION= 1.0
  991. USE_GITHUB= yes
  992. GH_ACCOUNT= foo
  993. GH_PROJECT= ${PORTNAME}-images:images
  994. post-extract:
  995. @${MV} ${WRKSRC_images} ${WRKSRC}/images
  996. It will fetch those two distfiles:
  997. $ make fetch-urlall-list
  998. https://codeload.github.com/foo/bar/tar.gz/1.0?dummy=/foo-bar-1.0_GH0.tar.gz
  999. https://codeload.github.com/foo/bar-images/tar.gz/1.0?dummy=/foo-bar-images-1.0-1.0.tar.gz
  1000. It will then extract them to ${WRKDIR} in their respectives directories.
  1001. 20150526:
  1002. AUTHOR: antoine@FreeBSD.org
  1003. PYTHON_REL has been switched from a 3 digits number to a 4 digits number to
  1004. handle python 2.7.10. Ports checking for python 2.7.9 should compare
  1005. PYTHON_REL against 2709 and ports checking for python 2.7.10 should compare
  1006. PYTHON_REL against 2710.
  1007. 20150521:
  1008. AUTHOR: mat@FreeBSD.org
  1009. GH_COMMIT support has been removed, see the 20150319 for more informations.
  1010. 20150419:
  1011. AUTHOR: tijl@FreeBSD.org
  1012. USE_AUTOTOOLS has been deprecated. It can be replaced with USES=autoreconf
  1013. and GNU_CONFIGURE=yes.
  1014. Support for USE_AUTOTOOLS=libtoolize has been removed. It can be replaced
  1015. with "USES=autoreconf libtool".
  1016. 20150409:
  1017. AUTHOR: bapt@FreeBSD.org
  1018. Add a new USES=gnustep to handle the GNUstep ports. Now the dependencies on
  1019. GNUstep libraries is done via the regular LIB_DEPENDS
  1020. USE_GNUSTEP is now a macro that accept many arguments: back, build, gui, back
  1021. Depending on the feature needed for a given port
  1022. Reuse USES=objc to avoid duplicating code
  1023. 20150408:
  1024. AUTHOR: bapt@FreeBSD.org
  1025. Add a new USES=waf to handle the waf building system, allowing to factorise
  1026. code. Plug waf into MAKE_CMD and CONFIGURE_CMD so the regular defined targets
  1027. can be reused.
  1028. Always define _MAKE_JOBS so that when bsd.port.mk will stop overwritting
  1029. _MAKE_JOBS when parallel jobs are disabled we can enforce -j1 (which is needed
  1030. to really disable parallelisation with waf
  1031. WAF_CMD has been created to allow one to override the location of the waf
  1032. script relatively to WRKSRC
  1033. CONFIGURE_TARGET is by default defined to "configure"
  1034. ALL_TARGET is by default defined to "build"
  1035. INSTALL_TARGET is by default defined to "install"
  1036. USES=waf is by default stagedir safe
  1037. 20150407:
  1038. AUTHOR: bapt@FreeBSD.org
  1039. USE_XZ and USE_BZIP2 are not supported anymore, they have been replaced by
  1040. USES=tar:bzip2 and tar:xz
  1041. 20150328:
  1042. AUTHOR: bapt@FreeBSD.org
  1043. New "metaport" USES to take care of predefining correctly the needed
  1044. macros as expected by meta ports.
  1045. 20150323:
  1046. AUTHOR: bapt@FreeBSD.org
  1047. Remove "@fc" and "@fontsdir". All fonts should always use @fcfontsdir which
  1048. Properly takes care of the fonts.dir and fonts.scale cache files as well
  1049. as ensure to properly update the fontconfig cache
  1050. New "fonts" USES. It defines the default variables needed for fonts and also
  1051. takes care of the run time dependencies
  1052. 20150326:
  1053. AUTHOR: bdrewery@FreeBSD.org
  1054. PTHREAD_CFLAGS and PTHREAD_LIBS have been removed. Please see entry
  1055. 20130207 for more information.
  1056. 20150319:
  1057. AUTHOR: bdrewery@FreeBSD.org
  1058. MASTER_SITE GHR (GITHUB_RELEASE) has been removed. The same functionality
  1059. can be achieved with just USE_GITHUB/GH_ACCOUNT/GH_PROJECT. GH_TAGNAME
  1060. defaults to DISTVERSION. If the tag needs to be adjusted then change
  1061. GH_TAGNAME. No GH_COMMIT is needed.
  1062. 20150319:
  1063. AUTHOR: bdrewery@FreeBSD.org
  1064. USE_GITHUB has been updated to make GH_COMMIT optional. Using this new
  1065. scheme allows only setting the _tag_ or _commit hash_ in GH_TAGNAME and
  1066. not having to know the hash for a tag. This scheme will download a tarball
  1067. that has a different checksum than before due to a changed directory name
  1068. for extraction.
  1069. GH_TAGNAME can now be any length of the hash as long as it is unique. There
  1070. is no longer a 7-character requirement.
  1071. The following MASTER_SITES are provided to retain the old checksum and
  1072. directory structure (that require GH_COMMIT):
  1073. GH -> GHL
  1074. GITHUB -> GITHUB_LEGACY
  1075. 20150305:
  1076. AUTHOR: olivierd@FreeBSD.org
  1077. Dependencies on the Xfce ports have been migrated to USES. Instead
  1078. of USE_XFCE= configenv, you should use USES= xfce.
  1079. 20150224:
  1080. AUTHOR: makc@FreeBSD.org
  1081. New USE_QT4 component has been introduced to reduce buildtime
  1082. dependencies for Qt 4 ports that use localization support. Instead
  1083. of USE_QT4=linguist you should now use USE_QT4=linguisttools_build.
  1084. Conversion of existing ports may require USE_QT4 adjustment for
  1085. missing components.
  1086. 20141217:
  1087. AFFECTS: users of lang/perl5.*
  1088. AUTHOR: mat@FreeBSD.org
  1089. Perl now links libperl.so with all .so it builds. The stage-qa checks have
  1090. been extended to check that libperl.so is in fact linked with .so in
  1091. SITE_ARCH and errors out if none of the .so build by a port are linked with
  1092. it. It also checks that the rpath and runpath elf attributes are present.
  1093. 20141130:
  1094. AUTHOR: tijl@FreeBSD.org
  1095. The devel/gettext port has been split up in devel/gettext-runtime which
  1096. contains runtime libraries such as libintl, and devel/gettext-tools which
  1097. contains build tools such as msgfmt. You can use USES=gettext-runtime to
  1098. set a LIB/BUILD/RUN_DEPENDS on devel/gettext-runtime and USES=gettext-tools
  1099. to set a BUILD/RUN_DEPENDS on devel/gettext-tools.
  1100. USES=gettext is now the same as "USES=gettext-runtime gettext-tools",
  1101. meaning a LIB_DEPENDS on devel/gettext-runtime and a BUILD_DEPENDS on
  1102. devel/gettext-tools.
  1103. 20141126:
  1104. AUTHOR: mat@FreeBSD.org
  1105. The way Perl modules are installed has changed. Before, we had
  1106. site_perl : lib/perl5/site_perl/5.18
  1107. site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
  1108. perl_man3 : lib/perl5/5.18/man/man3
  1109. Now we have :
  1110. site_perl : lib/perl5/site_perl
  1111. site_arch : lib/perl5/site_perl/mach/5.18
  1112. perl_man3 : lib/perl5/site_perl/man/man3
  1113. Modules without any .so will be installed at the same place regardless of the
  1114. Perl version, minimizing the upgrade when the major Perl version is changed.
  1115. It uses a version dependent directory for modules with compiled bits.
  1116. As PERL_ARCH is no longer needed in plists, it has been removed from
  1117. PLIST_SUB.
  1118. The USE_PERL5=fixpacklist keyword is removed, the .packlist file is now
  1119. always removed, as is perllocal.pod.
  1120. The old site_perl and site_perl/arch directories have been kept in the
  1121. default Perl @INC for all Perl ports, and will be phased out as these old
  1122. Perl versions expire.
  1123. 20141122:
  1124. AUTHOR: crees@FreeBSD.org
  1125. Dependencies on the PostgreSQL ports have been migrated
  1126. to USES. Instead of USE_PGSQL, please use USES=pgsql instead.
  1127. USE_PGSQL=yes becomes USES=pgsql
  1128. WANT_PGSQL_VER=91+ becomes USES=pgsql:9.1+
  1129. USE_PGSQL=server becomes USES=pgsql and WANT_PGSQL=server
  1130. 20141118:
  1131. AUTHOR: mat@FreeBSD.org
  1132. To ease future work, a new SITE_ARCH variable and PLIST_SUB replacement
  1133. containing SITE_PERL/PERL_ARCH has been added.
  1134. 20141102:
  1135. AUTHOR: bdrewery@FreeBSD.org
  1136. SSP is now default. This can be disabled with WITHOUT_SSP.
  1137. SSP_CFLAGS defaults to -fstack-protector.
  1138. SSP will be used on all amd64 releases. It will only be used on i386
  1139. releases over 10.0.
  1140. 20141007:
  1141. AUTHOR: mat@FreeBSD.org
  1142. The @cwd [path] construct in plist files is deprecated. Instead of adding
  1143. those lines to the plist:
  1144. @cwd /
  1145. etc/rc.d/foo
  1146. var/db/bar
  1147. @cwd /some
  1148. @exec mkdir -p %D/nested/dir
  1149. add this:
  1150. /etc/rc.d/foo
  1151. /var/db/bar
  1152. @exec mkdir -p /some/nested/dir
  1153. 20141002:
  1154. AUTHOR: bapt@FreeBSD.org
  1155. New BUNDLE_LIBS knobs to allow a port to tell pkg(8) not to compute provided
  1156. libraries, this is to be used when a port bundles libraries it doesn't want
  1157. to expose to other ports.
  1158. 20141001:
  1159. AUTHOR: tijl@FreeBSD.org
  1160. Support for autoconf213, autoheader213, aclocal14 and automake14 has been
  1161. removed from USE_AUTOTOOLS.
  1162. 20140930:
  1163. AUTHOR: bdrewery@FreeBSD.org
  1164. Building ports in a chroot or jail have always required a particular
  1165. environment be setup. This was not clear though and the ports framework
  1166. did not enforce it. These requirements are:
  1167. 1. Either a SRC_BASE/sys/sys/param.h, or /usr/include/sys/param.h be
  1168. present with the __FreeBSD_version_ number of the target system,
  1169. or OSVERSION be set in the environment. Lack of these would fallback
  1170. on kern.osreldate before, which is no longer the case.
  1171. 2. UNAME_r,UNAME_v,UNAME_s all must be set for the target system.
  1172. Not having these values in sync will now cause the build to error until it is
  1173. resolved.
  1174. Setting these in the environment can be done via your own wrapper scripts,
  1175. or /etc/login.conf (along with cap_mkdb /etc/login.conf) or
  1176. via /etc/make.conf using appropriate values. Note that OSVERSION is redundant
  1177. if a proper param.h is in the environment:
  1178. OSVERSION+= 1100036
  1179. UNAME_ENV+= OSVERSION=${OSVERSION}
  1180. UNAME_ENV+= UNAME_s=FreeBSD
  1181. UNAME_ENV+= UNAME_r=11.0-CURRENT
  1182. UNAME_ENV+= UNAME_v="${UNAME_s} ${UNAME_r}"
  1183. .MAKEFLAGS: ${UNAME_ENV}
  1184. MAKE_ENV+= ${UNAME_ENV}
  1185. CONFIGURE_ENV+= ${UNAME_ENV}
  1186. SCRIPTS_ENV+= ${UNAME_ENV}
  1187. 20140922:
  1188. AUTHOR: bapt@FreeBSD.org
  1189. pkg(8) now handles the directories under PREFIX automatically,
  1190. and will automatically remove them as needed.
  1191. A new @dir keyword has been introduced to handle directories specially:
  1192. - directories with special owner, group, or permissions (access mode)
  1193. - empty directories
  1194. - directories out of PREFIX
  1195. As a consequence @dirrm and @dirrmtry are now considered deprecated.
  1196. Credentials can now be passed in arguments to keywords
  1197. (the empty keyword means "regular file"):
  1198. @(user,group,mode) file1
  1199. @dir(user,group,mode) directory_with_special_owner_or_mode
  1200. PLIST_DIRSTRY is now considered deprecated, use PLIST_DIRS instead.
  1201. 20140917:
  1202. AUTHOR: tijl@FreeBSD.org
  1203. Support for USE_AUTOTOOLS=libtool, USE_GNOME=ltasneededhack,
  1204. USE_GNOME=lthack and USE_GNOME=ltverhack has been removed.
  1205. Ports should use USES=libtool instead.
  1206. Support for USE_AUTOTOOLS=libltdl has been removed.
  1207. Ports should use LIB_DEPENDS=libltdl.so:${PORTSDIR}/devel/libltdl
  1208. 20140916:
  1209. AUTHOR: tijl@FreeBSD.org
  1210. The installation of *.la files without some form of USES=libtool in the
  1211. port Makefile will now result in a stage-qa error.
  1212. Previously this would only cause a warning.
  1213. The :keepla argument to USES=libtool is no longer special. It is now
  1214. only needed if a port uses *.la files at run time and no longer to fix
  1215. link problems in other ports.
  1216. 20140901:
  1217. AUTHOR: bapt@FreeBSD.org
  1218. Support for pkg_install has been removed.
  1219. Note that WITH_PKGNG is now called WITH_PKG (still used to define 'devel')
  1220. WITH_PKGNG remains for compatibility
  1221. @stopdaemon support has gone, pkg(8) has a generic mechanism to
  1222. provide the same function, see HANDLE_RC_SCRIPTS in pkg.conf(5).
  1223. 20140901:
  1224. AUTHOR: bapt@FreeBSD.org
  1225. Support for NO_STAGE has been removed.
  1226. 20140825:
  1227. AUTHOR: antoine@FreeBSD.org
  1228. Support for NOPORTDATA has been removed.
  1229. 20140809:
  1230. AUTHOR: mva@FreeBSD.org
  1231. The Python language bits of the ports framework have been converted
  1232. to USES. Instead of USE_PYTHON, please use USES=python instead.
  1233. USE_PYTHON=yes becomes USES=python
  1234. USE_PYTHON=2.7+ becomes USES=python:2.7+
  1235. USE_PYTHON_BUILD=3.3 becomes USES=python:3.3,build
  1236. ...
  1237. Additionally, several Python specific features have been converted
  1238. to USES-inspired USE_PYTHON=<featureA>,<featureB>.
  1239. USE_PYDISTUTILS becomes USE_PYTHON=distutils
  1240. PYDISTUTILS_AUTOPLIST becomes USE_PYTHON=autoplist
  1241. ...
  1242. Please read the header comments of Uses/python.mk for more details
  1243. about the new and changed bits and pieces. You will find a list of
  1244. deprecated variables and how to replace them in your own ports at
  1245. the end of the header comment.
  1246. 20140715:
  1247. AUTHOR: bapt@FreeBSD.org
  1248. LIB_DEPENDS only supports one form: lib*.so
  1249. 20140708:
  1250. AUTHOR: mva@FreeBSD.org
  1251. Support for installations based on the easy_install setup.py target has
  1252. been removed from the Ports framework for Python software. The
  1253. PYEASYINSTALL_* knobs and support for USE_PYDISTUTILS=easy_install have
  1254. been removed.
  1255. 20140623:
  1256. AUTHOR: bapt@FreeBSD.org
  1257. IGNOREFILES is not supported anymore, it was an unsafe feature allowing to
  1258. use unchecked files downloaded from untrusted places to be used in the ports
  1259. tree.
  1260. 20140607:
  1261. AUTHOR: mva@FreeBSD.org
  1262. New PYTHON_CONCURRENT_INSTALL knob to support the parallel installation
  1263. of ports for different python versions.
  1264. If set to yes, the knob indicates that the port can be installed for
  1265. different python versions at the same time. The port will use a unique
  1266. prefix for certain directories using USES=uniquefiles:dirs (see the
  1267. uniquefiles.mk Uses for details about the directories). Binaries
  1268. receive an additional suffix, based on ${PYTHON_VER}.
  1269. The values for the uniquefiles USES are set as follows:
  1270. UNIQUE_PREFIX= ${PYTHON_PKGNAMEPREFIX}
  1271. UNIQUE_SUFFIX= -${PYTHON_VER}
  1272. If the port is installed for the current default python version, scripts and
  1273. binaries in
  1274. ${PREFIX}/bin
  1275. ${PREFIX}/sbin
  1276. ${PREFIX}/libexec
  1277. are linked from the prefixed version to the prefix-less original name,
  1278. e.g. bin/foo-2.7 --> bin/foo.
  1279. 20140529:
  1280. AUTHOR: miwi@FreeBSD.org
  1281. USE_GMAKE is no longer supported, please use USES=gmake instead
  1282. 20140526:
  1283. AUTHOR: bapt@FreeBSD.org
  1284. USE_DOS2UNIX is no longer supported, USES=dos2unix should be used instead
  1285. 20140525:
  1286. AUTHOR: mat@FreeBSD.org
  1287. Add a USE_PERL5=fixpacklist to account for ports creating a .packlist file
  1288. referencing ${STAGEDIR} when not using USE_PERL5=configure or
  1289. USE_PERL5=modbuildtiny.
  1290. 20140505:
  1291. AUTHOR: bapt@FreeBSD.org
  1292. :U and :L syntax is not supported anymore in the ports tree, :tu and :tl
  1293. should be used instead
  1294. This makes the ports tree incompatible with make(1) version that does not
  1295. support :tu and :tl (aka FreeBSD 8.3 and earlier)
  1296. 20140428:
  1297. AUTHOR: bapt@FreeBSD.org
  1298. EXTRA_PATCHES has been extended to support a new syntax:
  1299. EXTRA_PATCHES= file:-pX
  1300. Where X is the pathname strip count passed to patch(1)
  1301. 20140423:
  1302. AUTHOR: tijl@FreeBSD.org
  1303. The semantics of USES=libtool have changed. It now deletes .la libraries
  1304. from the staging area to reduce overlinking. USES=libtool:keepla can be
  1305. used in case they need to be kept. This form still modifies .la libraries
  1306. to remove references to other libraries to reduce overlinking.
  1307. Note that .la libraries have to kept around as long as there are .la
  1308. libraries from other ports that refer to them. Those ports need to use
  1309. some form of USES=libtool first such that those references are removed.
  1310. 20140419:
  1311. AUTHOR: bdrewery@FreeBSD.org
  1312. check-orphans has been renamed to check-plist. It now checks:
  1313. A. Files in STAGEDIR that are missing from plist.
  1314. To make check-plist ignore a file *as an orphan* do one of the
  1315. following:
  1316. 1. Install it
  1317. 2. post-install: ${RM} ${STAGEDIR}file
  1318. 3. Put the file behind an OPTION with a PLIST_SUB: %%OPTION%%file
  1319. 4. Add to plist as a @comment
  1320. @comment file
  1321. @comment @dirrmtry dir
  1322. B. Files in plist missing from STAGEDIR
  1323. C. Files in plist which are owned by dependencies/MTREEs
  1324. 20140416:
  1325. AUTHOR: bdrewery@FreeBSD.org
  1326. The default target for 'make' now runs 'make stage' if the port supports
  1327. it, otherwise 'make build' as before.
  1328. 20140411:
  1329. AUTHOR: bdrewery@FreeBSD.org
  1330. A new plist keyword has been added, @sample. It accepts a file (must end in
  1331. .sample):
  1332. @sample file.conf.sample
  1333. This will install file.conf.sample and copy it to file.conf. The file.conf
  1334. will be removed if it matches file.conf.sample on deinstall.
  1335. This replaces older patterns of:
  1336. @unexec if cmp -s %D/etc/pkgtools.conf %D/etc/pkgtools.conf.sample; then rm -f %D/etc/pkgtools.conf; fi
  1337. etc/pkgtools.conf.sample
  1338. @exec [ -f %B/pkgtools.conf ] || cp %B/%f %B/pkgtools.conf
  1339. 20140312:
  1340. AUTHOR: bapt@FreeBSD.org
  1341. Two new USES were added to finish handling distfiles formats a consistent way:
  1342. USES=tar[:[xz|bzip2|Z|tgz]] handles distributions files in format:
  1343. - plain tar
  1344. - tar.xz
  1345. - tar.bz2
  1346. - tar.Z
  1347. - tgz
  1348. USES=lha handles distributions files info LHA format
  1349. 20140307:
  1350. AUTHOR: rene@FreeBSD.org
  1351. Two new USES were added by bapt@FreeBSD.org :
  1352. USES=zip handles distribution files in Zip format. InfoZip files
  1353. need USES=zip:infozip
  1354. USES=makeself handles distribution files in makeself format.
  1355. 20140303:
  1356. AUTHOR: kde@FreeBSD.org
  1357. Add support for Qt 5 via USE_QT5. USE_QT5 is analogous to USE_QT4,
  1358. the only difference is the list of available components
  1359. (see Mk/bsd.qt.mk for details). USES=qmake supports Qt 5 as well.
  1360. 20140224:
  1361. AUTHOR: bapt@FreeBSD.org
  1362. Deprecate support for KNOBS, the new option framework allows to express a
  1363. more consistent, user friendly and visible way the same feature.
  1364. 20140127:
  1365. AUTHOR: mat@FreeBSD.org
  1366. Add two new options helpers:
  1367. ${OPT}_${TYPE}_DEPENDS_OFF=<something> will automatically add:
  1368. ${TYPE_DEPENDS}+=<something> in case OPT is 'off'
  1369. ${OPT}_${FLAG}_OFF=<something> will automatically add:
  1370. ${FLAG}+=<something> in case OPT is 'off'
  1371. 20140111:
  1372. AUTHOR: mva@FreeBSD.org
  1373. New USES=uniquefiles to make files or directories unique
  1374. by adding a prefix or suffix to them.
  1375. Files listed in UNIQUE_PREFIX_FILES will receive the prefix
  1376. set via UNIQUE_PREFIX. The same applies to UNIQUE_SUFFIX_FILES,
  1377. but with the chosen UNIQUE_SUFFIX. UNIQUE_PREFIX and
  1378. UNIQUE_SUFFIX are set to PKGNAMEPREFIX and PKGNAMESUFFIX by
  1379. default.
  1380. The uniquefiles USES enables ports to name files in special
  1381. ways, e.g. by outlining that the port does not support X11
  1382. (-nox11). A binary named bin/foo thus can be easily renamed
  1383. to bin/foo-featureA via
  1384. USES= uniquefiles
  1385. UNIQUE_SUFFIX= -featureA
  1386. UNIQUE_SUFFIX_FILES= bin/foo
  1387. The uniquefiles USES automatically adjusts the plist at
  1388. installation time. There is no need to consider the prefix
  1389. or suffix in the pkg-plist file itself. If the original name
  1390. of the renamed file is bin/foo, this exact name should be put
  1391. into pkg-plist.
  1392. The dirs argument to USES=uniquefiles will cause certain
  1393. standard directories, such as DOCSDIR or EXAMPLESDIR to be
  1394. prepended with the UNIQUE_PREFIX. The change to the directories
  1395. will hapen prior to configuring or building the port, so that
  1396. the port Makefile as well as the port's build logic are aware
  1397. of the changed name.
  1398. Since the uniquefiles USES effectively manipulates the port's
  1399. installation and file layout, it will only be available for
  1400. stagedir-aware ports. Ports with NO_STAGE=yes will be unable
  1401. to use the uniquefiles USES.
  1402. 20131218:
  1403. AUTHOR: mva@FreeBSD.org
  1404. lang/python (and as such the 'python' binary and accomplices)
  1405. has been removed as default dependency for the USE_PYTHON,
  1406. USE_PYTHON_BUILD and USE_PYTHON_RUN knobs.
  1407. Ports need to use a designated (default) python interpreter
  1408. to build and install and in most cases for execution in the user
  1409. environment. Ports that install python scripts, which are not
  1410. limited to a certain python version (or version range), can
  1411. include lang/python as build and/or run dependency.
  1412. USE_PYTHON=yes and similar knobs will only pull in the
  1413. default python version (e.g. lang/python27), but none
  1414. of the meta ports or lang/python itself.
  1415. Please use lang/python as build or run-time dependency only,
  1416. if there is no other way to get a port working properly, since
  1417. the usage of lang/python complicates package builds for different
  1418. python versions.
  1419. 20131213:
  1420. AUTHOR: tijl@FreeBSD.org
  1421. New USES=fortran to replace USE_FORTRAN.
  1422. USE_FORTRAN=yes can be replaced with USES=fortran or USES=fortran:gcc.
  1423. USE_FORTRAN=ifort can be replaced with USES=fortran:ifort.
  1424. USE_FORTRAN=f77 is deprecated and the version of gcc it depends
  1425. on (lang/gcc34) is scheduled to be removed.
  1426. Note that USE_FORTRAN=yes also makes GCC the C/C++ compiler while
  1427. USES=fortran only sets the Fortran compiler and can be used together
  1428. with Clang as C/C++ compiler.
  1429. 20131208:
  1430. AUTHOR: mva@FreeBSD.org
  1431. New USES=twisted, to replace the old USE_TWISTED knob.
  1432. twisted can be configured with the arguments run or build to replace
  1433. the previous USE_TWISTED_RUN and USE_TWISTED_BUILD knobs. The twisted
  1434. components can be added as comma-separated arguments. If you previously
  1435. wrote
  1436. USE_TWISTED= yes
  1437. USE_TWISTED= conch names
  1438. USE_TWISTED_RUN= yes
  1439. you now would write
  1440. USES= twisted
  1441. USES= twisted:conch,names
  1442. USES= twisted:run
  1443. 20131119:
  1444. AUTHOR: kwm@FreeBSD.org
  1445. The USE_GNOME component ltverhack no longer has a hard dependancy on
  1446. libtool.
  1447. If USE_AUTOTOOLS=libtool isn't defined it will try to patch ltmain.sh
  1448. and or libtool in ${WRKSRC}. If those files are located somewhere else
  1449. in ${WRKSRC} then it is possible to overwrite ltverhack_PATCH_FILES
  1450. with there new locations. configure script --distable-static will work also
  1451. after using the "new" ltverhack.
  1452. Please keep in mind that USE_AUTOTOOLS implies GNU_CONFIGURE so you might
  1453. need to add that back for the port to work.
  1454. 20131031:
  1455. AUTHOR: rene@FreeBSD.org
  1456. Add a new USES for kernel module ports.
  1457. USES=kmod takes no arguments and:
  1458. - adds kld to CATEGORIES
  1459. - sets SSP_UNSAFE
  1460. - sets IGNORE if the kernel sources are not found
  1461. - defines KMODDIR to /boot/modules by default, add it to
  1462. PLIST_SUB and MAKE_ENV, and create it upon installation
  1463. - handles cross-referencing kernel modules upon installation and
  1464. deinstallation
  1465. 20131021:
  1466. AUTHOR: amdmi3@FreeBSD.org
  1467. share/applications directory was added to the mtree, meaning that
  1468. you no longer need to create or remove it in your ports.
  1469. 20131008:
  1470. AUTHOR: bapt@FreeBSD.org
  1471. New "compiler" USES to be able to select the compiler based on the
  1472. features it provides.
  1473. Supported arguments are:
  1474. - c++11-lang: the port needs a c++11 aware compiler what ever standard
  1475. library it uses, implies features
  1476. - c++11-lib: the port needs a c++11 standard library, implies features
  1477. - c11: the ports needs a c11 aware compiler implies features
  1478. - features: this will create a COMPILER_FEATURES variable which contains
  1479. the list of features ${CC} do support, implies env.
  1480. - env: the COMPILER_TYPE will be set to either gcc or clang.
  1481. By default the uses will try to use clang33 from ports when nothing in
  1482. base is relevant except if the user explicitly defines
  1483. FAVORITE_COMPILER=gcc in his make.conf
  1484. 20131008:
  1485. AUTHOR: makc@FreeBSD.org
  1486. New USES: qmake, configure tool widely used among Qt based projects.
  1487. New framework is stage-friendly. To convert existing ports remove
  1488. custom configure target, adjust QMAKE_ENV, QMAKE_ARGS, QMAKE_PRO if
  1489. required (see Mk/Uses/qmake.mk for details).
  1490. 20131005:
  1491. AUTHOR: bdrewery@FreeBSD.org
  1492. PATCHFILES now support an optional :-pX flag that notes which patch strip
  1493. level to use. This allows multiple patches in 1 port to use different
  1494. PATCH_DIST_STRIP values without changing PATCH_DIST_STRIP.
  1495. Syntax: PATCHFILES= patch[:-pX][:distgroup]
  1496. 20131003:
  1497. AUTHOR: bapt@FreeBSD.org
  1498. New USES: scons, to handle properly the scons building system, this
  1499. this also gives the scons packages user the ability to respect MAKE_JOBS.
  1500. 20130924:
  1501. AUTHOR: bapt@FreeBSD.org
  1502. Stage aware ports can now create package without the requirement from
  1503. being root.
  1504. If a port really needs root anyway it should add NEED_ROOT in its
  1505. Makefile.
  1506. For a port that needs special credential on files DO NOT RELY on
  1507. chown in post-install section but rely on @own, @group in pkg-plist
  1508. Be careful about rights on directories as pkg_install cannot store them
  1509. they needs to be done via @exec chown.
  1510. 20130923:
  1511. AUTHOR: bapt@FreeBSD.org
  1512. The ports tree is now staged by default. With pkgng the sequence hasn't
  1513. changed, the main difference is that creating package is now independent
  1514. from installing it. With pkg_install, the package is now created first
  1515. and make install, do install the package.
  1516. New macros:
  1517. - STAGEDIR: PATH to the directory where the port will be staged.
  1518. - NO_STAGE: Keep the old behaviour of the ports tree (aka no staging area)
  1519. Unsupported macro if NO_STAGE is not set:
  1520. - MAN* with staging man page compression and handling of hardlinks and
  1521. symlinks is automatically done in the stage. the manpages becomes then a
  1522. "normal" plist files and should be tracked in pkg-plist.
  1523. - MANCOMPRESSED the compress-man target is able to only compress when it
  1524. needed.
  1525. New target:
  1526. - stage: this installs everything into the stage directory
  1527. - makeplist: this will create a pkg-plist and print it to stdout. This is
  1528. a sample plist and it should always be _reviewed_ not directly used.
  1529. NOTE: with staging only what is in the plist will be installed, nothing more,
  1530. meaning a port staged cannot have leftovers except directories left. It is
  1531. really important to double check the pkg-plist to make sure all the files
  1532. the maintainer wants to package are in! make makeplist can help in that area.
  1533. 20130923:
  1534. AUTHOR: mva@FreeBSD.org
  1535. * New USES: zope
  1536. This replaces the previous USE_ZOPE knob. All other zope related knobs
  1537. for port Makefiles still exist. See Mk/Uses/zope.mk for details.
  1538. 20130920:
  1539. AUTHOR: bdrewery@FreeBSD.org
  1540. SSP support has been added to ports with WITH_SSP_PORTS for i386 and amd64
  1541. on FreeBSD 10, and amd64 on earlier versions.
  1542. SSP_UNSAFE is added to disable in a port if it fails to build, but
  1543. this should only be used in rare circumstances such as kernel modules.
  1544. Otherwise, the port may just be failing due to lack of respecting
  1545. LDFLAGS.
  1546. On FreeBSD 10, this uses an ldscript in /usr/lib/libc.so to pull in
  1547. libssp_nonshared.a to address issues linking on i386 [1].
  1548. On earlier FreeBSD versions the WITH_SSP_PORTS knob will add -lssp_nonshared
  1549. to LDFLAGS on i386. This is not needed on amd64. However, several hundred
  1550. ports do not currently respect LDFLAGS, so this support is disabled currently
  1551. as it causes build failures if a dependency is looking for the stack_chk
  1552. symbols.
  1553. [1] http://svnweb.freebsd.org/base/head/lib/libc/libc.ldscript?revision=251668&view=markup
  1554. 20130919:
  1555. AUTHOR: gahr@FreeBSD.org
  1556. * New USES: tcl, tk
  1557. This uses replaces all the previous USE_TCL, USE_TCL_BUILD, USE_TCL_RUN,
  1558. USE_TCL_WRAPPER, USE_TK, USE_TK_BUILD, USE_TK_RUN and USE_TK_WRAPPER macros.
  1559. See the Mk/Uses/tcl.mk and the commit message of r327607 for details.
  1560. Moreover, the default Tcl/Tk version is now specified in terms of
  1561. bsd.default-versions.mk. It is now possible to specify one's preferred Tcl/Tk
  1562. version using DEFAULT_VERSIONS+= tcltk=x.y in make.conf.
  1563. 20130918:
  1564. AUTHOR: bapt@FreeBSD.org
  1565. The perl framework is not included unconditionally and the old framework
  1566. is not recognized anymore, the following MACROS has been removed:
  1567. * PERL_CONFIGURE
  1568. * USE_PERL5_RUN
  1569. * USE_PERL5_BUILD
  1570. * PERL_MODBUILD
  1571. 20130904:
  1572. AUTHOR: madpilot@FreeBSD.org
  1573. To allow ports to work with the iconv implementation in 10-CURRENT after
  1574. commit r254273 the USES=iconv options now conditionally adds a dependency
  1575. depending on the FreeBSD version. It also defines a few utility variables
  1576. which can be used in the ports:
  1577. ICONV_CMD: location of the iconv binary.
  1578. after r254273: /usr/bin/iconv
  1579. before: ${LOCALBASE}/bin/iconv
  1580. ICONV_LIB: ld(1) flags to get the iconv DSO.
  1581. after r254273: empty
  1582. before: -liconv
  1583. ICONV_CONFIGURE_ARG: String that can be passed to configure
  1584. scripts to hint the location of the libiconv library.
  1585. after r254273: empty
  1586. before: --with-libiconv-prefix=${LOCALBASE}
  1587. 20130902:
  1588. AUTHOR: bapt@FreeBSD.org
  1589. USE_GNOME=pkgconfig is not supported anymore by the ports tree, please
  1590. uses: USES=pkgconfig
  1591. 20130831:
  1592. AUTHOR: bdrewery@FreeBSD.org
  1593. crees has added USE_PACKAGE_DEPENDS_ONLY which works like
  1594. USE_PACKAGE_DEPENDS but will not fallback on source if a
  1595. package is missing.
  1596. 20130731:
  1597. AUTHOR: bapt@FreeBSD.org
  1598. * New USES: perl5
  1599. This uses replaces all the previous perl macros. Here is how to migrate:
  1600. Always include perl5:
  1601. USES= perl5
  1602. If USE_PERL5 is undefined then perl5 will be a build and run dependency
  1603. Migrating to new USE_PERL5:
  1604. =======================================================
  1605. | BEFORE | AFTER |
  1606. =======================================================
  1607. | PERL_CONFIGURE=yes | USE_PERL5= configure |
  1608. -------------------------------------------------------
  1609. | USE_PERL5_RUN=yes | USE_PERL5=run |
  1610. -------------------------------------------------------
  1611. | USE_PERL5_BUILD=yes | USE_PERL5=build |
  1612. -------------------------------------------------------
  1613. | PERL_MODBUILD=yes | USE_PERL5=modbuild |
  1614. -------------------------------------------------------
  1615. | USE_PERL5=yes | |
  1616. -------------------------------------------------------
  1617. | USE_PERL5=5.14+ | USE_PERL5= 5.14+ |
  1618. -------------------------------------------------------
  1619. | PERL_CONFIGURE= 5.14+ | USE_PERL5=5.14+ configure |
  1620. -------------------------------------------------------
  1621. | PERL_MODBUILD= 5.14+ | USE_PERL5=5.14+ modbuild |
  1622. -------------------------------------------------------
  1623. 20130726:
  1624. AUTHOR: rene@FreeBSD.org
  1625. * With the removal of QT 3/KDE 3, the following are no longer recognized:
  1626. - USE_KDEBASE_VER
  1627. - USE_KDELIBS_VER
  1628. - USE_QT_VER
  1629. Mk/bsd.kde.mk has been removed, it was only used for QT 3/KDE 3.
  1630. 20130628:
  1631. AUTHOR: bapt@FreeBSD.org
  1632. * New USES: imake
  1633. This uses replaces USE_IMAKE, it handles dependency on imake. Its only argument
  1634. is 'env', which prevent from defining the do-configure target.
  1635. * New LATE_INSTALL_TARGET
  1636. This content of this new macro is appended to INSTALL_TARGET
  1637. 20130620:
  1638. AUTHOR: bapt@FreeBSD.org
  1639. * New USES: fmake
  1640. This uses will allow to build ports using the legacy FreeBSD make, for ports
  1641. not compatible with bmake
  1642. 20130614:
  1643. AUTHOR: bapt@FreeBSD.org
  1644. * New macros to help dealing with ports that have options:
  1645. OPTIONS_SUB=yes when set in a port, all the option names are automatically
  1646. added to the PLIST_SUB with "@comment " value in case the option is off and
  1647. empty value in case the options is on.
  1648. ${OPT}_CONFIGURE_ENABLE=<aname> will automatically add:
  1649. CONFIGURE_ARGS+=--enable-<aname> in case OPT is activated
  1650. CONFIGURE_ARGS+=--disable-<aname> in case OPT is deactivated
  1651. ${OPT}_CONFIGURE_ON=<something> will automatically add:
  1652. CONFIGURE_ARGS+=<something> in case OPT is activated
  1653. ${OPT}_CONFIGURE_OFF=<something> will automatically add:
  1654. CONFIGURE_ARGS+=<something> in case OPT is deactivated
  1655. ${OPT}_CFLAGS will append the specified new flags to CFLAGS if OPT is 'on'
  1656. ${OPT}_CXXFLAGS will append the specified new flags to CXXFLAGS if OPT is 'on'
  1657. ${OPT}_LDFLAGS will append the specified new flags to LDFLAGS if OPT is 'on'
  1658. ${OPT}_CONFIGURE_ENV will append the specified variables to CONFIGURE_ENV if
  1659. OPT is 'on'
  1660. ${OPT}_MAKE_ENV will append the specified variables to MAKE_ENV if OPT is 'on'
  1661. ${OPT}_USES will append the speficied uses to USES if OPT is 'on'
  1662. ${OPT}_DISTFILES will append the specified distiles to DISTFILES if OPT in 'on'
  1663. ${OPT}_CMAKE_ON=<something> will automatically add:
  1664. CMAKE_ARGS+=<something> in case OPT is activated
  1665. ${OPT}_CMAKE_OFF=<something> will automatically add:
  1666. CMAKE_ARGS+=<something> in case OPT is deactivated
  1667. ${OPT}_${TYPE}_DEPENDS=<something> will automatically add:
  1668. ${TYPE_DEPENDS}+=<something> in case OPT is 'on'
  1669. 20130614:
  1670. AUTHOR: bapt@FreeBSD.org
  1671. * New 'display' USES macro to handle building ports that may require a
  1672. a display to build.
  1673. USES= display[:install] will start Xvfb and set the DISPLAY environment
  1674. variable before the installation phase and stop it at the end. (install is
  1675. the implicit value)
  1676. USES= display:build will start Xvfb and set the DISPLAY environment variable
  1677. before the build phase and stop it at the end.
  1678. 20130607:
  1679. AUTHOR: bdrewery@FreeBSD.org
  1680. * Checks were added to block GH_TAGNAME=master as this is not a valid
  1681. setup. A known hash or tag should be used for GH_TAGNAME instead of
  1682. a branch name. As soon as a branch is updated, the known checksum
  1683. in the distinfo would then be invalid.
  1684. 20130606:
  1685. AUTHOR: bdrewery@FreeBSD.org
  1686. * WRKSRC_SUBDIR has been added to simplify overriding WRKSRC
  1687. to use a subdirectory:
  1688. WRKSRC= ${WRKDIR}/${DISTNAME}/src
  1689. Becomes:
  1690. WRKSRC_SUBDIR= src
  1691. 20130606:
  1692. AUTHOR: bapt@FreeBSD.org
  1693. The OPTIONS macro is no longer recognized, please use the new options
  1694. framework.
  1695. 20130509:
  1696. AUTHOR: kwm@FreeBSD.org
  1697. * Two new USES macros to handle mime data of ports.
  1698. USES= desktop-file-utils
  1699. Handles MimeType in .desktop files that are installed in
  1700. share/applications.
  1701. USES= shared-mime-info
  1702. For supporting mime xml files installed in
  1703. share/mime/packages.
  1704. The desktop-file-utils USES is only needed if the .desktop files
  1705. installed by the port has a MimeType field.
  1706. USE_GNOME=desktopfileutils is deprecated.
  1707. The shared-mime-info USES handles mime types xml files.
  1708. Please note that only the packages/${NAME}.xml file should be listed in
  1709. the plist. The shared-mime-info port will clean up the share/mime/*
  1710. directories and generated files.
  1711. Both USES have there own post-install and code that adds @exec/@unexec
  1712. lines to the pkg-plist. This means that when a port switches to the
  1713. USES macro, the related post-install command and @exec/@unexec
  1714. lines can be removed from the prot.
  1715. 20130507:
  1716. AUTHOR: bapt@FreeBSD.org
  1717. * New USES macro to handle setting correct shebang to scripts
  1718. By default it will fix bash, perl, php, ruby and python on all files specified
  1719. in the SHEBANG_FILES macro (glob pattern relative to ${WRKSRC})
  1720. Paths can be customized, and number of languages supported can be extended.
  1721. * USE_GETTEXT, USE_NCURSES, USE_READLINE are no longer recognized
  1722. 20130506:
  1723. AUTHOR: bapt@FreeBSD.org
  1724. * New USES macro to handle linking on ncurses and on readline
  1725. USES= ncurses will set env and make the port link to base version of ncurses
  1726. if no port version is installed otherwise it will link against port version
  1727. USES= ncurses:port will for the port to link against the ports version of
  1728. ncurses
  1729. USES= ncurses:base will force to link against base version of ncurses.
  1730. USES= readline will make the port link against base version of readline except
  1731. on 10+ where it will force dependency on the port version of readline
  1732. USES= readline:port will anyway force dependency on the port version of
  1733. readline.
  1734. 20130426:
  1735. AUTHOR: mva@FreeBSD.org
  1736. * USE_ICONV has been deprecated and converted into the iconv USE
  1737. feature
  1738. USES= iconv
  1739. 20130425:
  1740. AUTHOR: bapt@FreeBSD.org
  1741. * USE_CDRTOOLS is no longer recognized
  1742. * USE_FREETYPE is no longer recognized
  1743. 20130423:
  1744. AUTHOR: jgh@FreeBSD.org
  1745. * New USES macro to handle support for gettext dependency:
  1746. USES= gettext:build will add gettext into BUILD_DEPENDS
  1747. USES= gettext:run will add gettext into RUN_DEPENDS
  1748. USES= gettext:lib will add gettext into LIB_DEPENDS
  1749. It deprecates USE_GETTEXT which will be removed as soon as it is not
  1750. used anymore
  1751. 20130422:
  1752. AUTHOR: bdrewery@FreeBSD.org
  1753. * The entry for 20120830 to change CCACHE_DIR was not fully supported
  1754. by all ports. There is now a CCACHE_DIR variable that can be used
  1755. in /etc/make.conf for more complete coverage:
  1756. CCACHE_DIR=/var/cache/ccache
  1757. 20130422:
  1758. AUTHOR: bapt@FreeBSD.org
  1759. * New USES macro to handle support for pkgconf (pkg-config) dependency:
  1760. USES= pkgconfig[:build] will add pkgconf into BUILD_DEPENDS
  1761. USES= pkgconfig:run will add pkgconf into RUN_DEPENDS
  1762. USES= pkgconfig:both will add pkgconf into both RUN and BUILD DEPENDS
  1763. It deprecates USE_PKGCONFIG which will be removed as soon as it is not
  1764. used anymore
  1765. 20130320:
  1766. AUTHOR: jgh@FreeBSD.org
  1767. * New USES macro to handle support for Zenoss ports and Zenpacks:
  1768. USES= zenoss
  1769. 20130319:
  1770. AUTHOR: makc@FreeBSD.org
  1771. * New USES macro should be used instead of deprecated USE_CMAKE and
  1772. CMAKE_OUTSOURCE:
  1773. USES= cmake:outsource
  1774. to perform out-of-source build (equivalent to former pair usage of
  1775. USE_CMAKE/CMAKE_OUTSOURCE)
  1776. USES= cmake
  1777. In-source build (equivalent to plain USE_CMAKE=yes) can be used if
  1778. project doesn't support out-of-source build.
  1779. 20130319:
  1780. AUTHOR: bapt@FreeBSD.org
  1781. * The options framework now uses ports-mgmt/dialog4ports contributed by
  1782. Ilya A. Arkhipov. It boostraps it if not present when one calls
  1783. make config.
  1784. dialog4ports provides a new UI able to represent all the features
  1785. provided by the new options framework.
  1786. 20130315:
  1787. AUTHOR: bdrewery@FreeBSD.org
  1788. * USE_QMAIL_RUN, USE_QMAIL_BUILD and WANT_QMAIL have been removed
  1789. and converted into the qmail USE feature
  1790. USES= qmail:run will add qmail into RUN_DEPENDS
  1791. USES= qmail:build will add qmail into BUILD_DEPENDS
  1792. USES= qmail[:both] will add qmail into both RUN and BUILD DEPENDS
  1793. USES= qmail:vars will set QMAIL_PREFIX
  1794. 20130315:
  1795. AUTHOR: bapt@FreeBSD.org
  1796. * Add new Keywords directory and first info.yaml keyword (@info).
  1797. Keywords directory will contain all the custom plist keywords allowing to
  1798. extend pkg-plist with new keywords. Only works with pkgng.
  1799. 20130307:
  1800. AUTHOR: bapt@FreeBSD.org
  1801. * New USES macro to handle on demand features, 2 examples has been added to
  1802. the ports tree:
  1803. pathfix: to replace USE_GNOME= gnomehack
  1804. fuse: to replace USE_FUSE= yes
  1805. 20130207:
  1806. AUTHOR: gahr@FreeBSD.org
  1807. * Use of PTHREAD_CFLAGS and PTHREAD_LIBS is unsupported. The former
  1808. expands to the empty string, while the second is simply -pthread.
  1809. Please use -pthread directly in your LDFLAGS, if needed.
  1810. 20121214:
  1811. AUTHOR: flo@FreeBSD.org
  1812. * Add a USE_FUSE macro to handle fuse dependencies. It makes
  1813. sure sysutils/fusefs-libs gets installed and depending on
  1814. fuse being in base or not it installs sysutils/fusefs-kmod.
  1815. 20121210:
  1816. AUTHOR: bapt@FreeBSD.org
  1817. * OPTIONS has been extended 2 new macros are available:
  1818. OPTIONS_RADIO - allows only 0 or 1 options to be selected
  1819. OPTIONS_GROUP - allows 0 or N options among to be selected
  1820. 20121010:
  1821. AUTHOR: bapt@FreeBSD.org
  1822. * IPV6 option is now activated by default for the whole ports tree
  1823. 20121010:
  1824. AUTHOR: bapt@FreeBSD.org
  1825. * The ports tree is now using pkgng as the default package manager
  1826. for HEAD. This only affects users of CURRENT -- users of other
  1827. branches need not take any action.
  1828. To keep pkg_install as the default package manager, use the new
  1829. WITHOUT_PKGNG knob in make.conf
  1830. 20120830:
  1831. AUTHOR: beat@FreeBSD.org
  1832. * CCACHE support for building ports has been added (depends on
  1833. devel/ccache). Therefore new user settable variables are available:
  1834. WITH_CCACHE_BUILD - Enable CCACHE support (Default off)
  1835. NO_CCACHE - Disable CCACHE support for example for certain
  1836. ports if CCACHE is enabled.
  1837. By default CCACHE uses $HOME/.ccache as cache directory. To use
  1838. a non-default cache directory this could be overwritten like:
  1839. MAKE_ENV+= CCACHE_DIR=/var/cache/ccache
  1840. 20120820:
  1841. AUTHOR: gahr@FreeBSD.org
  1842. * GitHub support has been integrated into bsd.sites.mk. In order to
  1843. fetch distfiles from GitHub, a port must define USE_GITHUB along
  1844. with the following variables:
  1845. GH_ACCOUNT - account name of the GitHub user hosting the project
  1846. default: not set, mandatory
  1847. GH_PROJECT - name of the project on GitHub
  1848. default: ${PORTNAME}
  1849. GH_TAGNAME - name of the tag to download (master, 2.0.1, ...)
  1850. default: ${DISTVERSION}
  1851. GH_COMMIT - first 7 digits of the commit that generated GH_TAGNAME
  1852. (man git-describe(1))
  1853. default: not set, mandatory
  1854. The port www/tivoka is an example how to use this mechanism.
  1855. 20120726:
  1856. AUTHOR: bapt@FreeBSD.org
  1857. * new macro USE_PKGCONFIG has been introduce in place of
  1858. USE_GNOME= pkgconfig
  1859. USE_PKGCONFIG= yes and USE_PKGCONFIG= build
  1860. for build only dependency
  1861. USE_PKGCONFIG= run
  1862. for run only dependency
  1863. USE_PKGCONFIG= both
  1864. for both build and run dependency
  1865. 20120715:
  1866. AUTHOR: beat@FreeBSD.org
  1867. * The ports tree moved from CVS to Subversion. A Subversion to
  1868. CVS exporter is in place to continue the support of CVSup but
  1869. do not commit to pcvs directly.
  1870. All commits have to be done in the new port Subversion repository
  1871. on svn.FreeBSD.org. You will find more information about
  1872. Subversion in the Ports Subversion Primer in the FreeBSD wiki,
  1873. in the "Committer's Guide" and the "Porter's Handbook".
  1874. If you are in doubt or unsure about a Subversion operation
  1875. please contact ports@FreeBSD.org.
  1876. 20120529:
  1877. AUTHOR: crees@FreeBSD.org
  1878. * OPTIONS has been updated with many changes and improvements.
  1879. Old-style OPTIONS declarations will continue to work for a while,
  1880. but do not introduce any into existing or new ports.
  1881. For further information, see the Porter's Handbook section on
  1882. Makefile Options.
  1883. 20110923:
  1884. AUTHOR: amdmi3@FreeBSD.org
  1885. * LDFLAGS is now passed to both the configure and make environments,
  1886. and should be handled just like CPPFLAGS (see previous entry).
  1887. Summarizing both LDFLAGS and CPPFLAGS changes, where you would
  1888. have used
  1889. CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
  1890. LDFLAGS="-L${LOCALBASE}/lib"
  1891. MAKE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
  1892. LDFLAGS="-L${LOCALBASE}/lib"
  1893. now just use
  1894. CPPFLAGS+= "-I${LOCALBASE}/include"
  1895. LDFLAGS+= "-L${LOCALBASE}/lib"
  1896. Note that it's advised to append these variables (+=) instead
  1897. of overriding (=) to allow customization by user.
  1898. 20110320:
  1899. AUTHOR: gerald@FreeBSD.org
  1900. * CPPFLAGS is now passed to both the configure and make environments,
  1901. so this no longer needs to happen in individual ports by adding this
  1902. to CONFIGURE_ENV or MAKE_ENV. Rather, just set CPPFLAGS in the port
  1903. Makefile (if necessary).
  1904. For example, where you would have used
  1905. CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include"
  1906. MAKE_ENV= SOMETHING=foo CPPFLAGS="-I${LOCALBASE}/include"
  1907. now just use
  1908. CPPFLAGS= "-I${LOCALBASE}/include"
  1909. MAKE_ENV SOMETHING=foo
  1910. 20100831:
  1911. AUTHOR: autotools@FreeBSD.org
  1912. * USE_GETTEXT has been cleaned up.
  1913. 'build' BUILD time dependency only
  1914. 'run' RUN time dependency only
  1915. 'yes' LIBRARY dependency
  1916. 20100606:
  1917. AUTHOR: gerald@FreeBSD.org
  1918. * USE_GCC=4.3 is deprecated (and no port uses it anymore). USE_GCC=4.3+
  1919. is transparently rewritten to USE_GCC=4.4+ and lang/gcc43 will be
  1920. disconnected from the USE_GCC infrastructure soon.
  1921. 20100524:
  1922. AUTHOR: alepulver@FreeBSD.org
  1923. * The license support files (bsd.licenses.mk and bsd.licenses.db.mk) from
  1924. GSoc 2008/2009 have been committed. A new PH entry will be available
  1925. soon, but for the moment look at:
  1926. http://wiki.freebsd.org/PortsLicenseInfrastructure
  1927. Or, alternatively, the comments at the beginning of the mentioned files.
  1928. 20090906:
  1929. AUTHOR: flz@FreeBSD.org
  1930. * There is now a unified way to create users and groups
  1931. in your ports. First, make sure they are added to both
  1932. ports/GIDs and ports/UIDs, then add the following in
  1933. your port:
  1934. USERS= foo
  1935. GROUPS= foo
  1936. ... if you want your port to create the foo user and
  1937. group.
  1938. 20090812:
  1939. AUTHOR: portmgr@FreeBSD.org
  1940. * sourceforge.net has changed their URL layout to be more
  1941. flexible for their users. A new bsd.sites.mk macro SFP
  1942. has been added for projects that moved from
  1943. http://${mirror}/sourceforge/%SUBDIR%/
  1944. to
  1945. http://${mirror}/project/%SUBDIR%/
  1946. Note that %SUBDIR% is now highly individual for each
  1947. project and might need changing as well.
  1948. 20090521:
  1949. AUTHOR: portmgr@FreeBSD.org
  1950. * bsd.port.options.mk is now clear to be widely used.
  1951. 20090516:
  1952. AUTHOR: pgollucci@FreeBSD.org
  1953. * APACHE_COMPAT is dead!
  1954. * USE_APACHE=yes is dead!
  1955. * WITH_APACHE13, WITH_APACHE2, WITH_APACHE20, and WITH_APACHE22 are dead
  1956. You should set USE_APACHE=13|20|22+. WITH_APACHE option can
  1957. be used to conditional include support for ANY version of
  1958. Apache based on APACHE_PORT. Currently www/apache13
  1959. 20090207:
  1960. AUTHOR: pgollucci@FreeBSD.org
  1961. * devel/libslang dropped in favor of devel/libslang2
  1962. * WITH_SLANG2 has been removed. WITH_SLANG now implies
  1963. devel/libslang2.
  1964. 20080905:
  1965. AUTHOR: hrs@FreeBSD.org
  1966. * print/ghostscript-* and related ports have been renamed in the
  1967. following way:
  1968. print/ghostscript-gnu -> print/ghostscript7
  1969. print/ghostscript-gnu-nox11 -> print/ghostscript7-nox11
  1970. print/ghostscript-gnu-commfont -> print/ghostscript7-commfont
  1971. print/ghostscript-gpl -> print/ghostscript8
  1972. print/ghostscript-gpl-nox11 -> print/ghostscript8-nox11
  1973. japanese/ghostscript-gnu-jpnfont -> print/ghostscript7-jpnfont
  1974. korean/ghostscript-gnu-korfont -> print/ghostscript7-korfont
  1975. * USE_GHOSTSCRIPT now supports a version number which the port
  1976. requires. The valid value is "7" or "8". If other value is
  1977. specified, value of WITH_GHOSTSCRIPT_VER is used.
  1978. * WITH_GHOSTSCRIPT_GNU has been removed in favor of
  1979. WITH_GHOSTSCRIPT_VER. The valid value of WITH_GHOSTSCRIPT_VER is
  1980. "7" or "8", and the default value is "8".
  1981. 20080821:
  1982. AUTHOR: rafan@FreeBSD.org
  1983. * CONFIGURE_ARGS is updated to use correct syntax for newer autoconf
  1984. on the configure target. Individual ports no longer need to change
  1985. CONFIGURE_TARGET to have the '--build=' prefix.
  1986. 20080721:
  1987. AUTHOR: pav@FreeBSD.org
  1988. * Default OpenLDAP version was changed from 2.3 to 2.4.
  1989. * USE_GTK and USE_XPM variables are no longer recognized.
  1990. 20080523:
  1991. AUTHOR: flz@FreeBSD.org
  1992. * By default, ports-mgmt/pkg_install now sets up a wrapper to use ports
  1993. pkg_install (when installed) instead of base when the former is more
  1994. recent. This can be disabled in the options menu, or with the
  1995. WITHOUT_WRAPPER knob.
  1996. 20080414:
  1997. AUTHOR: pav@FreeBSD.org
  1998. * @rmtry is now supported in pkg-plist.
  1999. * USE_DISPLAY made more powerful, see comments in bsd.port.mk for details.
  2000. * ${PW} is now defined.
  2001. * LIB_DEPENDS can now be used with libraries with + sign in their name
  2002. without the need for escaping.
  2003. 20080312:
  2004. AUTHOR: pav@FreeBSD.org
  2005. * USE_XPM no longer implies USE_XLIB.
  2006. * USE_LDCONFIG can now be used to Linux binary ports that install shared
  2007. libraries instead of INSTALLS_SHLIB.
  2008. 20070908:
  2009. AUTHOR: gabor@FreeBSD.org, linimon@FreeBSD.org
  2010. * The Perl-related code parts have been extracted from bsd.port.mk to
  2011. bsd.perl.mk. This includes the user-settable knobs (e.g. USE_PERL5)
  2012. and infrastructure parts of the code, like default targets. The new
  2013. code is designed to be conditionally included based on either
  2014. USE_PERL5_*, PERL_CONFIGURE, or PERL_MODBUILD being set. However,
  2015. some of the default settings remain in bsd.port.mk while we make
  2016. sure that all ports comply with this.
  2017. * A convenient version handling has been implemented for Perl-related
  2018. knobs. With this new feature one can require a minimal, a maximal or an
  2019. exact version, that the given port needs. For the full description and
  2020. some examples, please see the documentation in bsd.perl.mk.
  2021. 20070804:
  2022. AUTHOR: gabor@FreeBSD.org
  2023. The following functional changes were made to bsd.*.mk and to
  2024. Tools/scripts/security-check.awk:
  2025. * The variable definitions that cover command line tools, e.g. MKDIR, were
  2026. extracted from bsd.port.mk into bsd.commands.mk, so that we can
  2027. reuse them within the infrastructure later.
  2028. * The old DESTDIR implementation was removed both from the infrastructure,
  2029. and from the individual ports. Variables like TARGETDIR should not longer
  2030. be used.
  2031. * A new DESTDIR implementation has been added, implemented in bsd.destdir.mk.
  2032. The new implementation puts no requirements on the individual ports.
  2033. 20070730:
  2034. AUTHOR: python@FreeBSD.org
  2035. * The default Python version has been changed from 2.4.x to 2.5.x.
  2036. * A number of variables have been added to bsd.python.mk to support
  2037. the more integrated support for Python eggs, including:
  2038. PYDISTUTILS_PKGNAME, PYDISTUTILS_PKGVERSION, PYEASYINSTALL_EGG,
  2039. PYDISTUTILS_NOEGGINFO, PYDISTUTILS_EGGINFO, PYEASYINSTALL_ARCHDEP
  2040. * More detailed descriptions of the variables can be found in the comments
  2041. in bsd.python.mk.
  2042. 20070723:
  2043. AUTHOR: rafan@FreeBSD.org
  2044. * The default CONFIGURE_ARGS when GNU_CONFIGURE is set now contains
  2045. --mandir and --infodir if configure script supports them.
  2046. 20070712:
  2047. AUTHOR: maho@FreeBSD.org
  2048. * Add knob USE_FORTRAN for ports which uses FORTRAN. All ports uses
  2049. FORTRAN compiler should use this knob. Usages are: USE_FORTRAN=yes
  2050. (default;gfortran42), USE_FORTRAN=ifc (Intel FORTRAN compiler)
  2051. and USE_FORTRAN=g77 (/usr/bin/f77 or g77-34).
  2052. 20070701:
  2053. AUTHOR: portmgr@FreeBSD.org
  2054. The following change was made to the ports infrastructure:
  2055. * Virtual category 'kld' was added. If the port installs kernel loadable
  2056. modules, it should be included in this category.
  2057. 20070524:
  2058. AUTHOR: portmgr@FreeBSD.org
  2059. The following changes were made to the ports infrastructure:
  2060. * The 'make-deinstall-all' target now checks for moved ports.
  2061. * The installation directories PORTEXAMPLES and PORTDATA are now defined.
  2062. * The USE_MAKESELF knob is added for ports that use the makeself archiver.
  2063. * The description of fetch-list was updated. The targets fetch-required-list,
  2064. fetch-url-list, and fetch-urlall-list were added.
  2065. * 'make search' will also now search in ports/MOVED.
  2066. * The default method for 'make update' is now portsnap. Previously,
  2067. you had to manually select one of 3 methods: SUP_UPDATE, CVS_UPDATE,
  2068. or PORTSNAP_UPDATE. The latter is now obsolete.
  2069. * Several Makevar definitions have been moved to the pre-makefile section:
  2070. DATADIR, DOCSDIR, ETCDIR, EXAMPLESDIR, WWWDIR.
  2071. 20070403:
  2072. AUTHOR: portmgr@FreeBSD.org
  2073. The following changes were made to the ports infrastructure:
  2074. * The default dependency of USE_GHOSTSCRIPT has been changed from
  2075. ghostscript-gnu to ghostscript-gpl. The WITH_GHOSTSCRIPT_GPL variable is
  2076. now no-op. New WITH_GHOSTSCRIPT_GNU variable was added.
  2077. * bsd.tcl.mk was overhauled. Most importantly, the semantics of USE_TCL* and
  2078. USE_TK* variables was changed. USE_TCL and USE_TK now implies both build
  2079. and run dependencies, USE_TCL_RUN and USE_TK_BUILD variables were
  2080. introduced. Existing ports in the tree were modified.
  2081. * Unused category 'tcl81' was removed, and new categories 'tcl' and 'tk'
  2082. were added.
  2083. 20070324:
  2084. AUTHOR: portmgr@FreeBSD.org
  2085. The following changes were made to the ports infrastructure:
  2086. * Default LIBTOOLFILES value was changed from literal `configure'
  2087. to ${CONFIGURE_SCRIPT}.
  2088. * bsd.efl.mk was moved to ports/Mk. USE_EFL family of macros is now
  2089. generally available to all ports.
  2090. * New macros COPYTREE_BIN and COPYTREE_SHARE were added, to allow
  2091. for easy installation of a tree hierarchy, either with executable (bin)
  2092. or read-only (share) permissions on files.
  2093. * A new variable WWWDIR was added, with default value of
  2094. ${PREFIX}/www/${PORTNAME}.
  2095. * Variables DOCSDIR_REL, DATADIR_REL, EXAMPLESDIR_REL and WWWDIR_REL were
  2096. added for porter's convenience. They contain the values of their
  2097. respective non-REL variables, except relative to installation PREFIX.
  2098. 20070313:
  2099. AUTHOR: portmgr@FreeBSD.org
  2100. The following changes were made to the ports infrastructure:
  2101. * bsd.ocaml.mk and bsd.xfce.mk were added.
  2102. * The FETCH_CMD was refactored so that ports can override the command,
  2103. the arguments, or both.
  2104. 20070306:
  2105. AUTHOR: portmgr@FreeBSD.org
  2106. The following changes were made to the ports infrastructure:
  2107. * The remaining vestiges of FreeBSD 4.X support were removed. Any
  2108. remaining users of 4.X should have stayed with the RELEASE_4_EOL tag.
  2109. * It is now possible to include USE_PHP after bsd.port.pre.mk.
  2110. * 'make search' should now work with non-default ${PORTSDIR}.
  2111. 20070130:
  2112. AUTHOR: portmgr@FreeBSD.org
  2113. The following changes were made to the ports infrastructure:
  2114. * DEPENDS variable was removed, please use other *_DEPENDS variables instead.
  2115. * A new pkg-plist keyword is available, @stopdaemon. It will call forcestop
  2116. on all rc.subr scripts installed by the port on deinstall, effectively
  2117. stopping services on deinstall/upgrade.
  2118. * rc.subr script suffix is now available in Makefile as RC_SUBR_SUFFIX.
  2119. * New variable USE_CDRTOOLS was introduced. It replaced direct dependencies
  2120. on sysutils/cdrtools port. It now automatically support switching to
  2121. cdrtools-cjk port when user specified WITH_CJK. All ports were converted.
  2122. * USE_DOS2UNIX, infrastructure for converting DOS to UNIX line feeds, was
  2123. enhanced by a new variable DOS2UNIX_REGEX. It allows to specify a find
  2124. -iregex parameter to limit touched files by file extensions.
  2125. * Support for partially translated manpages was added. For examples of
  2126. usage, please refer to Porter's Handbook.
  2127. * USE_TCL/USE_TK variables were changed to provide runtime dependency. New
  2128. variables USE_TCL_BUILD and USE_TK_BUILD were added. All unintuitive
  2129. quirks of these variables were fixed.
  2130. * USE_LDCONFIG was fixed to work properly for ports, that specify @cwd in the
  2131. pkg-plists.
  2132. * Old bsd.java.mk version 1.0 macros were removed.
  2133. * New category: ports-mgmt
  2134. * New virtual category: gnustep
  2135. * Unused 'picobsd' category was removed.
  2136. 20070118:
  2137. AUTHOR: maho@FreeBSD.org
  2138. We'd like to ask all ports maintainers, who are using Fortran77 (f77 in base),
  2139. to switch to Fortran90/95 (gfortran42, lang/gcc42). Please refer to
  2140. http://people.freebsd.org/~maho/gfortran/gfortran.html
  2141. for details.
  2142. 20061014:
  2143. AUTHOR: gnome@FreeBSD.org
  2144. The following changes have been introduced to the GNOME porting process
  2145. during the GNOME 2.16 update:
  2146. * GNOME is now installed into LOCALBASE. Any port which makes use of the
  2147. gnomeprefix component will have its PREFIX forced to LOCALBASE
  2148. 20060930:
  2149. AUTHOR: portmgr@FreeBSD.org
  2150. The following functional changes were made to bsd.port.mk:
  2151. * The bsd.port.mk pre and post includes have been split into 3 pieces
  2152. instead of 2, to allow OPTIONS to be able to influence dependencies.
  2153. This is still experimental and not yet enabled by any port. This adds
  2154. the file 'bsd.port.options.mk'.
  2155. * bsd.gcc.mk has been updated to understand gfortran.
  2156. * emulators/linux_base is now removed. linux_base-fc4 has been the default
  2157. for some time.
  2158. * The USE_FIREBIRD macro was added to bsd.database.mk.
  2159. 20060914:
  2160. AUTHOR: portmgr@FreeBSD.org
  2161. The following functional changes were made to bsd.port.mk:
  2162. * PKGVERSION was introduced as an intermediate variable refactored out of
  2163. PKGNAME.
  2164. * bsd.lua.mk was added to support lua-related ports.
  2165. * DESTDIR was removed from bsd.scons.mk because it was problematic.
  2166. * Some quotes were added to the 'missing' target to improve handling of
  2167. duplicate origins.
  2168. 20060903:
  2169. AUTHOR: sat@FreeBSD.org
  2170. The following functional changes were made to bsd.sites.mk:
  2171. * MASTER_SITES variable can now look like MACRO1/subdir1 MACRO2/subdir2, and
  2172. be expanded in a way that you expect it to, that is apply different subdirs
  2173. to different sites. You can safely replace ${M_S_FOO:S/%SUBDIR%/bar/} with
  2174. FOO/bar.
  2175. * If M_S_SUBDIR is unset, a macro in M_S won't set it anymore, but rather
  2176. substitute %SUBDIR% all by itself. Now it's possible to use macros with
  2177. different default subdirs and they will expand in a proper way.
  2178. 20060805:
  2179. AUTHOR: sat@FreeBSD.org
  2180. The following functional changes were made to bsd.sites.mk:
  2181. * MASTER_SITES variable can now contain special macros which are expanded into
  2182. traditional URL[:group] syntax and cause some convenient effects, e.g. set a
  2183. default M_S_SUBDIR.
  2184. * A macro is any space-delimited word in MASTER_SITES without a forward slash.
  2185. * If MASTER_SITE_<macro> is defined, then the macro is expanded to its value.
  2186. * Abbreviated macros are provided for extremely popular locations, e.g. CPAN
  2187. and SF. To avoid further obfuscation their unabbreviated equivalents should
  2188. be avoided.
  2189. * Popular macros can trigger M_S_SUBDIR to default to a predefined value, e.g.
  2190. ${PORTNAME:L} for SF and ${PORTNAME:C/-.*//} for CPAN.
  2191. * Abbreviations and M_S_SUBDIR defaults are defined by MASTER_SITES_ABBREVS
  2192. and MASTER_SITES_SUBDIRS, both set in bsd.sites.mk.
  2193. * If a macro belongs to a group (e.g. SF:source1), all the sites it expands
  2194. into also belong to the same group.
  2195. * Macros and traditional URL's can be mixed safely, their order stays intact.
  2196. 20060804:
  2197. AUTHOR: gabor@FreeBSD.org
  2198. The following functional changes were made to bsd.*.mk and to
  2199. Tools/scripts/security-check.awk:
  2200. * Add DESTDIR support to let one install ports into a jail from outside.
  2201. A package is installed under ${DESTDIR}${PREFIX} now and registered under
  2202. ${DESTDIR}/var/db/pkg.
  2203. * TARGETDIR variable has been added for referencing ${DESTDIR}${PREFIX}.
  2204. * LOCALBASE, LINUXBASE and X11BASE variables point to the final destination
  2205. now, LOCALBASE_REL, LINUXBASE_REL and X11BASE_REL can be used for the
  2206. old behavior. The behavior has not been changed in PLIST_SUB.
  2207. Note, that the three variables are still overridable with a hack, so this
  2208. change doesn't affect POLA, but necessary for DESTDIR support.
  2209. * OSVERSION is now determined from the userland, not from the kernel.
  2210. Cross-compiling between releases is still not supported, but this
  2211. behavior is more correct for jails with differing userland from
  2212. the kernel version.
  2213. * Add some sanity check for PREFIX and DESTDIR. This can be skipped by
  2214. defining IGNORE_PATH_CHECKS, but very discouraged.
  2215. * Deinstalling from DESTDIR, determining if a port is already installed in
  2216. DESTDIR, etc. are implemented by chrooting those specific commands.
  2217. * Text changes to reflect that we are installing to DESTDIR, removing from
  2218. DESTDIR, etc.
  2219. Note, that this change implements only the infrastructure support. Ports should
  2220. also be implemented to respect DESTDIR.
  2221. 20060717:
  2222. AUTHOR: portmgr@FreeBSD.org
  2223. The following functional changes were made to bsd.port.mk:
  2224. * Introduces IA32_BINARY_PORT for certain cases where a given port fetches
  2225. and installs compiled i386 binaries.
  2226. * Adds some infrastructure for support of 32-bit i386 apps on amd64.
  2227. * Again fix USE_LDCONFIG logic to make it work with non-default PREFIX to
  2228. fix bug introduced in previous revision.
  2229. 20060705:
  2230. AUTHOR: portmgr@FreeBSD.org
  2231. The following functional changes were made to bsd.port.mk:
  2232. * Change all bogus uses of BROKEN to IGNORE. (Note: the BROKEN_WITH_*
  2233. forms are retained for compatibility but deprecated.) Internally,
  2234. these variables all had already set IGNORE, not BROKEN, so they
  2235. were really misnomers.
  2236. * Fix USE_LDCONFIG with non-default PREFIX.
  2237. * Fix DESKTOP_ENTRIES processing on 4.x.
  2238. * Add 'make missing' to show missing dependencies.
  2239. * Add bsd.scons.mk and bsd.wx.mk.
  2240. 20060616:
  2241. AUTHOR: portmgr@FreeBSD.org
  2242. The patch in ports/95841 to get rid of remnants of FORCE_PKG_REGISTER
  2243. was backed out because it broke kdelibs3*.
  2244. 20060616:
  2245. AUTHOR: portmgr@FreeBSD.org
  2246. The following functional changes were made to bsd.port.mk:
  2247. * Update default MySQL version from 4.1 to 5.0 [1]
  2248. * Update default PHP version from 4 to 5 [2]
  2249. * Update default LDAP version from 2.2 to 2.3 [3]
  2250. * Add support for LDAP version 2.4 [4]
  2251. * Update default linux_base from '8' (Redhat 8) to 'fc4' (Fedora Core 4) [5]
  2252. * Switch default Linux X implementation from XFree86 to X.org to track the
  2253. above [5]
  2254. * Deprecate INSTALLS_SHLIB and replace it by USE_LDCONFIG. If set to "yes",
  2255. the old behavior is preserved. Otherwise, it can be set to a list of
  2256. directories to be added to ${PREFIX}/libdata/ldconfig/${UNIQUENAME}.
  2257. Note that this directory is used by ldconfig startup script, it is meant
  2258. to replace ldconfig scripts installed by some ports as (sometimes
  2259. 000.${UNQUENAME}.sh) [6]
  2260. * Adds USE_LDCONFIG32 which is like USE_LDCONFIG but the target file is
  2261. ${PREFIX}/libdata/ldconfig32/${UNIQUENAME} instead. (Note: this should
  2262. only be used on 64-bit architectures) [6]
  2263. * Set the default LANG for tr to be C to avoid some build problems [7]
  2264. * Include bsd.java.mk in both pre and post sections [8]
  2265. * Get rid of remnants of FORCE_PKG_REGISTER [9]
  2266. * Always print options with make showconfig [10]
  2267. PR: 92805 [1], 92806 [2], 96793 [3], 97515 [4], 96849 [5],
  2268. 91933 [6], 91381 [7], 97020 [8], 95841 [9], 97133 [10]
  2269. 20060523:
  2270. AUTHOR: portmgr@FreeBSD.org
  2271. The following functional changes were made to bsd.port.mk:
  2272. * include bsd.emacs.mk only when USE_EMACS is set [5]
  2273. * Correct the implementation of pretty-print-run-depends-list [8]
  2274. * Use a consistent name for the cookies file when PKGNAMEPREFIX/SUFFIX
  2275. are set after bsd.port.pre.mk. [9]
  2276. * Include bsd.tcl.mk if USE_TCL_BUILD is defined [10]
  2277. * Set PERL_MM_USE_DEFAULT in BATCH mode [11]
  2278. * Add the {ONLY,NOT}_FOR_ARCH_REASON and
  2279. {ONLY,NOT}_FOR_ARCH_REASON_${ARCH} variables to allow better
  2280. customization of the error string reported to users when they
  2281. attempt a build on an unsupported architecture. [12]
  2282. * Avoid errors from duplicated targets when parsing MLINKS on ports
  2283. without a default value set. [13]
  2284. * Fix handling of MLINKS when invalid entries are listed [14]
  2285. * Enforce sanity of DESKTOP_ENTRIES. If the Categories field is
  2286. omitted, try to map ports categories to their freedesktop.org
  2287. counterpart [15]
  2288. PR: 95238 [5], 94164 [8], 94219 [9], 92355 [10],
  2289. 95579 [11], 94675 [12], 66109 [13], 66110 [14], 95603 [15]
  2290. 20060121:
  2291. AUTHOR: portmgr@FreeBSD.org
  2292. The following changes affecting ports developers were introduced:
  2293. * Gamin is a default FAM system
  2294. * New virtual categories: hamradio and rubygems
  2295. * Virtual category 'offix' was removed
  2296. * New USE_DOS2UNIX variable for converting DOS linefeeds to UNIX
  2297. * Variables like BROKEN and FORBIDDEN should no longer be quoted
  2298. * New NOFETCHFILES variable to prevent downloading from MASTER_SITES
  2299. while still allowing MASTER_SITE_OVERRIDE
  2300. * New plist macro @dirrmtry with functionality of @unexec rmdir || true
  2301. * USE_REINPLACE no longer needs to be defined, REINPLACE_CMD is always
  2302. available
  2303. Detailed documentation of new features is available in Porter's Handbook.
  2304. 20051108:
  2305. AUTHOR: portmgr@FreeBSD.org
  2306. The following changes were introduced:
  2307. * Add bsd.database.mk
  2308. - move out from bsd.port.mk USE_MYSQL and USE_PGSQL.
  2309. - add support for Berkeley DB and SQLite (via USE_BDB and USE_SQLITE
  2310. knobs).
  2311. * Escape '+' in make search
  2312. * Add "makepatch" target to simplify creation of patches during porting
  2313. * Replace deprecated MACHINE_ARCH with ARCH
  2314. * Remove support of OpenLDAP 2.1
  2315. * Add bsd.tcl.mk
  2316. It introduces USE_TCL/USE_TCL_BUILD knobs to support various
  2317. version of tcl (8.0 -> 8.4)
  2318. * Fix cosmetic bugs in security-check target
  2319. * Add support for INDEX-7 and above (up to INDEX-9 actually)
  2320. * Add "package-recursive" to bsd.port.subdir.mk
  2321. * Remove check for FreeBSD version < 460101
  2322. * New category: net-im
  2323. * Add .desktop file facilities
  2324. It introduces DESKTOPDIR and DESKTOP_ENTRIES knobs
  2325. * Add SHA256 support to "*checksum" targets
  2326. * Fix USE_PYTHON with OPTIONS
  2327. * Force NO_LINT to MAKE_ENV to avoid library breaks
  2328. * Fix typo: s/RC_ORDER/USE_RCORDER/g
  2329. * Add support for PostgreSQL 8.1
  2330. * Add bsd.apache.mk
  2331. USE_APACHE knob enhancements
  2332. 20051105:
  2333. AUTHOR: gnome@FreeBSD.org
  2334. GNOME has been upgraded from 2.10.2 to 2.12.1. This update brings with
  2335. it many important porting changes:
  2336. - gtk20's pkg-config file no longer contains the X11 pango modules.
  2337. Therefore, if your port requires these modules, you may have to
  2338. manually patch them in to your port's Makefiles. Contact
  2339. gnome@FreeBSD.org if you have questions on this.
  2340. - A new USE_GNOME component, ltverhack, has been added. This
  2341. pseudo-component hacks libtool so that shared library versions are
  2342. more consistent with other operating systems. Using this component
  2343. can prevent unnecessary shared library version changes.
  2344. - A new macro, INSTALLS_ICONS, has been added. If your port installs
  2345. Freedesktop-style icons to ${LOCALBASE}/share/icons or
  2346. ${X11BASE}/share/icons, then you should use this macro. NOTE:
  2347. use of this macro requires your port to set either USE_GNOME or
  2348. WANT_GNOME.
  2349. 20050618:
  2350. AUTHOR: netchild@FreeBSD.org
  2351. - USE_LINUX now implies NO_FILTER_SHLIBS=yes. It also doesn't use FreeBSD
  2352. tools to strip binaries anymore, so it's not necessary anymore to override
  2353. STRIP and STRIP_CMD.
  2354. - USE_LINUX_PREFIX implies NO_MTREE now.
  2355. - In the USE_LINUX case, USE_XLIB now depends upon the Linux X11 libraries
  2356. instead upon the native FreeBSD libraries.
  2357. - The variable LINUX_BASE_PORT contains a string which is suitable as an
  2358. item in *_DEPENDS, so if a port BATCH_DEPENDS or FETCH_DEPENDS upon the
  2359. default (or overridden) Linux base, ${LINUX_BASE_PORT} should be used
  2360. instead of a hardcoded reference.
  2361. - If USE_LINUX or OVERRIDE_LINUX_BASE doesn't point to an existing linux_base
  2362. port and if USE_LINUX isn't set to "yes" (case insensitive), the port will
  2363. be marked as IGNORE.
  2364. 20050609:
  2365. AUTHOR: portmgr@FreeBSD.org
  2366. The following changes were introduced:
  2367. * Improve documentation of CONFLICTS.
  2368. * Fix add-plist-docs target to work correctly with wildcards.
  2369. * Fix USE_MYSQL and USE_PGSQL knobs to work in partial ports
  2370. tree.
  2371. * Introduce 2 new variables: USE_FAM and WANT_FAM_SYSTEM.
  2372. * Suppress "Vulnerability check disabled" message if
  2373. DISABLE_VULNERABILITIES is defined.
  2374. * Switch default MySQL version to 4.1
  2375. * Add support for OpenLDAP v.23
  2376. * Fix add-plist-info and add-plist-post targets to avoid warnings
  2377. from ports which redefine them.
  2378. * Fix add-plist-docs target to handle NOPORTDOCS knob properly.
  2379. * Use INSTALLDIRS="site" in configure for perl ports.
  2380. * Fix NO_(CHECKSUM|BUILD|INSTALL|PACKAGE) knobs if OPTIONS are
  2381. defined.
  2382. * Add an ability to depend on versioned installed package.
  2383. Example:
  2384. BUILD_DEPENDS=p5-Tree-Simple>=1.12:${PORTSDIR}/devel/p5-Tree-Simple
  2385. Please note, it's experimental feature, work is currently in
  2386. progress.
  2387. 20050325:
  2388. AUTHOR: jdp@FreeBSD.org
  2389. The CVSup port has been upgraded with a patch to correct the
  2390. handling of the "refuse" file for files that are in the CVS Attic.
  2391. This solves a problem some people were having, where CVSup would
  2392. delete their ports/INDEX* files even though the files were listed
  2393. in the "refuse" file. The bug fix is in the cvsupd server, so
  2394. mirror sites must upgrade their servers in order for this fix to
  2395. help. Meanwhile, adding "ports/Attic/INDEX*" to the refuse file
  2396. serves as a work-around.
  2397. 20050321:
  2398. AUTHOR: kwm@FreeBSD.org
  2399. The gstreamer-plugins gconf dependency moved to its own port in devel.
  2400. When your application needs gstreamer-plug-gconf, just add
  2401. USE_GSTREAMER=gconf to you Makefile
  2402. 20050319:
  2403. AUTHOR: gnome@FreeBSD.org
  2404. New GNOME components have been added to bsd.gnome.mk. See
  2405. http://www.FreeBSD.org/gnome/docs/gnome2_porting.html for the complete
  2406. list of available GNOME 2 components.
  2407. Py-gnome2 lost many of its GNOME dependencies to a new port,
  2408. py-gnome-extras. Therefore, ports that used to depend on
  2409. the pygnome2 component for modules such as gtkhtml2, gnomepanel, etc.
  2410. should replace the pygnome2 dependency with pygnomeextras.
  2411. 20050314:
  2412. AUTHOR: edwin@FreeBSD.org
  2413. New variable for in /etc/make.conf: IGNORE_MASTER_SITE_xxx
  2414. If you prefer a certain mastersite for a collection of master-sites,
  2415. set this in your /etc/make.conf:
  2416. MASTER_SITE_xxx=http://z.x.y/%SUBDIR%/
  2417. If you insist on only using the ones you specify, set this in
  2418. your /etc/make.conf:
  2419. IGNORE_MASTER_SITE_xxx=yes
  2420. MASTER_SITE_xxx=http://z.x.y/%SUBDIR%/
  2421. Use "make -V MASTER_SITES" to see the differences.
  2422. 20050313:
  2423. AUTHOR: ahze@FreeBSD.org, kwm@FreeBSD.org
  2424. The following changes were committed:
  2425. * USE_GNOME=gstreamerplugins has been deprecated.
  2426. The new method which uses bsd.gstreamer.mk is:
  2427. USE_GSTREAMER=plugin-name
  2428. Example:
  2429. USE_GSTREAMER= dvd
  2430. or
  2431. WANT_GSTREAMER= yes
  2432. .include <bsd.port.pre.mk>
  2433. .if defined(WITH_DVD)
  2434. USE_GSTREAMER= dvd
  2435. .endif
  2436. * misc/gnomehier now creates a mtree file and each port
  2437. using USE_GNOME=gnomehier or gnomeprefix now use the
  2438. BSD.gnome-x11.dist mtree file to help "keep" directories
  2439. and not accidentally add gnome directories to a port.
  2440. 20050207:
  2441. AUTHOR: portmgr@FreeBSD.org
  2442. The following changes were committed:
  2443. * Change bento to pointyhat names in comments.
  2444. * Document DISABLE_VULNERABILITIES variable.
  2445. * Add WWW: line for 'search' target.
  2446. * Speedup check-vulnerable invocation, if portaudit is installed.
  2447. * Run install-info for all .info files.
  2448. * Run add-plist-docs more strictly and prevent some situations
  2449. with leftover files in the future.
  2450. * Introduce two new variables: MASTER_PORT and SLAVE_PORT.
  2451. The results from these variables is only used as information for
  2452. users.
  2453. * Honor OPTIONS if PACKAGE_BUILDING or BATCH are defined.
  2454. * Move all USE_GCC entries to new file - bsd.gcc.mk. 'test-gcc'
  2455. target allows users to check gcc version if USE_GCC is used.
  2456. Give maintainers opportunity to add '+' character to USE_GCC version
  2457. for using specified and higher versions.
  2458. Example:
  2459. USE_GCC=3.3+
  2460. builds ports with gcc version 3.3 and higher (3.4, 4.0).
  2461. * Install startup scripts with the help of USE_RC_SUBR variable.
  2462. * Add three new targets: config-recursive, rmconfig-recursive and
  2463. config-conditional. You can set or delete OPTIONS for all
  2464. dependencies before every build. config-conditional target is
  2465. used to skip configuring ports which have already been
  2466. configured.
  2467. * Fix using of WANT_PGSQL_VER variable if PostgreSQL is already
  2468. installed.
  2469. 20041231:
  2470. AUTHOR: netchild@FreeBSD.org
  2471. USE_LINUX_PREFIX doesn't implies USE_LINUX anymore.
  2472. 20041209:
  2473. AUTHOR: portmgr@FreeBSD.org
  2474. The following changes were committed:
  2475. * Define new macros: DATE, FMT, MKTEMP, OBJDUMP, and use
  2476. command macro SORT.
  2477. * Change layout of comments to 4 column tabs, remove lots
  2478. of spaces and eight-column-tabs.
  2479. * Introduce 2 new variables: SUB_FILES and SUB_LIST:
  2480. Example:
  2481. SUB_FILES= pkg-message pkg-install
  2482. SUB_LIST+= "VERSION=${VERSION}"
  2483. This looks for ${FILESDIR}/pkg-message.in and ${FILESDIR}/pkg-install.in
  2484. Substitutions in SUB_LIST are applied to these files and the
  2485. output is redirected to ${WRKDIR}.
  2486. PKGMESSAGE will be set to ${WRKDIR}/pkg-message.
  2487. PKGINSTALL will be set to ${WRKDIR}/pkg-install.
  2488. * Document DEPRECATED and EXPIRATION_DATE variables.
  2489. * Sanitize the intermittent output by the build infrastructure
  2490. so that cutting and pasting from it no longer interferes
  2491. with GNATS-tags.
  2492. * Honor configure arguments for USE_XLIB if USE/WITH_LIBTOOL_ is
  2493. used.
  2494. * Properly document 'describe' target.
  2495. * Properly remove directories at deinstallation time if ports sets
  2496. a non-standard PREFIX.
  2497. * Defaults INDEXFILE to INDEX-6 on 6-CURRENT.
  2498. 20041119:
  2499. AUTHOR: portmgr@FreeBSD.org
  2500. The following changes were committed:
  2501. * Fix INDEX build if MAINTAINER is not defined.
  2502. * Remove USE_QT2 option, since qt2 is obsolete.
  2503. * Better define and explain ARCH option.
  2504. * Add new script Tools/make_readmes, to speedup 'readmes'
  2505. target. Avoid recursing into individual port directories and run
  2506. it at top level, after the category README.html files have been
  2507. created.
  2508. * Fix 'search' target and enable a case-insensitive search on 5-x.
  2509. * Extend 'search' target and enable search by categories.
  2510. * Remove 'tk42' and 'tcl76' categories since they're obsolete.
  2511. * Introduce DISTVERSION variable, that can be set instead of
  2512. PORTVERSION and is automatically converted in a conforming PORTVERSION.
  2513. Example:
  2514. DISTVERSION= 10Alpha3
  2515. extends 10Alpha3 to 10.a3
  2516. DISTVERSION= 3Beta7-pre2
  2517. extends 3Beta7-pre2 to 3.b7.p2
  2518. * Use --suffix option instead of -b for patch(1), to make it
  2519. compatible with BSD patch(1).
  2520. * Fix {WANT,WITH}_MYSQL_VER behavior, to deal with conflicting
  2521. versions.
  2522. 20041116:
  2523. AUTHOR: gnome@FreeBSD.org
  2524. The way OMF files are handled has been changed to use the new INSTALLS_OMF
  2525. macro (similar to INSTALLS_SHLIB). Details about the new macro can be found
  2526. at http://www.FreeBSD.org/gnome/docs/porting.html and bsd.gnome.mk.
  2527. 20041113:
  2528. AUTHOR: portmgr@FreeBSD.org
  2529. Since INDEX version in CVS is always too old, portmgr decided to
  2530. remove it. You will still be able to build your own INDEX or use
  2531. 'fetchindex' target in /usr/ports/.
  2532. 20041109:
  2533. AUTHOR: gnome@FreeBSD.org
  2534. The way GConf schema files are handled has been changed to use the new
  2535. GCONF_SCHEMAS macro (similar to MAN). Details about the new macro can be
  2536. found at http://www.FreeBSD.org/gnome/docs/porting.html and bsd.gnome.mk.
  2537. 20040803:
  2538. AUTHOR: ade@FreeBSD.org
  2539. As part of the ongoing autotools cleanup, devel/autoconf has been
  2540. replaced with devel/autoconf253, and devel/automake with devel/automake15.
  2541. Consumers of the various autotools knobs from bsd.autotools.mk should not
  2542. notice any differences. This update completes the transition of autotools
  2543. to true versioned packages (cf: tcl/tk)
  2544. 20040723:
  2545. AUTHOR: anholt@FreeBSD.org
  2546. The XFREE86_VERSION variable is replaced by the X_WINDOW_SYSTEM variable.
  2547. XFREE86_VERSION may no longer be used by ports Makefiles. X_WINDOW_SYSTEM may
  2548. currently be set to xorg, xfree86-4, and xfree86-3 (please use :L in checking
  2549. it). Several X_*_PORT variables are provided by bsd.port.mk which map to the
  2550. appropriate port for the X_WINDOW_SYSTEM chosen.
  2551. 20040719:
  2552. AUTHOR: ale@FreeBSD.org
  2553. There has been a big update to PHP ports and bsd.php.mk to add more
  2554. flexibility and new features.
  2555. Now a port may depend on a specific set of PHP extensions. To do so,
  2556. simply replace:
  2557. USE_PHP= yes
  2558. with:
  2559. USE_PHP= ext1 ext2 ext3 ...
  2560. in the port Makefile. A list of all PHP extensions is included in bsd.php.mk.
  2561. If the requirement is a build dependency too, the port should also define:
  2562. USE_PHP_BUILD=yes
  2563. Moreover, the new knob WANT_PHP_SCR has been added to indicate that the port
  2564. requires the 'php' binary to run.
  2565. Last but not least, many common operations to build/install/register a
  2566. PHP extension can now be omitted from the port Makefile if it defines:
  2567. USE_PHPEXT= yes
  2568. For more information on this point and on additional variables, see
  2569. bsd.php.mk.
  2570. 20040717:
  2571. AUTHOR: eik@FreeBSD.org
  2572. OpenLDAP version 2.2 is now the default.
  2573. When your port links against the openldap client libraries use
  2574. USE_OPENLDAP= yes
  2575. and do not depend on a particular version. A user (or package
  2576. building cluster) can select the desired flavor with
  2577. WANT_OPENLDAP_VER and WANT_OPENLDAP_SASL, but these must not
  2578. be used in ports Makefiles.
  2579. 20040709:
  2580. AUTHOR: portmgr@FreeBSD.org
  2581. USE_LIBTOOL_VER now configures a port to use the ports version of libtool
  2582. instead of its included version. This was put in place to reduce the
  2583. number of ad hoc patches to individual ports' libtools to prevent .la
  2584. file installation as well as fix various threading problems.
  2585. To restore the previous libtool behavior, use the new macro,
  2586. USE_INC_LIBTOOL_VER. It works the exact same way as USE_LIBTOOL_VER
  2587. in that it takes a libtool version as its argument.
  2588. For example, to use the included version of libtool with extra hacks
  2589. provided by libtool-1.5, add the following to your Makefile:
  2590. USE_INC_LIBTOOL_VER= 15
  2591. To use the ports version of libtool-1.5, add the following to
  2592. your Makefile:
  2593. USE_LIBTOOL_VER= 15
  2594. Note: these macros are mutually exclusive. Your port should only include
  2595. one or the other if it needs to make use of libtool.
  2596. 20040707:
  2597. AUTHOR: gnome@FreeBSD.org
  2598. The way GConf schema files are installed has changed to support the upcoming
  2599. GNOME 2.8 GConf. Details about the change can be found at
  2600. http://www.FreeBSD.org/gnome/docs/porting.html. All existing ports have
  2601. been converted to the new style, and portlint has been updated to flag
  2602. old-style GConf schema installation.
  2603. 20040610:
  2604. AUTHOR: portmgr@FreeBSD.org
  2605. The following behavioral or feature changes were committed:
  2606. * Support verbose index builds with INDEX_VERBOSE
  2607. * Support glob expressions in USE_GETTEXT to allow more flexibility
  2608. in the face of future gratuitous library version bumps by the gettext
  2609. developers:
  2610. USE_GETTEXT=yEs # Works as before (case-insensitive)
  2611. USE_GETTEXT=[5-7] # Accepts any of those libintl.so.x versions
  2612. # in the LIB_DEPENDS
  2613. * Extend 'make search' support to allow much more flexible searching
  2614. From the PR:
  2615. Besides the good old key and name variables, this patch adds
  2616. support for path, info, maint, cat, bdeps, and rdeps, which match
  2617. on the appropriate fields, plus their exclusion counterparts: xkey,
  2618. xname, etc.
  2619. Examples:
  2620. Find all ports whose names contain "pear-" but not "html" or "http":
  2621. make search name=pear- xname='ht(tp|ml)'
  2622. Find ports whose names contain "pear-" and which don't have apache
  2623. listed in build-time dependencies:
  2624. make search name=pear- xbdeps=apache
  2625. The positive variables (name, key, maint, etc) are AND-ed, their
  2626. negative versions are OR-ed; in other words, matching any x-
  2627. variable will cause the port to be skipped, mismatch on any non-x-
  2628. variable will cause it to be skipped.
  2629. Examples:
  2630. Find ports that are both in the 'www' category and maintained by
  2631. Thierry Thomas:
  2632. make search maint=thierry@ path=/www/
  2633. Find ports in the 'archivers' category that are either not orphaned
  2634. or don't have "zip" in their names (contrived):
  2635. make search cat=archivers xmaint=ports@freebsd xname=zip
  2636. It is possible to select fields to display.
  2637. Example:
  2638. Find PEAR ports that don't build-depend on apache, displaying only
  2639. Port:, Path:, and Info: lines:
  2640. make search name=pear- xbdeps=apache display=name,path,info
  2641. Case-sensitivity can now be turned of with icase=1.
  2642. Example:
  2643. Find ports with @freebsd.org maintainer addresses without the
  2644. "proper" capitalization (@FreeBSD.org), display their paths and
  2645. maintainer addresses:
  2646. make search maint=@freebsd\\.org icase=0 display=maint,path
  2647. The key and xkey variables can be limited in scope to displayed fields
  2648. by setting keylim to 1.
  2649. Example:
  2650. Find ports that contain "apache" in either of the name, path, info
  2651. fields, ignore the rest of the record (dependencies, maintainer
  2652. address, etc):
  2653. make search key=apache display=name,path,info keylim=1
  2654. The following variables can be set e.g. in /etc/make.conf to
  2655. control default search behavior:
  2656. PORTSEARCH_DISPLAY_FIELDS?=name,path,info,maint,index,bdeps,rdeps
  2657. PORTSEARCH_KEYLIM?=0
  2658. PORTSEARCH_XKEYLIM?=0
  2659. PORTSEARCH_IGNORECASE?=1
  2660. * Extend USE_PERL5_BUILD and USE_PERL5 to add EXTRACT and PATCH
  2661. dependencies
  2662. * While building index, treat non-existent dependencies as fatal.
  2663. Previously the error was being hidden by the stderr
  2664. redirection.
  2665. * Don't always retry BROKEN ports when package building (it is taking
  2666. too much time to continually rebuild ports that are usually going
  2667. to really be broken). Set TRYBROKEN if you want to attempt a
  2668. build of a BROKEN port.
  2669. 20040604:
  2670. AUTHOR: ade@FreeBSD.org
  2671. Over the past few weeks, we have been testing the next
  2672. incarnation of ports/Mk/bsd.autotools.mk on the road to bringing
  2673. at least some semblance of sanity back to this corner of the
  2674. ports collection.
  2675. By far and away the easiest way to see the changes will be to
  2676. view the new file once committed, but here is a summary of the
  2677. changes:
  2678. 1. USE_LIBTOOL, USE_AUTOCONF, USE_AUTOHEADER, USE_AUTOMAKE have
  2679. been fully deprecated. Ports attempting to use these variables
  2680. after the commit will error out, and most obviously break INDEX
  2681. generation, with a helpful error message. Instead, ports must
  2682. now specifically choose the version of any of these tools that
  2683. they need with the corresponding USE_*_VER variables. Note that
  2684. these variables understand any and all versions of autotools ports
  2685. in the tree, there is no longer a need to have specific version
  2686. numbers hardcoded in the infrastructure of bsd.autotools.mk
  2687. (as there is now). In particular, this will immediately open up
  2688. automake18 and autoconf259 for general use and beating.
  2689. 2. Similarly for WANT_LIBTOOL, WANT_AUTOCONF, and WANT_AUTOMAKE.
  2690. Again, these have been fully deprecated, and the equivalent
  2691. WANT_*_VER versions should be used.
  2692. In order to preserve existing behavior for these variables, please
  2693. note the 20040314 entry in ports/CHANGES for the appropriate
  2694. version numbers to use for any ports in the GNATS queue.
  2695. Both WANT_* and USE_* bring in the relevant tool as a build
  2696. dependency, and set up a reasonably large number of variables
  2697. pointing to the right programs to be using in the port. The
  2698. only difference at the moment, is that USE_* will run an extra
  2699. autotools-related configuration step, whereas WANT_* merely
  2700. requests the environment.
  2701. 3. The helper knob USE_LIBLTDL has been added which currently
  2702. simply adds a LIB dependency on the libltdl port.
  2703. 4. Three new variables have been introduced,
  2704. WANT_{LIBTOOL,AUTOCONF,AUTOMAKE}_RUN=yes. These variables will
  2705. do nothing by themselves (a Work-In-Progress), but if the
  2706. appropriate autotool version is defined (either through
  2707. WANT_*_VER or USE_*_VER), this will add the relevant dependency
  2708. to RUN_DEPENDS.
  2709. Steps 3 and 4 now essentially negate the need for any kind of
  2710. direct dependency within a non-autotools port Makefile on
  2711. devel/autoconf*, devel/automake*, devel/libtool*, and devel/libltdl.
  2712. 20040416:
  2713. AUTHOR: java@FreeBSD.org
  2714. There has been a couple of bsd.java.mk tweaks and fixes.
  2715. . Features from Stage 2 has been removed. A port can no
  2716. longer use the JDK dependency features by setting JAVA_HOME.
  2717. Use JAVA_PREFERRED_PORT instead (see below).
  2718. . The default JDK port now depends on OS version:
  2719. java/diablo-jdk13 for 4.x, and java/jdk14 for 5.x
  2720. . It is now possible for the user (and the porters) to
  2721. define a list of preferred JDK ports to build and run ports.
  2722. The port will use the first JDK port from the list that
  2723. matches the requirements specified in the Makefile.
  2724. JAVA_PREFERRED_PORT contains a list of suitable JDK ports
  2725. (sorted by preference). Names for JDKs may be found in
  2726. bsd.java.mk, listed in ${_JAVA_PORTS_ALL} (e.g.
  2727. "JAVA_PORT_NATIVE_BSDJAVA_1_4").
  2728. . JAVA_PORT_VERSION is now set to the full version number
  2729. of the chosen JDK (e.g. "1.4.2"). Porters will find hints
  2730. regarding how to obtain the same behavior as before in the
  2731. header of bsd.java.mk.
  2732. 20040414:
  2733. AUTHOR: gnome@FreeBSD.org
  2734. When writing a port that uses GTK+ 2.X, you can now list the dependency
  2735. with "USE_GNOME=gtk20" which is preferable to LIB_DEPENDS because the
  2736. GTK+ library version only needs to be changed in bsd.gnome.mk.
  2737. Please see http://www.FreeBSD.org/gnome/docs/porting.html for all
  2738. the available GNOME components as well as detailed instructions on
  2739. creating ports that use the GNOME infrastructure.
  2740. 20040404:
  2741. AUTHOR: gnome@FreeBSD.org
  2742. The glib20 and gtk20 ports were updated to 2.4.0. This new version
  2743. is completely source and binary compatible with the previous 2.2.x
  2744. series. However, certain API calls have been deprecated. If your
  2745. port defines the following macros, they may refuse to build with
  2746. the new versions of glib20 and gtk20:
  2747. GTK_DISABLE_DEPRECATED
  2748. GDK_DISABLE_DEPRECATED
  2749. G_DISABLE_DEPRECATED
  2750. The temporary solution is to either patch your port's Makefiles to,
  2751. or use an in-place regular expression to remove these macros. The
  2752. more permanent solution is to wait until the port's authors update
  2753. their code to use current API calls.
  2754. 20040402:
  2755. AUTHOR: java@FreeBSD.org
  2756. There has been a big update to bsd.java.mk. However, this update
  2757. is mostly backwards compatible, so it shouldn't affect most java
  2758. port maintainers. There is some new functionality and minor
  2759. changes worth documenting here though.
  2760. bsd.java.mk now provides a new set of macros to be used by ports that
  2761. require a JDK. When USE_JAVA is set, the following variables may be set
  2762. in order to give to precision regarding the requirements of the port:
  2763. . JAVA_VERSION
  2764. A list of space-separated suitable java versions for the
  2765. port. An optional "+" allows you to specify a range of versions.
  2766. (allowed values: 1.1[+] 1.2[+] 1.3[+] 1.4[+])
  2767. (NOTE: Used to be set by bsd.java.mk)
  2768. . JAVA_OS
  2769. A list of space-separated suitable JDK port operating systems
  2770. for the port. (allowed values: native linux)
  2771. (NOTE: Used to be set by bsd.java.mk)
  2772. . JAVA_VENDOR
  2773. A list of space-separated suitable JDK port vendors for
  2774. the port. (allowed values: freebsd bsdjava sun ibm blackdown)
  2775. (NOTE: Used to be set by bsd.java.mk)
  2776. . JAVA_BUILD
  2777. When set, it means that the selected JDK port should be
  2778. added to build dependencies for the port.
  2779. . JAVA_RUN
  2780. This variable works exactly the same as JAVA_BUILD but
  2781. regarding run dependencies.
  2782. Here are some of the macros defined after setting USE_JAVA:
  2783. . JAVA_PORT
  2784. The name of the JDK port (e.g. java/jdk14)
  2785. . JAVA_HOME
  2786. The home of the JDK port in the local base
  2787. . JAVA_PORT_VERSION
  2788. The version of the JDK port.
  2789. (NOTE: Used to be JAVA_VERSION, see above)
  2790. . JAVA_PORT_OS
  2791. The operating system used by the JDK port.
  2792. (NOTE: Used to be JAVA_OS, see above)
  2793. . JAVA_PORT_VENDOR
  2794. The vendor of the JDK port.
  2795. (NOTE: Used to be JAVA_VENDOR, see above)
  2796. Plus many macros for the commonly used java executables:
  2797. APPLETVIEWER, JAR, JAVA, JAVAC, JAVADOC, JAVAH,
  2798. JAVAP, JAVA_KEYTOOL, JAVA_N2A, JAVA_POLICYTOOL,
  2799. JAVA_SERIALVER, RMIC, RMID and RMIREGISTRY.
  2800. bsd.java.mk 2.0 is mostly backward compatible with the previous
  2801. version, save for the notes above and changed internal variables.
  2802. Using the new features is strongly encouraged, since the old
  2803. bsd.java.mk 1.0 features will be deprecated and may be removed in
  2804. the future.
  2805. You will find more detailed info (as well as a quick tutorial) at:
  2806. http://www.esil.univ-mrs.fr/~hquiroz/freebsd/bsd.java.mk-2.0.html
  2807. 20040316:
  2808. AUTHOR: gnome@FreeBSD.org
  2809. The print/freetype2 port has been updated to 2.1.7. This update
  2810. changes some of the internal FreeType API. Applications may need
  2811. to be patched to support this new API. If a source files includes
  2812. freetype/freetype.h, make sure ft2build.h is included before
  2813. freetype/freetype.h. The proper way to do this is:
  2814. #include <ft2build.h>
  2815. #include FT_FREETYPE_H
  2816. However, the following will work as well, but is deprecated:
  2817. #include <ft2build.h>
  2818. #include <freetype/freetype.h>
  2819. 20040314:
  2820. AUTHOR: ade@FreeBSD.org
  2821. USE_LIBTOOL, USE_AUTOCONF, and USE_AUTOMAKE are now considered
  2822. deprecated, and will be removed on or around June 1st 2004.
  2823. All ports should now choose the specific version of the tool,
  2824. using USE_LIBTOOL_VER, USE_AUTOCONF_VER, and USE_AUTOMAKE_VER.
  2825. The old "system default" behavior can be written as follows:
  2826. Old New
  2827. USE_LIBTOOL=yes USE_LIBTOOL_VER=13
  2828. USE_AUTOCONF=yes USE_AUTOCONF_VER=213
  2829. USE_AUTOMAKE=yes USE_AUTOMAKE_VER=14
  2830. 20040304:
  2831. AUTHOR: eik@FreeBSD.org
  2832. New variable MASTER_SITE_SOURCEFORGE_EXTENDED. It has the
  2833. ten official sourceforge.net download mirrors, whereas
  2834. MASTER_SITE_SOURCEFORGE only has five. To check if your
  2835. port is mirrored there, go to
  2836. <http://prdownloads.sourceforge.net/${MASTER_SITE_SUBDIR}/>
  2837. click on ${DISTFILES} and you'll see five or ten mirrors,
  2838. corresponding to the variables above.
  2839. 20040226:
  2840. AUTHOR: knu@FreeBSD.org
  2841. The default version of Ruby is now 1.8 on all platforms
  2842. including the i386.
  2843. Users on the i386 platform need to follow the instructions
  2844. described in the UPDATING file to cope with this upgrade.
  2845. Next time ruby is major upgraded, you won't need to do this
  2846. kind of messy work because some subtle changes have been made
  2847. to the ruby port infrastructure to make it easier to handle
  2848. multiple versions of ruby.
  2849. 20040217:
  2850. AUTHOR: gnome@FreeBSD.org
  2851. Mozilla will now default to using GTK2, and will only compile
  2852. against Gtk+-1.2 if explicitly requested. This is in exact
  2853. opposite to the old behavior.
  2854. The valid values of WITH_MOZILLA are now:
  2855. mozilla (www/mozilla, GTK2)
  2856. mozilla-devel (www/mozilla-devel, GTK2)
  2857. mozilla-gtk1 (www/mozilla-gtk1, GTK1)
  2858. mozilla-devel-gtk1 (www/mozilla-devel-gtk1, GTK1)
  2859. As before, WITH_MOZILLA can be set in /etc/make.conf, but doing
  2860. so is not advised unless you desire the development versions.
  2861. GTK2 browsers will automatically compile against GTK2 mozilla,
  2862. and GTK1 browsers (galeon1, galeon1, and galeon1) will
  2863. automatically compile against GTK1.
  2864. Again, the only people who will need to take action are those
  2865. who desire development versions (which are inactive at this time
  2866. anyway). Those who want GTK1 mozilla-devel must set
  2867. WITH_MOZILLA=mozilla-devel-gtk1 or they will be pleasantly
  2868. surprised with their very own GTK2 installation on the next
  2869. update.
  2870. WITH_MOZILLA=mozilla-gtk2 and WITH_MOZILLA=mozilla-devel-gtk2
  2871. are still honored for the time being, but their use is
  2872. now deprecated. Any new ports are not required to consider
  2873. their values, and so eventually WITH_MOZILLA _will_ have to
  2874. be changed.
  2875. Hopefully galeon2 can catch up to peoples' expectations from
  2876. galeon1 soon, and we can remove the GTK1 ports altogether.
  2877. 20040204:
  2878. AUTHOR: portmgr@FreeBSD.org
  2879. The bsd.php.mk file has been moved out of the lang/php4 port
  2880. into the Mk directory. This will make it much easier to include
  2881. PHP support in PHP-dependent ports. Instead of including
  2882. bsd.php.mk directly, a port can simply set USE_PHP=yes, and the
  2883. ports system with Do the Right Thing.
  2884. All trailing whitespace has been removed from bsd.port.mk.
  2885. Enhance the new OPTIONS code by only including saved options if
  2886. the port defines OPTIONS, attempt to use LATEST_LINK as the
  2887. unique name for a port (fall back to ${PKGNAMEPREFIX}${PORTNAME}
  2888. otherwise), bring the ===> messages in line with the existing
  2889. ones by using PKGNAME instead of PORTNAME, use PKGNAME in the
  2890. dialog, use ECHO_CMD instead of ECHO_MSG to write the
  2891. OPTIONSFILE, display a message during compilation indicating
  2892. that user-specified options have been found, and make the output
  2893. of the showconfig target a little more user-friendly.
  2894. A new USE_ICONV macro has been added that takes the place of an
  2895. explicit LIB_DEPENDS on converters/libiconv. This will help
  2896. with future shared lib version bumps.
  2897. A new USE_GETTEXT macro has been added that takes the place of
  2898. an explicit LIB_DEPENDS on devel/gettext. This will help with
  2899. future shared lib version bumps.
  2900. Module::Build is a system for building, testing, and installing
  2901. Perl modules. It will eventually replace the obsoleted
  2902. ExtUtils::MakeMaker. Many new Perl modules have already
  2903. switched to using Build.PL instead of Makefile.PL. To
  2904. facilitate building those modules, a new PERL_MODBUILD macro has
  2905. been added. Use that in place of PERL_CONFIGURE when porting
  2906. Perl modules that make use of the Module::Build framework.
  2907. Certain ports want to check for the availability of SDL
  2908. libraries before including them. This change adds a new
  2909. WANT_SDL macro similar to WANT_GNOME. By setting this, the
  2910. porter indicates that her port can optional use SDL if present
  2911. on the system. WANT_SDL should be defined _before_
  2912. bsd.port.pre.mk is included. After including bsd.port.pre.mk,
  2913. the list of available SDL components will be returned in the
  2914. HAVE_SDL macro. For details on how to process this component
  2915. list, refer to bsd.sdl.mk.
  2916. The OpenBSD and NetBSD projects diverged from the FreeBSD ports
  2917. tree years ago, and it no longer make sense to include obsolete
  2918. references to incorrect paths in the FreeBSD ports system. This
  2919. change removes the NetBSD and OpenBSD PORTSDIR compatibility
  2920. bits from bsd.port.mk.
  2921. The comment for PKGDIR read, ``A direction containing any
  2922. package creating file.'' The word ``direction'' should be
  2923. ``directory.'' This has been fixed.
  2924. A new DIRNAME macro has been added that points to
  2925. /usr/bin/dirname. All direct use of dirname in ports can be
  2926. switched to this macro.
  2927. Direct use of commands dirname, id, and rm have been corrected
  2928. to use their macro equivalents instead. Some useless ${HEAD}
  2929. -n 1 statements have been removed. A strange comment in the
  2930. do-install target and an out of place ``fi'' have been fixed as
  2931. well.
  2932. On 5-CURRENT after the 5.2-RELEASE split, the default Perl
  2933. version has been updated from 5.6.1 to 5.8.2. As well, some
  2934. Perl definitions in bsd.port.mk have been moved to their correct
  2935. locations which corrects the PERL_LEVEL definition.
  2936. The following optimizations have been added to the ports system
  2937. to speed up recursive operations such as make describe, make
  2938. index, make ignorelist, etc. bsd.gnome.mk is now only included
  2939. if a port defines USE_GNOME, WANT_GNOME, and/or USE_GTK. More
  2940. variables are cached and passed down through bsd.port.subdir.mk.
  2941. Perl is no longer invoked when a simple ``echo'' will do. More
  2942. subshell variable assignments have been hidden behind
  2943. conditionals so that the commands are not spawned every time.
  2944. Finally, dependency lists are only constructed if ports actually
  2945. declare dependencies. These optimizations give make index
  2946. approximately a 43% speedup.
  2947. If CPUFLAGS is not defined (this _CPUCFLAGS is empty), trying
  2948. to remove _CPUCFLAGS from CFLAGS will result in an error. This
  2949. change fixes that.
  2950. On recent versions of 5.X, /etc/rc.subr exists, and there is no
  2951. reason to install another copy in ${LOCALBASE}/etc. The reason
  2952. this was ever done was to workaround some build issues on bento.
  2953. However, testing OSVERSION seems to work in spite of those build
  2954. issues.
  2955. The ports system now supports MySQL 3.23, 4.0, 4.1, and 5.0.
  2956. Also, the ability to scale to newer versions was also but in
  2957. place.
  2958. An .endif comment indicated that the .if block checked
  2959. WANT_MYSQL when, in fact, it was checking WANT_MYSQL_VER. This
  2960. has been corrected.
  2961. The PTHREAD{CFLAGS,LIBS} macros have been made overridable on
  2962. all versions of FreeBSD to allow for alternate threading
  2963. implementations (e.g. -lc_r, -lthr, -mt, etc.). The default
  2964. threading library has been changed to -lpthread from -lc_r on
  2965. -CURRENT.
  2966. The new SIZE support broke distfiles fetching on FreeBSD < 4.8.
  2967. On those versions of FreeBSD, the SIZE distfile attribute is now
  2968. ignored. Also, defining DISABLE_SIZE in, for example,
  2969. /etc/make.conf, will ignore the SIZE attribute on all versions
  2970. of FreeBSD. This is useful with alternate values for FETCH_CMD.
  2971. A new vulnerabilities database has been added to the ports
  2972. system in order to keep more accurate, up-to-date, track of
  2973. security vulnerabilities. The ports system now knows how to
  2974. query that database and dynamically prevents the installation
  2975. of vulnerable ports.
  2976. In order to allow for more rapid development of the package
  2977. tools, the ports system will prefer to use pkg_* tools found in
  2978. ${LOCALBASE} over those in the base system. However, all PKG_*
  2979. macros are still overridable.
  2980. A new physical category, net-mgmt, has been created to house
  2981. network management ports.
  2982. The /var/db/port.mkversion file never really took off, and is
  2983. now very obsolete. Replace the code used to generate and check
  2984. this file with a simple OSVERSION check. The ports system now
  2985. requires FreeBSD 4.3 or higher.
  2986. The last round of bsd.*.mk changes broke ports that had
  2987. duplicate distinfo entries (e.g. linux_base). This is now
  2988. fixed. Along with this fix, only distfiles with a bad checksum
  2989. will be refetched, where as distfiles missing from distinfo will
  2990. not be refetched.
  2991. The PLIST_{DIRS,FILES} macros were passed to the final package
  2992. list unchanged by PLIST_SUB. This is not always desirable.
  2993. Now, those macros are passed through PLIST_SUB.
  2994. The previous OPTIONS code assumed users would be running port
  2995. build as root. If this was not the case, OPTIONS configuration
  2996. would fail. Now, the bits of the config and rmconfig targets
  2997. that require write access to system directories are run under
  2998. SU_CMD.
  2999. The makesum target will now add a SIZE attribute for each
  3000. distfile by default. This can be overridden by defining NO_SIZE
  3001. in a port's Makefile. Note: this could probably be expanded to
  3002. omit SIZE attributes for specific distfiles in the future.
  3003. 20040129:
  3004. AUTHOR: trevor@FreeBSD.org
  3005. SIZE lines in distinfo files: if you set USE_SIZE when you do "make
  3006. makesum", the byte sizes of the distfiles will be listed in the
  3007. distinfo file. Then, if a distfile is replaced on its master site with
  3008. one of a different size than that listed, "make fetch" will fail with a
  3009. "size mismatch" error before downloading the file and the user will be
  3010. asked to fetch the file by hand. Also, a user will know the size of
  3011. the distfiles before fetching and decide to fetch later.
  3012. 20040129:
  3013. AUTHOR: erwin@FreeBSD.org
  3014. Start of CHANGES file.
  3015. FORMAT:
  3016. This file contains a list, in reverse chronological order, of major
  3017. breakages or added features in tracking ports. Not all things will be
  3018. listed here, and it only starts on January 29, 2004.
  3019. Copyright information:
  3020. Copyright 2004-2020 FreeBSD Foundation All Rights Reserved.
  3021. Redistribution, publication, translation and use, with or without
  3022. modification, in full or in part, in any form or format of this
  3023. document are permitted without further permission from the author.
  3024. THIS DOCUMENT IS PROVIDED BY FREEBSD FOUNDATION ``AS IS'' AND ANY EXPRESS OR
  3025. IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  3026. WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  3027. DISCLAIMED. IN NO EVENT SHALL WARNER LOSH BE LIABLE FOR ANY DIRECT,
  3028. INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  3029. (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
  3030. SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  3031. HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
  3032. STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
  3033. IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  3034. POSSIBILITY OF SUCH DAMAGE.
  3035. Contact portmgr@FreeBSD.org if you have any questions about your use of
  3036. this document.