CHANGES 127 KB
Newer Older
erwin's avatar
erwin committed
1
2
Updating Information for FreeBSD ports developers

3
4
This file is maintained by portmgr@FreeBSD.org and copyrighted by the
FreeBSD Foundation.
erwin's avatar
erwin committed
5
6
7
8

This file contains major changes to ports and the ports infrastructure.
Intended audience are ports committers, maintainers and other
developers. User oriented changes should be submitted for inclusion
9
in the release notes and/or placed into UPDATING.
erwin's avatar
erwin committed
10
11

All ports committers are allowed to commit to this file.
amdmi3's avatar
amdmi3 committed
12

13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
20201120:
AUTHOR: gnome@FreeBSD.org

  New default version for librsvg2.

  Current versions of graphics/librsvg2 are using parts written in rust.
  For architectures that do not have support for rust, and for people
  who prefer not to have, or are not able to compile rust software due
  to hardware limitations, the version can be chosen via this new flag.

  The default on almost all architectures is rust.

  If you prefer no to use rust, add the following to your make.conf:

  	DEFAULT_VERSIONS+=librsvg2=legacy

bapt's avatar
bapt committed
29
30
31
32
33
34
35
20210327;
AUTHOR: bapt@FreeBSD.org

  New @touch keyword
  Its purpose is to ensure that a file is being created at install time
  while not necessary tracked by the package.

adamw's avatar
adamw committed
36
37
38
39
40
41
42
43
44
45
46
47
48
20201120:
AUTHOR: pauamma@gundo.com

  New virtual category: education.

  This category comprises ports that are mainly educational in nature or
  purpose, such as:
  * course-writing or course-delivery applications,
  * classroom or school management applications (eg, scheduling classes),
  * applications, utilities, or games primarily or substantially designed 
    to help the user learn a specific topic or study in general, like typing 
    tutors, flashcard applications, or educational games.

49
50
51
52
53
54
55
56
57
58
59
20201110:
AUTHOR: bapt@FreeBSD.org

  Patents are a complicated topic, and their regulation varies depending on
  jurisdiction. Patents are not necessarily related to the license and so
  should not be connected to the license framework.

  Patent limitations within the ports tree have been removed and left to the
  user or consumer to deal with their local legislation to determine if they
  can use the software without legal restrictions.

bapt's avatar
bapt committed
60
61
62
63
64
65
66
67
68
20201022:
AUTHOR: bapt@FreeBSD.org

  New @rmempty keyword
  Its purpose is to delete empty files at deinstallation time. It is meant
  to be used for generated files/untracked by the package manager files.

  It respects rootdir

bapt's avatar
bapt committed
69
70
20201022:
AUTHOR: bapt@FreeBSD.org
bapt's avatar
bapt committed
71

bapt's avatar
bapt committed
72
  @shell has been rewritten in lua
73
74
  It provides the exact same feature set as the previous version but it is now
  sandboxed and rootdir compliant (see the pkg -r option).
bapt's avatar
bapt committed
75

76
77
78
20201001:
AUTHOR: manu@FreeBSD.org

amdmi3's avatar
amdmi3 committed
79
80
81
  The @sample keyword was rewritten in lua.
  It behaves exactly like the previous one but it is sandboxed and
  is rootdir compliant (see pkg -r option).
82

83
84
85
20201001:
AUTHOR: bapt@FreeBSD.org

dbaio's avatar
Typo    
dbaio committed
86
  packages scripts and keywords can both be written in lua (version 5.3), see
87
88
89
90
91
92
93
94
95
  pkg-lua-script(5) for the API.

  Note that all scripts written in lua will:

  - run inside a capsicum sandbox,
  - be rootdir compatible (see pkg -r option)
  - be cross installation compatible example: installing packages in an arm64
    rootdir on and amd64 host.

96
97
98
99
100
101
102
103
20200531:
AUTHOR: kde@FreeBSD.org

  pyqt.mk gained support for test-only dependencies. If a component, say
  py-qt5-gui is only required for testing, you can add

    USE_PYQT=<other_deps> gui_test

104
105
106
107
108
109
110
111
112
113
20200514:
AUTHOR: mat@FreeBSD.org

  Add PATCH_CONTINUE_ON_FAIL to allow patching to go through all the patches
  even if one fail.

  This helps when upgrading ports with a large number of patches, like
  www/chromium where having to fix one patch, re-do the patching, fix the
  fallout, 800 times, is really painful.

bapt's avatar
bapt committed
114
115
116
117
118
119
120
121
122
123
124
125
20200414:
AUTHOR: bapt@FreeBSD.org

  package scripts can now be done in lua, the following are supported:

  - pkg-pre-install.lua
  - pkg-post-install.lua
  - pkg-pre-deinstall.lua
  - pkg-post-deinstall.lua

  see pkg-lua-script(5) for more details.

mat's avatar
mat committed
126
127
128
129
130
131
132
133
134
135
136
137
20200414:
AUTHOR: mat@FreeBSD.org

  USES=lua gained flavors.

  Ports using USES=lua:module or lua:flavors will be flavored.  A range of
  supported lua versions can be set using XX-YY (or XX-, or -YY, or simply ZZ)
  for ports not supporting all lua versions.

  USES=lua sets LUA_FLAVOR that needs to be used on all dependencies of
  flavored lua ports, in a similar way as PHP or Python flavors.
  
138
139
140
141
142
143
20200115:
AUTHOR: bapt@FreeBSD.org

  ${PREFIX}/share/man is now a valid location for manpages ${PREFIX}/man being
  considered as deprecated.

bapt's avatar
bapt committed
144
145
146
147
148
149
20191009:
AUTHOR: bapt@FreeBSD.org

  The ipv6 virtual category is gone, it does not make sense anymore in 2019
  where the norm in applications is to have support both ipv4 and ipv6.
  
150
151
152
153
154
155
156
20191001:
AUTHOR: bapt@FreeBSD.org

  BINARY_WRAPPERS allow to push in front of the PATH wrappers for binaries.
  This is useful when 2 tools do provide the same feature, but the configure
  scripts do test for some variables which are not in one of the tool.

157
158
159
160
161
162
20190919:
AUTHOR: madpilot@FreeBSD.org

  USES=xfce now defaults to gtk3, so for ported applications requiring
  GTK2 XFCE support USES=xfce:gtk2 should be used.

163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
20190903:
AUTHOR: bapt@FreeBSD.org

  The ports tree now supports overlays

  overlays are a way to help users to integrate their own ports tree
  with the official ports tree without having to maintain clone of the
  official tree and remerge on regular basis.

  The ports tree will lookup in the overlays (in the order the are listed in
  OVERLAY variable) for the dependencies and the USES. It will use the first
  found.

  in order to use it the user have to declare his overlays that way in their
  make.conf:
  OVERLAYS= overlay1 overlay2 overlay3

180
181
182
183
184
185
20181225:
AUTHOR: kde@FreeBSD.org

  cmake.mk now defaults to out-of-sourcetree builds. The option 'outsource'
  has been removed. Ports that need an intree build now can pass 'insource'.

186
187
188
189
190
20181110:
AUTHOR: bapt@FreeBSD.org

  texinfo files are now installed in ${PREFIX}/share/info

191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
20180630:
AUTHOR: kde@FreeBSD.org

  bsd.qt.mk has been replaced by qt.mk. This changes the way ports have to
  depend on Qt slightly.

  Previously one would have written
  	USE_QT4=foo bar
  or
  	USE_QT5=foo bar
  while now one has to write
  	USES=qt:4
  	USE_QT=foo bar
  respectively
  	USES=qt:5
  	USE_QT=foo bar

  Further qmake.mk no longer respects QT_NONSTANDARD. Ports that don't want to
  get the configure environment provided by qmake.mk should add the argument
  no_env, ports that don't want the configure target should specify no_configure.

212
213
214
215
216
217
218
219
220
20180506:
AUTHOR: brnrd@FreeBSD.org

  All USE_ and WANT_ variables for PHP have been removed and marked
  UNSUPPORTED. Use USES= php:<feature> as a replacement.

  USE_PHPIZE, USE_PHPEXT, USE_ZENDEXT, USE_PHP_BUILD,
  WANT_PHP_CLI, WANT_PHP_CGI, WANT_PHP_MOD, WANT_PHP_WEB, WANT_PHP_EMB

221
222
223
224
225
20180311:
AUTHOR: brnrd@FreeBSD.org

  USE_APACHE has been replaced by USES=apache.

mat's avatar
mat committed
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
20180308:
AUTHOR: mat@FreeBSD.org

  Ports using USES=php:phpize, php:ext, php:zend, and php:pecl are now
  flavored.  They will automatically get flavors (php56, php70, php71, php72)
  depending of the versions they support (set with IGNORE_WITH_PHP).  As a
  consequence, ports using USES=pear and USES=horde are also flavored.

  As all packages must have different package names, the following variables
  must be used in PKGNAMEPREFIX/SUFFIX:

    Variable                     + Values                +
    --------------------------------------------------------------------------------------
    PHP_PKGNAMEPREFIX            | php56- php72-         | PHP Extensions
                                 |                       | and modules
    --------------------------------------------------------------------------------------
    PHP_PKGNAMESUFFIX            | -php56 -php72         | PHP Applications
    --------------------------------------------------------------------------------------
    PECL_PKGNAMEPREFIX           | php56-pecl-           | PECL extensions
                                 |                       | automatic
    --------------------------------------------------------------------------------------
    PEAR_PKGNAMEPREFIX           | php56-pear-           | PEAR modules
                                 |                       | without PEAR_CHANNEL
    PEAR_<channel>_PKGNAMEPREFIX | php56-pear-channel-   | with PEAR_CHANNEL
                                 |                       | automatic

  In all the ports with PHP dependencies, the *_DEPENDS entries MUST end with
  the flavor so that the framework knows which to build/use.  This is done by
  appending '@${PHP_FLAVOR}' after the origin.  For example:

    RUN_DEPENDS=  ${PEAR_PKGNAMEPREFIX}Validate>=0.5.0:devel/pear-Validate@${PHP_FLAVOR} \
                  ${PECL_PKGNAMEPREFIX}smbclient>=0.8.0:net/pecl-smbclient@${PHP_FLAVOR} \

  PHP applications (for example, www/wordpress) can also get flavors, add the
  flavors keyword to USES=php, for example: USES=php:flavors, and add
  ${PHP_PKGNAMESUFFIX} to its PKGNAMESUFFIX.

263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
20180125:
AUTHOR: mat@FreeBSD.org

  Add support to passing directories to EXTRA_PATCHES.

  Instead of:

    EXTRA_PATCHES=        ${PATCHDIR}/feat-foo-patch-file.c \
                          ${PATCHDIR}/feat-foo-patch-file.h \
                          ${PATCHDIR}/feat-foo-patch-file2.c

  Move those files to ${PATCHDIR}/feat-foo/, name them patch-*, and set:

    EXTRA_PATCHES=        ${PATCHDIR}/feat-foo

mat's avatar
mat committed
278
279
280
281
282
283
20180116:
AUTHOR: mat@FreeBSD.org

  The deprecated PYTHON_DEFAULT_VERSION, PYTHON2_DEFAULT_VERSION, and
  PYTHON3_DEFAULT_VERSION have been removed.

rakuco's avatar
rakuco committed
284
285
286
287
288
289
290
291
292
293
294
295
296
297
20180106:
AUTHOR: kde@FreeBSD.org

  USES=qmake now accepts a new variable, QMAKE_CONFIGURE_ARGS.

  Starting with Qt 5.8.0, qmake can use configure.json files to help define
  configuration options and configuration time checks. These options are
  generally in the form '-foo -no-bar', and must be passed after "--" at the
  end of qmake's command line.

  The QMAKE_CONFIGURE_ARGS variable allows one to set those options, and
  USES=qmake takes care of passing them at the right position when invoking
  qmake.

tcberner's avatar
tcberner committed
298
299
20180102:
AUTHOR: kde@FreeBSD.org
miwi's avatar
miwi committed
300

tcberner's avatar
tcberner committed
301
  There is a new USES=eigen to depend on math/eigen[23].
miwi's avatar
miwi committed
302
303

  Usage:
tcberner's avatar
tcberner committed
304
305
306
307
308
309
310
311
    USES=eigen:<version>[,<type>]

    version: 2 or 3 (required)
    type:    build (default), run

  For example:
    USES=eigen:2,build,run
  will add a BUILD- and RUN_DEPENDS on math/eigen2, and
miwi's avatar
miwi committed
312
    USES=eigen:3
tcberner's avatar
tcberner committed
313
314
  will add a BUILD_DEPENDS on math/eigen3.

315
316
317
20171231:
AUTHOR: kde@FreeBSD.org

miwi's avatar
miwi committed
318
  USES=cmake now supports two additional list variables:
319
320
321
322
    * CMAKE_ON  : List of variables to turn on
    * CMAKE_OFF : List of variables to turn off
  This can be used as a shortcut to append these to CMAKE_ARGS.

miwi's avatar
miwi committed
323
  For example ports that previously set
324
325
326
327
328
    CMAKE_ARGS=		-DVAR1:BOOL=TRUE -DVAR2:BOOL=TRUE -DVAR3:BOOL=FALSE
  can now set this as
    CMAKE_ON=		VAR1 VAR2
    CMAKE_OFF=		VAR3

mat's avatar
mat committed
329
330
331
332
333
334
335
336
337
338
20171130:
AUTHOR: mat@FreeBSD.org

  Ports using USE_PYTHON=distutils are now flavored.  They will automatically
  get flavors (py27, py34, py35, py36) depending on what versions they support.

  There is also a USE_PYTHON=flavors for ports that do not use distutils but
  need FLAVORS to be set.  A USE_PYTHON=noflavors can be set if the port is
  using distutils but flavors are not wanted.

sunpoet's avatar
sunpoet committed
339
  A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been added
mat's avatar
mat committed
340
341
342
343
344
345
346
347
348
349
350
351
352
353
  to cope with Python ports that did not have the Python PKGNAMEPREFIX but are
  flavored.

  USES=python now also exports a PY_FLAVOR variable that contains the current
  python flavor.  It can be used in dependency lines when the port itself is
  not python flavored, for example, deskutils/calibre.

  By default it will only generate flavors for the versions in PYTHON2_DEFAULT
  and PYTHON3_DEFAULT.  Define BUILD_ALL_PYTHON_FLAVORS in your make.conf to
  generate all possible flavors.  A port can set USE_PYTHON=allflavors to have
  all the flavors and not simply the default ones.

  In all the ports with Python dependencies, the *_DEPENDS entries MUST end
  with the flavor so that the framework knows which to build/use.  This is done
354
  by appending '@${PY_FLAVOR}' after the origin.  For example:
mat's avatar
mat committed
355
356
357

    RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}

mat's avatar
mat committed
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
20171130:
AUTHOR: mat@FreeBSD.org

  To help with flavored ports, helpers are available.  In these, replace <*>
  with the flavor name.

  *_PKGNAMEPREFIX *_PKGNAMESUFFIX *_PLIST *_DESCR will overwrite the variable.

  *_CONFLICTS *_CONFLICTS_BUILD *_CONFLICTS_INSTALL *_PKG_DEPENDS
  *_EXTRACT_DEPENDS *_PATCH_DEPENDS *_FETCH_DEPENDS *_BUILD_DEPENDS
  *_LIB_DEPENDS *_RUN_DEPENDS *_TEST_DEPENDS will append to the variable.

  For example:

    flavor2_PKGNAMESUFFIX=	-foo

  can replace:

    .if ${FLAVOR:U} == flavor2
    PKGNAMESUFFIX=	-foo
    .endif

mat's avatar
mat committed
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
20171130:
AUTHOR: mat@FreeBSD.org

  Flavors are a way to have multiple variations of a port.  The port is built
  multiple times, with the variations.  To declare flavors, set the FLAVORS
  variable to the flavors you want defined.  The first flavor will be the
  default:

    FLAVORS=   flavor1 flavor2

  The flavors MUST be lowercase, and can contain [[:lower:][:digit:]_].

  Then, when building the port, pass the FLAVOR as an argument after make to
  select the flavor.

    $ make install FLAVOR=flavor2

  In the port, you can then change the behavior depending on the value of the
  FLAVOR variable.  Note that the different flavors MUST have different
  PKGNAMEs.  Be sure to guard against an empty FLAVOR variable by using
  ${FLAVOR:U}:

    .if ${FLAVOR:U} == flavor2
    PKGNAMESUFFIX=	-foo
    OPTIONS_DEFAULT+=   FOO
    .endif

bdrewery's avatar
bdrewery committed
407
408
409
410
411
  A tools guide is available at:
        https://wiki.freebsd.org/Ports/FlavorsTools
  A port migration guide is available at:
        https://wiki.freebsd.org/Ports/FlavorsMigration

412
413
414
415
416
417
418
20171020:
AUTHOR: ak@FreeBSD.org

  The USES=fmake has been removed. It was created to help migration from
  old FreeBSD make (pmake) and there are no more users of it left in
  the ports tree.

mat's avatar
mat committed
419
420
421
422
423
424
20171012:
AUTHOR: mat@FreeBSD.org

  Remove WANT_GNOME and HAVE_GNOME, they were in disuse, and made useless by
  options.

bapt's avatar
bapt committed
425
426
427
428
429
430
431
432
433
434
435
436
437
438
20171011:
AUTHOR: bapt@FreeBSD.org

  New BINARY_ALIAS variable has been added, when defined it will create symlinks
  of some given binaries in a directory which will be prepended to the PATH.

  The syntax is the following:
  BINARY_ALIAS=   target1=source1  target2=source2

  For example to have a "swig" binary in the path which will be pointing at
  swig3.0 and a "sed" pointing at GNU sed: gsed

  BINARY_ALIAS=  swig=swig3.0 sed=gsed

tcberner's avatar
tcberner committed
439
440
441
442
443
444
445
446
447
448
449
450
451
20170625:
AUTHOR: kde@FreeBSD.org

  The default generator for USES=cmake ports has been switched to ninja.

  Previously it was possible to opt-in to using ninja instead of make(1)
  by setting CMAKE_NINJA, now ports need to opt-out.

  Ports that do not build with ninja must switch from
      USES=cmake:<args>
  to
      USES=cmake:<args>,noninja

kwm's avatar
kwm committed
452
453
454
455
20170417:
AUTHOR:	kwm@FreeBSD.org

  New USES: meson, to handle properly the meson building system.
miwi's avatar
miwi committed
456

457
458
459
460
461
462
463
464
465
466
467
468
20170313:
AUTHOR: tijl@FreeBSD.org

  HTTPS certificates are now verified when "make makesum" fetches distfiles.
  If this fails make sure you have a CA certificate bundle installed such as
  security/ca_root_nss.  If it still fails and there are other HTTPS sites
  with a valid certificate consider removing the site from MASTER_SITES.
  If the site cannot be removed you can disable certificate verification by
  adding the following line to the port Makefile:

  FETCH_ENV=	SSL_NO_VERIFY_PEER=1 SSL_NO_VERIFY_HOSTNAME=1

469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
20170218:
AUTHOR: kde@FreeBSD.org

  * Qt 4's binaries have been moved to lib/qt4/bin to match what is already done
    to Qt 5's binaries. Since these binaries are no longer in ${LOCALBASE}/bin,
    they also do not have the -qt4 suffix in their names any more.

  * Consequently, there are no Qt 4 or Qt 5 binaries in the default $PATH, and
    misc/qtchooser is now used to select the actual Qt binaries. In other
    words, calling "qmake" or "moc" now goes through qtchooser, which prefers
    Qt 5 binaries by default.

    The ports framework handles this automatically. The UPDATING entry covers
    this in more detail.

  * Qt 5.7.1 requires a C++11-capable compiler to be used. qmake and CMake pass
    the appropriate flags to the compiler (such as -std=c++11) automatically,
    but if your port fetches Qt's build flags via pkg-config (which can be the
    case for autotools-based ports), you might need to take care of this
    manually by setting USE_CXXSTD in your Makefile:

      USE_CXXSTD=	c++11

mat's avatar
mat committed
492
493
494
495
496
497
498
499
500
501
502
503
20160116:
AUTHOR: mat@FreeBSD.org

  A new EXTRA_PATCH_TREE has been added.  Points to a directory hierarchy with
  the same layout as the ports tree, where local patches can be found.  This
  allows a third party to keep their patches in some other source control
  system if needed.

  For example, if you have EXTRA_PATCH_TREE=/patches, when building
  lang/perl5.24, any file named patch-* in /patches/lang/perl5.24/ will be used
  to patch the Perl distribution.

mat's avatar
mat committed
504
505
506
507
508
509
510
511
512
513
514
515
516
517
20160116:
AUTHOR: mat@FreeBSD.org

  During extraction of the do-patch target into a separate script, the "-d
  PATCH_WRKSRC" had to be removed from the PATCH_ARGS and PATCH_DIST_ARGS
  variables.  If using these variables directly, you will need to adapt the
  Makefile. For example:

    ${PATCH} ${PATCH_ARGS} < ${FILESDIR}/extra-patch

    needs to be changed to:

    ${PATCH} -d ${PATCH_WRKSRC} ${PATCH_ARGS} < ${FILESDIR}/extra-patch

518
519
520
521
522
20161218:
AUTHOR: tcberner@FreeBSD.org

  QT_PREFIX has been dropped, in favour of using PREFIX directly.

amdmi3's avatar
amdmi3 committed
523
524
525
526
527
528
529
20160911:
AUTHOR: amdmi3@FreeBSD.org

  Support has been added for complete set of Creative Commons licenses

  CC-(BY|BY-ND|BY-NC|BY-NC-ND|BY-NC-SA|BY-SA)-(1.0|2.0|2.5|3.0|4.0)

530
531
532
533
534
535
536
20160909:
AUTHOR: amdmi3@FreeBSD.org

  Verbose build logs are now preferred and enabled by default for cmake,
  ninja and GNU configure.  Ports which still produce quiet build logs
  (hiding actual commands) are strongly advised to switch to verbose logs.

537
538
539
540
541
542
543
544
545
20160908:
AUTHOR: amdmi3@FreeBSD.org

  Support has been added for NONE license, use it when the port doesn't
  have cleanly defined licensing terms.  Note that without clean license
  allowing you to use and distribute the code it would be be illegal to do
  so in many jurisdictions, so for ports with NONE license no distfiles or
  packages are distributed.

546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
20160824:
AUTHOR: mat@FreeBSD.org

  To complete the USE_GITHUB framework, a GH_SUBDIR variable has been added.
  It automatically moves a secondary distfile to the right place inside WRKSRC.
  It also extends the GH_TUPLE variable to make it as easy to use as possible.

  Before:

    GH_TUPLE=   Regaddi:Chart.js:f13f99b:chart_js \
                FVANCOP:ChartNew.js:77e7f87:chartnew_js
    post-extract:
            @${RMDIR} ${WRKSRC}/database ${WRKSRC}/3rd/Chart.js
            @${MV} ${WRKSRC_database} ${WRKSRC}/database
            @${MV} ${WRKSRC_chart_js} ${WRKSRC}/3rd/Chart.js

  After:

    GH_TUPLE=   Regaddi:Chart.js:f13f99b:chart_js/3rd/Chart.js \
                FVANCOP:ChartNew.js:77e7f87:chartnew_js/3rd/ChartNew.js

  It also works if not using GH_TUPLE but the regular
  GH_ACCOUNT/PROJECT/TAGNAME variables:

    GH_SUBDIR=  3rd/Chart.js:chart_js 3rd/ChartNew.js:chartnew_js

572
573
20160824:
AUTHOR: kde@FreeBSD.org
574

575
576
577
578
579
  A new USES file has been introduced: USES=kde:4, which replaces the old
  bsd.kde4.mk file in preparation for upcoming KDE Frameworks and Plasma5
  ports.

  Ports depending on KDE4 have to switch from
580
     USE_KDE4=foo bar
581
  to
582
583
     USES=kde:4
     USE_KDE=foo bar
584
  and make sure to switch from using KDE4_PREFIX to the new name KDE_PREFIX
585
586
  in the Makefiles as well as plists.

587
588
589
590
591
592
593
594
595
20160821:
AUTHOR: kde@FreeBSD.org

  A new USES file has been introduced: USES=grantlee:[4,5], which introduces a
  LIB_DEPENDS on either devel/grantlee (Qt4) or devel/grantlee5 (Qt5).

  Uses/grantlee.mk also exports the GRANTLEE_VERSION variable to users, and the
  GRANTLEE_VERSION_FULL and GRANTLEE_VERSION_SHORT pkg-plist substitutions.

596
20160817:
mat's avatar
mat committed
597
598
599
600
601
602
603
604
AUTHOR: mat@FreeBSD.org

  This adds the possibility to use regular expressions for the makeplist stage
  of the PLIST_SUB life.

  From time to time, the values are too generic, and they get in the way of
  other stuff.

605
606
  This adds the possibility to have a VAR_regex=regex that will be used
  instead of the VAR=string to search for possible replacements.
mat's avatar
mat committed
607
608
609
610
611
612
613

  For example, in lang/perl5*, there is PERL_ARCH=mach, which will get replaced
  in paths if a file is called, say "machine", will end up being
  "%%PERL_ARCH%%ine".  Adding PERL_ARCH_regex="\bmach\b" will ensure only full
  words are replaced, so machine will stay machine, but "lib/mach/foo "will
  still be replaced by "lib/%%PERL_ARCH%%/foo".

614
615
616
617
618
619
620
621
622
623
20160803:
AUTHOR: mat@FreeBSD.org

  Every PHP (or Zend) extension now installs its own .ini file in
  /usr/local/etc/php.  A PHP extension will be automatically activated when
  installed.  The order into which extensions are loaded is automatically
  guessed.  In some very rare cases, the guess will be wrong, and PHP_MOD_PRIO
  will need to be set.  Refer to the USES=php section of the Porter's Handbook
  for more information.

mat's avatar
mat committed
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
20160628:
AUTHOR: mat@FreeBSD.org

  USEify USES=php.

  The following variables have been folded into arguments:

  - USE_PHPIZE -> USES=php:phpize
  - USE_PHPEXT -> USES=php:ext
  - USE_ZENDEXT -> USES=php:zend
  - USE_PHP_BUILD -> USES=php:build
  - WANT_PHP_CLI -> USES=php:cli
  - WANT_PHP_CGI -> USES=php:cgi
  - WANT_PHP_MOD -> USES=php:mod
  - WANT_PHP_WEB -> USES=php:web
  - WANT_PHP_EMB -> USES=php:embed

mat's avatar
mat committed
641
642
643
644
645
20160627:
AUTHOR: mat@FreeBSD.org

  USE_OPENSSL has been replaced by USES=ssl.

adamw's avatar
adamw committed
646
647
648
649
650
651
652
653
654
655
656
657
20160625:
AUTHOR: adamw@FreeBSD.org

  A new ${opt}_CMAKE_BOOL OPTIONS helper has been added. Instead of:

    FOO_CMAKE_ON=	-DWITH_FOO:BOOL=YES -DWITH_BAR:BOOL=YES
    FOO_CMAKE_OFF=	-DWITH_FOO:BOOL=NO  -DWITH_BAR:BOOL=NO

  you can use this shortcut:

    SOMEOPT_CMAKE_BOOL=	WITH_FOO WITH_BAR

658
659
660
661
662
663
664
665
666
667
668
669
670
671
20160525:
AUTHOR: mat@FreeBSD.org

  A new stage-qa test has been added, it reports all shared libraries
  dependencies that are not part of the port list of dependencies.  It help
  finds what is called proxy dependencies.

  A is needed by B, and B is needed by C.  If C also needs A, then it needs to
  be registered, and this check will tell you to do so.

  Right now, it is only reporting the problems, but if you add
  PROXYDEPS_FATAL=yes to your environment, it will give an error and will force
  you to fix the dependencies.

bapt's avatar
bapt committed
672
673
674
675
676
677
678
679
680
20160525:
AUTHOR: bapt@FreeBSD.org

  New keyword @xmlcatmgr has been added, to handle the XML and SGML catalog
  maintainance, in order to improve consistency and correctness of the
  generation of the catalog.
  If the catalog file has an extension being '.xml' it will be automatically
  added to the XML catalog, otherwise it will be added to the SGML catalog

681
682
683
684
685
686
687
688
689
690
20160512:
AUTHOR: emaste@FreeBSD.org

  "make makesum" now writes the current timestamp to distinfo when it is run.
  This is done to support development and prototyping efforts for reproducible
  package builds, which require some concept of a "last updated" time.

  The TIMESTAMP can currently be ignored for ports that have no distinfo, and
  for updates done without using "make makesum."

mat's avatar
mat committed
691
692
693
694
695
20160428
AUTHOR: mat@FreeBSD.org

  USE_RUBYGEMS has been replaced by USES=gem.

mat's avatar
mat committed
696
697
698
699
700
701
702
20160426:
AUTHOR: mat@FreeBSD.org

  USE_MYSQL and USE_BDB have been replaced by USES=mysql and USES=bdb.

  WANT_BDB_VER=XX should be replaced by USES=bdb:XX.

703
704
705
706
707
708
20160414:
AUTHOR: mat@FreeBSD.org

  USE_RC_SUBR=yes has not done anything for a long time, it will now give an error.

20160413:
jbeich's avatar
jbeich committed
709
710
711
712
713
714
715
716
717
718
719
AUTHOR: jbeich@FreeBSD.org

  Introducing CONFIGURE_OUTSOURCE. It changes HAS_CONFIGURE and GNU_CONFIGURE
  by invoking configure, build and install stage outside of source tree e.g.,

    $ mkdir ../.build
    $ cd ../.build
    $ ${OLDPWD}/configure
    $ gmake
    $ gmake install

720
721
722
723
724
725
726
727
728
729
730
731
732
733
20160402:
AUTHOR: bapt@FreeBSD.org

  Adding ${PORTSDIR} in dependency lines is no longer necessary meaning

  RUN_DEPENDS=  foo:${PORTSDIR}/bar/foo

  can now be written

  RUN_DEPENDS=  foo:bar/foo

  if the path after ':' is not absolute the framework will automatically
  prepend ${PORTSDIR}/

mat's avatar
mat committed
734
735
736
737
738
739
740
741
742
20160301:
AUTHOR: mat@FreeBSD.org

  Introduce GH_TUPLE.

  GH_TUPLE allows one to put all the GH_{ACCOUNT,PROJECT,TAGNAME} into one
  variable, in the form of account:project:tagname[:group].  It is helpful when
  there are many submodules.

743
744
745
746
747
748
749
750
751
752
753
754
20160207:
AUTHOR: kwm@FreeBSD.org

  The GNOME and MATE framework activation changed. To use the frameworks
  now either gnome or mate needs to be added USES.

  The usage of USE_GNOME, USE_MATE, INSTALLS_ICONS and for example
  GLIB_SCHEMAS stays the same.

  Like with USES, the use of USE_GNOME and so after bsd.port.pre.mk
  is now forbidden.

amdmi3's avatar
amdmi3 committed
755
756
757
758
759
760
761
762
763
764
20160112:
AUTHOR: amdmi3@FreeBSD.org

  Support has been added for "or later" variants of GNU licenses
  (e.g. LICENSE=GPLv2+) and for Public Domain (LICENSE=PD).

  Complete list of new LICENSE values:

  AGPLv3+ GPLv1+ GPLv2+ GPLv3+ GPLv3RLE+ LGPL20+ LGPL21+ LGPL3+ PD

bapt's avatar
bapt committed
765
20160110:
766
767
768
769
770
AUTHOR: bapt@FreeBSD.org

  USE_FIREBIRD and USE_SQLITE has been replaced by USES=firebird and
  USES=sqlite

771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
20151105:
AUTHOR: mat@FreeBSD.org

  Change the meaning of NO_WRKSUBDIR to force a WRKDIR != WRKSRC.

  Right now, NO_WRKSUBDIR means that the extraction does not produce a
  subdirectory, and that everything goes straight into WRKDIR.  It is
  problematic, because during the build of a port, quite a few files
  are created in there, and then, a stage directory, where everything
  is installed, and then a pkg directory where the package is created,
  and those often conflict, or get in the way, of the building
  process.

  With this, NO_WRKSUBDIR will extract the distfiles directly into
  WRKSRC instead of WRKDIR.  In this case, WRKSRC is artificial and is
  based on PKGNAME and not DISTNAME, mitigate conflicts with rc files.

amdmi3's avatar
amdmi3 committed
788
789
790
791
792
793
794
795
796
797
798
799
800
801
20151022:
AUTHOR: amdmi3@FreeBSD.org

  Improved support for USES=shebangfix

  - We now support multiple values for *_OLD_CMD
  - We replace more variants by default (/bin/${lang}, /usr/bin/${lang},
    /usr/bin/env ${lang}).
  - shebangfix now also supports lua if USES=lua is specified
  - Pattern matching has been improved: we now only match whole worlds,
    e.g. "/usr/bin/perl5.005" is no longer erroneously replaced with
    "${perl_CMD}5.005".

  Note that *_OLD_CMD entries which contain spaces must now be quoted.
802

803
804
805
806
807
808
809
20150928:
AUTHOR: amdmi3@FreeBSD.org

  Implemented complete support for test target.

  You can now `make test' on any port to run test sequence, no-op by default.
  If a port defines TEST_TARGET, it'll run sub-make with specified target,
amdmi3's avatar
amdmi3 committed
810
811
  usually `check' or `test', useful if upstream supports that. The port may
  instead define custom do-test target, as well as usual satellite targets:
812
813
814
815
816
817
818
819
820
821
822

    {pre,do,post}-test, {pre,do,post}-test-OPT, {pre,do,post}-test-OPT-off

  `make test' builds and stages port first, so test may use both WRKDIR and
  STAGEDIR, and both BUILD and RUN depends are available for test target.
  Additionally, TEST_DEPENDS is now properly supported and may be used to
  define additional depends specifically for testing.

  Framework may define default tests for specific cases. For instance,
  perl5.mk and cran.mk provide default test target on their own.

bapt's avatar
bapt committed
823
824
825
826
827
828
829
830
831
832
20150926:
AUTHOR: bapt@FreeBSD.org

  @sample now accept arguments, so it can now be used the following way:

  @sample afile.sample
  or
  @sample path/to/example etc/target

20150926:
bapt's avatar
bapt committed
833
834
835
836
837
838
839
840
AUTHOR: bapt@FreeBSD.org

  New keywords are supported in pkg since 1.5.x:
  @preexec <command>: execute the <command> during pre-install scripts
  @postexec <command>: execute the <command> during post-install scripts
  @preunexec <command>: execute the <command> during pre-deinstall scripts
  @postunexec <command>: execute the <command> during post-deinstall scripts

841
  @exec does not specify when it should be executed and is now considered as
bapt's avatar
bapt committed
842
843
  deprecated.

844
845
846
847
848
849
20150914:
AUTHOR: mat@FreeBSD.org

  Introducing the %%PERL5_MAN1%% PLIST_SUB entry, as Perl now installs man1
  pages in the same prefix as man3 pages.

mat's avatar
mat committed
850
851
852
853
854
855
856
857
858
859
860
20150828:
AUTHOR: mat@FreeBSD.org

  <opt>_VARS and <opt>_VARS_OFF have been introduced to allow for a generic way
  to set/append to variables.

  OPT1_VARS=  foo=bar baz+=bam

  will set FOO to bar and append bam to BAZ if OPT1 is enabled.  <opt>_VARS_OFF
  works the same way, if the option is disabled.

rakuco's avatar
rakuco committed
861
862
863
864
865
866
20150818:
AUTHOR: kde@FreeBSD.org

  The CMAKE_ENV option has been deprecated. It no longer has any effect, and
  the CONFIGURE_ENV variable should be used instead.

867
868
869
870
871
872
873
874
875
876
877
878
879
880
20150818:
AUTHOR: mat@FreeBSD.org

  <opt>_IMPLIES and <opt>_PREVENTS have been introduced to register dependency,
  or conflicts between options.

    OPTIONS_DEFINE= FOO BAR BAZ

    FOO_IMPLIES=	BAR
    BAZ_PREVENTS= BAR

  If the FOO option is selected, the BAR option will be enabled as well.  If
  the BAZ and BAR options are both enabled, an error will be given.

mat's avatar
mat committed
881
882
883
884
885
886
887
888
20150817:
AUTHOR: mat@FreeBSD.org

  UNIQUENAME and LATEST_LINK have been removed. LATEST_LINK was only used by
  ports-mgmt/pkg{,-devel} and PKGBASE can be used in its stead.  UNIQUENAME was
  used by USE_LDCONFIG where it was not unique enough, and as old compat shims
  with options.

889
890
891
892
893
894
895
20150716:
AUTHOR:	kwm@FreeBSD.org

  USE_GHOSTSCRIPT was replaced by USES=ghostscript. The ghostscript USES
  accepts version, build, run, nox11 and for version 9 the agpl argument.
  If no version is specified, the default 9 for GHOSTSCRIPT_DEFAULT is honored.

mat's avatar
mat committed
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
20150701:
AUTHOR: mat@FreeBSD.org

  Make option target helpers have been added, it allows replacing:

    .include <bsd.port.options.mk>

    post-patch:
      ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
	${WRKSRC}/Configure ${WRKSRC}/hints/freebsd.sh
    .if ${PORT_OPTIONS:MPTHREAD}
      ${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|-lpthread|g;' \
	${WRKSRC}/hints/freebsd.sh
    .else
      ${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%||g;' \
	${WRKSRC}/hints/freebsd.sh
    .endif

  with:

    post-patch:
      ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
	${WRKSRC}/Configure ${WRKSRC}/hints/freebsd.sh

    post-patch-PTHREAD-on:
      ${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|-lpthread|g;' \
	${WRKSRC}/hints/freebsd.sh

    post-patch-PTHREAD-off:
      ${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%||g;' \
	${WRKSRC}/hints/freebsd.sh

bapt's avatar
bapt committed
928
929
930
931
932
933
20150622:
AUTHOR: bapt@FreeBSD.org

  Remove USE_RCORDER, USE_RC_SUBR has been modified to support PREFIX=/usr
  automatically

934
935
936
937
938
939
940
20150529:
AUTHOR: mat@FreeBSD.org

  Extend the multiple distfiles USE_GITHUB framework by allowing it to fetch
  only additional distfiles, but not the main one.  Set USE_GITHUB=nodefault
  and use the GH_* variables with groups as usual.

941
942
20150528:
AUTHOR: mat@FreeBSD.org
amdmi3's avatar
amdmi3 committed
943

944
945
  USE_GITHUB can now fetch multiple distfiles.  It uses a grouping feature
  similar to MASTER_SITES/PATCH_SITES.
amdmi3's avatar
amdmi3 committed
946

947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
  Some helpful variables are provided: WRKSRC_<group> for putting things in the
  right place in post-extract, and DISTNAME_<group>/DISTFILE_<group> for use
  with EXTRACT_ONLY.

  A simple example:

    PORTNAME=     bar
    PORTVERSION=  1.0
    USE_GITHUB= yes
    GH_ACCOUNT= foo
    GH_PROJECT= ${PORTNAME}-images:images

    post-extract:
	    @${MV} ${WRKSRC_images} ${WRKSRC}/images

  It will fetch those two distfiles:

    $ make fetch-urlall-list
    https://codeload.github.com/foo/bar/tar.gz/1.0?dummy=/foo-bar-1.0_GH0.tar.gz
    https://codeload.github.com/foo/bar-images/tar.gz/1.0?dummy=/foo-bar-images-1.0-1.0.tar.gz

  It will then extract them to ${WRKDIR} in their respectives directories.

970
971
972
973
974
975
976
977
20150526:
AUTHOR: antoine@FreeBSD.org

  PYTHON_REL has been switched from a 3 digits number to a 4 digits number to
  handle python 2.7.10.  Ports checking for python 2.7.9 should compare
  PYTHON_REL against 2709 and ports checking for python 2.7.10 should compare
  PYTHON_REL against 2710.

mat's avatar
mat committed
978
979
980
981
982
20150521:
AUTHOR: mat@FreeBSD.org

  GH_COMMIT support has been removed, see the 20150319 for more informations.

983
984
985
986
987
988
989
990
991
20150419:
AUTHOR: tijl@FreeBSD.org

  USE_AUTOTOOLS has been deprecated.  It can be replaced with USES=autoreconf
  and GNU_CONFIGURE=yes.

  Support for USE_AUTOTOOLS=libtoolize has been removed.  It can be replaced
  with "USES=autoreconf libtool".

bapt's avatar
bapt committed
992
993
994
995
996
997
998
999
1000
1001
1002
20150409:
AUTHOR: bapt@FreeBSD.org

  Add a new USES=gnustep to handle the GNUstep ports. Now the dependencies on
  GNUstep libraries is done via the regular LIB_DEPENDS

  USE_GNUSTEP is now a macro that accept many arguments: back, build, gui, back
  Depending on the feature needed for a given port

  Reuse USES=objc to avoid duplicating code

bapt's avatar
bapt committed
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
20150408:
AUTHOR: bapt@FreeBSD.org

  Add a new USES=waf to handle the waf building system, allowing to factorise
  code. Plug waf into MAKE_CMD and CONFIGURE_CMD so the regular defined targets
  can be reused.

  Always define _MAKE_JOBS so that when bsd.port.mk will stop overwritting
  _MAKE_JOBS when parallel jobs are disabled we can enforce -j1 (which is needed
  to really disable parallelisation with waf

  WAF_CMD has been created to allow one to override the location of the waf
  script relatively to WRKSRC

  CONFIGURE_TARGET is by default defined to "configure"
  ALL_TARGET is by default defined to "build"
  INSTALL_TARGET is by default defined to "install"

  USES=waf is by default stagedir safe

1023
1024
1025
1026
1027
1028
20150407:
AUTHOR: bapt@FreeBSD.org

  USE_XZ and USE_BZIP2 are not supported anymore, they have been replaced by
  USES=tar:bzip2 and tar:xz

bapt's avatar
bapt committed
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
20150328:
AUTHOR: bapt@FreeBSD.org

  New "metaport" USES to take care of predefining correctly the needed
  macros as expected by meta ports.

20150323:
AUTHOR: bapt@FreeBSD.org

  Remove "@fc" and "@fontsdir". All fonts should always use @fcfontsdir which
  Properly takes care of the fonts.dir and fonts.scale cache files as well
  as ensure to properly update the fontconfig cache

  New "fonts" USES. It defines the default variables needed for fonts and also
  takes care of the run time dependencies

1045
1046
1047
20150326:
AUTHOR: bdrewery@FreeBSD.org

thierry's avatar
thierry committed
1048
  PTHREAD_CFLAGS and PTHREAD_LIBS have been removed.  Please see entry
1049
1050
  20130207 for more information.

1051
1052
1053
1054
1055
1056
1057
1058
20150319:
  AUTHOR: bdrewery@FreeBSD.org

  MASTER_SITE GHR (GITHUB_RELEASE) has been removed.  The same functionality
  can be achieved with just USE_GITHUB/GH_ACCOUNT/GH_PROJECT. GH_TAGNAME
  defaults to DISTVERSION. If the tag needs to be adjusted then change
  GH_TAGNAME. No GH_COMMIT is needed.

1059
1060
1061
1062
1063
1064
1065
1066
1067
20150319:
  AUTHOR: bdrewery@FreeBSD.org

  USE_GITHUB has been updated to make GH_COMMIT optional.  Using this new
  scheme allows only setting the _tag_ or _commit hash_ in GH_TAGNAME and
  not having to know the hash for a tag.  This scheme will download a tarball
  that has a different checksum than before due to a changed directory name
  for extraction.

1068
1069
1070
  GH_TAGNAME can now be any length of the hash as long as it is unique.  There
  is no longer a 7-character requirement.

1071
1072
1073
1074
1075
  The following MASTER_SITES are provided to retain the old checksum and
  directory structure (that require GH_COMMIT):
    GH -> GHL
    GITHUB -> GITHUB_LEGACY

1076
1077
1078
1079
1080
1081
20150305:
  AUTHOR: olivierd@FreeBSD.org

  Dependencies on the Xfce ports have been migrated to USES. Instead
  of USE_XFCE= configenv, you should use USES= xfce.

1082
1083
1084
1085
1086
1087
1088
1089
1090
20150224:
  AUTHOR: makc@FreeBSD.org

  New USE_QT4 component has been introduced to reduce buildtime
  dependencies for Qt 4 ports that use localization support. Instead
  of USE_QT4=linguist you should now use USE_QT4=linguisttools_build.
  Conversion of existing ports may require USE_QT4 adjustment for
  missing components.

1091
1092
1093
1094
1095
1096
1097
1098
1099
20141217:
  AFFECTS: users of lang/perl5.*
  AUTHOR: mat@FreeBSD.org

  Perl now links libperl.so with all .so it builds.  The stage-qa checks have
  been extended to check that libperl.so is in fact linked with .so in
  SITE_ARCH and errors out if none of the .so build by a port are linked with
  it.  It also checks that the rpath and runpath elf attributes are present.

1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
20141130:
AUTHOR: tijl@FreeBSD.org

  The devel/gettext port has been split up in devel/gettext-runtime which
  contains runtime libraries such as libintl, and devel/gettext-tools which
  contains build tools such as msgfmt.  You can use USES=gettext-runtime to
  set a LIB/BUILD/RUN_DEPENDS on devel/gettext-runtime and USES=gettext-tools
  to set a BUILD/RUN_DEPENDS on devel/gettext-tools.

  USES=gettext is now the same as "USES=gettext-runtime gettext-tools",
  meaning a LIB_DEPENDS on devel/gettext-runtime and a BUILD_DEPENDS on
  devel/gettext-tools.

1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
20141126:
AUTHOR: mat@FreeBSD.org

  The way Perl modules are installed has changed.  Before, we had

    site_perl :           lib/perl5/site_perl/5.18
    site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
    perl_man3 :           lib/perl5/5.18/man/man3

  Now we have :

    site_perl : lib/perl5/site_perl
    site_arch : lib/perl5/site_perl/mach/5.18
    perl_man3 : lib/perl5/site_perl/man/man3

  Modules without any .so will be installed at the same place regardless of the
  Perl version, minimizing the upgrade when the major Perl version is changed.
  It uses a version dependent directory for modules with compiled bits.

  As PERL_ARCH is no longer needed in plists, it has been removed from
  PLIST_SUB.

  The USE_PERL5=fixpacklist keyword is removed, the .packlist file is now
  always removed, as is perllocal.pod.

  The old site_perl and site_perl/arch directories have been kept in the
  default Perl @INC for all Perl ports, and will be phased out as these old
  Perl versions expire.

crees's avatar
crees committed
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
20141122:
AUTHOR: crees@FreeBSD.org

  Dependencies on the PostgreSQL ports have been migrated
  to USES. Instead of USE_PGSQL, please use USES=pgsql instead.

    USE_PGSQL=yes becomes USES=pgsql
    WANT_PGSQL_VER=91+ becomes USES=pgsql:9.1+
    USE_PGSQL=server becomes USES=pgsql and WANT_PGSQL=server

1152
1153
1154
1155
1156
1157
20141118:
AUTHOR: mat@FreeBSD.org

  To ease future work, a new SITE_ARCH variable and PLIST_SUB replacement
  containing SITE_PERL/PERL_ARCH has been added.

bdrewery's avatar
bdrewery committed
1158
1159
1160
1161
1162
1163
1164
1165
20141102:
AUTHOR: bdrewery@FreeBSD.org

  SSP is now default. This can be disabled with WITHOUT_SSP.
  SSP_CFLAGS defaults to -fstack-protector.
  SSP will be used on all amd64 releases. It will only be used on i386
  releases over 10.0.

mat's avatar
mat committed
1166
1167
1168
1169
1170
1171
1172
1173
1174
20141007:
AUTHOR: mat@FreeBSD.org

  The @cwd [path] construct in plist files is deprecated.  Instead of adding
  those lines to the plist:

  @cwd /
  etc/rc.d/foo
  var/db/bar
mat's avatar
mat committed
1175
1176
  @cwd /some
  @exec mkdir -p %D/nested/dir
mat's avatar
mat committed
1177
1178
1179
1180
1181

  add this:

  /etc/rc.d/foo
  /var/db/bar
mat's avatar
mat committed
1182
  @exec mkdir -p /some/nested/dir
mat's avatar
mat committed
1183

1184
1185
1186
1187
1188
1189
1190
20141002:
AUTHOR: bapt@FreeBSD.org

  New BUNDLE_LIBS knobs to allow a port to tell pkg(8) not to compute provided
  libraries, this is to be used when a port bundles libraries it doesn't want
  to expose to other ports.

1191
1192
1193
1194
1195
1196
20141001:
AUTHOR: tijl@FreeBSD.org

  Support for autoconf213, autoheader213, aclocal14 and automake14 has been
  removed from USE_AUTOTOOLS.

1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
20140930:
AUTHOR: bdrewery@FreeBSD.org

  Building ports in a chroot or jail have always required a particular
  environment be setup. This was not clear though and the ports framework
  did not enforce it. These requirements are:
    1. Either a SRC_BASE/sys/sys/param.h, or /usr/include/sys/param.h be
       present with the __FreeBSD_version_ number of the target system,
       or OSVERSION be set in the environment. Lack of these would fallback
       on kern.osreldate before, which is no longer the case.
    2. UNAME_r,UNAME_v,UNAME_s all must be set for the target system.

  Not having these values in sync will now cause the build to error until it is
  resolved.

  Setting these in the environment can be done via your own wrapper scripts,
  or /etc/login.conf (along with cap_mkdb /etc/login.conf) or
  via /etc/make.conf using appropriate values. Note that OSVERSION is redundant
  if a proper param.h is in the environment:

    OSVERSION+=     1100036
    UNAME_ENV+=     OSVERSION=${OSVERSION}
    UNAME_ENV+=     UNAME_s=FreeBSD
    UNAME_ENV+=     UNAME_r=11.0-CURRENT
    UNAME_ENV+=     UNAME_v="${UNAME_s} ${UNAME_r}"
    .MAKEFLAGS:     ${UNAME_ENV}
    MAKE_ENV+=      ${UNAME_ENV}
    CONFIGURE_ENV+= ${UNAME_ENV}
    SCRIPTS_ENV+=   ${UNAME_ENV}

1227
1228
1229
20140922:
AUTHOR: bapt@FreeBSD.org

1230
1231
1232
1233
  pkg(8) now handles the directories under PREFIX automatically,
  and will automatically remove them as needed.
  A new @dir keyword has been introduced to handle directories specially:
  - directories with special owner, group, or permissions (access mode)
1234
1235
  - empty directories
  - directories out of PREFIX
rakuco's avatar
rakuco committed
1236
  As a consequence @dirrm and @dirrmtry are now considered deprecated.
1237

1238
1239
  Credentials can now be passed in arguments to keywords
  (the empty keyword means "regular file"):
1240
  @(user,group,mode) file1
1241
  @dir(user,group,mode) directory_with_special_owner_or_mode
1242

1243
  PLIST_DIRSTRY is now considered deprecated, use PLIST_DIRS instead.
1244

1245
1246
1247
1248
20140917:
AUTHOR: tijl@FreeBSD.org

  Support for USE_AUTOTOOLS=libtool, USE_GNOME=ltasneededhack,
1249
1250
  USE_GNOME=lthack and USE_GNOME=ltverhack has been removed.
  Ports should use USES=libtool instead.
1251

1252
1253
  Support for USE_AUTOTOOLS=libltdl has been removed.
  Ports should use LIB_DEPENDS=libltdl.so:${PORTSDIR}/devel/libltdl
1254

tijl's avatar
tijl committed
1255
1256
1257
1258
20140916:
AUTHOR: tijl@FreeBSD.org

  The installation of *.la files without some form of USES=libtool in the
1259
1260
  port Makefile will now result in a stage-qa error.
  Previously this would only cause a warning.
tijl's avatar
tijl committed
1261
1262

  The :keepla argument to USES=libtool is no longer special.  It is now
1263
  only needed if a port uses *.la files at run time and no longer to fix
tijl's avatar
tijl committed
1264
1265
  link problems in other ports.

bapt's avatar
bapt committed
1266
1267
1268
20140901:
AUTHOR: bapt@FreeBSD.org

1269
1270
  Support for pkg_install has been removed.
  Note that WITH_PKGNG is now called WITH_PKG (still used to define 'devel')
bapt's avatar
bapt committed
1271
1272
  WITH_PKGNG remains for compatibility
  @stopdaemon support has gone, pkg(8) has a generic mechanism to
1273
  provide the same function, see HANDLE_RC_SCRIPTS in pkg.conf(5).
bapt's avatar
bapt committed
1274

bapt's avatar
bapt committed
1275
1276
1277
20140901:
AUTHOR: bapt@FreeBSD.org

1278
  Support for NO_STAGE has been removed.
bapt's avatar
bapt committed
1279

antoine's avatar
antoine committed
1280
1281
1282
1283
1284
20140825:
AUTHOR: antoine@FreeBSD.org

  Support for NOPORTDATA has been removed.

1285
1286
1287
20140809:
AUTHOR: mva@FreeBSD.org

sunpoet's avatar
sunpoet committed
1288
  The Python language bits of the ports framework have been converted
1289
1290
1291
1292
1293
1294
1295
  to USES. Instead of USE_PYTHON, please use USES=python instead.

    USE_PYTHON=yes becomes USES=python
    USE_PYTHON=2.7+ becomes USES=python:2.7+
    USE_PYTHON_BUILD=3.3 becomes USES=python:3.3,build
    ...

sunpoet's avatar
sunpoet committed
1296
  Additionally, several Python specific features have been converted
1297
  to USES-inspired USE_PYTHON=<featureA>,<featureB>.
1298

1299
1300
    USE_PYDISTUTILS becomes USE_PYTHON=distutils
    PYDISTUTILS_AUTOPLIST becomes USE_PYTHON=autoplist
1301
1302
1303
1304
1305
1306
1307
    ...

  Please read the header comments of Uses/python.mk for more details
  about the new and changed bits and pieces. You will find a list of
  deprecated variables and how to replace them in your own ports at
  the end of the header comment.

1308
1309
1310
20140715:
AUTHOR: bapt@FreeBSD.org

1311
  LIB_DEPENDS only supports one form: lib*.so
1312

1313
1314
1315
1316
1317
1318
1319
1320
20140708:
AUTHOR: mva@FreeBSD.org

  Support for installations based on the easy_install setup.py target has
  been removed from the Ports framework for Python software. The
  PYEASYINSTALL_* knobs and support for USE_PYDISTUTILS=easy_install have
  been removed.

1321
1322
1323
1324
1325
1326
1327
20140623:
AUTHOR: bapt@FreeBSD.org

  IGNOREFILES is not supported anymore, it was an unsafe feature allowing to
  use unchecked files downloaded from untrusted places to be used in the ports
  tree.

1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
20140607:
AUTHOR: mva@FreeBSD.org

  New PYTHON_CONCURRENT_INSTALL knob to support the parallel installation
  of ports for different python versions.

  If set to yes, the knob indicates that the port can be installed for
  different python versions at the same time. The port will use a unique
  prefix for certain directories using USES=uniquefiles:dirs (see the
  uniquefiles.mk Uses for details about the directories). Binaries
  receive an additional suffix, based on ${PYTHON_VER}.

  The values for the uniquefiles USES are set as follows:

    UNIQUE_PREFIX=  ${PYTHON_PKGNAMEPREFIX}
    UNIQUE_SUFFIX=  -${PYTHON_VER}

  If the port is installed for the current default python version, scripts and
  binaries in

    ${PREFIX}/bin
    ${PREFIX}/sbin
    ${PREFIX}/libexec

  are linked from the prefixed version to the prefix-less original name,
  e.g. bin/foo-2.7 --> bin/foo.

1355
1356
1357
1358
1359
20140529:
AUTHOR: miwi@FreeBSD.org

  USE_GMAKE is no longer supported, please use USES=gmake instead

1360
1361
1362
1363
1364
20140526:
AUTHOR: bapt@FreeBSD.org

  USE_DOS2UNIX is no longer supported, USES=dos2unix should be used instead

1365
1366
1367
1368
1369
1370
1371
20140525:
AUTHOR: mat@FreeBSD.org

  Add a USE_PERL5=fixpacklist to account for ports creating a .packlist file
  referencing ${STAGEDIR} when not using USE_PERL5=configure or
  USE_PERL5=modbuildtiny.

bapt's avatar
bapt committed
1372
1373
1374
1375
1376
1377
1378
1379
1380
20140505:
AUTHOR: bapt@FreeBSD.org

  :U and :L syntax is not supported anymore in the ports tree, :tu and :tl
  should be used instead

  This makes the ports tree incompatible with make(1) version that does not
  support :tu and :tl (aka FreeBSD 8.3 and earlier)

bapt's avatar
bapt committed
1381
1382
1383
1384
1385
1386
1387
1388
1389
20140428:
AUTHOR: bapt@FreeBSD.org

  EXTRA_PATCHES has been extended to support a new syntax:

  EXTRA_PATCHES=	file:-pX

  Where X is the pathname strip count passed to patch(1)

1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
20140423:
AUTHOR: tijl@FreeBSD.org

  The semantics of USES=libtool have changed.  It now deletes .la libraries
  from the staging area to reduce overlinking.  USES=libtool:keepla can be
  used in case they need to be kept.  This form still modifies .la libraries
  to remove references to other libraries to reduce overlinking.

  Note that .la libraries have to kept around as long as there are .la
  libraries from other ports that refer to them.  Those ports need to use
  some form of USES=libtool first such that those references are removed.

1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
20140419:
AUTHOR: bdrewery@FreeBSD.org

  check-orphans has been renamed to check-plist. It now checks:
    A. Files in STAGEDIR that are missing from plist.
       To make check-plist ignore a file *as an orphan* do one of the
       following:
        1. Install it
        2. post-install: ${RM} ${STAGEDIR}file
        3. Put the file behind an OPTION with a PLIST_SUB: %%OPTION%%file
        4. Add to plist as a @comment
           @comment file
           @comment @dirrmtry dir
    B. Files in plist missing from STAGEDIR
    C. Files in plist which are owned by dependencies/MTREEs

1418
1419
1420
1421
1422
1423
20140416:
AUTHOR: bdrewery@FreeBSD.org

  The default target for 'make' now runs 'make stage' if the port supports
  it, otherwise 'make build' as before.

bdrewery's avatar
bdrewery committed
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
20140411:
AUTHOR: bdrewery@FreeBSD.org

  A new plist keyword has been added, @sample. It accepts a file (must end in
  .sample):

    @sample file.conf.sample

  This will install file.conf.sample and copy it to file.conf. The file.conf
  will be removed if it matches file.conf.sample on deinstall.

  This replaces older patterns of:

    @unexec if cmp -s %D/etc/pkgtools.conf %D/etc/pkgtools.conf.sample; then rm -f %D/etc/pkgtools.conf; fi
    etc/pkgtools.conf.sample
    @exec [ -f %B/pkgtools.conf ] || cp %B/%f %B/pkgtools.conf

1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
20140312:
AUTHOR: bapt@FreeBSD.org

  Two new USES were added to finish handling distfiles formats a consistent way:

  USES=tar[:[xz|bzip2|Z|tgz]] handles distributions files in format:
  - plain tar
  - tar.xz
  - tar.bz2
  - tar.Z
  - tgz

  USES=lha handles distributions files info LHA format

1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
20140307:
AUTHOR: rene@FreeBSD.org

  Two new USES were added by bapt@FreeBSD.org :

  USES=zip handles distribution files in Zip format. InfoZip files
  need USES=zip:infozip

  USES=makeself handles distribution files in makeself format.

1465
1466
1467
1468
1469
1470
1471
20140303:
AUTHOR: kde@FreeBSD.org

  Add support for Qt 5 via USE_QT5. USE_QT5 is analogous to USE_QT4,
  the only difference is the list of available components
  (see Mk/bsd.qt.mk for details). USES=qmake supports Qt 5 as well.

1472
1473
1474
1475
1476
1477
20140224:
AUTHOR: bapt@FreeBSD.org

  Deprecate support for KNOBS, the new option framework allows to express a
  more consistent, user friendly and visible way the same feature.

mat's avatar
mat committed
1478
1479
1480
1481
20140127:
AUTHOR: mat@FreeBSD.org

  Add two new options helpers:
miwi's avatar
miwi committed
1482

mat's avatar
mat committed
1483
1484
1485
1486
1487
1488
  ${OPT}_${TYPE}_DEPENDS_OFF=<something> will automatically add:
  ${TYPE_DEPENDS}+=<something> in case OPT is 'off'

  ${OPT}_${FLAG}_OFF=<something> will automatically add:
  ${FLAG}+=<something> in case OPT is 'off'

1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
20140111:
AUTHOR: mva@FreeBSD.org

  New USES=uniquefiles to make files or directories unique
  by adding a prefix or suffix to them.

  Files listed in UNIQUE_PREFIX_FILES will receive the prefix
  set via UNIQUE_PREFIX. The same applies to UNIQUE_SUFFIX_FILES,
  but with the chosen UNIQUE_SUFFIX. UNIQUE_PREFIX and
  UNIQUE_SUFFIX are set to PKGNAMEPREFIX and PKGNAMESUFFIX by
  default.
  The uniquefiles USES enables ports to name files in special
  ways, e.g. by outlining that the port does not support X11
  (-nox11). A binary named bin/foo thus can be easily renamed
  to bin/foo-featureA via

  USES=			uniquefiles
  UNIQUE_SUFFIX=	-featureA
  UNIQUE_SUFFIX_FILES=	bin/foo

  The uniquefiles USES automatically adjusts the plist at
  installation time. There is no need to consider the prefix
  or suffix in the pkg-plist file itself. If the original name
  of the renamed file is bin/foo, this exact name should be put
  into pkg-plist.

  The dirs argument to USES=uniquefiles will cause certain
  standard directories, such as DOCSDIR or EXAMPLESDIR to be
  prepended with the UNIQUE_PREFIX. The change to the directories
  will hapen prior to configuring or building the port, so that
  the port Makefile as well as the port's build logic are aware
  of the changed name.

  Since the uniquefiles USES effectively manipulates the port's
  installation and file layout, it will only be available for
  stagedir-aware ports. Ports with NO_STAGE=yes will be unable
  to use the uniquefiles USES.

1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
20131218:
AUTHOR: mva@FreeBSD.org

  lang/python (and as such the 'python' binary and accomplices)
  has been removed as default dependency for the USE_PYTHON,
  USE_PYTHON_BUILD and USE_PYTHON_RUN knobs.

  Ports need to use a designated (default) python interpreter
  to build and install and in most cases for execution in the user
  environment. Ports that install python scripts, which are not
  limited to a certain python version (or version range), can
  include lang/python as build and/or run dependency.

  USE_PYTHON=yes and similar knobs will only pull in the
  default python version (e.g. lang/python27), but none
  of the meta ports or lang/python itself.

  Please use lang/python as build or run-time dependency only,
  if there is no other way to get a port working properly, since
  the usage of lang/python complicates package builds for different
  python versions.

1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
20131213:
AUTHOR: tijl@FreeBSD.org

  New USES=fortran to replace USE_FORTRAN.

  USE_FORTRAN=yes can be replaced with USES=fortran or USES=fortran:gcc.
  USE_FORTRAN=ifort can be replaced with USES=fortran:ifort.
  USE_FORTRAN=f77 is deprecated and the version of gcc it depends
  on (lang/gcc34) is scheduled to be removed.

  Note that USE_FORTRAN=yes also makes GCC the C/C++ compiler while
  USES=fortran only sets the Fortran compiler and can be used together
  with Clang as C/C++ compiler.

1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
20131208:
AUTHOR: mva@FreeBSD.org

  New USES=twisted, to replace the old USE_TWISTED knob.

  twisted can be configured with the arguments run or build to replace
  the previous USE_TWISTED_RUN and USE_TWISTED_BUILD knobs. The twisted
  components can be added as comma-separated arguments. If you previously
  wrote
    USE_TWISTED=	yes
    USE_TWISTED=	conch names
    USE_TWISTED_RUN=	yes
  you now would write
    USES=	twisted
    USES=	twisted:conch,names
    USES=	twisted:run
miwi's avatar
miwi committed
1579

1580
1581
1582
20131119:
AUTHOR: kwm@FreeBSD.org

miwi's avatar
miwi committed
1583
  The USE_GNOME component ltverhack no longer has a hard dependancy on
1584
  libtool.
miwi's avatar
miwi committed
1585

1586
1587
1588
1589
1590
1591
1592
1593
1594
  If USE_AUTOTOOLS=libtool isn't defined it will try to patch ltmain.sh
  and or libtool in ${WRKSRC}. If those files are located somewhere else
  in ${WRKSRC} then it is possible to overwrite ltverhack_PATCH_FILES
  with there new locations. configure script --distable-static will work also
  after using the "new" ltverhack.

  Please keep in mind that USE_AUTOTOOLS implies GNU_CONFIGURE so you might
  need to add that back for the port to work.

rene's avatar
rene committed
1595
1596
1597
20131031:
AUTHOR: rene@FreeBSD.org

1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
  Add a new USES for kernel module ports.

  USES=kmod takes no arguments and:
  - adds kld to CATEGORIES
  - sets SSP_UNSAFE
  - sets IGNORE if the kernel sources are not found
  - defines KMODDIR to /boot/modules by default, add it to
    PLIST_SUB and MAKE_ENV, and create it upon installation
  - handles cross-referencing kernel modules upon installation and
    deinstallation
rene's avatar
rene committed
1608

1609
1610
1611
1612
1613
1614
20131021:
AUTHOR: amdmi3@FreeBSD.org

  share/applications directory was added to the mtree, meaning that
  you no longer need to create or remove it in your ports.

bapt's avatar
bapt committed
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
20131008:
AUTHOR: bapt@FreeBSD.org

  New "compiler" USES to be able to select the compiler based on the
  features it provides.
  Supported arguments are:
  - c++11-lang: the port needs a c++11 aware compiler what ever standard
  library it uses, implies features
  - c++11-lib: the port needs a c++11 standard library, implies features
  - c11: the ports needs a c11 aware compiler implies features
  - features: this will create a COMPILER_FEATURES variable which contains
  the list of features ${CC} do support, implies env.
  - env: the COMPILER_TYPE will be set to either gcc or clang.

  By default the uses will try to use clang33 from ports when nothing in
  base is relevant except if the user explicitly defines
  FAVORITE_COMPILER=gcc in his make.conf

1633
1634
1635
1636
1637
1638
1639
1640
20131008:
AUTHOR: makc@FreeBSD.org

  New USES: qmake, configure tool widely used among Qt based projects.
  New framework is stage-friendly. To convert existing ports remove
  custom configure target, adjust QMAKE_ENV, QMAKE_ARGS, QMAKE_PRO if
  required (see Mk/Uses/qmake.mk for details).

1641
1642
1643
1644
1645
1646
1647
1648
1649
20131005:
AUTHOR: bdrewery@FreeBSD.org

  PATCHFILES now support an optional :-pX flag that notes which patch strip
  level to use. This allows multiple patches in 1 port to use different
  PATCH_DIST_STRIP values without changing PATCH_DIST_STRIP.

  Syntax: PATCHFILES= patch[:-pX][:distgroup]

1650
1651
1652
1653
1654
1655
20131003:
AUTHOR: bapt@FreeBSD.org

  New USES: scons, to handle properly the scons building system, this
  this also gives the scons packages user the ability to respect MAKE_JOBS.

1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
20130924:
AUTHOR: bapt@FreeBSD.org

  Stage aware ports can now create package without the requirement from
  being root.
  If a port really needs root anyway it should add NEED_ROOT in its
  Makefile.

  For a port that needs special credential on files DO NOT RELY on
  chown in post-install section but rely on @own, @group in pkg-plist
  Be careful about rights on directories as pkg_install cannot store them
  they needs to be done via @exec chown.

1669
20130923:
1670
AUTHOR: bapt@FreeBSD.org
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693

  The ports tree is now staged by default. With pkgng the sequence hasn't
  changed, the main difference is that creating package is now independent
  from installing it. With pkg_install, the package is now created first
  and make install, do install the package.

  New macros:
  - STAGEDIR: PATH to the directory where the port will be staged.
  - NO_STAGE: Keep the old behaviour of the ports tree (aka no staging area)

  Unsupported macro if NO_STAGE is not set:
  - MAN* with staging man page compression and handling of hardlinks and
  symlinks is automatically done in the stage. the manpages becomes then a
  "normal" plist files and should be tracked in pkg-plist.
  - MANCOMPRESSED the compress-man target is able to only compress when it
  needed.

  New target:
  - stage: this installs everything into the stage directory
  - makeplist: this will create a pkg-plist and print it to stdout. This is
  a sample plist and it should always be _reviewed_ not directly used.

  NOTE: with staging only what is in the plist will be installed, nothing more,
1694
  meaning a port staged cannot have leftovers except directories left. It is
1695
  really important to double check the pkg-plist to make sure all the files
1696
  the maintainer wants to package are in! make makeplist can help in that area.
1697

1698
1699
1700
1701
1702
1703
1704
1705
20130923:
AUTHOR: mva@FreeBSD.org

  * New USES: zope

  This replaces the previous USE_ZOPE knob. All other zope related knobs
  for port Makefiles still exist. See Mk/Uses/zope.mk for details.

1706
1707
1708
20130920:
AUTHOR: bdrewery@FreeBSD.org

1709
  SSP support has been added to ports with WITH_SSP_PORTS for i386 and amd64
1710
1711
1712
1713
1714
1715
1716
1717
1718
  on FreeBSD 10, and amd64 on earlier versions.

  SSP_UNSAFE is added to disable in a port if it fails to build, but
  this should only be used in rare circumstances such as kernel modules.
  Otherwise, the port may just be failing due to lack of respecting
  LDFLAGS.

  On FreeBSD 10, this uses an ldscript in /usr/lib/libc.so to pull in
  libssp_nonshared.a to address issues linking on i386 [1].
miwi's avatar
miwi committed
1719

1720
  On earlier FreeBSD versions the WITH_SSP_PORTS knob will add -lssp_nonshared
1721
1722
1723
1724
1725
1726
1727
  to LDFLAGS on i386. This is not needed on amd64. However, several hundred
  ports do not currently respect LDFLAGS, so this support is disabled currently
  as it causes build failures if a dependency is looking for the stack_chk
  symbols.

  [1] http://svnweb.freebsd.org/base/head/lib/libc/libc.ldscript?revision=251668&view=markup

1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
20130919:
AUTHOR: gahr@FreeBSD.org

  * New USES: tcl, tk

  This uses replaces all the previous USE_TCL, USE_TCL_BUILD, USE_TCL_RUN,
  USE_TCL_WRAPPER, USE_TK, USE_TK_BUILD, USE_TK_RUN and USE_TK_WRAPPER macros.

  See the Mk/Uses/tcl.mk and the commit message of r327607 for details.

  Moreover, the default Tcl/Tk version is now specified in terms of
  bsd.default-versions.mk. It is now possible to specify one's preferred Tcl/Tk
  version using DEFAULT_VERSIONS+= tcltk=x.y in make.conf.

1742
1743
1744
20130918:
AUTHOR: bapt@FreeBSD.org

sunpoet's avatar
sunpoet committed
1745
  The perl framework is not included unconditionally and the old framework
1746
1747
1748
1749
1750
1751
1752
  is not recognized anymore, the following MACROS has been removed:

  * PERL_CONFIGURE
  * USE_PERL5_RUN
  * USE_PERL5_BUILD
  * PERL_MODBUILD

1753
1754
1755
20130904:
AUTHOR: madpilot@FreeBSD.org

az's avatar
az committed
1756
1757
1758
1759
  To allow ports to work with the iconv implementation in 10-CURRENT after
  commit r254273 the USES=iconv options now conditionally adds a dependency
  depending on the FreeBSD version. It also defines a few utility variables
  which can be used in the ports:
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773

  ICONV_CMD:	location of the iconv binary.
		after r254273: /usr/bin/iconv
		before: ${LOCALBASE}/bin/iconv

  ICONV_LIB:	ld(1) flags to get the iconv DSO.
		after r254273: empty
		before: -liconv

  ICONV_CONFIGURE_ARG:  String that can be passed to configure
  			scripts to hint the location of the libiconv library.
			after r254273: empty
			before: --with-libiconv-prefix=${LOCALBASE}

bapt's avatar
bapt committed
1774
20130902:
1775
1776
1777
1778
1779
AUTHOR: bapt@FreeBSD.org

  USE_GNOME=pkgconfig is not supported anymore by the ports tree, please
  uses: USES=pkgconfig

1780
1781
1782
1783
1784
1785
1786
20130831:
AUTHOR: bdrewery@FreeBSD.org

  crees has added USE_PACKAGE_DEPENDS_ONLY which works like
  USE_PACKAGE_DEPENDS but will not fallback on source if a
  package is missing.

bapt's avatar
bapt committed
1787
20130731:
bapt's avatar
bapt committed
1788
1789
1790
1791
1792
1793
1794
1795
1796
AUTHOR: bapt@FreeBSD.org

  * New USES: perl5

  This uses replaces all the previous perl macros. Here is how to migrate:

  Always include perl5:
  USES= perl5

bapt's avatar
Typo    
bapt committed
1797
  If USE_PERL5 is undefined then perl5 will be a build and run dependency