Index: head/CHANGES =================================================================== --- head/CHANGES (revision 444323) +++ head/CHANGES (revision 444324) @@ -1,3343 +1,3357 @@ Updating Information for FreeBSD ports developers This file is maintained by portmgr@FreeBSD.org and copyrighted by the FreeBSD Foundation. 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 in the release notes and/or placed into UPDATING. All ports committers are allowed to commit to this file. +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: + to + USES=cmake:,noninja + + 20170417: AUTHOR: kwm@FreeBSD.org New USES: meson, to handle properly the meson building system. 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 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 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. 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 20161218: AUTHOR: tcberner@FreeBSD.org QT_PREFIX has been dropped, in favour of using PREFIX directly. 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) 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. 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. 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 20160824: AUTHOR: kde@FreeBSD.org 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 USE_KDE4=foo bar to USES=kde:4 USE_KDE=foo bar and make sure to switch from using KDE4_PREFIX to the new name KDE_PREFIX in the Makefiles as well as plists. 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. 20160817: 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. This adds the possibility to have a VAR_regex=regex that will be used instead of the VAR=string to search for possible replacements. 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". 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. 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 20160627: AUTHOR: mat@FreeBSD.org USE_OPENSSL has been replaced by USES=ssl. 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 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. 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 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." 20160428 AUTHOR: mat@FreeBSD.org USE_RUBYGEMS has been replaced by USES=gem. 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. 20160414: AUTHOR: mat@FreeBSD.org USE_RC_SUBR=yes has not done anything for a long time, it will now give an error. 20160413: 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 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}/ 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. 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. 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 20160110: AUTHOR: bapt@FreeBSD.org USE_FIREBIRD and USE_SQLITE has been replaced by USES=firebird and USES=sqlite 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. 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. 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, usually `check' or `test', useful if upstream supports that. The port may instead define custom do-test target, as well as usual satellite targets: {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. 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: AUTHOR: bapt@FreeBSD.org New keywords are supported in pkg since 1.5.x: @preexec : execute the during pre-install scripts @postexec : execute the during post-install scripts @preunexec : execute the during pre-deinstall scripts @postunexec : execute the during post-deinstall scripts @exec does not specify when if should be executed and is now considered as deprecated. 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. 20150828: AUTHOR: mat@FreeBSD.org _VARS and _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. _VARS_OFF works the same way, if the option is disabled. 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. 20150818: AUTHOR: mat@FreeBSD.org _IMPLIES and _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. 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. 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. 20150701: AUTHOR: mat@FreeBSD.org Make option target helpers have been added, it allows replacing: .include 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 20150622: AUTHOR: bapt@FreeBSD.org Remove USE_RCORDER, USE_RC_SUBR has been modified to support PREFIX=/usr automatically 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. 20150528: AUTHOR: mat@FreeBSD.org USE_GITHUB can now fetch multiple distfiles. It uses a grouping feature similar to MASTER_SITES/PATCH_SITES. Some helpful variables are provided: WRKSRC_ for putting things in the right place in post-extract, and DISTNAME_/DISTFILE_ 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. 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. 20150521: AUTHOR: mat@FreeBSD.org GH_COMMIT support has been removed, see the 20150319 for more informations. 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". 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 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 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 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 20150326: AUTHOR: bdrewery@FreeBSD.org PTHREAD_CFLAGS and PTHREAD_LIBS have been removed. Please see entry 20130207 for more information. 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. 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. GH_TAGNAME can now be any length of the hash as long as it is unique. There is no longer a 7-character requirement. The following MASTER_SITES are provided to retain the old checksum and directory structure (that require GH_COMMIT): GH -> GHL GITHUB -> GITHUB_LEGACY 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. 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. 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. 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. 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. 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 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. 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. 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 @cwd /some @exec mkdir -p %D/nested/dir add this: /etc/rc.d/foo /var/db/bar @exec mkdir -p /some/nested/dir 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. 20141001: AUTHOR: tijl@FreeBSD.org Support for autoconf213, autoheader213, aclocal14 and automake14 has been removed from USE_AUTOTOOLS. 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} 20140922: AUTHOR: bapt@FreeBSD.org 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) - empty directories - directories out of PREFIX As a consequence @dirrm and @dirrmtry are now considered deprecated. Credentials can now be passed in arguments to keywords (the empty keyword means "regular file"): @(user,group,mode) file1 @dir(user,group,mode) directory_with_special_owner_or_mode PLIST_DIRSTRY is now considered deprecated, use PLIST_DIRS instead. 20140917: AUTHOR: tijl@FreeBSD.org Support for USE_AUTOTOOLS=libtool, USE_GNOME=ltasneededhack, USE_GNOME=lthack and USE_GNOME=ltverhack has been removed. Ports should use USES=libtool instead. Support for USE_AUTOTOOLS=libltdl has been removed. Ports should use LIB_DEPENDS=libltdl.so:${PORTSDIR}/devel/libltdl 20140916: AUTHOR: tijl@FreeBSD.org The installation of *.la files without some form of USES=libtool in the port Makefile will now result in a stage-qa error. Previously this would only cause a warning. The :keepla argument to USES=libtool is no longer special. It is now only needed if a port uses *.la files at run time and no longer to fix link problems in other ports. 20140901: AUTHOR: bapt@FreeBSD.org Support for pkg_install has been removed. Note that WITH_PKGNG is now called WITH_PKG (still used to define 'devel') WITH_PKGNG remains for compatibility @stopdaemon support has gone, pkg(8) has a generic mechanism to provide the same function, see HANDLE_RC_SCRIPTS in pkg.conf(5). 20140901: AUTHOR: bapt@FreeBSD.org Support for NO_STAGE has been removed. 20140825: AUTHOR: antoine@FreeBSD.org Support for NOPORTDATA has been removed. 20140809: AUTHOR: mva@FreeBSD.org The Python language bits of the ports framework have been converted 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 ... Additionally, several Python specific features have been converted to USES-inspired USE_PYTHON=,. USE_PYDISTUTILS becomes USE_PYTHON=distutils PYDISTUTILS_AUTOPLIST becomes USE_PYTHON=autoplist ... 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. 20140715: AUTHOR: bapt@FreeBSD.org LIB_DEPENDS only supports one form: lib*.so 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. 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. 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. 20140529: AUTHOR: miwi@FreeBSD.org USE_GMAKE is no longer supported, please use USES=gmake instead 20140526: AUTHOR: bapt@FreeBSD.org USE_DOS2UNIX is no longer supported, USES=dos2unix should be used instead 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. 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) 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) 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. 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 20140416: AUTHOR: bdrewery@FreeBSD.org The default target for 'make' now runs 'make stage' if the port supports it, otherwise 'make build' as before. 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 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 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. 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. 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. 20140127: AUTHOR: mat@FreeBSD.org Add two new options helpers: ${OPT}_${TYPE}_DEPENDS_OFF= will automatically add: ${TYPE_DEPENDS}+= in case OPT is 'off' ${OPT}_${FLAG}_OFF= will automatically add: ${FLAG}+= in case OPT is 'off' 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. 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. 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. 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 20131119: AUTHOR: kwm@FreeBSD.org The USE_GNOME component ltverhack no longer has a hard dependancy on libtool. 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. 20131031: AUTHOR: rene@FreeBSD.org 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 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. 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 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). 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] 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. 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. 20130923: AUTHOR: bapt@FreeBSD.org The ports tree is now staged by default. With pkgng the sequence hasn't changed, the main difference is that creating package is now independent from installing it. With pkg_install, the package is now created first and make install, do install the package. New macros: - STAGEDIR: PATH to the directory where the port will be staged. - NO_STAGE: Keep the old behaviour of the ports tree (aka no staging area) Unsupported macro if NO_STAGE is not set: - MAN* with staging man page compression and handling of hardlinks and symlinks is automatically done in the stage. the manpages becomes then a "normal" plist files and should be tracked in pkg-plist. - MANCOMPRESSED the compress-man target is able to only compress when it needed. New target: - stage: this installs everything into the stage directory - makeplist: this will create a pkg-plist and print it to stdout. This is a sample plist and it should always be _reviewed_ not directly used. NOTE: with staging only what is in the plist will be installed, nothing more, meaning a port staged cannot have leftovers except directories left. It is really important to double check the pkg-plist to make sure all the files the maintainer wants to package are in! make makeplist can help in that area. 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. 20130920: AUTHOR: bdrewery@FreeBSD.org SSP support has been added to ports with WITH_SSP_PORTS for i386 and amd64 on FreeBSD 10, and amd64 on earlier versions. SSP_UNSAFE is added to disable in a port if it fails to build, but this should only be used in rare circumstances such as kernel modules. Otherwise, the port may just be failing due to lack of respecting LDFLAGS. On FreeBSD 10, this uses an ldscript in /usr/lib/libc.so to pull in libssp_nonshared.a to address issues linking on i386 [1]. On earlier FreeBSD versions the WITH_SSP_PORTS knob will add -lssp_nonshared to LDFLAGS on i386. This is not needed on amd64. However, several hundred ports do not currently respect LDFLAGS, so this support is disabled currently as it causes build failures if a dependency is looking for the stack_chk symbols. [1] http://svnweb.freebsd.org/base/head/lib/libc/libc.ldscript?revision=251668&view=markup 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. 20130918: AUTHOR: bapt@FreeBSD.org The perl framework is not included unconditionally and the old framework is not recognized anymore, the following MACROS has been removed: * PERL_CONFIGURE * USE_PERL5_RUN * USE_PERL5_BUILD * PERL_MODBUILD 20130904: AUTHOR: madpilot@FreeBSD.org 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: 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} 20130902: AUTHOR: bapt@FreeBSD.org USE_GNOME=pkgconfig is not supported anymore by the ports tree, please uses: USES=pkgconfig 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. 20130731: 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 If USE_PERL5 is undefined then perl5 will be a build and run dependency Migrating to new USE_PERL5: ======================================================= | BEFORE | AFTER | ======================================================= | PERL_CONFIGURE=yes | USE_PERL5= configure | ------------------------------------------------------- | USE_PERL5_RUN=yes | USE_PERL5=run | ------------------------------------------------------- | USE_PERL5_BUILD=yes | USE_PERL5=build | ------------------------------------------------------- | PERL_MODBUILD=yes | USE_PERL5=modbuild | ------------------------------------------------------- | USE_PERL5=yes | | ------------------------------------------------------- | USE_PERL5=5.14+ | USE_PERL5= 5.14+ | ------------------------------------------------------- | PERL_CONFIGURE= 5.14+ | USE_PERL5=5.14+ configure | ------------------------------------------------------- | PERL_MODBUILD= 5.14+ | USE_PERL5=5.14+ modbuild | ------------------------------------------------------- 20130726: AUTHOR: rene@FreeBSD.org * With the removal of QT 3/KDE 3, the following are no longer recognized: - USE_KDEBASE_VER - USE_KDELIBS_VER - USE_QT_VER Mk/bsd.kde.mk has been removed, it was only used for QT 3/KDE 3. 20130628: AUTHOR: bapt@FreeBSD.org * New USES: imake This uses replaces USE_IMAKE, it handles dependency on imake. Its only argument is 'env', which prevent from defining the do-configure target. * New LATE_INSTALL_TARGET This content of this new macro is appended to INSTALL_TARGET 20130620: AUTHOR: bapt@FreeBSD.org * New USES: fmake This uses will allow to build ports using the legacy FreeBSD make, for ports not compatible with bmake 20130614: AUTHOR: bapt@FreeBSD.org * New macros to help dealing with ports that have options: OPTIONS_SUB=yes when set in a port, all the option names are automatically added to the PLIST_SUB with "@comment " value in case the option is off and empty value in case the options is on. ${OPT}_CONFIGURE_ENABLE= will automatically add: CONFIGURE_ARGS+=--enable- in case OPT is activated CONFIGURE_ARGS+=--disable- in case OPT is deactivated ${OPT}_CONFIGURE_ON= will automatically add: CONFIGURE_ARGS+= in case OPT is activated ${OPT}_CONFIGURE_OFF= will automatically add: CONFIGURE_ARGS+= in case OPT is deactivated ${OPT}_CFLAGS will append the specified new flags to CFLAGS if OPT is 'on' ${OPT}_CXXFLAGS will append the specified new flags to CXXFLAGS if OPT is 'on' ${OPT}_LDFLAGS will append the specified new flags to LDFLAGS if OPT is 'on' ${OPT}_CONFIGURE_ENV will append the specified variables to CONFIGURE_ENV if OPT is 'on' ${OPT}_MAKE_ENV will append the specified variables to MAKE_ENV if OPT is 'on' ${OPT}_USES will append the speficied uses to USES if OPT is 'on' ${OPT}_DISTFILES will append the specified distiles to DISTFILES if OPT in 'on' ${OPT}_CMAKE_ON= will automatically add: CMAKE_ARGS+= in case OPT is activated ${OPT}_CMAKE_OFF= will automatically add: CMAKE_ARGS+= in case OPT is deactivated ${OPT}_${TYPE}_DEPENDS= will automatically add: ${TYPE_DEPENDS}+= in case OPT is 'on' 20130614: AUTHOR: bapt@FreeBSD.org * New 'display' USES macro to handle building ports that may require a a display to build. USES= display[:install] will start Xvfb and set the DISPLAY environment variable before the installation phase and stop it at the end. (install is the implicit value) USES= display:build will start Xvfb and set the DISPLAY environment variable before the build phase and stop it at the end. 20130607: AUTHOR: bdrewery@FreeBSD.org * Checks were added to block GH_TAGNAME=master as this is not a valid setup. A known hash or tag should be used for GH_TAGNAME instead of a branch name. As soon as a branch is updated, the known checksum in the distinfo would then be invalid. 20130606: AUTHOR: bdrewery@FreeBSD.org * WRKSRC_SUBDIR has been added to simplify overriding WRKSRC to use a subdirectory: WRKSRC= ${WRKDIR}/${DISTNAME}/src Becomes: WRKSRC_SUBDIR= src 20130606: AUTHOR: bapt@FreeBSD.org The OPTIONS macro is no longer recognized, please use the new options framework. 20130509: AUTHOR: kwm@FreeBSD.org * Two new USES macros to handle mime data of ports. USES= desktop-file-utils Handles MimeType in .desktop files that are installed in share/applications. USES= shared-mime-info For supporting mime xml files installed in share/mime/packages. The desktop-file-utils USES is only needed if the .desktop files installed by the port has a MimeType field. USE_GNOME=desktopfileutils is deprecated. The shared-mime-info USES handles mime types xml files. Please note that only the packages/${NAME}.xml file should be listed in the plist. The shared-mime-info port will clean up the share/mime/* directories and generated files. Both USES have there own post-install and code that adds @exec/@unexec lines to the pkg-plist. This means that when a port switches to the USES macro, the related post-install command and @exec/@unexec lines can be removed from the prot. 20130507: AUTHOR: bapt@FreeBSD.org * New USES macro to handle setting correct shebang to scripts By default it will fix bash, perl, php, ruby and python on all files specified in the SHEBANG_FILES macro (glob pattern relative to ${WRKSRC}) Paths can be customized, and number of languages supported can be extended. * USE_GETTEXT, USE_NCURSES, USE_READLINE are no longer recognized 20130506: AUTHOR: bapt@FreeBSD.org * New USES macro to handle linking on ncurses and on readline USES= ncurses will set env and make the port link to base version of ncurses if no port version is installed otherwise it will link against port version USES= ncurses:port will for the port to link against the ports version of ncurses USES= ncurses:base will force to link against base version of ncurses. USES= readline will make the port link against base version of readline except on 10+ where it will force dependency on the port version of readline USES= readline:port will anyway force dependency on the port version of readline. 20130426: AUTHOR: mva@FreeBSD.org * USE_ICONV has been deprecated and converted into the iconv USE feature USES= iconv 20130425: AUTHOR: bapt@FreeBSD.org * USE_CDRTOOLS is no longer recognized * USE_FREETYPE is no longer recognized 20130423: AUTHOR: jgh@FreeBSD.org * New USES macro to handle support for gettext dependency: USES= gettext:build will add gettext into BUILD_DEPENDS USES= gettext:run will add gettext into RUN_DEPENDS USES= gettext:lib will add gettext into LIB_DEPENDS It deprecates USE_GETTEXT which will be removed as soon as it is not used anymore 20130422: AUTHOR: bdrewery@FreeBSD.org * The entry for 20120830 to change CCACHE_DIR was not fully supported by all ports. There is now a CCACHE_DIR variable that can be used in /etc/make.conf for more complete coverage: CCACHE_DIR=/var/cache/ccache 20130422: AUTHOR: bapt@FreeBSD.org * New USES macro to handle support for pkgconf (pkg-config) dependency: USES= pkgconfig[:build] will add pkgconf into BUILD_DEPENDS USES= pkgconfig:run will add pkgconf into RUN_DEPENDS USES= pkgconfig:both will add pkgconf into both RUN and BUILD DEPENDS It deprecates USE_PKGCONFIG which will be removed as soon as it is not used anymore 20130320: AUTHOR: jgh@FreeBSD.org * New USES macro to handle support for Zenoss ports and Zenpacks: USES= zenoss 20130319: AUTHOR: makc@FreeBSD.org * New USES macro should be used instead of deprecated USE_CMAKE and CMAKE_OUTSOURCE: USES= cmake:outsource to perform out-of-source build (equivalent to former pair usage of USE_CMAKE/CMAKE_OUTSOURCE) USES= cmake In-source build (equivalent to plain USE_CMAKE=yes) can be used if project doesn't support out-of-source build. 20130319: AUTHOR: bapt@FreeBSD.org * The options framework now uses ports-mgmt/dialog4ports contributed by Ilya A. Arkhipov. It boostraps it if not present when one calls make config. dialog4ports provides a new UI able to represent all the features provided by the new options framework. 20130315: AUTHOR: bdrewery@FreeBSD.org * USE_QMAIL_RUN, USE_QMAIL_BUILD and WANT_QMAIL have been removed and converted into the qmail USE feature USES= qmail:run will add qmail into RUN_DEPENDS USES= qmail:build will add qmail into BUILD_DEPENDS USES= qmail[:both] will add qmail into both RUN and BUILD DEPENDS USES= qmail:vars will set QMAIL_PREFIX 20130315: AUTHOR: bapt@FreeBSD.org * Add new Keywords directory and first info.yaml keyword (@info). Keywords directory will contain all the custom plist keywords allowing to extend pkg-plist with new keywords. Only works with pkgng. 20130307: AUTHOR: bapt@FreeBSD.org * New USES macro to handle on demand features, 2 examples has been added to the ports tree: pathfix: to replace USE_GNOME= gnomehack fuse: to replace USE_FUSE= yes 20130207: AUTHOR: gahr@FreeBSD.org * Use of PTHREAD_CFLAGS and PTHREAD_LIBS is unsupported. The former expands to the empty string, while the second is simply -pthread. Please use -pthread directly in your LDFLAGS, if needed. 20121214: AUTHOR: flo@FreeBSD.org * Add a USE_FUSE macro to handle fuse dependencies. It makes sure sysutils/fusefs-libs gets installed and depending on fuse being in base or not it installs sysutils/fusefs-kmod. 20121210: AUTHOR: bapt@FreeBSD.org * OPTIONS has been extended 2 new macros are available: OPTIONS_RADIO - allows only 0 or 1 options to be selected OPTIONS_GROUP - allows 0 or N options among to be selected 20121010: AUTHOR: bapt@FreeBSD.org * IPV6 option is now activated by default for the whole ports tree 20121010: AUTHOR: bapt@FreeBSD.org * The ports tree is now using pkgng as the default package manager for HEAD. This only affects users of CURRENT -- users of other branches need not take any action. To keep pkg_install as the default package manager, use the new WITHOUT_PKGNG knob in make.conf 20120830: AUTHOR: beat@FreeBSD.org * CCACHE support for building ports has been added (depends on devel/ccache). Therefore new user settable variables are available: WITH_CCACHE_BUILD - Enable CCACHE support (Default off) NO_CCACHE - Disable CCACHE support for example for certain ports if CCACHE is enabled. By default CCACHE uses $HOME/.ccache as cache directory. To use a non-default cache directory this could be overwritten like: MAKE_ENV+= CCACHE_DIR=/var/cache/ccache 20120820: AUTHOR: gahr@FreeBSD.org * GitHub support has been integrated into bsd.sites.mk. In order to fetch distfiles from GitHub, a port must define USE_GITHUB along with the following variables: GH_ACCOUNT - account name of the GitHub user hosting the project default: not set, mandatory GH_PROJECT - name of the project on GitHub default: ${PORTNAME} GH_TAGNAME - name of the tag to download (master, 2.0.1, ...) default: ${DISTVERSION} GH_COMMIT - first 7 digits of the commit that generated GH_TAGNAME (man git-describe(1)) default: not set, mandatory The port www/tivoka is an example how to use this mechanism. 20120726: AUTHOR: bapt@FreeBSD.org * new macro USE_PKGCONFIG has been introduce in place of USE_GNOME= pkgconfig USE_PKGCONFIG= yes and USE_PKGCONFIG= build for build only dependency USE_PKGCONFIG= run for run only dependency USE_PKGCONFIG= both for both build and run dependency 20120715: AUTHOR: beat@FreeBSD.org * The ports tree moved from CVS to Subversion. A Subversion to CVS exporter is in place to continue the support of CVSup but do not commit to pcvs directly. All commits have to be done in the new port Subversion repository on svn.FreeBSD.org. You will find more information about Subversion in the Ports Subversion Primer in the FreeBSD wiki, in the "Committer's Guide" and the "Porter's Handbook". If you are in doubt or unsure about a Subversion operation please contact ports@FreeBSD.org. 20120529: AUTHOR: crees@FreeBSD.org * OPTIONS has been updated with many changes and improvements. Old-style OPTIONS declarations will continue to work for a while, but do not introduce any into existing or new ports. For further information, see the Porter's Handbook section on Makefile Options. 20110923: AUTHOR: amdmi3@FreeBSD.org * LDFLAGS is now passed to both the configure and make environments, and should be handled just like CPPFLAGS (see previous entry). Summarizing both LDFLAGS and CPPFLAGS changes, where you would have used CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" MAKE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" now just use CPPFLAGS+= "-I${LOCALBASE}/include" LDFLAGS+= "-L${LOCALBASE}/lib" Note that it's advised to append these variables (+=) instead of overriding (=) to allow customization by user. 20110320: AUTHOR: gerald@FreeBSD.org * CPPFLAGS is now passed to both the configure and make environments, so this no longer needs to happen in individual ports by adding this to CONFIGURE_ENV or MAKE_ENV. Rather, just set CPPFLAGS in the port Makefile (if necessary). For example, where you would have used CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" MAKE_ENV= SOMETHING=foo CPPFLAGS="-I${LOCALBASE}/include" now just use CPPFLAGS= "-I${LOCALBASE}/include" MAKE_ENV SOMETHING=foo 20100831: AUTHOR: autotools@FreeBSD.org * USE_GETTEXT has been cleaned up. 'build' BUILD time dependency only 'run' RUN time dependency only 'yes' LIBRARY dependency 20100606: AUTHOR: gerald@FreeBSD.org * USE_GCC=4.3 is deprecated (and no port uses it anymore). USE_GCC=4.3+ is transparently rewritten to USE_GCC=4.4+ and lang/gcc43 will be disconnected from the USE_GCC infrastructure soon. 20100524: AUTHOR: alepulver@FreeBSD.org * The license support files (bsd.licenses.mk and bsd.licenses.db.mk) from GSoc 2008/2009 have been committed. A new PH entry will be available soon, but for the moment look at: http://wiki.freebsd.org/PortsLicenseInfrastructure Or, alternatively, the comments at the beginning of the mentioned files. 20090906: AUTHOR: flz@FreeBSD.org * There is now a unified way to create users and groups in your ports. First, make sure they are added to both ports/GIDs and ports/UIDs, then add the following in your port: USERS= foo GROUPS= foo ... if you want your port to create the foo user and group. 20090812: AUTHOR: portmgr@FreeBSD.org * sourceforge.net has changed their URL layout to be more flexible for their users. A new bsd.sites.mk macro SFP has been added for projects that moved from http://${mirror}/sourceforge/%SUBDIR%/ to http://${mirror}/project/%SUBDIR%/ Note that %SUBDIR% is now highly individual for each project and might need changing as well. 20090521: AUTHOR: portmgr@FreeBSD.org * bsd.port.options.mk is now clear to be widely used. 20090516: AUTHOR: pgollucci@FreeBSD.org * APACHE_COMPAT is dead! * USE_APACHE=yes is dead! * WITH_APACHE13, WITH_APACHE2, WITH_APACHE20, and WITH_APACHE22 are dead You should set USE_APACHE=13|20|22+. WITH_APACHE option can be used to conditional include support for ANY version of Apache based on APACHE_PORT. Currently www/apache13 20090207: AUTHOR: pgollucci@FreeBSD.org * devel/libslang dropped in favor of devel/libslang2 * WITH_SLANG2 has been removed. WITH_SLANG now implies devel/libslang2. 20080905: AUTHOR: hrs@FreeBSD.org * print/ghostscript-* and related ports have been renamed in the following way: print/ghostscript-gnu -> print/ghostscript7 print/ghostscript-gnu-nox11 -> print/ghostscript7-nox11 print/ghostscript-gnu-commfont -> print/ghostscript7-commfont print/ghostscript-gpl -> print/ghostscript8 print/ghostscript-gpl-nox11 -> print/ghostscript8-nox11 japanese/ghostscript-gnu-jpnfont -> print/ghostscript7-jpnfont korean/ghostscript-gnu-korfont -> print/ghostscript7-korfont * USE_GHOSTSCRIPT now supports a version number which the port requires. The valid value is "7" or "8". If other value is specified, value of WITH_GHOSTSCRIPT_VER is used. * WITH_GHOSTSCRIPT_GNU has been removed in favor of WITH_GHOSTSCRIPT_VER. The valid value of WITH_GHOSTSCRIPT_VER is "7" or "8", and the default value is "8". 20080821: AUTHOR: rafan@FreeBSD.org * CONFIGURE_ARGS is updated to use correct syntax for newer autoconf on the configure target. Individual ports no longer need to change CONFIGURE_TARGET to have the '--build=' prefix. 20080721: AUTHOR: pav@FreeBSD.org * Default OpenLDAP version was changed from 2.3 to 2.4. * USE_GTK and USE_XPM variables are no longer recognized. 20080523: AUTHOR: flz@FreeBSD.org * By default, ports-mgmt/pkg_install now sets up a wrapper to use ports pkg_install (when installed) instead of base when the former is more recent. This can be disabled in the options menu, or with the WITHOUT_WRAPPER knob. 20080414: AUTHOR: pav@FreeBSD.org * @rmtry is now supported in pkg-plist. * USE_DISPLAY made more powerful, see comments in bsd.port.mk for details. * ${PW} is now defined. * LIB_DEPENDS can now be used with libraries with + sign in their name without the need for escaping. 20080312: AUTHOR: pav@FreeBSD.org * USE_XPM no longer implies USE_XLIB. * USE_LDCONFIG can now be used to Linux binary ports that install shared libraries instead of INSTALLS_SHLIB. 20070908: AUTHOR: gabor@FreeBSD.org, linimon@FreeBSD.org * The Perl-related code parts have been extracted from bsd.port.mk to bsd.perl.mk. This includes the user-settable knobs (e.g. USE_PERL5) and infrastructure parts of the code, like default targets. The new code is designed to be conditionally included based on either USE_PERL5_*, PERL_CONFIGURE, or PERL_MODBUILD being set. However, some of the default settings remain in bsd.port.mk while we make sure that all ports comply with this. * A convenient version handling has been implemented for Perl-related knobs. With this new feature one can require a minimal, a maximal or an exact version, that the given port needs. For the full description and some examples, please see the documentation in bsd.perl.mk. 20070804: AUTHOR: gabor@FreeBSD.org The following functional changes were made to bsd.*.mk and to Tools/scripts/security-check.awk: * The variable definitions that cover command line tools, e.g. MKDIR, were extracted from bsd.port.mk into bsd.commands.mk, so that we can reuse them within the infrastructure later. * The old DESTDIR implementation was removed both from the infrastructure, and from the individual ports. Variables like TARGETDIR should not longer be used. * A new DESTDIR implementation has been added, implemented in bsd.destdir.mk. The new implementation puts no requirements on the individual ports. 20070730: AUTHOR: python@FreeBSD.org * The default Python version has been changed from 2.4.x to 2.5.x. * A number of variables have been added to bsd.python.mk to support the more integrated support for Python eggs, including: PYDISTUTILS_PKGNAME, PYDISTUTILS_PKGVERSION, PYEASYINSTALL_EGG, PYDISTUTILS_NOEGGINFO, PYDISTUTILS_EGGINFO, PYEASYINSTALL_ARCHDEP * More detailed descriptions of the variables can be found in the comments in bsd.python.mk. 20070723: AUTHOR: rafan@FreeBSD.org * The default CONFIGURE_ARGS when GNU_CONFIGURE is set now contains --mandir and --infodir if configure script supports them. 20070712: AUTHOR: maho@FreeBSD.org * Add knob USE_FORTRAN for ports which uses FORTRAN. All ports uses FORTRAN compiler should use this knob. Usages are: USE_FORTRAN=yes (default;gfortran42), USE_FORTRAN=ifc (Intel FORTRAN compiler) and USE_FORTRAN=g77 (/usr/bin/f77 or g77-34). 20070701: AUTHOR: portmgr@FreeBSD.org The following change was made to the ports infrastructure: * Virtual category 'kld' was added. If the port installs kernel loadable modules, it should be included in this category. 20070524: AUTHOR: portmgr@FreeBSD.org The following changes were made to the ports infrastructure: * The 'make-deinstall-all' target now checks for moved ports. * The installation directories PORTEXAMPLES and PORTDATA are now defined. * The USE_MAKESELF knob is added for ports that use the makeself archiver. * The description of fetch-list was updated. The targets fetch-required-list, fetch-url-list, and fetch-urlall-list were added. * 'make search' will also now search in ports/MOVED. * The default method for 'make update' is now portsnap. Previously, you had to manually select one of 3 methods: SUP_UPDATE, CVS_UPDATE, or PORTSNAP_UPDATE. The latter is now obsolete. * Several Makevar definitions have been moved to the pre-makefile section: DATADIR, DOCSDIR, ETCDIR, EXAMPLESDIR, WWWDIR. 20070403: AUTHOR: portmgr@FreeBSD.org The following changes were made to the ports infrastructure: * The default dependency of USE_GHOSTSCRIPT has been changed from ghostscript-gnu to ghostscript-gpl. The WITH_GHOSTSCRIPT_GPL variable is now no-op. New WITH_GHOSTSCRIPT_GNU variable was added. * bsd.tcl.mk was overhauled. Most importantly, the semantics of USE_TCL* and USE_TK* variables was changed. USE_TCL and USE_TK now implies both build and run dependencies, USE_TCL_RUN and USE_TK_BUILD variables were introduced. Existing ports in the tree were modified. * Unused category 'tcl81' was removed, and new categories 'tcl' and 'tk' were added. 20070324: AUTHOR: portmgr@FreeBSD.org The following changes were made to the ports infrastructure: * Default LIBTOOLFILES value was changed from literal `configure' to ${CONFIGURE_SCRIPT}. * bsd.efl.mk was moved to ports/Mk. USE_EFL family of macros is now generally available to all ports. * New macros COPYTREE_BIN and COPYTREE_SHARE were added, to allow for easy installation of a tree hierarchy, either with executable (bin) or read-only (share) permissions on files. * A new variable WWWDIR was added, with default value of ${PREFIX}/www/${PORTNAME}. * Variables DOCSDIR_REL, DATADIR_REL, EXAMPLESDIR_REL and WWWDIR_REL were added for porter's convenience. They contain the values of their respective non-REL variables, except relative to installation PREFIX. 20070313: AUTHOR: portmgr@FreeBSD.org The following changes were made to the ports infrastructure: * bsd.ocaml.mk and bsd.xfce.mk were added. * The FETCH_CMD was refactored so that ports can override the command, the arguments, or both. 20070306: AUTHOR: portmgr@FreeBSD.org The following changes were made to the ports infrastructure: * The remaining vestiges of FreeBSD 4.X support were removed. Any remaining users of 4.X should have stayed with the RELEASE_4_EOL tag. * It is now possible to include USE_PHP after bsd.port.pre.mk. * 'make search' should now work with non-default ${PORTSDIR}. 20070130: AUTHOR: portmgr@FreeBSD.org The following changes were made to the ports infrastructure: * DEPENDS variable was removed, please use other *_DEPENDS variables instead. * A new pkg-plist keyword is available, @stopdaemon. It will call forcestop on all rc.subr scripts installed by the port on deinstall, effectively stopping services on deinstall/upgrade. * rc.subr script suffix is now available in Makefile as RC_SUBR_SUFFIX. * New variable USE_CDRTOOLS was introduced. It replaced direct dependencies on sysutils/cdrtools port. It now automatically support switching to cdrtools-cjk port when user specified WITH_CJK. All ports were converted. * USE_DOS2UNIX, infrastructure for converting DOS to UNIX line feeds, was enhanced by a new variable DOS2UNIX_REGEX. It allows to specify a find -iregex parameter to limit touched files by file extensions. * Support for partially translated manpages was added. For examples of usage, please refer to Porter's Handbook. * USE_TCL/USE_TK variables were changed to provide runtime dependency. New variables USE_TCL_BUILD and USE_TK_BUILD were added. All unintuitive quirks of these variables were fixed. * USE_LDCONFIG was fixed to work properly for ports, that specify @cwd in the pkg-plists. * Old bsd.java.mk version 1.0 macros were removed. * New category: ports-mgmt * New virtual category: gnustep * Unused 'picobsd' category was removed. 20070118: AUTHOR: maho@FreeBSD.org We'd like to ask all ports maintainers, who are using Fortran77 (f77 in base), to switch to Fortran90/95 (gfortran42, lang/gcc42). Please refer to http://people.freebsd.org/~maho/gfortran/gfortran.html for details. 20061014: AUTHOR: gnome@FreeBSD.org The following changes have been introduced to the GNOME porting process during the GNOME 2.16 update: * GNOME is now installed into LOCALBASE. Any port which makes use of the gnomeprefix component will have its PREFIX forced to LOCALBASE 20060930: AUTHOR: portmgr@FreeBSD.org The following functional changes were made to bsd.port.mk: * The bsd.port.mk pre and post includes have been split into 3 pieces instead of 2, to allow OPTIONS to be able to influence dependencies. This is still experimental and not yet enabled by any port. This adds the file 'bsd.port.options.mk'. * bsd.gcc.mk has been updated to understand gfortran. * emulators/linux_base is now removed. linux_base-fc4 has been the default for some time. * The USE_FIREBIRD macro was added to bsd.database.mk. 20060914: AUTHOR: portmgr@FreeBSD.org The following functional changes were made to bsd.port.mk: * PKGVERSION was introduced as an intermediate variable refactored out of PKGNAME. * bsd.lua.mk was added to support lua-related ports. * DESTDIR was removed from bsd.scons.mk because it was problematic. * Some quotes were added to the 'missing' target to improve handling of duplicate origins. 20060903: AUTHOR: sat@FreeBSD.org The following functional changes were made to bsd.sites.mk: * MASTER_SITES variable can now look like MACRO1/subdir1 MACRO2/subdir2, and be expanded in a way that you expect it to, that is apply different subdirs to different sites. You can safely replace ${M_S_FOO:S/%SUBDIR%/bar/} with FOO/bar. * If M_S_SUBDIR is unset, a macro in M_S won't set it anymore, but rather substitute %SUBDIR% all by itself. Now it's possible to use macros with different default subdirs and they will expand in a proper way. 20060805: AUTHOR: sat@FreeBSD.org The following functional changes were made to bsd.sites.mk: * MASTER_SITES variable can now contain special macros which are expanded into traditional URL[:group] syntax and cause some convenient effects, e.g. set a default M_S_SUBDIR. * A macro is any space-delimited word in MASTER_SITES without a forward slash. * If MASTER_SITE_ is defined, then the macro is expanded to its value. * Abbreviated macros are provided for extremely popular locations, e.g. CPAN and SF. To avoid further obfuscation their unabbreviated equivalents should be avoided. * Popular macros can trigger M_S_SUBDIR to default to a predefined value, e.g. ${PORTNAME:L} for SF and ${PORTNAME:C/-.*//} for CPAN. * Abbreviations and M_S_SUBDIR defaults are defined by MASTER_SITES_ABBREVS and MASTER_SITES_SUBDIRS, both set in bsd.sites.mk. * If a macro belongs to a group (e.g. SF:source1), all the sites it expands into also belong to the same group. * Macros and traditional URL's can be mixed safely, their order stays intact. 20060804: AUTHOR: gabor@FreeBSD.org The following functional changes were made to bsd.*.mk and to Tools/scripts/security-check.awk: * Add DESTDIR support to let one install ports into a jail from outside. A package is installed under ${DESTDIR}${PREFIX} now and registered under ${DESTDIR}/var/db/pkg. * TARGETDIR variable has been added for referencing ${DESTDIR}${PREFIX}. * LOCALBASE, LINUXBASE and X11BASE variables point to the final destination now, LOCALBASE_REL, LINUXBASE_REL and X11BASE_REL can be used for the old behavior. The behavior has not been changed in PLIST_SUB. Note, that the three variables are still overridable with a hack, so this change doesn't affect POLA, but necessary for DESTDIR support. * OSVERSION is now determined from the userland, not from the kernel. Cross-compiling between releases is still not supported, but this behavior is more correct for jails with differing userland from the kernel version. * Add some sanity check for PREFIX and DESTDIR. This can be skipped by defining IGNORE_PATH_CHECKS, but very discouraged. * Deinstalling from DESTDIR, determining if a port is already installed in DESTDIR, etc. are implemented by chrooting those specific commands. * Text changes to reflect that we are installing to DESTDIR, removing from DESTDIR, etc. Note, that this change implements only the infrastructure support. Ports should also be implemented to respect DESTDIR. 20060717: AUTHOR: portmgr@FreeBSD.org The following functional changes were made to bsd.port.mk: * Introduces IA32_BINARY_PORT for certain cases where a given port fetches and installs compiled i386 binaries. * Adds some infrastructure for support of 32-bit i386 apps on amd64. * Again fix USE_LDCONFIG logic to make it work with non-default PREFIX to fix bug introduced in previous revision. 20060705: AUTHOR: portmgr@FreeBSD.org The following functional changes were made to bsd.port.mk: * Change all bogus uses of BROKEN to IGNORE. (Note: the BROKEN_WITH_* forms are retained for compatibility but deprecated.) Internally, these variables all had already set IGNORE, not BROKEN, so they were really misnomers. * Fix USE_LDCONFIG with non-default PREFIX. * Fix DESKTOP_ENTRIES processing on 4.x. * Add 'make missing' to show missing dependencies. * Add bsd.scons.mk and bsd.wx.mk. 20060616: AUTHOR: portmgr@FreeBSD.org The patch in ports/95841 to get rid of remnants of FORCE_PKG_REGISTER was backed out because it broke kdelibs3*. 20060616: AUTHOR: portmgr@FreeBSD.org The following functional changes were made to bsd.port.mk: * Update default MySQL version from 4.1 to 5.0 [1] * Update default PHP version from 4 to 5 [2] * Update default LDAP version from 2.2 to 2.3 [3] * Add support for LDAP version 2.4 [4] * Update default linux_base from '8' (Redhat 8) to 'fc4' (Fedora Core 4) [5] * Switch default Linux X implementation from XFree86 to X.org to track the above [5] * Deprecate INSTALLS_SHLIB and replace it by USE_LDCONFIG. If set to "yes", the old behavior is preserved. Otherwise, it can be set to a list of directories to be added to ${PREFIX}/libdata/ldconfig/${UNIQUENAME}. Note that this directory is used by ldconfig startup script, it is meant to replace ldconfig scripts installed by some ports as (sometimes 000.${UNQUENAME}.sh) [6] * Adds USE_LDCONFIG32 which is like USE_LDCONFIG but the target file is ${PREFIX}/libdata/ldconfig32/${UNIQUENAME} instead. (Note: this should only be used on 64-bit architectures) [6] * Set the default LANG for tr to be C to avoid some build problems [7] * Include bsd.java.mk in both pre and post sections [8] * Get rid of remnants of FORCE_PKG_REGISTER [9] * Always print options with make showconfig [10] PR: 92805 [1], 92806 [2], 96793 [3], 97515 [4], 96849 [5], 91933 [6], 91381 [7], 97020 [8], 95841 [9], 97133 [10] 20060523: AUTHOR: portmgr@FreeBSD.org The following functional changes were made to bsd.port.mk: * include bsd.emacs.mk only when USE_EMACS is set [5] * Correct the implementation of pretty-print-run-depends-list [8] * Use a consistent name for the cookies file when PKGNAMEPREFIX/SUFFIX are set after bsd.port.pre.mk. [9] * Include bsd.tcl.mk if USE_TCL_BUILD is defined [10] * Set PERL_MM_USE_DEFAULT in BATCH mode [11] * Add the {ONLY,NOT}_FOR_ARCH_REASON and {ONLY,NOT}_FOR_ARCH_REASON_${ARCH} variables to allow better customization of the error string reported to users when they attempt a build on an unsupported architecture. [12] * Avoid errors from duplicated targets when parsing MLINKS on ports without a default value set. [13] * Fix handling of MLINKS when invalid entries are listed [14] * Enforce sanity of DESKTOP_ENTRIES. If the Categories field is omitted, try to map ports categories to their freedesktop.org counterpart [15] PR: 95238 [5], 94164 [8], 94219 [9], 92355 [10], 95579 [11], 94675 [12], 66109 [13], 66110 [14], 95603 [15] 20060121: AUTHOR: portmgr@FreeBSD.org The following changes affecting ports developers were introduced: * Gamin is a default FAM system * New virtual categories: hamradio and rubygems * Virtual category 'offix' was removed * New USE_DOS2UNIX variable for converting DOS linefeeds to UNIX * Variables like BROKEN and FORBIDDEN should no longer be quoted * New NOFETCHFILES variable to prevent downloading from MASTER_SITES while still allowing MASTER_SITE_OVERRIDE * New plist macro @dirrmtry with functionality of @unexec rmdir || true * USE_REINPLACE no longer needs to be defined, REINPLACE_CMD is always available Detailed documentation of new features is available in Porter's Handbook. 20051108: AUTHOR: portmgr@FreeBSD.org The following changes were introduced: * Add bsd.database.mk - move out from bsd.port.mk USE_MYSQL and USE_PGSQL. - add support for Berkeley DB and SQLite (via USE_BDB and USE_SQLITE knobs). * Escape '+' in make search * Add "makepatch" target to simplify creation of patches during porting * Replace deprecated MACHINE_ARCH with ARCH * Remove support of OpenLDAP 2.1 * Add bsd.tcl.mk It introduces USE_TCL/USE_TCL_BUILD knobs to support various version of tcl (8.0 -> 8.4) * Fix cosmetic bugs in security-check target * Add support for INDEX-7 and above (up to INDEX-9 actually) * Add "package-recursive" to bsd.port.subdir.mk * Remove check for FreeBSD version < 460101 * New category: net-im * Add .desktop file facilities It introduces DESKTOPDIR and DESKTOP_ENTRIES knobs * Add SHA256 support to "*checksum" targets * Fix USE_PYTHON with OPTIONS * Force NO_LINT to MAKE_ENV to avoid library breaks * Fix typo: s/RC_ORDER/USE_RCORDER/g * Add support for PostgreSQL 8.1 * Add bsd.apache.mk USE_APACHE knob enhancements 20051105: AUTHOR: gnome@FreeBSD.org GNOME has been upgraded from 2.10.2 to 2.12.1. This update brings with it many important porting changes: - gtk20's pkg-config file no longer contains the X11 pango modules. Therefore, if your port requires these modules, you may have to manually patch them in to your port's Makefiles. Contact gnome@FreeBSD.org if you have questions on this. - A new USE_GNOME component, ltverhack, has been added. This pseudo-component hacks libtool so that shared library versions are more consistent with other operating systems. Using this component can prevent unnecessary shared library version changes. - A new macro, INSTALLS_ICONS, has been added. If your port installs Freedesktop-style icons to ${LOCALBASE}/share/icons or ${X11BASE}/share/icons, then you should use this macro. NOTE: use of this macro requires your port to set either USE_GNOME or WANT_GNOME. 20050618: AUTHOR: netchild@FreeBSD.org - USE_LINUX now implies NO_FILTER_SHLIBS=yes. It also doesn't use FreeBSD tools to strip binaries anymore, so it's not necessary anymore to override STRIP and STRIP_CMD. - USE_LINUX_PREFIX implies NO_MTREE now. - In the USE_LINUX case, USE_XLIB now depends upon the Linux X11 libraries instead upon the native FreeBSD libraries. - The variable LINUX_BASE_PORT contains a string which is suitable as an item in *_DEPENDS, so if a port BATCH_DEPENDS or FETCH_DEPENDS upon the default (or overridden) Linux base, ${LINUX_BASE_PORT} should be used instead of a hardcoded reference. - If USE_LINUX or OVERRIDE_LINUX_BASE doesn't point to an existing linux_base port and if USE_LINUX isn't set to "yes" (case insensitive), the port will be marked as IGNORE. 20050609: AUTHOR: portmgr@FreeBSD.org The following changes were introduced: * Improve documentation of CONFLICTS. * Fix add-plist-docs target to work correctly with wildcards. * Fix USE_MYSQL and USE_PGSQL knobs to work in partial ports tree. * Introduce 2 new variables: USE_FAM and WANT_FAM_SYSTEM. * Suppress "Vulnerability check disabled" message if DISABLE_VULNERABILITIES is defined. * Switch default MySQL version to 4.1 * Add support for OpenLDAP v.23 * Fix add-plist-info and add-plist-post targets to avoid warnings from ports which redefine them. * Fix add-plist-docs target to handle NOPORTDOCS knob properly. * Use INSTALLDIRS="site" in configure for perl ports. * Fix NO_(CHECKSUM|BUILD|INSTALL|PACKAGE) knobs if OPTIONS are defined. * Add an ability to depend on versioned installed package. Example: BUILD_DEPENDS=p5-Tree-Simple>=1.12:${PORTSDIR}/devel/p5-Tree-Simple Please note, it's experimental feature, work is currently in progress. 20050325: AUTHOR: jdp@FreeBSD.org The CVSup port has been upgraded with a patch to correct the handling of the "refuse" file for files that are in the CVS Attic. This solves a problem some people were having, where CVSup would delete their ports/INDEX* files even though the files were listed in the "refuse" file. The bug fix is in the cvsupd server, so mirror sites must upgrade their servers in order for this fix to help. Meanwhile, adding "ports/Attic/INDEX*" to the refuse file serves as a work-around. 20050321: AUTHOR: kwm@FreeBSD.org The gstreamer-plugins gconf dependency moved to its own port in devel. When your application needs gstreamer-plug-gconf, just add USE_GSTREAMER=gconf to you Makefile 20050319: AUTHOR: gnome@FreeBSD.org New GNOME components have been added to bsd.gnome.mk. See http://www.FreeBSD.org/gnome/docs/gnome2_porting.html for the complete list of available GNOME 2 components. Py-gnome2 lost many of its GNOME dependencies to a new port, py-gnome-extras. Therefore, ports that used to depend on the pygnome2 component for modules such as gtkhtml2, gnomepanel, etc. should replace the pygnome2 dependency with pygnomeextras. 20050314: AUTHOR: edwin@FreeBSD.org New variable for in /etc/make.conf: IGNORE_MASTER_SITE_xxx If you prefer a certain mastersite for a collection of master-sites, set this in your /etc/make.conf: MASTER_SITE_xxx=http://z.x.y/%SUBDIR%/ If you insist on only using the ones you specify, set this in your /etc/make.conf: IGNORE_MASTER_SITE_xxx=yes MASTER_SITE_xxx=http://z.x.y/%SUBDIR%/ Use "make -V MASTER_SITES" to see the differences. 20050313: AUTHOR: ahze@FreeBSD.org, kwm@FreeBSD.org The following changes were committed: * USE_GNOME=gstreamerplugins has been deprecated. The new method which uses bsd.gstreamer.mk is: USE_GSTREAMER=plugin-name Example: USE_GSTREAMER= dvd or WANT_GSTREAMER= yes .include .if defined(WITH_DVD) USE_GSTREAMER= dvd .endif * misc/gnomehier now creates a mtree file and each port using USE_GNOME=gnomehier or gnomeprefix now use the BSD.gnome-x11.dist mtree file to help "keep" directories and not accidentally add gnome directories to a port. 20050207: AUTHOR: portmgr@FreeBSD.org The following changes were committed: * Change bento to pointyhat names in comments. * Document DISABLE_VULNERABILITIES variable. * Add WWW: line for 'search' target. * Speedup check-vulnerable invocation, if portaudit is installed. * Run install-info for all .info files. * Run add-plist-docs more strictly and prevent some situations with leftover files in the future. * Introduce two new variables: MASTER_PORT and SLAVE_PORT. The results from these variables is only used as information for users. * Honor OPTIONS if PACKAGE_BUILDING or BATCH are defined. * Move all USE_GCC entries to new file - bsd.gcc.mk. 'test-gcc' target allows users to check gcc version if USE_GCC is used. Give maintainers opportunity to add '+' character to USE_GCC version for using specified and higher versions. Example: USE_GCC=3.3+ builds ports with gcc version 3.3 and higher (3.4, 4.0). * Install startup scripts with the help of USE_RC_SUBR variable. * Add three new targets: config-recursive, rmconfig-recursive and config-conditional. You can set or delete OPTIONS for all dependencies before every build. config-conditional target is used to skip configuring ports which have already been configured. * Fix using of WANT_PGSQL_VER variable if PostgreSQL is already installed. 20041231: AUTHOR: netchild@FreeBSD.org USE_LINUX_PREFIX doesn't implies USE_LINUX anymore. 20041209: AUTHOR: portmgr@FreeBSD.org The following changes were committed: * Define new macros: DATE, FMT, MKTEMP, OBJDUMP, and use command macro SORT. * Change layout of comments to 4 column tabs, remove lots of spaces and eight-column-tabs. * Introduce 2 new variables: SUB_FILES and SUB_LIST: Example: SUB_FILES= pkg-message pkg-install SUB_LIST+= "VERSION=${VERSION}" This looks for ${FILESDIR}/pkg-message.in and ${FILESDIR}/pkg-install.in Substitutions in SUB_LIST are applied to these files and the output is redirected to ${WRKDIR}. PKGMESSAGE will be set to ${WRKDIR}/pkg-message. PKGINSTALL will be set to ${WRKDIR}/pkg-install. * Document DEPRECATED and EXPIRATION_DATE variables. * Sanitize the intermittent output by the build infrastructure so that cutting and pasting from it no longer interferes with GNATS-tags. * Honor configure arguments for USE_XLIB if USE/WITH_LIBTOOL_ is used. * Properly document 'describe' target. * Properly remove directories at deinstallation time if ports sets a non-standard PREFIX. * Defaults INDEXFILE to INDEX-6 on 6-CURRENT. 20041119: AUTHOR: portmgr@FreeBSD.org The following changes were committed: * Fix INDEX build if MAINTAINER is not defined. * Remove USE_QT2 option, since qt2 is obsolete. * Better define and explain ARCH option. * Add new script Tools/make_readmes, to speedup 'readmes' target. Avoid recursing into individual port directories and run it at top level, after the category README.html files have been created. * Fix 'search' target and enable a case-insensitive search on 5-x. * Extend 'search' target and enable search by categories. * Remove 'tk42' and 'tcl76' categories since they're obsolete. * Introduce DISTVERSION variable, that can be set instead of PORTVERSION and is automatically converted in a conforming PORTVERSION. Example: DISTVERSION= 10Alpha3 extends 10Alpha3 to 10.a3 DISTVERSION= 3Beta7-pre2 extends 3Beta7-pre2 to 3.b7.p2 * Use --suffix option instead of -b for patch(1), to make it compatible with BSD patch(1). * Fix {WANT,WITH}_MYSQL_VER behavior, to deal with conflicting versions. 20041116: AUTHOR: gnome@FreeBSD.org The way OMF files are handled has been changed to use the new INSTALLS_OMF macro (similar to INSTALLS_SHLIB). Details about the new macro can be found at http://www.FreeBSD.org/gnome/docs/porting.html and bsd.gnome.mk. 20041113: AUTHOR: portmgr@FreeBSD.org Since INDEX version in CVS is always too old, portmgr decided to remove it. You will still be able to build your own INDEX or use 'fetchindex' target in /usr/ports/. 20041109: AUTHOR: gnome@FreeBSD.org The way GConf schema files are handled has been changed to use the new GCONF_SCHEMAS macro (similar to MAN). Details about the new macro can be found at http://www.FreeBSD.org/gnome/docs/porting.html and bsd.gnome.mk. 20040803: AUTHOR: ade@FreeBSD.org As part of the ongoing autotools cleanup, devel/autoconf has been replaced with devel/autoconf253, and devel/automake with devel/automake15. Consumers of the various autotools knobs from bsd.autotools.mk should not notice any differences. This update completes the transition of autotools to true versioned packages (cf: tcl/tk) 20040723: AUTHOR: anholt@FreeBSD.org The XFREE86_VERSION variable is replaced by the X_WINDOW_SYSTEM variable. XFREE86_VERSION may no longer be used by ports Makefiles. X_WINDOW_SYSTEM may currently be set to xorg, xfree86-4, and xfree86-3 (please use :L in checking it). Several X_*_PORT variables are provided by bsd.port.mk which map to the appropriate port for the X_WINDOW_SYSTEM chosen. 20040719: AUTHOR: ale@FreeBSD.org There has been a big update to PHP ports and bsd.php.mk to add more flexibility and new features. Now a port may depend on a specific set of PHP extensions. To do so, simply replace: USE_PHP= yes with: USE_PHP= ext1 ext2 ext3 ... in the port Makefile. A list of all PHP extensions is included in bsd.php.mk. If the requirement is a build dependency too, the port should also define: USE_PHP_BUILD=yes Moreover, the new knob WANT_PHP_SCR has been added to indicate that the port requires the 'php' binary to run. Last but not least, many common operations to build/install/register a PHP extension can now be omitted from the port Makefile if it defines: USE_PHPEXT= yes For more information on this point and on additional variables, see bsd.php.mk. 20040717: AUTHOR: eik@FreeBSD.org OpenLDAP version 2.2 is now the default. When your port links against the openldap client libraries use USE_OPENLDAP= yes and do not depend on a particular version. A user (or package building cluster) can select the desired flavor with WANT_OPENLDAP_VER and WANT_OPENLDAP_SASL, but these must not be used in ports Makefiles. 20040709: AUTHOR: portmgr@FreeBSD.org USE_LIBTOOL_VER now configures a port to use the ports version of libtool instead of its included version. This was put in place to reduce the number of ad hoc patches to individual ports' libtools to prevent .la file installation as well as fix various threading problems. To restore the previous libtool behavior, use the new macro, USE_INC_LIBTOOL_VER. It works the exact same way as USE_LIBTOOL_VER in that it takes a libtool version as its argument. For example, to use the included version of libtool with extra hacks provided by libtool-1.5, add the following to your Makefile: USE_INC_LIBTOOL_VER= 15 To use the ports version of libtool-1.5, add the following to your Makefile: USE_LIBTOOL_VER= 15 Note: these macros are mutually exclusive. Your port should only include one or the other if it needs to make use of libtool. 20040707: AUTHOR: gnome@FreeBSD.org The way GConf schema files are installed has changed to support the upcoming GNOME 2.8 GConf. Details about the change can be found at http://www.FreeBSD.org/gnome/docs/porting.html. All existing ports have been converted to the new style, and portlint has been updated to flag old-style GConf schema installation. 20040610: AUTHOR: portmgr@FreeBSD.org The following behavioral or feature changes were committed: * Support verbose index builds with INDEX_VERBOSE * Support glob expressions in USE_GETTEXT to allow more flexibility in the face of future gratuitous library version bumps by the gettext developers: USE_GETTEXT=yEs # Works as before (case-insensitive) USE_GETTEXT=[5-7] # Accepts any of those libintl.so.x versions # in the LIB_DEPENDS * Extend 'make search' support to allow much more flexible searching From the PR: Besides the good old key and name variables, this patch adds support for path, info, maint, cat, bdeps, and rdeps, which match on the appropriate fields, plus their exclusion counterparts: xkey, xname, etc. Examples: Find all ports whose names contain "pear-" but not "html" or "http": make search name=pear- xname='ht(tp|ml)' Find ports whose names contain "pear-" and which don't have apache listed in build-time dependencies: make search name=pear- xbdeps=apache The positive variables (name, key, maint, etc) are AND-ed, their negative versions are OR-ed; in other words, matching any x- variable will cause the port to be skipped, mismatch on any non-x- variable will cause it to be skipped. Examples: Find ports that are both in the 'www' category and maintained by Thierry Thomas: make search maint=thierry@ path=/www/ Find ports in the 'archivers' category that are either not orphaned or don't have "zip" in their names (contrived): make search cat=archivers xmaint=ports@freebsd xname=zip It is possible to select fields to display. Example: Find PEAR ports that don't build-depend on apache, displaying only Port:, Path:, and Info: lines: make search name=pear- xbdeps=apache display=name,path,info Case-sensitivity can now be turned of with icase=1. Example: Find ports with @freebsd.org maintainer addresses without the "proper" capitalization (@FreeBSD.org), display their paths and maintainer addresses: make search maint=@freebsd\\.org icase=0 display=maint,path The key and xkey variables can be limited in scope to displayed fields by setting keylim to 1. Example: Find ports that contain "apache" in either of the name, path, info fields, ignore the rest of the record (dependencies, maintainer address, etc): make search key=apache display=name,path,info keylim=1 The following variables can be set e.g. in /etc/make.conf to control default search behavior: PORTSEARCH_DISPLAY_FIELDS?=name,path,info,maint,index,bdeps,rdeps PORTSEARCH_KEYLIM?=0 PORTSEARCH_XKEYLIM?=0 PORTSEARCH_IGNORECASE?=1 * Extend USE_PERL5_BUILD and USE_PERL5 to add EXTRACT and PATCH dependencies * While building index, treat non-existent dependencies as fatal. Previously the error was being hidden by the stderr redirection. * Don't always retry BROKEN ports when package building (it is taking too much time to continually rebuild ports that are usually going to really be broken). Set TRYBROKEN if you want to attempt a build of a BROKEN port. 20040604: AUTHOR: ade@FreeBSD.org Over the past few weeks, we have been testing the next incarnation of ports/Mk/bsd.autotools.mk on the road to bringing at least some semblance of sanity back to this corner of the ports collection. By far and away the easiest way to see the changes will be to view the new file once committed, but here is a summary of the changes: 1. USE_LIBTOOL, USE_AUTOCONF, USE_AUTOHEADER, USE_AUTOMAKE have been fully deprecated. Ports attempting to use these variables after the commit will error out, and most obviously break INDEX generation, with a helpful error message. Instead, ports must now specifically choose the version of any of these tools that they need with the corresponding USE_*_VER variables. Note that these variables understand any and all versions of autotools ports in the tree, there is no longer a need to have specific version numbers hardcoded in the infrastructure of bsd.autotools.mk (as there is now). In particular, this will immediately open up automake18 and autoconf259 for general use and beating. 2. Similarly for WANT_LIBTOOL, WANT_AUTOCONF, and WANT_AUTOMAKE. Again, these have been fully deprecated, and the equivalent WANT_*_VER versions should be used. In order to preserve existing behavior for these variables, please note the 20040314 entry in ports/CHANGES for the appropriate version numbers to use for any ports in the GNATS queue. Both WANT_* and USE_* bring in the relevant tool as a build dependency, and set up a reasonably large number of variables pointing to the right programs to be using in the port. The only difference at the moment, is that USE_* will run an extra autotools-related configuration step, whereas WANT_* merely requests the environment. 3. The helper knob USE_LIBLTDL has been added which currently simply adds a LIB dependency on the libltdl port. 4. Three new variables have been introduced, WANT_{LIBTOOL,AUTOCONF,AUTOMAKE}_RUN=yes. These variables will do nothing by themselves (a Work-In-Progress), but if the appropriate autotool version is defined (either through WANT_*_VER or USE_*_VER), this will add the relevant dependency to RUN_DEPENDS. Steps 3 and 4 now essentially negate the need for any kind of direct dependency within a non-autotools port Makefile on devel/autoconf*, devel/automake*, devel/libtool*, and devel/libltdl. 20040416: AUTHOR: java@FreeBSD.org There has been a couple of bsd.java.mk tweaks and fixes. . Features from Stage 2 has been removed. A port can no longer use the JDK dependency features by setting JAVA_HOME. Use JAVA_PREFERRED_PORT instead (see below). . The default JDK port now depends on OS version: java/diablo-jdk13 for 4.x, and java/jdk14 for 5.x . It is now possible for the user (and the porters) to define a list of preferred JDK ports to build and run ports. The port will use the first JDK port from the list that matches the requirements specified in the Makefile. JAVA_PREFERRED_PORT contains a list of suitable JDK ports (sorted by preference). Names for JDKs may be found in bsd.java.mk, listed in ${_JAVA_PORTS_ALL} (e.g. "JAVA_PORT_NATIVE_BSDJAVA_1_4"). . JAVA_PORT_VERSION is now set to the full version number of the chosen JDK (e.g. "1.4.2"). Porters will find hints regarding how to obtain the same behavior as before in the header of bsd.java.mk. 20040414: AUTHOR: gnome@FreeBSD.org When writing a port that uses GTK+ 2.X, you can now list the dependency with "USE_GNOME=gtk20" which is preferable to LIB_DEPENDS because the GTK+ library version only needs to be changed in bsd.gnome.mk. Please see http://www.FreeBSD.org/gnome/docs/porting.html for all the available GNOME components as well as detailed instructions on creating ports that use the GNOME infrastructure. 20040404: AUTHOR: gnome@FreeBSD.org The glib20 and gtk20 ports were updated to 2.4.0. This new version is completely source and binary compatible with the previous 2.2.x series. However, certain API calls have been deprecated. If your port defines the following macros, they may refuse to build with the new versions of glib20 and gtk20: GTK_DISABLE_DEPRECATED GDK_DISABLE_DEPRECATED G_DISABLE_DEPRECATED The temporary solution is to either patch your port's Makefiles to, or use an in-place regular expression to remove these macros. The more permanent solution is to wait until the port's authors update their code to use current API calls. 20040402: AUTHOR: java@FreeBSD.org There has been a big update to bsd.java.mk. However, this update is mostly backwards compatible, so it shouldn't affect most java port maintainers. There is some new functionality and minor changes worth documenting here though. bsd.java.mk now provides a new set of macros to be used by ports that require a JDK. When USE_JAVA is set, the following variables may be set in order to give to precision regarding the requirements of the port: . JAVA_VERSION A list of space-separated suitable java versions for the port. An optional "+" allows you to specify a range of versions. (allowed values: 1.1[+] 1.2[+] 1.3[+] 1.4[+]) (NOTE: Used to be set by bsd.java.mk) . JAVA_OS A list of space-separated suitable JDK port operating systems for the port. (allowed values: native linux) (NOTE: Used to be set by bsd.java.mk) . JAVA_VENDOR A list of space-separated suitable JDK port vendors for the port. (allowed values: freebsd bsdjava sun ibm blackdown) (NOTE: Used to be set by bsd.java.mk) . JAVA_BUILD When set, it means that the selected JDK port should be added to build dependencies for the port. . JAVA_RUN This variable works exactly the same as JAVA_BUILD but regarding run dependencies. Here are some of the macros defined after setting USE_JAVA: . JAVA_PORT The name of the JDK port (e.g. java/jdk14) . JAVA_HOME The home of the JDK port in the local base . JAVA_PORT_VERSION The version of the JDK port. (NOTE: Used to be JAVA_VERSION, see above) . JAVA_PORT_OS The operating system used by the JDK port. (NOTE: Used to be JAVA_OS, see above) . JAVA_PORT_VENDOR The vendor of the JDK port. (NOTE: Used to be JAVA_VENDOR, see above) Plus many macros for the commonly used java executables: APPLETVIEWER, JAR, JAVA, JAVAC, JAVADOC, JAVAH, JAVAP, JAVA_KEYTOOL, JAVA_N2A, JAVA_POLICYTOOL, JAVA_SERIALVER, RMIC, RMID and RMIREGISTRY. bsd.java.mk 2.0 is mostly backward compatible with the previous version, save for the notes above and changed internal variables. Using the new features is strongly encouraged, since the old bsd.java.mk 1.0 features will be deprecated and may be removed in the future. You will find more detailed info (as well as a quick tutorial) at: http://www.esil.univ-mrs.fr/~hquiroz/freebsd/bsd.java.mk-2.0.html 20040316: AUTHOR: gnome@FreeBSD.org The print/freetype2 port has been updated to 2.1.7. This update changes some of the internal FreeType API. Applications may need to be patched to support this new API. If a source files includes freetype/freetype.h, make sure ft2build.h is included before freetype/freetype.h. The proper way to do this is: #include #include FT_FREETYPE_H However, the following will work as well, but is deprecated: #include #include 20040314: AUTHOR: ade@FreeBSD.org USE_LIBTOOL, USE_AUTOCONF, and USE_AUTOMAKE are now considered deprecated, and will be removed on or around June 1st 2004. All ports should now choose the specific version of the tool, using USE_LIBTOOL_VER, USE_AUTOCONF_VER, and USE_AUTOMAKE_VER. The old "system default" behavior can be written as follows: Old New USE_LIBTOOL=yes USE_LIBTOOL_VER=13 USE_AUTOCONF=yes USE_AUTOCONF_VER=213 USE_AUTOMAKE=yes USE_AUTOMAKE_VER=14 20040304: AUTHOR: eik@FreeBSD.org New variable MASTER_SITE_SOURCEFORGE_EXTENDED. It has the ten official sourceforge.net download mirrors, whereas MASTER_SITE_SOURCEFORGE only has five. To check if your port is mirrored there, go to click on ${DISTFILES} and you'll see five or ten mirrors, corresponding to the variables above. 20040226: AUTHOR: knu@FreeBSD.org The default version of Ruby is now 1.8 on all platforms including the i386. Users on the i386 platform need to follow the instructions described in the UPDATING file to cope with this upgrade. Next time ruby is major upgraded, you won't need to do this kind of messy work because some subtle changes have been made to the ruby port infrastructure to make it easier to handle multiple versions of ruby. 20040217: AUTHOR: gnome@FreeBSD.org Mozilla will now default to using GTK2, and will only compile against Gtk+-1.2 if explicitly requested. This is in exact opposite to the old behavior. The valid values of WITH_MOZILLA are now: mozilla (www/mozilla, GTK2) mozilla-devel (www/mozilla-devel, GTK2) mozilla-gtk1 (www/mozilla-gtk1, GTK1) mozilla-devel-gtk1 (www/mozilla-devel-gtk1, GTK1) As before, WITH_MOZILLA can be set in /etc/make.conf, but doing so is not advised unless you desire the development versions. GTK2 browsers will automatically compile against GTK2 mozilla, and GTK1 browsers (galeon1, galeon1, and galeon1) will automatically compile against GTK1. Again, the only people who will need to take action are those who desire development versions (which are inactive at this time anyway). Those who want GTK1 mozilla-devel must set WITH_MOZILLA=mozilla-devel-gtk1 or they will be pleasantly surprised with their very own GTK2 installation on the next update. WITH_MOZILLA=mozilla-gtk2 and WITH_MOZILLA=mozilla-devel-gtk2 are still honored for the time being, but their use is now deprecated. Any new ports are not required to consider their values, and so eventually WITH_MOZILLA _will_ have to be changed. Hopefully galeon2 can catch up to peoples' expectations from galeon1 soon, and we can remove the GTK1 ports altogether. 20040204: AUTHOR: portmgr@FreeBSD.org The bsd.php.mk file has been moved out of the lang/php4 port into the Mk directory. This will make it much easier to include PHP support in PHP-dependent ports. Instead of including bsd.php.mk directly, a port can simply set USE_PHP=yes, and the ports system with Do the Right Thing. All trailing whitespace has been removed from bsd.port.mk. Enhance the new OPTIONS code by only including saved options if the port defines OPTIONS, attempt to use LATEST_LINK as the unique name for a port (fall back to ${PKGNAMEPREFIX}${PORTNAME} otherwise), bring the ===> messages in line with the existing ones by using PKGNAME instead of PORTNAME, use PKGNAME in the dialog, use ECHO_CMD instead of ECHO_MSG to write the OPTIONSFILE, display a message during compilation indicating that user-specified options have been found, and make the output of the showconfig target a little more user-friendly. A new USE_ICONV macro has been added that takes the place of an explicit LIB_DEPENDS on converters/libiconv. This will help with future shared lib version bumps. A new USE_GETTEXT macro has been added that takes the place of an explicit LIB_DEPENDS on devel/gettext. This will help with future shared lib version bumps. Module::Build is a system for building, testing, and installing Perl modules. It will eventually replace the obsoleted ExtUtils::MakeMaker. Many new Perl modules have already switched to using Build.PL instead of Makefile.PL. To facilitate building those modules, a new PERL_MODBUILD macro has been added. Use that in place of PERL_CONFIGURE when porting Perl modules that make use of the Module::Build framework. Certain ports want to check for the availability of SDL libraries before including them. This change adds a new WANT_SDL macro similar to WANT_GNOME. By setting this, the porter indicates that her port can optional use SDL if present on the system. WANT_SDL should be defined _before_ bsd.port.pre.mk is included. After including bsd.port.pre.mk, the list of available SDL components will be returned in the HAVE_SDL macro. For details on how to process this component list, refer to bsd.sdl.mk. The OpenBSD and NetBSD projects diverged from the FreeBSD ports tree years ago, and it no longer make sense to include obsolete references to incorrect paths in the FreeBSD ports system. This change removes the NetBSD and OpenBSD PORTSDIR compatibility bits from bsd.port.mk. The comment for PKGDIR read, ``A direction containing any package creating file.'' The word ``direction'' should be ``directory.'' This has been fixed. A new DIRNAME macro has been added that points to /usr/bin/dirname. All direct use of dirname in ports can be switched to this macro. Direct use of commands dirname, id, and rm have been corrected to use their macro equivalents instead. Some useless ${HEAD} -n 1 statements have been removed. A strange comment in the do-install target and an out of place ``fi'' have been fixed as well. On 5-CURRENT after the 5.2-RELEASE split, the default Perl version has been updated from 5.6.1 to 5.8.2. As well, some Perl definitions in bsd.port.mk have been moved to their correct locations which corrects the PERL_LEVEL definition. The following optimizations have been added to the ports system to speed up recursive operations such as make describe, make index, make ignorelist, etc. bsd.gnome.mk is now only included if a port defines USE_GNOME, WANT_GNOME, and/or USE_GTK. More variables are cached and passed down through bsd.port.subdir.mk. Perl is no longer invoked when a simple ``echo'' will do. More subshell variable assignments have been hidden behind conditionals so that the commands are not spawned every time. Finally, dependency lists are only constructed if ports actually declare dependencies. These optimizations give make index approximately a 43% speedup. If CPUFLAGS is not defined (this _CPUCFLAGS is empty), trying to remove _CPUCFLAGS from CFLAGS will result in an error. This change fixes that. On recent versions of 5.X, /etc/rc.subr exists, and there is no reason to install another copy in ${LOCALBASE}/etc. The reason this was ever done was to workaround some build issues on bento. However, testing OSVERSION seems to work in spite of those build issues. The ports system now supports MySQL 3.23, 4.0, 4.1, and 5.0. Also, the ability to scale to newer versions was also but in place. An .endif comment indicated that the .if block checked WANT_MYSQL when, in fact, it was checking WANT_MYSQL_VER. This has been corrected. The PTHREAD{CFLAGS,LIBS} macros have been made overridable on all versions of FreeBSD to allow for alternate threading implementations (e.g. -lc_r, -lthr, -mt, etc.). The default threading library has been changed to -lpthread from -lc_r on -CURRENT. The new SIZE support broke distfiles fetching on FreeBSD < 4.8. On those versions of FreeBSD, the SIZE distfile attribute is now ignored. Also, defining DISABLE_SIZE in, for example, /etc/make.conf, will ignore the SIZE attribute on all versions of FreeBSD. This is useful with alternate values for FETCH_CMD. A new vulnerabilities database has been added to the ports system in order to keep more accurate, up-to-date, track of security vulnerabilities. The ports system now knows how to query that database and dynamically prevents the installation of vulnerable ports. In order to allow for more rapid development of the package tools, the ports system will prefer to use pkg_* tools found in ${LOCALBASE} over those in the base system. However, all PKG_* macros are still overridable. A new physical category, net-mgmt, has been created to house network management ports. The /var/db/port.mkversion file never really took off, and is now very obsolete. Replace the code used to generate and check this file with a simple OSVERSION check. The ports system now requires FreeBSD 4.3 or higher. The last round of bsd.*.mk changes broke ports that had duplicate distinfo entries (e.g. linux_base). This is now fixed. Along with this fix, only distfiles with a bad checksum will be refetched, where as distfiles missing from distinfo will not be refetched. The PLIST_{DIRS,FILES} macros were passed to the final package list unchanged by PLIST_SUB. This is not always desirable. Now, those macros are passed through PLIST_SUB. The previous OPTIONS code assumed users would be running port build as root. If this was not the case, OPTIONS configuration would fail. Now, the bits of the config and rmconfig targets that require write access to system directories are run under SU_CMD. The makesum target will now add a SIZE attribute for each distfile by default. This can be overridden by defining NO_SIZE in a port's Makefile. Note: this could probably be expanded to omit SIZE attributes for specific distfiles in the future. 20040129: AUTHOR: trevor@FreeBSD.org SIZE lines in distinfo files: if you set USE_SIZE when you do "make makesum", the byte sizes of the distfiles will be listed in the distinfo file. Then, if a distfile is replaced on its master site with one of a different size than that listed, "make fetch" will fail with a "size mismatch" error before downloading the file and the user will be asked to fetch the file by hand. Also, a user will know the size of the distfiles before fetching and decide to fetch later. 20040129: AUTHOR: erwin@FreeBSD.org Start of CHANGES file. FORMAT: This file contains a list, in reverse chronological order, of major breakages or added features in tracking ports. Not all things will be listed here, and it only starts on January 29, 2004. Copyright information: Copyright 2004-2012 FreeBSD Foundation All Rights Reserved. Redistribution, publication, translation and use, with or without modification, in full or in part, in any form or format of this document are permitted without further permission from the author. THIS DOCUMENT IS PROVIDED BY FREEBSD FOUNDATION ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL WARNER LOSH BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Contact portmgr@FreeBSD.org if you have any questions about your use of this document. $FreeBSD$ Index: head/Mk/Uses/cmake.mk =================================================================== --- head/Mk/Uses/cmake.mk (revision 444323) +++ head/Mk/Uses/cmake.mk (revision 444324) @@ -1,116 +1,134 @@ # $FreeBSD$ # # Provide support for CMake based projects # # Feature: cmake # Usage: USES=cmake or USES=cmake:ARGS -# Valid ARGS: outsource +# Valid ARGS: outsource, run, noninja # ARGS description: # outsource perform an out-of-source build +# noninja don't use ninja instead of make +# Setting this should be an exception, and hints to an issue +# inside the ports build system. +# A few corner cases never use ninja, and are handled, to reduce +# the usage of 'noninja'.: +# 1) fortran ports +# 2) ports that set BUILD_- or INSTALL_WRKSRC to +# something different than CONFIGURE_WRKSRC +# run add a runtime dependency on cmake # # # Additional variables that affect cmake behaviour: # # User defined variables: # CMAKE_NOCOLOR - Disable colour build output # Default: not set, unless BATCH or PACKAGE_BUILDING is defined -# CMAKE_NINJA - Use ninja instead of make(1) # # Variables for ports: # CMAKE_ARGS - Arguments passed to cmake # Default: see below # CMAKE_BUILD_TYPE - Type of build (cmake predefined build types). # Projects may have their own build profiles. # CMake supports the following types: Debug, # Release, RelWithDebInfo and MinSizeRel. # Debug and Release profiles respect system # CFLAGS, RelWithDebInfo and MinSizeRel will set # CFLAGS to "-O2 -g" and "-Os -DNDEBUG". # Default: Release, if WITH_DEBUG is not set, # Debug otherwise # CMAKE_SOURCE_PATH - Path to the source directory # Default: ${WRKSRC} # # MAINTAINER: kde@FreeBSD.org .if !defined(_INCLUDE_USES_CMAKE_MK) _INCLUDE_USES_CMAKE_MK= yes -_valid_ARGS= outsource run +_valid_ARGS= outsource run noninja # Sanity check .for arg in ${cmake_ARGS} . if empty(_valid_ARGS:M${arg}) IGNORE= Incorrect 'USES+= cmake:${cmake_ARGS}' usage: argument [${arg}] is not recognized . endif .endfor CMAKE_BIN= ${LOCALBASE}/bin/cmake BUILD_DEPENDS+= ${CMAKE_BIN}:devel/cmake .if ${cmake_ARGS:Mrun} RUN_DEPENDS+= ${CMAKE_BIN}:devel/cmake .endif .if defined(WITH_DEBUG) CMAKE_BUILD_TYPE?= Debug .else CMAKE_BUILD_TYPE?= Release .endif #defined(WITH_DEBUG) PLIST_SUB+= CMAKE_BUILD_TYPE="${CMAKE_BUILD_TYPE:tl}" .if defined(STRIP) && ${STRIP} != "" && !defined(WITH_DEBUG) INSTALL_TARGET?= install/strip .endif CMAKE_ARGS+= -DCMAKE_C_COMPILER:STRING="${CC}" \ -DCMAKE_CXX_COMPILER:STRING="${CXX}" \ -DCMAKE_C_FLAGS:STRING="${CFLAGS}" \ -DCMAKE_C_FLAGS_DEBUG:STRING="${CFLAGS}" \ -DCMAKE_C_FLAGS_RELEASE:STRING="${CFLAGS}" \ -DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}" \ -DCMAKE_CXX_FLAGS_DEBUG:STRING="${CXXFLAGS}" \ -DCMAKE_CXX_FLAGS_RELEASE:STRING="${CXXFLAGS}" \ -DCMAKE_EXE_LINKER_FLAGS:STRING="${LDFLAGS}" \ -DCMAKE_MODULE_LINKER_FLAGS:STRING="${LDFLAGS}" \ -DCMAKE_SHARED_LINKER_FLAGS:STRING="${LDFLAGS}" \ -DCMAKE_INSTALL_PREFIX:PATH="${CMAKE_INSTALL_PREFIX}" \ -DCMAKE_BUILD_TYPE:STRING="${CMAKE_BUILD_TYPE}" \ -DTHREADS_HAVE_PTHREAD_ARG:BOOL=YES \ -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=YES \ -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON CMAKE_INSTALL_PREFIX?= ${PREFIX} .if defined(BATCH) || defined(PACKAGE_BUILDING) CMAKE_NOCOLOR= yes .endif .if defined(CMAKE_NOCOLOR) CMAKE_ARGS+= -DCMAKE_COLOR_MAKEFILE:BOOL=OFF .endif -.if defined(CMAKE_NINJA) -.include "${USESDIR}/ninja.mk" -.endif - _CMAKE_MSG= "===> Performing in-source build" CMAKE_SOURCE_PATH?= ${WRKSRC} .if ${cmake_ARGS:Moutsource} _CMAKE_MSG= "===> Performing out-of-source build" CONFIGURE_WRKSRC= ${WRKDIR}/.build BUILD_WRKSRC?= ${CONFIGURE_WRKSRC} INSTALL_WRKSRC?= ${CONFIGURE_WRKSRC} TEST_WRKSRC?= ${CONFIGURE_WRKSRC} +.endif + +# By default we use the ninja generator. +# Except, if cmake:run is set (cmake not wanted as generator) +# fortran is used, as the ninja-generator does not handle it. +# or if CONFIGURE_WRKSRC does not match BUILD_WRKSRC or INSTALL_WRKSRC +# as the build.ninja file won't be where ninja expects it. +.if empty(cmake_ARGS:Mnoninja) && empty(cmake_ARGS:Mrun) && empty(USES:Mfortran) +. if "${CONFIGURE_WRKSRC}" == "${BUILD_WRKSRC}" && "${CONFIGURE_WRKSRC}" == "${INSTALL_WRKSRC}" +. if ! empty(USES:Mgmake) +BROKEN= USES=gmake is incompatible with cmake's ninja-generator +. endif +. include "${USESDIR}/ninja.mk" +. endif .endif .if !target(do-configure) do-configure: @${ECHO_MSG} ${_CMAKE_MSG} ${MKDIR} ${CONFIGURE_WRKSRC} @cd ${CONFIGURE_WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} ${CMAKE_SOURCE_PATH} .endif .endif #!defined(_INCLUDE_USES_CMAKE_MK) Index: head/Mk/bsd.sanity.mk =================================================================== --- head/Mk/bsd.sanity.mk (revision 444323) +++ head/Mk/bsd.sanity.mk (revision 444324) @@ -1,255 +1,256 @@ # $FreeBSD$ # # MAINTAINER: portmgr@FreeBSD.org # .if defined(WITHOUT_NLS) WARNING+= "WITHOUT_NLS is deprecated use OPTIONS_UNSET=NLS instead" .endif .if defined(WITH_NEW_XORG) || defined(WITHOUT_NEW_XORG) WARNING+= "WITH_NEW_XORG and WITHOUT_NEW_XORG knobs were removed and have no effect" .endif .if defined(WITH_KMS) || defined(WITHOUT_KMS) WARNING+= "WITH_KMS was removed and has no effect" .endif .if exists(${.CURDIR}/../../Mk/bsd.port.mk) .if ${.CURDIR:H:T} != ${PKGCATEGORY} DEV_ERROR+= "The first entry in CATEGORIES should be the directory where the port lives" .endif .else DEV_WARNING+= "Not validating first entry in CATEGORIES due to being outside of PORTSDIR. Please ensure this is proper when committing." .endif #.if defined(WITHOUT_X11) #WARNING+= "WITHOUT_X11 is deprecated use X11 option instead" #.endif .if defined(USE_PERL5) && ${USE_PERL5} == yes DEV_ERROR+= "USE_PERL5=yes is unsupported, please use USES=perl5 instead" .endif .if defined(USE_KDEBASE_VER) DEV_ERROR+= "USE_KDEBASE_VER is unsupported" .endif .if defined(USE_KDELIBS_VER) DEV_ERROR+= "USE_KDELIBS_VER is unsupported" .endif .if defined(USE_QT_VER) DEV_ERROR+= "USE_QT_VER is unsupported" .endif .if defined(USE_GHOSTSCRIPT) || defined(USE_GHOSTSCRIPT_BUILD) || defined(USE_GHOSTSCRIPT_RUN) DEV_ERROR+= "USE_GHOSTSCRIPT is unsupported, please use USES=ghostscript instead" .endif .if !empty(LIB_DEPENDS:M*/../*) DEV_ERROR+= "LIB_DEPENDS contains unsupported relative path to dependency" .endif .if !empty(RUN_DEPENDS:M*/../*) DEV_ERROR+= "RUN_DEPENDS contains unsupported relative path to dependency" .endif .if defined(USE_GNOME) && ${USE_GNOME:Mpkgconfig} DEV_ERROR+= "USE_GNOME=pkgconfig is unsupported, please use USES=pkgconfig" .endif .if defined(USE_ZOPE) && ${USE_ZOPE} == yes DEV_ERROR+= "USE_ZOPE=yes is unsupported, please use USES=zope instead" .endif .if defined(USE_GITHUB) && defined(GH_COMMIT) DEV_ERROR+= "GH_COMMIT is unsupported, please convert GHL-\>GH in MASTER_SITES and set GH_TAGNAME to tag or commit hash and remove GH_COMMIT" .endif .if defined(USE_GNOME) && ${USE_GNOME:Mgnomehack} DEV_WARNING+= "USE_GNOME=gnomehack is deprecated, please use USES=pathfix" .endif .if defined(USE_GNOME) && ${USE_GNOME:Mdesktopfileutils} DEV_WARNING+= "USE_GNOME=desktopfileutils is deprecated, please use USES=desktop-file-utils" .endif .if defined(LIB_DEPENDS) && ${LIB_DEPENDS:Nlib*} DEV_ERROR+= "All LIB_DEPENDS should use the new format and start out with lib. \(libfoo.so vs foo.so\)" .endif .if defined(USE_TCL) || defined(USE_TCL_BUILD) || defined(USE_TCL_RUN) || defined(USE_TCL_WRAPPER) || \ defined(USE_TK) || defined(USE_TK_BUILD) || defined(USE_TK_RUN) || defined(USE_TK_WRAPPER) DEV_ERROR+= "USE_TCL and USE_TK are no longer supported, please use USES=tcl or USES=tk" .endif # print warning if no reason given for NO_STAGE .if defined(NO_STAGE) DEV_ERROR+= "NO_STAGE is unsupported, convert port to stage directory:" DEV_ERROR+= "https://wiki.freebsd.org/ports/StageDir" .endif .for a in 1 2 3 4 5 6 7 8 9 L N .if defined(MAN${a}) DEV_WARNING+= "MAN${a} macros are deprecated when using stage directory" .endif .endfor .if defined(MLINKS) DEV_WARNING+= "MLINKS macros are deprecated when using stage directory" .endif .if defined(_PREMKINCLUDED) DEV_ERROR+= "you cannot include bsd.port[.pre].mk twice" .endif .if defined(USE_DOS2UNIX) DEV_ERROR+= "USE_DOS2UNIX is no longer supported, please use USES=dos2unix" .endif .if defined(LICENSE) .if ${LICENSE:MBSD} DEV_WARNING+= "LICENSE must not contain BSD, instead use BSD[234]CLAUSE" .endif .else DEV_WARNING+= "Please set LICENSE for this port" .endif .if defined(USE_PYDISTUTILS) && ${USE_PYDISTUTILS} == "easy_install" DEV_ERROR+= "USE_PYDISTUTILS=easy_install is no longer supported, please use USE_PYDISTUTILS=yes" .endif .if defined(USE_PYTHON) && (${USE_PYTHON} == "yes" || ${USE_PYTHON:C/[-0-9.+]*//} == "") _PYTHON_VAL := ${USE_PYTHON} .if ${_PYTHON_VAL} != "yes" DEV_ERROR+= "USE_PYTHON=${_PYTHON_VAL} is no longer supported, please use USES=python:${_PYTHON_VAL}" .else DEV_ERROR+= "USE_PYTHON=yes is no longer supported, please use USES=python" .endif .endif .if defined(USE_PYTHON_RUN) .if ${USE_PYTHON_RUN} != "yes" DEV_ERROR+= "USE_PYTHON_RUN is no longer supported, please use USES=python:${USE_PYTHON_RUN},run" .else DEV_ERROR+= "USE_PYTHON_RUN is no longer supported, please use USES=python:run" .endif .endif .if defined(USE_PYTHON_BUILD) .if ${USE_PYTHON_BUILD} != "yes" DEV_ERROR+= "USE_PYTHON_BUILD is no longer supported, please use USES=python:${USE_PYTHON_BUILD},build" .else DEV_ERROR+= "USE_PYTHON_BUILD is no longer supported, please use USES=python:build" .endif .endif .if defined(PYDISTUTILS_INSTALLNOSINGLE) DEV_WARNING+= "PYDISTUTILS_INSTALLNOSINGLE is deprecated, please do not use it anymore" .endif .if defined(INSTALLS_EGGINFO) DEV_ERROR+= "INSTALLS_EGGINFO is no longer supported, please add the entry directly to the plist" .endif .if defined(WANT_SDL) DEV_ERROR+= "WANT_SDL is no longer supported. If you need SDL, use USE_SDL, if you need optional dependency, use options" .endif .if defined(USE_RC_SUBR) && ${USE_RC_SUBR:tu} == YES DEV_ERROR+= "USE_RC_SUBR=yes has not been supported for a long time, remove it." .endif .if defined(USE_RUBYGEMS) && !defined(RUBYGEM_AUTOPLIST) DEV_ERROR+= "USE_RUBYGEMS is no longer supported, please use USES=gem:noautoplist" .endif .if defined(RUBYGEM_AUTOPLIST) DEV_ERROR+= "RUBYGEM_AUTOPLIST is no longer supported, please use USES=gem" .endif SANITY_UNSUPPORTED= USE_OPENAL USE_FAM USE_MAKESELF USE_ZIP USE_LHA USE_CMAKE \ USE_READLINE USE_ICONV PERL_CONFIGURE PERL_MODBUILD \ USE_PERL5_BUILD USE_PERL5_RUN USE_DISPLAY USE_FUSE \ USE_GETTEXT USE_GMAKE USE_SCONS USE_DRUPAL NO_INSTALL_MANPAGES \ INSTALLS_SHLIB USE_PYDISTUTILS PYTHON_CONCURRENT_INSTALL \ PYDISTUTILS_AUTOPLIST PYTHON_PY3K_PLIST_HACK PYDISTUTILS_NOEGGINFO \ USE_PYTHON_PREFIX USE_BZIP2 USE_XZ USE_PGSQL NEED_ROOT \ UNIQUENAME LATEST_LINK USE_SQLITE USE_FIREBIRD USE_PHPEXT \ USE_ZENDEXT USE_PHP_BUILD USE_BDB PLIST_DIRSTRY USE_RCORDER \ USE_OPENSSL SANITY_DEPRECATED= PYTHON_PKGNAMESUFFIX USE_AUTOTOOLS \ USE_MYSQL WANT_MYSQL_VER \ USE_PHPIZE WANT_PHP_CLI WANT_PHP_CGI WANT_PHP_MOD \ WANT_PHP_WEB WANT_PHP_EMB -SANITY_NOTNEEDED= WX_UNICODE +SANITY_NOTNEEDED= CMAKE_NINJA WX_UNICODE USE_AUTOTOOLS_ALT= USES=autoreconf and GNU_CONFIGURE=yes USE_OPENAL_ALT= USES=openal USE_FAM_ALT= USES=fam USE_MAKESELF_ALT= USES=makeself USE_ZIP_ALT= USES=zip USE_LHA_ALT= USES=lha USE_BZIP2_ALT= USES=tar:bzip2 USE_XZ_ALT= USES=tar:xz USE_CMAKE_ALT= USES=cmake USE_READLINE_ALT= USES=readline USE_ICONV_ALT= USES=iconv USE_GMAKE_ALT= USES=gmake PERL_CONFIGURE_ALT= USES=perl5 along with USE_PERL5=configure PERL_MODBUILD_ALT= USES=perl5 along with USE_PERL5=modbuild USE_PERL5_BUILD_ALT= USES=perl5 along with USE_PERL5=build USE_PERL5_RUN_ALT= USES=perl5 along with USE_PERL5=run USE_DISPLAY_ALT= USES=display USE_FUSE_ALT= USES=fuse USE_GETTEXT_ALT= USES=gettext USE_SCONS_ALT= USES=scons USE_DRUPAL_ALT= USES=drupal USE_PYDISTUTILS_ALT= USE_PYTHON=distutils USE_PGSQL_ALT= USES=pgsql INSTALLS_SHLIB_ALT= USE_LDCONFIG NEED_ROOT_ALT= USES=fakeroot or USES=uidfix PYTHON_CONCURRENT_INSTALL_ALT= USE_PYTHON=concurrent PYDISTUTILS_AUTOPLIST_ALT= USE_PYTHON=autoplist PYTHON_PY3K_PLIST_HACK_ALT= USE_PYTHON=py3kplist PYDISTUTILS_NOEGGINFO_ALT= USE_PYTHON=noegginfo USE_PYTHON_PREFIX_ALT= USE_PYTHON=pythonprefix PYTHON_PKGNAMESUFFIX_ALT= PYTHON_PKGNAMEPREFIX NO_INSTALL_MANPAGES_ALT= USES=imake:noman UNIQUENAME_ALT= PKGBASE LATEST_LINK_ALT= PKGBASE +CMAKE_NINJA_REASON= Now the ninja generator is the default WX_UNICODE_REASON= Now no-op as only unicode is supported now PLIST_DIRSTRY_ALT= PLIST_DIRS USE_SQLITE_ALT= USES=sqlite USE_FIREBIRD_ALT= USES=firebird USE_BDB_ALT= USES=bdb:${USE_BDB} USE_MYSQL_ALT= USES=mysql:${USE_MYSQL} WANT_MYSQL_VER_ALT= USES=mysql:${WANT_MYSQL_VER} USE_OPENSSL_ALT= USES=ssl USE_PHPIZE_ALT= USES=php:phpize USE_PHPEXT_ALT= USES=php:ext USE_ZENDEXT_ALT= USES=php:zend USE_PHP_BUILD_ALT= USES=php:build WANT_PHP_CLI_ALT= USES=php:cli WANT_PHP_CGI_ALT= USES=php:cgi WANT_PHP_MOD_ALT= USES=php:mod WANT_PHP_WEB_ALT= USES=php:web WANT_PHP_EMB_ALT= USES=php:embed USE_RCORDER_ALT= USE_RC_SUBR=${USE_RCORDER} .for a in ${SANITY_DEPRECATED} .if defined(${a}) DEV_WARNING+= "${a} is deprecated, please use ${${a}_ALT}" .endif .endfor .for a in ${SANITY_NOTNEEDED} .if defined(${a}) DEV_WARNING+= "${a} is not needed: ${${a}_REASON}" .endif .endfor .for a in ${SANITY_UNSUPPORTED} .if defined(${a}) DEV_ERROR+= "${a} is unsupported, please use ${${a}_ALT}" .endif .endfor Index: head/astro/marble/Makefile =================================================================== --- head/astro/marble/Makefile (revision 444323) +++ head/astro/marble/Makefile (revision 444324) @@ -1,35 +1,35 @@ # $FreeBSD$ PORTNAME= marble PORTVERSION= ${KDE4_VERSION} PORTREVISION= 1 CATEGORIES= astro kde kde-kde4 MAINTAINER= kde@FreeBSD.org COMMENT= Virtual globe and world atlas for KDE LIB_DEPENDS= libquazip.so:archivers/quazip -USES= cmake:outsource gmake kde:4 shared-mime-info tar:xz +USES= cmake:outsource kde:4 shared-mime-info tar:xz USE_KDE= kdelibs automoc4 USE_QT4= corelib dbus declarative designer_build gui network phonon \ qtestlib script sql svg webkit xml \ qmake_build moc_build rcc_build uic_build USE_LDCONFIG= yes MAKE_ENV= XDG_CONFIG_HOME=/dev/null CMAKE_ARGS= -DMOBILE:BOOL=FALSE OPTIONS_DEFINE= GPS OPTIONS_DEFAULT= GPS OPTIONS_SUB= yes GPS_DESC= Support for GPS position provider GPS_LIB_DEPENDS= libgps.so:astro/gpsd GPS_CMAKE_OFF= -DWITH_libgps:BOOL=FALSE # pre-configure: # # Prevent updating MIME during build. # ${REINPLACE_CMD} -e '/update_xdg_mimetypes/ d' \ # ${PATCH_WRKSRC}/data/CMakeLists.txt .include Index: head/audio/csound6/Makefile =================================================================== --- head/audio/csound6/Makefile (revision 444323) +++ head/audio/csound6/Makefile (revision 444324) @@ -1,143 +1,143 @@ # Created by: trevor # $FreeBSD$ PORTNAME= csound PORTVERSION= 6.06 PORTREVISION= 8 CATEGORIES= audio lang MASTER_SITES= SF/${PORTNAME}/${PORTNAME}6/${PORTNAME:S/c/C/}${PORTVERSION} PKGNAMESUFFIX= 6 DISTNAME= ${PORTNAME:S/c/C/}${PORTVERSION} DIST_SUBDIR= csound MAINTAINER= ports@FreeBSD.org COMMENT= Sound synthesizer LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= boost-libs>0:devel/boost-libs \ swig>2:devel/swig20 \ eigen>0:math/eigen3 \ gmm++>0:math/gmm++ LIB_DEPENDS= libsamplerate.so:audio/libsamplerate \ libsndfile.so:audio/libsndfile -USES= alias bison cmake:outsource localbase python:2 +USES= alias bison cmake:outsource,noninja localbase python:2 # math/gmm++ requires c++11 USE_CXXSTD= c++11 CMAKE_ARGS= -DBUILD_CSOUNDVST:BOOL=OFF \ -DBUILD_JAVA_INTERFACE:BOOL=OFF \ -DBUILD_P5GLOVE_OPCODES:BOOL=OFF \ -DBUILD_PD_CLASS:BOOL=OFF \ -DBUILD_STK_OPCODES:BOOL=OFF \ -DBUILD_TESTS:BOOL=OFF \ -DBUILD_WIIMOTE_OPCODES:BOOL=OFF \ -DPYTHON_MODULE_INSTALL_DIR:PATH="${PYTHONPREFIX_SITELIBDIR}" USE_LDCONFIG= yes SSP_UNSAFE= yes SUB_FILES= pkg-message CONFLICTS= csound-5.* CONFLICTS_INSTALL= outguess-* OPTIONS_DEFINE= ALSA CURL DSSI FLTK FLUIDSYNTH HDF5 JACK LUA NLS \ OPENMP OSC PNG PORTAUDIO PULSEAUDIO OPTIONS_DEFAULT= FLTK OPENMP OPTIONS_SUB= yes ALSA_DESC= Build ALSA I/O module ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CMAKE_OFF= -DUSE_ALSA:BOOL=OFF ALSA_PREVENTS= DSSI CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_CMAKE_OFF= -DUSE_CURL:BOOL=OFF DSSI_DESC= Build DSSI/LADSPA host opcodes DSSI_BUILD_DEPENDS= dssi>0:audio/dssi DSSI_LIB_DEPENDS= libdssialsacompat.so:audio/libdssialsacompat DSSI_RUN_DEPENDS= dssi>0:audio/dssi DSSI_CMAKE_OFF= -DBUILD_DSSI_OPCODES:BOOL=OFF DSSI_CFLAGS= -isystem ${LOCALBASE}/include/dssi DSSI_PREVENTS= ALSA FLTK_DESC= Build FLTK plugin and GUI FLTK_LIB_DEPENDS= libfltk.so:x11-toolkits/fltk FLTK_CMAKE_ON= -DBUILD_WINSOUND:BOOL=ON FLTK_CMAKE_OFF= -DBUILD_CSOUND_AC:BOOL=OFF \ -DBUILD_VIRTUAL_KEYBOARD:BOOL=OFF \ -DUSE_FLTK:BOOL=OFF FLUIDSYNTH_DESC= Building FluidSynth opcodes FLUIDSYNTH_LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth FLUIDSYNTH_CMAKE_OFF= -DBUILD_FLUID_OPCODES:BOOL=OFF HDF5_DESC= Build HDF5 read/write opcodes HDF5_LIB_DEPENDS= libhdf5.so:science/hdf5 HDF5_CMAKE_OFF= -DBUILD_HDF5_OPCODES:BOOL=OFF JACK_DESC= Build Jack I/O module and opcodes JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CMAKE_OFF= -DBUILD_JACK_OPCODES:BOOL=OFF \ -DUSE_JACK:BOOL=OFF LUA_DESC= Build Lua Interface and opcodes LUA_LIB_DEPENDS= libluajit-5.1.so:lang/luajit LUA_CMAKE_OFF= -DBUILD_CSOUND_AC_LUA_INTERFACE:BOOL=OFF \ -DBUILD_LUA_INTERFACE:BOOL=OFF \ -DBUILD_LUA_OPCODES:BOOL=OFF NLS_USES= gettext NLS_CMAKE_OFF= -DGETTEXT_MSGFMT_EXECUTABLE:FILEPATH="" \ -DGETTEXT_MSGMERGE_EXECUTABLE:FILEPATH="" \ -DLIBINTL_LIBRARY:FILEPATH="" \ -DUSE_GETTEXT:BOOL=OFF OPENMP_USES= compiler:gcc-c++11-lib OPENMP_USES_OFF= compiler:c++11-lib OPENMP_CMAKE_OFF= -DUSE_OPEN_MP:BOOL=OFF OSC_DESC= Build OSC opcodes OSC_LIB_DEPENDS= liblo.so:audio/liblo OSC_CMAKE_OFF= -DBUILD_OSC_OPCODES:BOOL=OFF PNG_DESC= Build Image opcodes PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CMAKE_OFF= -DBUILD_IMAGE_OPCODES:BOOL=OFF PORTAUDIO_DESC= Build PortAudio I/O module PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio PORTAUDIO_CMAKE_OFF= -DUSE_PORTAUDIO:BOOL=OFF PULSEAUDIO_DESC= Build PulseAudio I/O module PULSEAUDIO_LIB_DEPENDS= libpulse-simple.so:audio/pulseaudio PULSEAUDIO_CMAKE_OFF= -DUSE_PULSEAUDIO:BOOL=OFF post-patch: @${REINPLACE_CMD} -e \ '/-O3/s|^|#| ; \ /PYTHON_MODULE_INSTALL_DIR/s|^|#| ; \ /CMAKE_SYSTEM_NAME/s|"Linux"|"${OPSYS}"| ; \ s|(LIBINTL_LIBRARY OR LINUX)|(LIBINTL_LIBRARY)| ; \ s|(NOT LINUX)|(LINUX)| ; \ s|-D_GNU_SOURCE|| ; \ s| dl)|)|' \ ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e \ 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/InOut/CMakeLists.txt @${REINPLACE_CMD} -e \ 's|/usr/include/Python2.7|${PYTHON_INCLUDEDIR}| ; \ s|/usr/local|${LOCALBASE}| ; \ /linuxjoystick/s|^|#| ; \ s| dl)|)|' \ ${WRKSRC}/Opcodes/CMakeLists.txt @${REINPLACE_CMD} -e \ '/CMAKE_SYSTEM_NAME/s|"Linux"|"${OPSYS}"|' \ ${WRKSRC}/frontends/CMakeLists.txt @${REINPLACE_CMD} -e \ 's| mixer)| csmixer)|' \ ${WRKSRC}/util/CMakeLists.txt .for i in Engine/auxfd.c H/prototyp.h OOps/diskin2.c OOps/dumpf.c \ Opcodes/partials.c Top/csound.c @${REINPLACE_CMD} -e \ 's|\([[:blank:]]fd\)\(close\)|\1__\2|' ${WRKSRC}/${i} .endfor post-install: @${LN} -sf libcsnd6.so.6.0 ${STAGEDIR}${PREFIX}/lib/libcsnd6.so.6 @${LN} -sf libcsound64.so.6.0 ${STAGEDIR}${PREFIX}/lib/libcsound64.so.6 post-install-FLTK-on: @${LN} -sf libCsoundAC.so.6.0 ${STAGEDIR}${PREFIX}/lib/libCsoundAC.so.6 .include Index: head/audio/fluidsynth/Makefile =================================================================== --- head/audio/fluidsynth/Makefile (revision 444323) +++ head/audio/fluidsynth/Makefile (revision 444324) @@ -1,70 +1,70 @@ # Created by: Juha Nygard # $FreeBSD$ PORTNAME= fluidsynth PORTVERSION= 1.1.6 PORTREVISION= 4 CATEGORIES= audio MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= multimedia@FreeBSD.org COMMENT= Real-time software synthesizer based on the SoundFont 2 specifications LICENSE= LGPL20 LICENSE_FILE= ${WRKSRC}/COPYING OPTIONS_DEFINE= JACK ALSA DBUS LADSPA LASH PORTAUDIO PULSEAUDIO READLINE \ SNDFILE SNDIO OPTIONS_DEFAULT= JACK READLINE USE_GNOME= glib20 -USES= cmake pkgconfig ninja tar:bzip2 +USES= cmake pkgconfig tar:bzip2 CMAKE_ARGS= -Denable-ladcca:BOOL=FALSE \ -Denable-midishare:BOOL=FALSE USE_LDCONFIG= yes LDFLAGS+= -lpthread JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CMAKE_OFF= -Denable-jack:BOOL=FALSE ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CMAKE_OFF= -Denable-alsa:BOOL=FALSE DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DBUS_CMAKE_OFF= -Denable-dbus:BOOL=FALSE LADSPA_BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa LADSPA_RUN_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa LADSPA_CMAKE_ON= -Denable-ladspa:BOOL=TRUE LASH_LIB_DEPENDS= liblash.so:audio/lash LASH_CMAKE_OFF= -Denable-lash:BOOL=FALSE PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio PORTAUDIO_CMAKE_ON= -Denable-portaudio:BOOL=TRUE PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_OFF= -Denable-pulseaudio:BOOL=FALSE READLINE_USES= readline READLINE_CMAKE_OFF= -Denable-readline:BOOL=FALSE SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile SNDFILE_CMAKE_OFF= -Denable-libsndfile:BOOL=FALSE SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_CMAKE_OFF= -Denable-sndio:BOOL=FALSE post-patch: ${CP} ${FILESDIR}/fluid_sndio.c ${WRKSRC}/src/drivers/ @${REINPLACE_CMD} -e \ '/Linux/s|^|#| ; \ /_init_lib_suffix/s|"64"|""| ; \ /CMAKE_C_FLAGS_RELEASE/s|-O2|| ; \ s|enable_midishare|enable-midishare| ; \ s|$${LIB_INSTALL_DIR}$${LIB_SUFFIX}/pkgconfig|$${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig|' ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e \ 's|share/man|man|' ${WRKSRC}/cmake_admin/DefaultDirs.cmake .include Index: head/audio/libgme/Makefile =================================================================== --- head/audio/libgme/Makefile (revision 444323) +++ head/audio/libgme/Makefile (revision 444324) @@ -1,29 +1,29 @@ # $FreeBSD$ PORTNAME= libgme PORTVERSION= 0.6.1 CATEGORIES= audio MASTER_SITES= https://bitbucket.org/mpyne/game-music-emu/downloads/ DISTNAME= game-music-emu-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Collection of video game music emulators LICENSE= LGPL21+ -USES= cmake dos2unix ninja tar:bzip2 +USES= cmake dos2unix tar:bzip2 USE_LDCONFIG= yes PORTDOCS= changes.txt design.txt gme.txt readme.txt OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e '/pkgconfig/s/lib[[:>:]]/libdata/' \ ${WRKSRC}/gme/CMakeLists.txt post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include Index: head/cad/kicad/Makefile =================================================================== --- head/cad/kicad/Makefile (revision 444323) +++ head/cad/kicad/Makefile (revision 444324) @@ -1,85 +1,85 @@ # Created by: Thierry Thomas # $FreeBSD$ PORTNAME= kicad DISTVERSION= 20140622%2Bbzr4027 PORTREVISION= 9 PORTEPOCH= 1 CATEGORIES= cad MASTER_SITES= https://launchpadlibrarian.net/179199115/ DISTNAME= ${PORTNAME}_0.${DISTVERSION}.orig MAINTAINER= thierry@FreeBSD.org COMMENT= Schematic and PCB editing software LICENSE= GPLv2 LIB_DEPENDS= libboost_thread.so:devel/boost-libs RUN_DEPENDS= xpdf:graphics/xpdf CONFLICTS= kicad-devel* -USES= cmake compiler:gcc-c++11-lib desktop-file-utils dos2unix \ +USES= cmake:noninja compiler:gcc-c++11-lib desktop-file-utils dos2unix \ shared-mime-info tar:xz DOS2UNIX_GLOB= *.cmake sch_bus_entry.h sch_line.h sch_no_connect.h USE_XORG= ice x11 xext USE_GL= yes USE_WX= 3.0 USE_GNOME= atk # Required by libwx_gtk2_aui-2.8.so CXXFLAGS+= -I${WRKSRC}/include -I${LOCALBASE}/include -DBOOST_HASH_NO_EXTENSIONS CMAKE_ARGS= -DwxWidgets_CONFIG_EXECUTABLE=${WX_CONFIG} \ -DwxUSE_UNICODE=ON -DKICAD_STABLE_VERSION=ON \ -DwxWidgets_wxrc_EXECUTABLE=${WXRC_CMD} INSTALLS_ICONS= yes WRKSRC= ${WRKDIR}/${PORTNAME}-0.${DISTVERSION:C/%2B/+/} PLIST_SUB= DESKTOPDIR=${DESKTOPDIR:S|^${PREFIX}/||} OPTIONS_DEFINE= DOCS DOXYGEN NLS OPTIONS_SUB= yes NLS_USES= gettext BINS= cvpcb eeschema gerbview kicad pcbnew EXTRAS2RM= linux-non_unicode linux wings3d LINUX.README \ contrib_makefiles.txt running_kicad_under_W98.txt DOXYGEN_VARS= LICENSE+=GFDL LICENSE_COMB=multi DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen DOXYGEN_IMPLIES= DOCS DOXYGEN_ALL_TARGET= all doxygen-docs DOXYGEN_PORTDOCS= doxygen post-patch: ${MV} ${WRKSRC}/include/boost ${WRKSRC}/include/boost.orig pre-configure: ${REINPLACE_CMD} -e 's|/usr/share/kicad|${DATADIR}|' \ -e 's|/usr/local|${PREFIX}|' \ -e 's|/usr/bin/evince|${LOCALBASE}/bin/xpdf|' \ -e 's|/usr/bin/kpdf|${LOCALBASE}/bin/okular|' \ -e 's|/usr/bin/xpdf|${LOCALBASE}/bin/xpdf|' \ -e 's|/usr/bin/konqueror|${LOCALBASE}/bin/konqueror|' \ -e 's|/usr/bin/xdg-open|${LOCALBASE}/bin/xdg-open|' \ ${WRKSRC}/common/gestfich.cpp post-install: ${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC}/library && ${COPYTREE_SHARE} library ${STAGEDIR}${DATADIR}) (cd ${WRKSRC}/library && ${COPYTREE_SHARE} modules ${STAGEDIR}${DATADIR}) post-install-NLS-on: ${MKDIR} ${STAGEDIR}${DATADIR}/internat (cd ${WRKSRC}/doc/internat && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/internat) ${RM} ${STAGEDIR}${DATADIR}/internat/CMakeLists.txt ${FIND} ${STAGEDIR}${DATADIR}/internat -name kicad.po -delete post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/doc/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) (cd ${WRKSRC}/Documentation && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .include Index: head/cad/opencascade/Makefile =================================================================== --- head/cad/opencascade/Makefile (revision 444323) +++ head/cad/opencascade/Makefile (revision 444324) @@ -1,145 +1,145 @@ # Created by: Thierry Thomas # $FreeBSD$ PORTNAME= opencascade PORTVERSION= 6.9.1 PORTREVISION= 9 CATEGORIES= cad science MASTER_SITES= LOCAL/thierry MAINTAINER= thierry@FreeBSD.org COMMENT= Open CASCADE Technology, 3D modeling & numerical simulation LICENSE= OCTPL LICENSE_NAME= LGPL21 with exception LICENSE_FILE= ${WRKSRC}/OCCT_LGPL_EXCEPTION.txt LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LIB_DEPENDS= libtbb.so:devel/tbb \ libvtksys-${VTKVER}.so:math/vtk6 RUN_DEPENDS= bash:shells/bash # Check ${WRKSRC}/dox/overview/Overview.md # and ${WRKSRC}/dox/dev_guides/building -USES= alias:10 bison cmake compiler:c++11-lib dos2unix gmake \ +USES= alias:10 bison cmake compiler:c++11-lib dos2unix \ shebangfix tk tar:tgz USE_XORG= xmu DOS2UNIX_FILES= adm/templates/* SHEBANG_FILES= adm/templates/env.sh.in adm/templates/draw.sh \ adm/templates/custom.sh.in adm/templates/custom.sh.main \ adm/start.tcl draw.sh xcode.sh env.sh custom.sh.in \ gendoc codeblocks.sh VTKVER= 6.2 OPTIONS_DEFINE= VIS DOXYGEN VIS_DESC= Build Visualizazion module (requires OpenGL, freetype, ftgl and gl2ps) OPTIONS_DEFAULT=VIS OPTIONS_SUB= yes REINPLACE_ARGS= -i "" CFLAGS+= -I${LOCALBASE}/include -I${TCL_INCLUDEDIR} -I${TK_INCLUDEDIR} LDFLAGS+= -L${LOCALBASE}/lib -L${TCL_LIBDIR} -L${TK_LIBDIR} CMAKE_ARGS+= -D3RDPARTY_TCL_INCLUDE_DIR=${TCL_INCLUDEDIR} \ -D3RDPARTY_TCL_LIBRARY=${TCL_LIBDIR} \ -D3RDPARTY_TBB_DIR=${LOCALBASE} \ -D3RDPARTY_TBB_LIBRARY_DIR=${LOCALBASE}/lib \ -DINSTALL_DIR=${OCCROOT}/ -DUSE_TBB:BOOL=ON \ -D3RDPARTY_TBBMALLOC_LIBRARY=${LOCALBASE}/lib/libtbbmalloc.so \ -D3RDPARTY_TBB_LIBRARY=${LOCALBASE}/lib/libtbb.so \ -D3RDPARTY_TBBMALLOC_LIBRARY_DIR=${LOCALBASE}/lib \ -DUSE_VTK:BOOL=ON -D3RDPARTY_VTK_DIR=${LOCALBASE} \ -D3RDPARTY_VTK_INCLUDE_DIR=${LOCALBASE}/include/vtk-${VTKVER} \ -D3RDPARTY_VTK_LIBRARY_DIR=${LOCALBASE}/lib/vtk-${VTKVER} USE_LDCONFIG= yes LOCCROOT= OpenCAS OCCROOT= ${PREFIX}/${LOCCROOT} PLIST_SUB= OCCROOT="${LOCCROOT}" BITS=${BITS} CC=${CHOSEN_COMPILER_TYPE} VIS_CMAKE_ON= -DUSE_FREEIMAGE:BOOL=ON -DUSE_GL2PS:BOOL=ON \ -DUSE_FREETYPE:BOOL=ON VIS_CMAKE_OFF= -DUSE_FREEIMAGE:BOOL=OFF -DUSE_GL2PS:BOOL=OFF \ -DUSE_FREETYPE:BOOL=OFF VIS_USE= GL=glu VIS_LIB_DEPENDS= libftgl.so:graphics/ftgl \ libfreetype.so:print/freetype2 \ libgl2ps.so:print/gl2ps \ libfreeimageplus.so:graphics/freeimage VIS_CMAKE_ON= -D3RDPARTY_FREETYPE_DIR=${LOCALBASE} \ -D3RDPARTY_FREEIMAGE_DIR=${LOCALBASE} \ -D3RDPARTY_GL2PS_DIR=${LOCALBASE} DOXYGEN_USE= TEX=latex:build DOXYGEN_BUILD_DEPENDS= bash:shells/bash \ doxygen:devel/doxygen \ dot:graphics/graphviz \ inkscape:graphics/inkscape DOXYGEN_RUN_DEPENDS= ${LOCALBASE}/www/MathJax/MathJax.js:www/mathjax .include .if ${ARCH} == "i386" BITS= 32 .else BITS= 64 .endif pre-everything:: @${ECHO_MSG} @${ECHO_MSG} "Warning: to build OpenCascade, you should have at least" @${ECHO_MSG} "2.6 Gb of free disk space in build area!" @${ECHO_MSG} pre-configure: ${REINPLACE_CMD} -e 's|tclsh|${TCLSH}|' ${WRKSRC}/gendoc .for mod in TKDraw TKViewerTest ${REINPLACE_CMD} -e 's|tcl8.6|tcl${TCL_VER:C|\.||}|;s|tk8.6|tk${TK_VER:C|\.||}|' \ ${WRKSRC}/adm/cmake/${mod}/CMakeLists.txt .endfor .for mod in TKIVtk TKIVtkDraw ${REINPLACE_CMD} -E 's/(vtk[[:alnum:]]+)\-6.1/\1\-${VTKVER}/' \ ${WRKSRC}/adm/cmake/${mod}/CMakeLists.txt .endfor .for es in env.sh adm/templates/env.sh.in ${REINPLACE_CMD} -e 's|lin|bsd|' ${WRKSRC}/${es} .endfor post-build-DOXYGEN-on: (cd ${WRKSRC} && ./gendoc -overview) post-install: ${MV} ${STAGEDIR}${OCCROOT}/bsd${BITS}/${CHOSEN_COMPILER_TYPE}/bin/DRAWEXE \ ${STAGEDIR}${PREFIX}/bin/ (cd ${STAGEDIR}${PREFIX}/bin && \ ${LN} -sf DRAWEXE ${STAGEDIR}${OCCROOT}/bsd${BITS}/${CHOSEN_COMPILER_TYPE}/bin/DRAWEXE) ${MV} ${STAGEDIR}${OCCROOT}/bsd${BITS}/${CHOSEN_COMPILER_TYPE}/lib/lib*.so \ ${STAGEDIR}${PREFIX}/lib/ (cd ${STAGEDIR}${PREFIX}/lib \ && for l in lib*.so; do \ ${MV} $${l} $${l}.0; \ ${LN} -sf $${l}.0 $${l}; \ ${LN} -sf $${l}.0 ${STAGEDIR}${OCCROOT}/bsd${BITS}/${CHOSEN_COMPILER_TYPE}/lib/$${l}; \ done) ${MKDIR} ${STAGEDIR}${PREFIX}/include/OpenCASCADE (cd ${STAGEDIR}${OCCROOT}/inc && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/include/OpenCASCADE) ${RM} -r ${STAGEDIR}${OCCROOT}/inc ${LN} -sf ${PREFIX}/include/OpenCASCADE ${STAGEDIR}${OCCROOT}/inc (cd ${WRKSRC} && ${COPYTREE_SHARE} tests ${STAGEDIR}${OCCROOT}) post-install-DOXYGEN-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/doc/overview && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) ${RMDIR} ${STAGEDIR}${DOCSDIR}/latex .if defined(MAINTAINER_MODE) regression-test: install ${MKDIR} /tmp/testOCC bash -c "\ cd ${OCCROOT} && . ${OCCROOT}/env.sh && \ CSF_TestScriptsPath=${OCCROOT}/tests \ CSF_TestDataPath=${OCCROOT}/data \ DRAWEXE -f ${FILESDIR}/regtest " .endif .include Index: head/cad/openvsp/Makefile =================================================================== --- head/cad/openvsp/Makefile (revision 444323) +++ head/cad/openvsp/Makefile (revision 444324) @@ -1,64 +1,64 @@ # Created by: Fernando Apesteguia # $FreeBSD$ PORTNAME= openvsp PORTVERSION= 3.12.1 DISTVERSIONPREFIX= ${GH_PROJECT}_ CATEGORIES= cad MAINTAINER= fernando.apesteguia@gmail.com COMMENT= Create a 3D model of an aircraft defined by engineering parameters LICENSE= NOSA13 LICENSE_NAME= NASA Open Source Agreement version 1.3 LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LIB_DEPENDS= libdrm.so:graphics/libdrm \ libpng.so:graphics/png \ libfreetype.so:print/freetype2 \ libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig \ libfltk.so:x11-toolkits/fltk \ libGLEW.so:graphics/glew \ libcpptest.so:devel/cpptest BUILD_DEPENDS= ${LOCALBASE}/lib/libopenNURBS.a:graphics/opennurbs \ ${LOCALBASE}/include/glm/glm.hpp:math/glm \ ${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:devel/libpthread-stubs USE_GITHUB= yes GH_PROJECT= OpenVSP GH_ACCOUNT= ${GH_PROJECT} CMAKE_SOURCE_PATH= ${WRKSRC}/SuperProject CMAKE_INSTALL_PREFIX= ${STAGEDIR}${PREFIX} -USES= cmake:outsource compiler:gcc-c++11-lib jpeg +USES= cmake:outsource,noninja compiler:gcc-c++11-lib jpeg CMAKE_ARGS= -DVSP_USE_SYSTEM_CMINPACK:BOOLEAN=yes \ -DVSP_USE_SYSTEM_CPPTEST:BOOLEAN=yes \ -DVSP_USE_SYSTEM_CODEELI:BOOLEAN=no \ -DVSP_USE_SYSTEM_EIGEN:BOOLEAN=no \ -DVSP_USE_SYSTEM_LIBXML2:BOOLEAN=yes \ -DVSP_USE_SYSTEM_FLTK:boolean=yes \ -DVSP_USE_SYSTEM_CMINPACK:boolean=no \ -DVSP_USE_SYSTEM_GLM:BOOLEAN=yes \ -DVSP_USE_SYSTEM_GLEW:BOOLEAN=yes USE_XORG= ice sm x11 xau xcb xdamage xdmcp xext xfixes xft \ xinerama xrender xxf86vm USE_GL= gl glu USE_GNOME= libxml2 CFLAGS+= -I${LOCALBASE}/include/openNURBS BUILD_PREFIX= OpenVSP-prefix/src/OpenVSP-build/_CPack_Packages/FreeBSD/ZIP/OpenVSP-${PORTVERSION}-FreeBSD do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${BUILD_PREFIX}/vsp* ${STAGEDIR}${PREFIX}/bin @${STRIP_CMD} ${STAGEDIR}/${PREFIX}/vsp* @${MKDIR} ${STAGEDIR}${DATADIR} .for d in CustomScripts airfoil matlab scripts textures (cd ${BUILD_WRKSRC}/${BUILD_PREFIX}/${d} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) .endfor ${CP} ${BUILD_WRKSRC}/${BUILD_PREFIX}/LICENSE ${STAGEDIR}${DATADIR} .include Index: head/chinese/fcitx/Makefile =================================================================== --- head/chinese/fcitx/Makefile (revision 444323) +++ head/chinese/fcitx/Makefile (revision 444324) @@ -1,125 +1,125 @@ # Created by: Shen Chuan-Hsing # $FreeBSD$ PORTNAME= fcitx PORTVERSION= 4.2.9.1 PORTREVISION= 4 CATEGORIES= chinese x11 MASTER_SITES= http://download.fcitx-im.org/fcitx/:fcitx \ http://download.fcitx-im.org/data/:data DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:fcitx \ en_dict-${_DICT_VER}.tar.gz:data \ pinyin.tar.gz:data \ py_stroke-${_PYSTROKE_VER}.tar.gz:data \ py_table-${_PYTABLE_VER}.tar.gz:data \ table.tar.gz:data DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= lichray@gmail.com COMMENT= Flexible Input Method Framework LICENSE= GPLv2 BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:misc/iso-codes LIB_DEPENDS= libcairo.so:graphics/cairo \ libdbus-1.so:devel/dbus \ libXfixes.so:x11/libXfixes \ libXinerama.so:x11/libXinerama \ libXrender.so:x11/libXrender \ libxkbcommon.so:x11/libxkbcommon RUN_DEPENDS= xdg-open:devel/xdg-utils SUB_FILES= pkg-message SUB_LIST+= PORTSDIR=${PORTSDIR} CONFLICTS= zh-scim-fcitx-3.* USE_GNOME= pango intltool libxml2 introspection USE_KDE= ecm USE_XORG= x11 xext xkbfile sm ice USE_LDCONFIG= yes -USES= tar:xz cmake desktop-file-utils execinfo \ +USES= tar:xz cmake:noninja desktop-file-utils execinfo \ gettext-tools:build,run gettext-runtime iconv:wchar_t \ kde:5 pkgconfig shared-mime-info INSTALLS_ICONS= yes OPTIONS_DEFINE= GTK2 GTK3 QT4 OPENCC TPUNC DOCS OPTIONS_DEFAULT=GTK2 GTK3 QT4 OPTIONS_SUB= yes GTK2_DESC= Enable Gtk2 IM module GTK2_USE= GNOME=gtk20 GTK2_CMAKE_ON= -DENABLE_GTK2_IM_MODULE=ON GTK3_DESC= Enable Gtk3 IM module GTK3_USE= GNOME=gtk30 GTK3_CMAKE_ON= -DENABLE_GTK3_IM_MODULE=ON QT4_DESC= Enable Qt4 IM module OPENCC_DESC= Enable OpenCC for Chinese Transform TPUNC_DESC= Use traditional quotation marks .include CMAKE_ARGS+= -DENABLE_XDGAUTOSTART=OFF -DFORCE_ENCHANT=ON \ -DLIBICONV_LIBC_HAS_ICONV_OPEN=OFF \ -DDATADIR=${DATADIR} \ -DDOCSDIR=${DOCSDIR} \ -DGOBJECT_INTROSPECTION_GIRDIR=${PREFIX}/share/gir-1.0 \ -DGOBJECT_INTROSPECTION_TYPELIBDIR=${PREFIX}/lib/girepository-1.0 \ -DMANPREFIX=${MANPREFIX} \ -DPREFIX=${PREFIX} \ -DQT_PLUGINS_DIR=${PREFIX}/lib/qt4/plugins .if ${PORT_OPTIONS:MGTK2} SUB_LIST+= GTK2_IM=fcitx .else SUB_LIST+= GTK2_IM=xim .endif .if ${PORT_OPTIONS:MGTK3} PLIST_SUB+= GTK3="" SUB_LIST+= GTK3_IM=fcitx .else PLIST_SUB+= GTK3="@comment " SUB_LIST+= GTK3_IM=xim .endif .if ${PORT_OPTIONS:MQT4} USE_QT4+= qmake_build moc_build rcc_build uic_build dbus gui inputmethods corelib USE_LDCONFIG+= ${PREFIX}/lib/fcitx/qt PLIST_SUB+= QT4="" .else CMAKE_ARGS+= -DENABLE_QT=OFF -DENABLE_QT_IM_MODULE=OFF -DENABLE_QT_GUI=OFF PLIST_SUB+= QT4="@comment " .endif .if ${PORT_OPTIONS:MOPENCC} LIB_DEPENDS+= libopencc.so:chinese/opencc .else CMAKE_ARGS+= -DENABLE_OPENCC=OFF .endif .if ${PORT_OPTIONS:MTPUNC} EXTRA_PATCHES+= ${FILESDIR}/tpunc-data_punc.mb.zh_CN .endif .if defined(WITH_DEBUG) CMAKE_ARGS+= -DENABLE_DEBUG=ON .endif DOCS_EXTRA_PATCHES_OFF= ${FILESDIR}/nodocs-doc_CMakeLists.txt _DICT_VER= 20121020 _PYSTROKE_VER= 20121124 _PYTABLE_VER= 20121124 post-patch: @${CP} ${_DISTDIR}/en_dict-${_DICT_VER}.tar.gz ${WRKSRC}/src/module/spell/dict/. @${CP} ${_DISTDIR}/pinyin.tar.gz ${WRKSRC}/src/im/pinyin/data/. @${CP} ${_DISTDIR}/py_stroke-${_PYSTROKE_VER}.tar.gz ${WRKSRC}/src/module/pinyin-enhance/data/. @${CP} ${_DISTDIR}/py_table-${_PYTABLE_VER}.tar.gz ${WRKSRC}/src/module/pinyin-enhance/data/. @${CP} ${_DISTDIR}/table.tar.gz ${WRKSRC}/src/im/table/data/. .include Index: head/chinese/ibus-chewing/Makefile =================================================================== --- head/chinese/ibus-chewing/Makefile (revision 444323) +++ head/chinese/ibus-chewing/Makefile (revision 444324) @@ -1,32 +1,32 @@ # Created by: Eric L. Camachat # $FreeBSD$ PORTNAME= ibus-chewing PORTVERSION= 1.5.1 CATEGORIES= chinese MAINTAINER= eric@camachat.org COMMENT= Chewing engine for IBus LICENSE= GPLv2 BUILD_DEPENDS= gob2:devel/gob2 \ ${LOCALBASE}/share/cmake/Modules/ManageEnvironmentCommon.cmake:devel/cmake-fedora \ ibus-daemon:textproc/ibus LIB_DEPENDS= libchewing.so:chinese/libchewing RUN_DEPENDS= ibus-daemon:textproc/ibus CMAKE_ARGS= -DSYSCONF_INSTALL_DIR=${PREFIX}/etc \ -DLIB_DIR=${PREFIX}/lib LDFLAGS+= -L${LOCALBASE}/lib GLIB_SCHEMAS= org.freedesktop.IBus.Chewing.gschema.xml -USES= cmake gettext pkgconfig +USES= cmake:noninja gettext pkgconfig USE_GNOME= gtk20 USE_XORG= xtst PLIST_SUB= PORTVERSION=${PORTVERSION} USE_GITHUB= yes GH_ACCOUNT= definite .include Index: head/comms/uhd/Makefile =================================================================== --- head/comms/uhd/Makefile (revision 444323) +++ head/comms/uhd/Makefile (revision 444324) @@ -1,74 +1,74 @@ # $FreeBSD$ PORTNAME= uhd PORTVERSION= 3.9.5 PORTREVISION= 7 CATEGORIES= comms hamradio MASTER_SITES= http://files.ettus.com/binaries/images/ DISTFILES= ${IMAGE_FILE} DIST_SUBDIR= ${PORTNAME} MAINTAINER= mr@FreeBSD.org COMMENT= Ettus Research UHD driver framework LIB_DEPENDS= libboost_python.so:devel/boost-python-libs BUILD_DEPENDS= ${LOCALBASE}/include/boost/tuple/tuple.hpp:devel/boost-libs \ cheetah-analyze:devel/py-cheetah \ rst2html:textproc/py-docutils \ orcc:devel/orc \ ${PYTHON_PKGNAMEPREFIX}mako>0:textproc/py-mako USE_GITHUB= yes GH_ACCOUNT= EttusResearch GH_TAGNAME= 32951af2f3e7b1ddb56486c9f15b2e1033605bd6 CONFLICTS= usrp-[0-9]* BROKEN_powerpc64= fails to link: undefined reference to boost function -USES= compiler:c++0x cmake:outsource gmake ncurses pkgconfig \ +USES= compiler:c++0x cmake:outsource ncurses pkgconfig \ dos2unix python:2.7 shebangfix USE_LDCONFIG= yes CMAKE_SOURCE_PATH= ${WRKSRC}/host #MAKE_JOBS_UNSAFE= yes CXXFLAGS_amd64= -msse2 CXXFLAGS_i386= -msse2 SHEBANG_GLOB= *.py *.py.in CMAKE_ARGS+= -DPKG_LIB_DIR:STRING="share/uhd" -DUHD_TXRX_DEBUG_PRINTS="yes" # for excruciating debug use this -db #CMAKE_ARGS+= --debug-output --trace IMAGE_FILE= uhd-images_003.009.005-release.zip OPTIONS_DEFINE= DOXYGEN #OPTIONS_DEFAULT= DOXYGEN OPTIONS_SUB=yes DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen .include .if ${PORT_OPTIONS:MDOXYGEN} BUILD_DEPENDS+= doxygen:devel/doxygen CMAKE_ARGS+= -DENABLE_DOXYGEN:STRING="ON" HAVEDOCS= YES .endif post-patch: # USES=pathfix handles LIBRARY_INSTALL_DIR but not LIBRARY_DIR @${REINPLACE_CMD} '/pkgconfig/s|LIBRARY_DIR}|CMAKE_INSTALL_PREFIX}/libdata|' \ ${PATCH_WRKSRC}/host/CMakeLists.txt do-install: # install host component # hack the install prefix now @${REINPLACE_CMD} -e "s|/usr/local|${STAGEDIR}${PREFIX}|g" \ ${CONFIGURE_WRKSRC}/cmake_install.cmake cd ${CONFIGURE_WRKSRC} && ${MAKE_CMD} install .for subdir in images ${CP} -Rp ${WRKDIR}/${IMAGE_FILE:S|.zip||}/share/uhd/${subdir} ${STAGEDIR}${DATADIR} .endfor .include Index: head/comms/usrp/Makefile =================================================================== --- head/comms/usrp/Makefile (revision 444323) +++ head/comms/usrp/Makefile (revision 444324) @@ -1,109 +1,109 @@ # $FreeBSD$ PORTNAME= usrp PORTVERSION= 3.4.3 PORTREVISION= 12 CATEGORIES= comms hamradio MASTER_SITES= LOCAL/adrian DISTNAME= Ettus-USRP-3.4.3 MAINTAINER= hamradio@FreeBSD.org COMMENT= Ettus Research USRP driver framework LIB_DEPENDS= libboost_python.so:devel/boost-python-libs BUILD_DEPENDS= ${LOCALBASE}/include/boost/tuple/tuple.hpp:devel/boost-libs \ cheetah-analyze:devel/py-cheetah \ rst2html:textproc/py-docutils \ orcc:devel/orc \ sdcc:lang/sdcc -USES= compiler:c++0x cmake:outsource gmake pkgconfig python:run \ +USES= compiler:c++0x cmake:outsource,noninja gmake pkgconfig python:run \ dos2unix shebangfix COMPILER_FEATURES= libc++ USE_LDCONFIG= yes CMAKE_SOURCE_PATH= ${WRKSRC}/host MAKE_JOBS_UNSAFE= yes SHEBANG_GLOB= *.py # for excruciating debug use this -db #CMAKE_ARGS+= --debug-output --trace DOCSDIR= share/doc/uhd WRKSRC= ${WRKDIR}/EttusResearch-UHD-Mirror-6047010 OPTIONS_DEFINE= USRP1 USRP2 DOCS DOXYGEN OPTIONS_DEFAULT= USRP1 USRP2 USRP1_DESC= Build Ettus USRP1 firmware USRP2_DESC= Build Ettus USRP2 firmware OPTIONS_SUB= yes .include .if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100000 BROKEN_i386= does not build on i386 FreeBSD 11.x and later .endif .if ${PORT_OPTIONS:MDOXYGEN} BUILD_DEPENDS+= doxygen:devel/doxygen CMAKE_ARGS+= -DENABLE_DOXYGEN:STRING="ON" HAVEDOCS= YES .endif .if ${PORT_OPTIONS:MUSRP1} BUILD_DEPENDS+= sdcc:lang/sdcc USRP1= YES .endif .if ${PORT_OPTIONS:MUSRP2} BUILD_DEPENDS+= ${LOCALBASE}/zpu/bin/zpu-elf-gcc:devel/zpu-gcc \ ${LOCALBASE}/zpu/bin/zpu-elf-as:devel/zpu-binutils USRP2= YES .endif CONFIGURE_WRKSRC= ${WRKSRC}/host CMAKE_SOURCE_PATH= ${WRKSRC}/host # usrp1 and usrp2 should be ports of their own post-build: # build usrp firmware (export PATH=${LOCALBASE}/zpu/bin:${PATH};\ cd ${WRKSRC}/images && ${GMAKE} -f Makefile images) .if USRP1 (cd ${WRKSRC}/images && ${GMAKE} -f Makefile images_usrp1) .endif .if USRP2 #firmware/fx2/build (export PATH=${LOCALBASE}/zpu/bin:${PATH};\ cd ${WRKSRC}/images && ${GMAKE} -f Makefile images_usrp2) .endif do-install: # install host component # hack the install prefix now @${REINPLACE_CMD} -e "s|/usr/local|${STAGEDIR}${PREFIX}|g" \ ${CONFIGURE_WRKSRC}/cmake_install.cmake cd ${CONFIGURE_WRKSRC} && ${MAKE} install # install usrp firmware ${MKDIR} ${STAGEDIR}${PREFIX}/share/uhd ${MKDIR} ${STAGEDIR}${PREFIX}/share/uhd/images .if USRP2 .for f in usrp_n200_fw.bin usrp2_fw.bin \ usrp_n210_fw.bin ${INSTALL_DATA} ${WRKSRC}/images/images/${f} ${STAGEDIR}${PREFIX}/share/uhd/images/$f .endfor .endif .if USRP1 .for f in usrp1_fw.ihx usrp1_fpga.rbf usrp1_fpga_4rx.rbf usrp_b100_fw.ihx ${INSTALL_DATA} ${WRKSRC}/images/images/${f} ${STAGEDIR}${PREFIX}/share/uhd/images/$f .endfor ${MKDIR} ${STAGEDIR}${PREFIX}/share/uhd/fpga/usrp1/rev2 ${INSTALL_DATA} ${WRKSRC}/fpga/usrp1/rbf/rev2/*.rbf \ ${STAGEDIR}${PREFIX}/share/uhd/fpga/usrp1/rev2 ${MKDIR} ${STAGEDIR}${PREFIX}/share/uhd/fpga/usrp1/rev4 ${INSTALL_DATA} ${WRKSRC}/fpga/usrp1/rbf/rev4/*.rbf \ ${STAGEDIR}${PREFIX}/share/uhd/fpga/usrp1/rev4 .endif .include Index: head/databases/cppdb/Makefile =================================================================== --- head/databases/cppdb/Makefile (revision 444323) +++ head/databases/cppdb/Makefile (revision 444324) @@ -1,108 +1,108 @@ # Created by: Mohammad S. Babaei # $FreeBSD$ PORTNAME= cppdb PORTVERSION= 0.3.1 PORTREVISION= 2 CATEGORIES= databases MASTER_SITES= SF/cppcms/${PORTNAME}/${PORTVERSION} MAINTAINER= info@babaei.net COMMENT= Platform and database independent SQL connectivity library LICENSE= BSL MIT LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/copyright.txt NO_OPTIONS_SORT= yes OPTIONS_SINGLE= SQLITE3 PGSQL MYSQL ODBC OPTIONS_SINGLE_MYSQL= MYSQL_DISABLE MYSQL_INTERNAL MYSQL_MODULE OPTIONS_SINGLE_ODBC= ODBC_DISABLE ODBC_INTERNAL ODBC_MODULE OPTIONS_SINGLE_PGSQL= PGSQL_DISABLE PGSQL_INTERNAL PGSQL_MODULE OPTIONS_SINGLE_SQLITE3= SQLITE3_DISABLE SQLITE3_INTERNAL SQLITE3_MODULE OPTIONS_DEFAULT= MYSQL_DISABLE ODBC_DISABLE PGSQL_DISABLE SQLITE3_MODULE MYSQL_DESC= MySQL Backend MYSQL_DISABLE_DESC= Disable MySQL backend MYSQL_INTERNAL_DESC= Link MySQL backend into CppDB MYSQL_MODULE_DESC= Build MySQL backend as a CppDB module ODBC_DESC= ODBC Backend ODBC_DISABLE_DESC= Disable ODBC backend ODBC_INTERNAL_DESC= Link ODBC backend into CppDB ODBC_MODULE_DESC= Build ODBC backend as a CppDB module PGSQL_DESC= PostgreSQL Backend PGSQL_DISABLE_DESC= Disable PostgreSQL backend PGSQL_INTERNAL_DESC= Link PostgreSQL backend into CppDB PGSQL_MODULE_DESC= Build PostgreSQL backend as a CppDB module SQLITE3_DESC= SQLite 3 Backend SQLITE3_DISABLE_DESC= Disable SQLite 3 backend SQLITE3_INTERNAL_DESC= Link SQLite 3 backend into CppDB SQLITE3_MODULE_DESC= Build SQLite 3 backend as a CppDB module USE_LDCONFIG= yes -USES= cmake:outsource ninja tar:bzip2 +USES= cmake:outsource tar:bzip2 .include .if ${PORT_OPTIONS:MMYSQL_DISABLE} CMAKE_ARGS+= -DDISABLE_MYSQL:BOOL=ON PLIST_SUB+= MYSQL="@comment " .else USES+= mysql CMAKE_ARGS+= -DDISABLE_MYSQL:BOOL=OFF .if ${PORT_OPTIONS:MMYSQL_INTERNAL} CMAKE_ARGS+= -DMYSQL_BACKEND_INTERNAL:BOOL=ON PLIST_SUB+= MYSQL="@comment " .elif ${PORT_OPTIONS:MMYSQL_MODULE} CMAKE_ARGS+= -DMYSQL_BACKEND_INTERNAL:BOOL=OFF PLIST_SUB+= MYSQL="" .endif .endif .if ${PORT_OPTIONS:MODBC_DISABLE} CMAKE_ARGS+= -DDISABLE_ODBC:BOOL=ON PLIST_SUB+= ODBC="@comment " .else LIB_DEPENDS+= libodbc.so:databases/unixODBC CMAKE_ARGS+= -DDISABLE_ODBC:BOOL=OFF .if ${PORT_OPTIONS:MODBC_INTERNAL} CMAKE_ARGS+= -DODBC_BACKEND_INTERNAL:BOOL=ON PLIST_SUB+= ODBC="@comment " .elif ${PORT_OPTIONS:MODBC_MODULE} CMAKE_ARGS+= -DODBC_BACKEND_INTERNAL:BOOL=OFF PLIST_SUB+= ODBC="" .endif .endif .if ${PORT_OPTIONS:MPGSQL_DISABLE} CMAKE_ARGS+= -DDISABLE_PQ:BOOL=ON PLIST_SUB+= PGSQL="@comment " .else USES+= pgsql CMAKE_ARGS+= -DDISABLE_PQ:BOOL=OFF .if ${PORT_OPTIONS:MPGSQL_INTERNAL} CMAKE_ARGS+= -DPQ_BACKEND_INTERNAL:BOOL=ON PLIST_SUB+= PGSQL="@comment " .elif ${PORT_OPTIONS:MPGSQL_MODULE} CMAKE_ARGS+= -DPQ_BACKEND_INTERNAL:BOOL=OFF PLIST_SUB+= PGSQL="" .endif .endif .if ${PORT_OPTIONS:MSQLITE3_DISABLE} CMAKE_ARGS+= -DDISABLE_SQLITE:BOOL=ON PLIST_SUB+= SQLITE3="@comment " .else USES+= sqlite:3 CMAKE_ARGS+= -DDISABLE_SQLITE:BOOL=OFF .if ${PORT_OPTIONS:MSQLITE3_INTERNAL} CMAKE_ARGS+= -DSQLITE_BACKEND_INTERNAL:BOOL=ON PLIST_SUB+= SQLITE3="@comment " .elif ${PORT_OPTIONS:MSQLITE3_MODULE} CMAKE_ARGS+= -DSQLITE_BACKEND_INTERNAL:BOOL=OFF PLIST_SUB+= SQLITE3="" .endif .endif .include Index: head/databases/evolution-data-server/Makefile =================================================================== --- head/databases/evolution-data-server/Makefile (revision 444323) +++ head/databases/evolution-data-server/Makefile (revision 444324) @@ -1,79 +1,79 @@ # Created by: Joe Marcus Clarke # $FreeBSD$ PORTNAME= evolution-data-server PORTVERSION= 3.24.2 CATEGORIES= databases gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome3 MAINTAINER= gnome@FreeBSD.org COMMENT= Data backends for the Evolution integrated mail/PIM suite LICENSE= LGPL20 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= vapigen:lang/vala LIB_DEPENDS= libsoup-2.4.so:devel/libsoup \ libgcr-base-3.so:security/gcr \ libgoa-1.0.so:net/gnome-online-accounts \ libgdata.so:devel/libgdata \ libical.so:devel/libical \ libnss3.so:security/nss \ libicudata.so:devel/icu \ libwebkit2gtk-4.0.so:www/webkit2-gtk3 \ libjson-glib-1.0.so:devel/json-glib \ libp11-kit.so:security/p11-kit \ libnspr4.so:devel/nspr \ libsecret-1.so:security/libsecret PORTSCOUT= limitw:1,even USES= bdb:5 cmake compiler:c++11-lib gettext gnome gperf \ - iconv localbase ninja pathfix pkgconfig python:3.3+,build\ + iconv localbase pathfix pkgconfig python:3.3+,build\ sqlite tar:xz USE_GNOME= cairo gdkpixbuf2 gtk30 intltool introspection:build libxml2 USE_LDCONFIG= yes CMAKE_ARGS= -DENABLE_VALA_BINDINGS=ON \ -DENABLE_INTROSPECTION=ON \ -DENABLE_UOA=OFF CMAKE_ARGS+= -DWITH_LIBDB_CFLAGS=-I${LOCALBASE}/include/db5 \ -DWITH_LIBDB_LIBS="-L${LOCALBASE}/lib -ldb-5" GLIB_SCHEMAS= org.gnome.Evolution.DefaultSources.gschema.xml \ org.gnome.evolution.eds-shell.gschema.xml \ org.gnome.evolution-data-server.addressbook.gschema.xml \ org.gnome.evolution-data-server.calendar.gschema.xml \ org.gnome.evolution-data-server.gschema.xml \ org.gnome.evolution.shell.network-config.gschema.xml PLIST_SUB= VERSION="3.24" EVO_VERSION="1.2" OPTIONS_SUB= yes OPTIONS_DEFINE= WEATHER KERBEROS LDAP OPTIONS_DEFAULT=WEATHER KERBEROS LDAP KERBEROS_CMAKE_ON= -DWITH_KRB5=/usr KERBEROS_CMAKE_OFF= -DWITH_KRB5=OFF KERBEROS_USES= ssl LDAP_CMAKE_ON= -DWITH_OPENLDAP=${LOCALBASE} LDAP_CMAKE_OFF= -DWITH_OPENLDAP=OFF LDAP_USE= openldap=yes WEATHER_DESC= Weather calendar backend WEATHER_LIB_DEPENDS= libgweather-3.so:net/libgweather WEATHER_CMAKE_BOOL= ENABLE_WEATHER .include post-patch: @${REINPLACE_CMD} -e 's| python| ${PYTHON_VERSION}|g' \ ${WRKSRC}/CMakeLists.txt post-install: @${RM} -rf ${STAGEDIR}${PREFIX}/lib/systemd .include Index: head/databases/mariadb100-server/Makefile =================================================================== --- head/databases/mariadb100-server/Makefile (revision 444323) +++ head/databases/mariadb100-server/Makefile (revision 444324) @@ -1,177 +1,177 @@ # $FreeBSD$ PORTNAME?= mariadb PORTVERSION= 10.0.31 PORTREVISION?= 0 CATEGORIES= databases ipv6 MASTER_SITES= http://ftp.osuosl.org/pub/${SITESDIR}/ \ http://mirrors.supportex.net/${SITESDIR}/ \ http://mirror2.hs-esslingen.de/pub/Mirrors/${SITESDIR}/ \ http://gd.tuwien.ac.at/db/${SITESDIR}/ \ http://mirrors.fe.up.pt/pub/${SITESDIR}/ \ http://mirror.de.gsnw.de:56431/${SITESDIR}/ \ http://mirror.layerjet.com/${SITESDIR}/ \ http://mirror.switch.ch/mirror/${SITESDIR}/ PKGNAMESUFFIX?= 100-server MAINTAINER= brnrd@FreeBSD.org COMMENT?= Multithreaded SQL database (server) LICENSE= GPLv2 #LICENSE_FILE= ${WRKSRC}/COPYING LICENSE_NAME_PerconaFT= PerconaFT patents license LICENSE_FILE_PerconaFT= ${WRKSRC}/storage/tokudb/PerconaFT/PATENTS LICENSE_PERMS_PerconaFT= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept BROKEN_aarch64= Fails to link: missing sbrk SUB_FILES= pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message SLAVEDIRS= databases/mariadb100-client -USES= bison:build cmake compiler:c++11-lib cpe execinfo \ +USES= bison:build cmake:noninja compiler:c++11-lib cpe execinfo \ ncurses shebangfix ssl USE_LDCONFIG= ${PREFIX}/lib/mysql ${PREFIX}/lib/mysql/plugin SHEBANG_FILES= scripts/*.sh SITESDIR= mariadb/mariadb-${PORTVERSION}/source OPTIONS_DEFINE= FASTMTX NO_OPTIONS_SORT= yes FASTMTX_DESC= Replace mutexes with spinlocks CMAKE_ARGS+= -DINSTALL_DOCDIR="share/doc/mariadb" \ -DINSTALL_DOCREADMEDIR="share/doc/mariadb" \ -DINSTALL_INCLUDEDIR="include/mysql" \ -DINSTALL_INFODIR="info" \ -DINSTALL_LIBDIR="lib/mysql" \ -DINSTALL_MANDIR="man" \ -DINSTALL_MYSQLDATADIR="/var/db/mysql" \ -DINSTALL_MYSQLSHAREDIR="share/mysql" \ -DINSTALL_MYSQLTESTDIR= \ -DINSTALL_PLUGINDIR="lib/mysql/plugin" \ -DINSTALL_SBINDIR="libexec" \ -DINSTALL_SCRIPTDIR="bin" \ -DINSTALL_SHAREDIR="share" \ -DINSTALL_SQLBENCHDIR= \ -DINSTALL_SUPPORTFILESDIR="share/mysql" \ -DWITH_UNIT_TESTS=0 \ -DWITH_LIBEDIT=0 \ -DWITH_SSL=${OPENSSLBASE} \ -DWITH_LIBWRAP=1 \ -DEXECINFO_ROOT=${LOCALBASE} \ -DCOMPILATION_COMMENT="FreeBSD Ports" DATADIR= ${PREFIX}/share/mysql .ifdef USE_MYSQL .error You have `USE_MYSQL' variable defined either in environment or in make(1) arguments. This leads to a circular dependency. Please undefine and try again. .endif CONFLICTS_INSTALL= mariadb5*-${PKGNAMESUFFIX:C/^[0-9]*-//}-* \ mariadb10[1-9]-${PKGNAMESUFFIX:C/^[0-9]*-//}-* \ mysql[0-9]*-${PKGNAMESUFFIX:C/^[0-9]*-//}-* \ percona[0-9]*-${PKGNAMESUFFIX:C/^[0-9]*-//}-* \ .if !defined(CLIENT_ONLY) # MySQL-Server options OPTIONS_DEFINE+= MAXKEY OPTIONS_DEFAULT+= MAXKEY OPTIONS_GROUP= ENGINES OPTIONS_GROUP_ENGINES= INNOBASE MROONGA OQGRAPH SPHINX SPIDER TOKUDB ENGINES_DESC= Optional MariaDB storage engines INNOBASE_DESC= Build InnoDB engine next to XtraDB MAXKEY_DESC= Change max key length from 1000 to 4000 MROONGA_DESC= Mroonga Full Text Search engine OQGRAPH_DESC= Open Query Graph Computation engine (Requires GCC) SPHINX_DESC= SphinxSE engine SPIDER_DESC= Partitioning and XA-transactions engine TOKUDB_DESC= Fractal tree index tree data structure engine OPTIONS_SUB= yes .endif FASTMTX_CMAKE_ON= -DWITH_FAST_MUTEXES=1 .if defined(CLIENT_ONLY) # MySQL-Client part USES+= readline .else # MySQL-Server part BROKEN_powerpc64= Does not build: fatal error: sys/platform/ppc.h: No such file or directory USES+= mysql:100m USE_LDCONFIG+= ${PREFIX}/lib/mysql/plugin USE_RC_SUBR= mysql-server USERS= mysql GROUPS= mysql CMAKE_ARGS+= -DWITH_EMBEDDED_SERVER="ON" \ -DCMAKE_SKIP_BUILD_RPATH:BOOL=YES \ -DWITHOUT_EXAMPLE_STORAGE_ENGINE=1 .for ENGINE in ${OPTIONS_GROUP_ENGINES} ${ENGINE}_CMAKE_OFF= -DWITHOUT_${ENGINE}=1 .endfor MAXKEY_EXTRA_PATCHES+= ${FILESDIR}/extra-patch-include_my__compare.h MROONGA_CMAKE_OFF= -DWITHOUT_MROONGA=1 MROONGA_LIB_DEPENDS= liblz4.so:archivers/liblz4 OQGRAPH_LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libJudy.so:devel/judy # Currently OQGraph does not build using clang. # See See https://mariadb.atlassian.net/browse/MDEV-8051. OQGRAPH_USE= gcc OQGRAPH_BROKEN= OQGraph does not build TOKUDB_LIB_DEPENDS= libsnappy.so:archivers/snappy TOKUDB_PORTDOCS= PATENTS README.md TOKUDB_VARS= LICENSE+=PerconaFT LICENSE_COMB=multi post-install: # Remove programs to avoid conflict with mariadb100-client # These are "client" components, so there should be a switch that # prevents them from being installed but it's unknown right now . for f in bin/msql2mysql bin/mysql_config bin/mysql_find_rows \ bin/mysqlaccess COPYING.AGPLv3 COPYING.GPLv2 share/aclocal/mysql.m4 ${RM} ${STAGEDIR}${PREFIX}/${f} . endfor ${RM} -r ${STAGEDIR}${DATADIR}/SELinux .endif .include .if ${OPSYS} == FreeBSD CMAKE_ARGS+= -DWITH_JEMALLOC="system" .else CMAKE_ARGS+= -DWITH_JEMALLOC="no" .endif .if ${PORT_OPTIONS:MTOKUDB} NOT_FOR_ARCHS= i386 NOT_FOR_ARCHS_REASON= TokuDB not supported on 32-bit platforms, see \ https://github.com/percona/PerconaFT/blob/master/README.md .endif .if ${ARCH} == 'i386' # Server segfaults on i386 when built with clang >= 3.4 USE_GCC= yes .endif post-extract-OQGRAPH-off: @${RM} -r ${WRKSRC}/storage/oqgraph post-patch: @${REINPLACE_CMD} 's/*.1/${MAN1}/' ${WRKSRC}/man/CMakeLists.txt @${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/mysys/my_default.c @${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/scripts/mysql_config.sh .if ${OPSYS} == DragonFly ${CP} ${WRKSRC}/cmake/os/FreeBSD.cmake \ ${WRKSRC}/cmake/os/DragonFly.cmake ${MV} ${WRKSRC}/storage/tokudb ${WRKSRC}/skip-tokudb .endif post-configure-MROONGA-on: ${REINPLACE_CMD} 's|-llz4|-L${LOCALBASE}/lib -llz4|' \ ${WRKSRC}/storage/mroonga/CMakeFiles/mroonga.dir/link.txt .include Index: head/databases/mariadb55-server/Makefile =================================================================== --- head/databases/mariadb55-server/Makefile (revision 444323) +++ head/databases/mariadb55-server/Makefile (revision 444324) @@ -1,125 +1,125 @@ # $FreeBSD$ PORTNAME?= mariadb PORTVERSION= 5.5.56 PORTREVISION?= 1 CATEGORIES= databases ipv6 MASTER_SITES= http://ftp.osuosl.org/pub/mariadb/${PORTNAME}-${PORTVERSION}/source/ \ http://mirrors.supportex.net/mariadb/${PORTNAME}-${PORTVERSION}/source/ \ http://mirror.aarnet.edu.au/pub/MariaDB/${PORTNAME}-${PORTVERSION}/source/ \ http://mirror2.hs-esslingen.de/pub/Mirrors/mariadb/${PORTNAME}-${PORTVERSION}/source/ \ http://gd.tuwien.ac.at/db/mariadb/${PORTNAME}-${PORTVERSION}/source/ \ http://mirrors.fe.up.pt/pub/mariadb/${PORTNAME}-${PORTVERSION}/source/ \ http://mirror.de.gsnw.de:56431/mariadb/${PORTNAME}-${PORTVERSION}/source/ \ http://mirror.layerjet.com/mariadb/${PORTNAME}-${PORTVERSION}/source/ \ http://mirror.switch.ch/mirror/mariadb/${PORTNAME}-${PORTVERSION}/source/ PKGNAMESUFFIX?= 55-server MAINTAINER= brnrd@FreeBSD.org COMMENT?= Multithreaded SQL database (server) LICENSE= GPLv2 SUB_FILES= pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message SLAVEDIRS= databases/mariadb55-client -USES= cmake execinfo shebangfix ssl +USES= cmake:noninja execinfo shebangfix ssl USE_LDCONFIG= ${PREFIX}/lib/mysql SHEBANG_FILES= scripts/*.sh sql-bench/[a-km-z]* CMAKE_ARGS+= -DINSTALL_DOCDIR="share/doc/mysql" \ -DINSTALL_DOCREADMEDIR="share/doc/mysql" \ -DINSTALL_INCLUDEDIR="include/mysql" \ -DINSTALL_INFODIR="info" \ -DINSTALL_LIBDIR="lib/mysql" \ -DINSTALL_MANDIR="man" \ -DINSTALL_MYSQLDATADIR="/var/db/mysql" \ -DINSTALL_MYSQLSHAREDIR="share/mysql" \ -DINSTALL_MYSQLTESTDIR= \ -DINSTALL_PLUGINDIR="lib/mysql/plugin" \ -DINSTALL_SBINDIR="libexec" \ -DINSTALL_SCRIPTDIR="bin" \ -DINSTALL_SHAREDIR="share" \ -DINSTALL_SQLBENCHDIR="share/mysql" \ -DINSTALL_SUPPORTFILESDIR="share/mysql" \ -DWITH_UNIT_TESTS=0 \ -DWITH_LIBWRAP=1 \ -DWITH_SSL=yes \ -DEXECINFO_ROOT=${LOCALBASE} \ -DCOMPILATION_COMMENT="FreeBSD Ports" DATADIR= ${PREFIX}/share/mysql BROKEN_aarch64= Fails to link: missing sbrk BROKEN_armv6= Does not compile on armv6 BROKEN_sparc64= Does not compile: Unsupported platform .if defined(USE_MYSQL) .error You have 'USE_MYSQL' variable defined either in environment or in make(1) arguments. Please undefine and try again. .endif OPTIONS_DEFINE+= FASTMTX OPTIONS_SUB= yes NO_OPTIONS_SORT= yes FASTMTX_DESC= Replace mutexes with spinlocks FASTMTX_CMAKE_ON= -DWITH_FAST_MUTEXES=1 .if !defined(CLIENT_ONLY) # MySQL-Server part USES+= mysql:55m USE_LDCONFIG|= ${PREFIX}/lib/mysql/plugin CONFLICTS_INSTALL= mariadb5[0-46-9]-server-* \ mariadb1*-server-* \ mysql[0-9]*-server-* \ percona[0-9]*-server-* USE_RC_SUBR= mysql-server USERS= mysql GROUPS= mysql CMAKE_ARGS+= -DREADLINE_INCLUDE_DIR=/usr/include \ -DWITH_EMBEDDED_SERVER="ON" \ -DWITHOUT_EXAMPLE_STORAGE_ENGINE=1 # MySQL-Server options OPTIONS_DEFINE+= MAXKEY OQGRAPH OPTIONS_DEFAULT+= MAXKEY MAXKEY_DESC= Change max key length from 1000 to 4000 OQGRAPH_DESC= Open Query Graph Computation engine OQGRAPH_USE= GCC=yes OQGRAPH_LIB_DEPENDS= libboost_system.so:devel/boost-libs OQGRAPH_BROKEN= OQGraph does not build MAXKEY_EXTRA_PATCHES= ${FILESDIR}/extra-patch-include_my__compare.h .endif .include .if ${OPSYS} == FreeBSD CMAKE_ARGS+= -DWITH_JEMALLOC="system" .else CMAKE_ARGS+= -DWITH_JEMALLOC="no" .endif # Server segfaults on i386 when built with clang >= 3.4 .if ${ARCH} == 'i386' USE_GCC= yes .endif post-extract-OQGRAPH-off: @${RM} -r ${WRKSRC}/storage/oqgraph post-patch: @${REINPLACE_CMD} 's/*.1/${MAN1}/' ${WRKSRC}/man/CMakeLists.txt @${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/mysys/default.c @${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/scripts/mysql_config.sh .include Index: head/databases/mysql55-server/Makefile =================================================================== --- head/databases/mysql55-server/Makefile (revision 444323) +++ head/databases/mysql55-server/Makefile (revision 444324) @@ -1,93 +1,93 @@ # Created by: Alex Dupre # $FreeBSD$ PORTNAME?= mysql PORTVERSION= 5.5.55 PORTREVISION?= 0 CATEGORIES= databases ipv6 MASTER_SITES= MYSQL/MySQL-5.5 PKGNAMESUFFIX?= 55-server MAINTAINER= ale@FreeBSD.org COMMENT?= Multithreaded SQL database (server) LICENSE= GPLv2 SLAVEDIRS= databases/mysql55-client -USES= cmake readline shebangfix +USES= cmake:noninja readline shebangfix CXXFLAGS+= ${CPPFLAGS} NO_OPTIONS_SORT=yes OPTIONS_DEFINE= SSL FASTMTX OPTIONS_DEFAULT=SSL FASTMTX_DESC= Replace mutexes with spinlocks CMAKE_ARGS+= -DINSTALL_DOCDIR="share/doc/mysql" \ -DINSTALL_DOCREADMEDIR="share/doc/mysql" \ -DINSTALL_INCLUDEDIR="include/mysql" \ -DINSTALL_INFODIR="info" \ -DINSTALL_LIBDIR="lib/mysql" \ -DINSTALL_MANDIR="man" \ -DINSTALL_MYSQLDATADIR="/var/db/mysql" \ -DINSTALL_MYSQLSHAREDIR="share/mysql" \ -DINSTALL_MYSQLTESTDIR="share/mysql/tests" \ -DINSTALL_PLUGINDIR="lib/mysql/plugin" \ -DINSTALL_SBINDIR="libexec" \ -DINSTALL_SCRIPTDIR="bin" \ -DINSTALL_SHAREDIR="share" \ -DINSTALL_SQLBENCHDIR="share/mysql" \ -DINSTALL_SUPPORTFILESDIR="share/mysql" \ -DWITH_UNIT_TESTS=0 \ -DWITH_LIBEDIT=0 \ -DWITH_LIBWRAP=1 SHEBANG_FILES= scripts/*.pl* scripts/*.sh .ifdef USE_MYSQL .error You have `USE_MYSQL' variable defined either in environment or in make(1) arguments. Please undefine and try again. .endif .include .if ${PORT_OPTIONS:MSSL} CMAKE_ARGS+= -DWITH_SSL=bundled .endif .if ${PORT_OPTIONS:MFASTMTX} CMAKE_ARGS+= -DWITH_FAST_MUTEXES=1 .endif # MySQL-Server part .if !defined(CLIENT_ONLY) USE_MYSQL= yes WANT_MYSQL_VER= 55 CONFLICTS_INSTALL= mysql5[0-46-9]-server-* \ mariadb*-server-* \ percona*-server-* USE_RC_SUBR= mysql-server USERS= mysql GROUPS= mysql MMAN1= my_print_defaults.1 myisam_ftdump.1 myisamchk.1 myisamlog.1 myisampack.1 \ mysql.server.1 mysql_convert_table_format.1 mysql_fix_extensions.1 \ mysql_install_db.1 mysql_plugin.1 mysql_secure_installation.1 mysql_setpermission.1 \ mysql_tzinfo_to_sql.1 mysql_upgrade.1 mysql_zap.1 mysqlbug.1 \ mysqld_multi.1 mysqld_safe.1 mysqldumpslow.1 mysqlhotcopy.1 mysqlman.1 \ mysqltest.1 perror.1 replace.1 resolve_stack_dump.1 resolveip.1 CMAKE_ARGS+= -DWITH_EMBEDDED_SERVER="ON" .endif post-patch: @${REINPLACE_CMD} 's/*.1/${MMAN1}/' ${WRKSRC}/man/CMakeLists.txt .include .if ${ARCH} == "armv6" EXTRA_PATCHES+= ${FILESDIR}/extra-patch-config.h.cmake .endif .include Index: head/databases/mysql56-server/Makefile =================================================================== --- head/databases/mysql56-server/Makefile (revision 444323) +++ head/databases/mysql56-server/Makefile (revision 444324) @@ -1,152 +1,152 @@ # Created by: Alex Dupre # $FreeBSD$ PORTNAME?= mysql PORTVERSION= 5.6.36 CATEGORIES= databases ipv6 MASTER_SITES= MYSQL/MySQL-5.6 PKGNAMESUFFIX?= 56-server MAINTAINER= mmokhi@FreeBSD.org COMMENT?= Multithreaded SQL database (server) LICENSE= GPLv2 SLAVEDIRS= databases/mysql56-client -USES= bison:build cmake:outsource compiler:c11 compiler:c++11-lib \ +USES= bison:build cmake:outsource,noninja compiler:c11 compiler:c++11-lib \ cpe libedit localbase perl5 shebangfix ssl USE_PERL5= run MY_DBDIR= /var/db/mysql MY_SECDIR= /var/db/mysql_secure MY_TMPDIR= /var/db/mysql_tmpdir LIB_DEPENDS+= libevent.so:devel/libevent \ liblz4.so:archivers/liblz4 CMAKE_BUILD_TYPE= Release CMAKE_ARGS+= -DINSTALL_LAYOUT=FREEBSD \ -DINSTALL_LDCONFIGDIR="${LOCALBASE}/libdata/ldconfig" \ -DINSTALL_PKGCONFIGDIR="${LOCALBASE}/libdata/pkgconfig" \ -DINSTALL_DOCDIR="share/doc/mysql" \ -DINSTALL_DOCREADMEDIR="share/doc/mysql" \ -DINSTALL_INCLUDEDIR="include/mysql" \ -DINSTALL_INFODIR="info" \ -DINSTALL_LIBDIR="lib/mysql" \ -DINSTALL_MANDIR="man" \ -DINSTALL_MYSQLDATADIR="${MY_DBDIR}" \ -DINSTALL_MYSQLKEYRINGDIR="etc/mysql/keyring" \ -DINSTALL_MYSQLSHAREDIR="share/mysql" \ -DINSTALL_MYSQLTESTDIR="share/mysql/tests" \ -DINSTALL_PLUGINDIR="lib/mysql/plugin" \ -DINSTALL_SBINDIR="libexec" \ -DINSTALL_SCRIPTDIR="bin" \ -DINSTALL_SECURE_FILE_PRIVDIR="${MY_SECDIR}" \ -DINSTALL_SHAREDIR="share" \ -DINSTALL_SQLBENCHDIR="share/mysql" \ -DINSTALL_SUPPORTFILESDIR="share/mysql" \ -DMYSQL_KEYRINGDIR="${ETCDIR}/keyring" \ -DWITH_BOOST="${WRKSRC}/boost" \ -DWITH_EDITLINE=system \ -DWITH_LIBEVENT=system \ -DWITH_LZ4=system \ -DWITH_ZLIB=system \ -DWITH_SSL=${OPENSSLBASE} \ -DCRYPTO_LIBRARY=${OPENSSLLIB}/libcrypto.so \ -DOPENSSL_LIBRARY=${OPENSSLLIB}/libssl.so \ -DINSTALL_MYSQLTESTDIR=0 SHEBANG_FILES= scripts/*.pl* scripts/*.sh .ifdef USE_MYSQL .error You have `USE_MYSQL' variable defined either in environment or in make(1) arguments. Please undefine and try again. .endif SUB_LIST= MY_DBDIR=${MY_DBDIR} \ MY_SECDIR=${MY_SECDIR} \ MY_TMPDIR=${MY_TMPDIR} PLIST_SUB= MY_DBDIR=${MY_DBDIR} \ MY_SECDIR=${MY_SECDIR} \ MY_TMPDIR=${MY_TMPDIR} # MySQL-Server part .if !defined(CLIENT_ONLY) USES+= mysql:56 CONFLICTS_INSTALL= mysql5[0-57-9]-server-* \ mysql[0-46-9][0-9]-server-* \ mariadb[0-9][0-9]-server-* \ percona[0-9][0-9]-server-* USE_RC_SUBR= mysql-server SUB_FILES= my.cnf.sample USERS= mysql GROUPS= mysql USE_LDCONFIG+= ${PREFIX}/lib/mysql/plugin MMAN1= my_print_defaults.1 myisam_ftdump.1 myisamchk.1 myisamlog.1 myisampack.1 \ mysql.server.1 mysql_convert_table_format.1 mysql_fix_extensions.1 \ mysql_install_db.1 mysql_plugin.1 mysql_secure_installation.1 mysql_setpermission.1 \ mysql_tzinfo_to_sql.1 mysql_upgrade.1 mysql_zap.1 mysqlbug.1 \ mysqld_multi.1 mysqld_safe.1 mysqldumpslow.1 mysqlhotcopy.1 mysqlman.1 \ mysqltest.1 perror.1 replace.1 resolve_stack_dump.1 resolveip.1 CMAKE_ARGS+= -DWITH_EMBEDDED_SERVER="ON" OPTIONS_GROUP= STORAGE OPTIONS_GROUP_STORAGE= ARCHIVE BLACKHOLE EXAMPLE FEDERATED INNOBASE PARTITION PERFSCHEMA OPTIONS_SUB= YES STORAGE_DESC= Permissible "Storage Engines" (to compile statically into the server) ARCHIVE_DESC= Compile "Archive Storage" statically in server BLACKHOLE_DESC= Compile "Blackhole Storage" statically in server EXAMPLE_DESC= Compile "Example Storage" statically in server FEDERATED_DESC= Compile "Federated Storage" statically in server INNOBASE_DESC= Compile "InnoDB Storage" statically in server PARTITION_DESC= Compile "Partitioning support Storage" statically in server PERFSCHEMA_DESC= Compile "Performance Schema Storage" statically in server ARCHIVE_CMAKE_ON= -DWITH_ARCHIVE_STORAGE_ENGINE=1 BLACKHOLE_CMAKE_ON= -DWITH_BLACKHOLE_STORAGE_ENGINE=1 EXAMPLE_CMAKE_ON= -DWITH_EXAMPLE_STORAGE_ENGINE=1 FEDERATED_CMAKE_ON= -DWITH_FEDERATED_STORAGE_ENGINE=1 INNOBASE_CMAKE_ON= -DWITH_INNOBASE_STORAGE_ENGINE=1 PARTITION_CMAKE_ON= -DWITH_PARTITION_STORAGE_ENGINE=1 PERFSCHEMA_CMAKE_ON= -DWITH_PERFSCHEMA_STORAGE_ENGINE=1 OPTIONS_GROUP+= FEATURES OPTIONS_GROUP_FEATURES= PERFSCHM FEATURES_DESC= Default features knobs PERFSCHM_DESC= Enable "Performance Schema" by default (High RAM usage) OPTIONS_DEFAULT+= PERFSCHM PERFSCHM_SUB_LIST+= PERFSCHEMRC="" PERFSCHM_SUB_LIST_OFF+= PERFSCHEMRC="--skip-performance-schema" FEDERATED_SUB_LIST+= FEDER="--federated" FEDERATED_SUB_LIST_OFF+= FEDER="" .endif .include post-patch: @${REINPLACE_CMD} 's/*.1/${MMAN1}/' ${WRKSRC}/man/CMakeLists.txt .if !defined(CLIENT_ONLY) post-install: ${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${WRKDIR}/my.cnf.sample ${STAGEDIR}${ETCDIR}/my.cnf.sample ${MKDIR} ${STAGEDIR}${ETCDIR}/keyring ${MKDIR} ${STAGEDIR}${MY_SECDIR} ${MKDIR} ${STAGEDIR}${MY_TMPDIR} .endif .if ${ARCH} == "armv6" EXTRA_PATCHES+= ${FILESDIR}/extra-patch-config.h.cmake .endif .include Index: head/databases/mysql57-server/Makefile =================================================================== --- head/databases/mysql57-server/Makefile (revision 444323) +++ head/databases/mysql57-server/Makefile (revision 444324) @@ -1,156 +1,156 @@ # Created by: Mahdi Mokhtari # $FreeBSD$ PORTNAME?= mysql PORTVERSION= 5.7.18 CATEGORIES= databases ipv6 MASTER_SITES= MYSQL/MySQL-5.7 PKGNAMESUFFIX?= 57-server DISTNAME= ${PORTNAME}-boost-${PORTVERSION} MAINTAINER= mmokhi@FreeBSD.org COMMENT?= Multithreaded SQL database (server) LICENSE= GPLv2 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} SLAVEDIRS= databases/mysql57-client -USES= bison:build cmake:outsource compiler:c11 compiler:c++11-lib \ +USES= bison:build cmake:outsource,noninja compiler:c11 compiler:c++11-lib \ cpe libedit localbase perl5 shebangfix ssl USE_PERL5= run MY_DBDIR= /var/db/mysql MY_SECDIR= /var/db/mysql_secure MY_TMPDIR= /var/db/mysql_tmpdir LIB_DEPENDS+= libevent.so:devel/libevent \ liblz4.so:archivers/liblz4 CMAKE_BUILD_TYPE= Release CMAKE_ARGS+= -DINSTALL_LAYOUT=FREEBSD \ -DINSTALL_LDCONFIGDIR="${LOCALBASE}/libdata/ldconfig" \ -DINSTALL_PKGCONFIGDIR="${LOCALBASE}/libdata/pkgconfig" \ -DINSTALL_DOCDIR="share/doc/mysql" \ -DINSTALL_DOCREADMEDIR="share/doc/mysql" \ -DINSTALL_INCLUDEDIR="include/mysql" \ -DINSTALL_INFODIR="info" \ -DINSTALL_LIBDIR="lib/mysql" \ -DINSTALL_MANDIR="man" \ -DINSTALL_MYSQLDATADIR="${MY_DBDIR}" \ -DINSTALL_MYSQLKEYRINGDIR="etc/mysql/keyring" \ -DINSTALL_MYSQLSHAREDIR="share/mysql" \ -DINSTALL_MYSQLTESTDIR="share/mysql/tests" \ -DINSTALL_PLUGINDIR="lib/mysql/plugin" \ -DINSTALL_SBINDIR="libexec" \ -DINSTALL_SCRIPTDIR="bin" \ -DINSTALL_SECURE_FILE_PRIVDIR="${MY_SECDIR}" \ -DINSTALL_SHAREDIR="share" \ -DINSTALL_SUPPORTFILESDIR="share/mysql" \ -DMYSQL_KEYRINGDIR="${ETCDIR}/keyring" \ -DWITH_BOOST="${WRKSRC}/boost" \ -DWITH_EDITLINE=system \ -DWITH_LIBEVENT=system \ -DWITH_LZ4=system \ -DWITH_ZLIB=system \ -DINSTALL_MYSQLTESTDIR=0 SHEBANG_FILES= scripts/*.pl* scripts/*.sh .ifdef USE_MYSQL .error You have `USE_MYSQL' variable defined either in environment or in make(1) arguments. Please undefine and try again. .endif SUB_LIST= MY_DBDIR=${MY_DBDIR} \ MY_SECDIR=${MY_SECDIR} \ MY_TMPDIR=${MY_TMPDIR} PLIST_SUB= MY_DBDIR=${MY_DBDIR} \ MY_SECDIR=${MY_SECDIR} \ MY_TMPDIR=${MY_TMPDIR} # MySQL-Server part .if !defined(CLIENT_ONLY) USES+= mysql:57 CONFLICTS_INSTALL= mysql5[0-68-9]-server-* \ mysql[0-46-9][0-9]-server-* \ mariadb[0-9][0-9]-server-* \ percona[0-9][0-9]-server-* USE_RC_SUBR= mysql-server SUB_FILES= my.cnf.sample USERS= mysql GROUPS= mysql USE_LDCONFIG+= ${PREFIX}/lib/mysql/plugin MMAN1= my_print_defaults.1 myisam_ftdump.1 myisamchk.1 myisamlog.1 myisampack.1 \ mysql.server.1 mysql_convert_table_format.1 mysql_fix_extensions.1 \ mysql_install_db.1 mysql_plugin.1 mysql_secure_installation.1 mysql_setpermission.1 \ mysql_tzinfo_to_sql.1 mysql_upgrade.1 mysql_zap.1 mysqlbug.1 \ mysqld_multi.1 mysqld_safe.1 mysqldumpslow.1 mysqlhotcopy.1 mysqlman.1 \ mysqltest.1 perror.1 replace.1 resolve_stack_dump.1 resolveip.1 CMAKE_ARGS+= -DWITH_EMBEDDED_SERVER="ON" OPTIONS_GROUP= STORAGE OPTIONS_GROUP_STORAGE= ARCHIVE BLACKHOLE EXAMPLE FEDERATED INNOBASE PARTITION PERFSCHEMA OPTIONS_SUB= YES STORAGE_DESC= Permissible "Storage Engines" (to compile statically into the server) ARCHIVE_DESC= Compile "Archive Storage" statically in server BLACKHOLE_DESC= Compile "Blackhole Storage" statically in server EXAMPLE_DESC= Compile "Example Storage" statically in server FEDERATED_DESC= Compile "Federated Storage" statically in server INNOBASE_DESC= Compile "InnoDB Storage" statically in server PARTITION_DESC= Compile "Partitioning support Storage" statically in server PERFSCHEMA_DESC= Compile "Performance Schema Storage" statically in server ARCHIVE_CMAKE_ON= -DWITH_ARCHIVE_STORAGE_ENGINE=1 BLACKHOLE_CMAKE_ON= -DWITH_BLACKHOLE_STORAGE_ENGINE=1 EXAMPLE_CMAKE_ON= -DWITH_EXAMPLE_STORAGE_ENGINE=1 FEDERATED_CMAKE_ON= -DWITH_FEDERATED_STORAGE_ENGINE=1 INNOBASE_CMAKE_ON= -DWITH_INNOBASE_STORAGE_ENGINE=1 PARTITION_CMAKE_ON= -DWITH_PARTITION_STORAGE_ENGINE=1 PERFSCHEMA_CMAKE_ON= -DWITH_PERFSCHEMA_STORAGE_ENGINE=1 OPTIONS_GROUP+= FEATURES OPTIONS_GROUP_FEATURES= PERFSCHM FEATURES_DESC= Default features knobs PERFSCHM_DESC= Enable "Performance Schema" by default (High RAM usage) OPTIONS_DEFAULT+= PERFSCHM PERFSCHM_SUB_LIST+= PERFSCHEMRC="" PERFSCHM_SUB_LIST_OFF+= PERFSCHEMRC="--skip-performance-schema" FEDERATED_SUB_LIST+= FEDER="--federated" FEDERATED_SUB_LIST_OFF+= FEDER="" .endif .include .if ${SSL_DEFAULT} == base CMAKE_ARGS+= -DWITH_SSL=system .else CMAKE_ARGS+= -DWITH_SSL=${OPENSSLBASE} .endif post-extract: @${RM} -rv ${WRKSRC}/sql/sql_hints.yy.cc ${WRKSRC}/sql/sql_hints.yy.h post-patch: @${REINPLACE_CMD} 's/*.1/${MMAN1}/' ${WRKSRC}/man/CMakeLists.txt .if !defined(CLIENT_ONLY) post-install: ${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${WRKDIR}/my.cnf.sample ${STAGEDIR}${ETCDIR}/my.cnf.sample ${MKDIR} ${STAGEDIR}${ETCDIR}/keyring ${MKDIR} ${STAGEDIR}${MY_SECDIR} ${MKDIR} ${STAGEDIR}${MY_TMPDIR} .endif .include Index: head/databases/mysql80-server/Makefile =================================================================== --- head/databases/mysql80-server/Makefile (revision 444323) +++ head/databases/mysql80-server/Makefile (revision 444324) @@ -1,159 +1,159 @@ # Created by: Mahdi Mokhtari # $FreeBSD$ PORTNAME?= mysql PORTVERSION= 8.0.0 DISTVERSIONSUFFIX?= -dmr PORTREVISION?= 4 CATEGORIES= databases ipv6 MASTER_SITES= MYSQL/MySQL-8.0 PKGNAMESUFFIX?= 80-server DISTNAME= ${PORTNAME}-boost-${PORTVERSION}${DISTVERSIONSUFFIX} MAINTAINER= mmokhi@FreeBSD.org COMMENT?= Multithreaded SQL database (server) LICENSE= GPLv2 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}${DISTVERSIONSUFFIX} SLAVEDIRS= databases/mysql80-client -USES= bison:build cmake:outsource compiler:c11 compiler:c++11-lib \ +USES= bison:build cmake:outsource,noninja compiler:c11 compiler:c++11-lib \ cpe libedit localbase perl5 shebangfix ssl USE_PERL5= run MY_DBDIR= /var/db/mysql MY_SECDIR= /var/db/mysql_secure MY_TMPDIR= /var/db/mysql_tmpdir LIB_DEPENDS+= libevent.so:devel/libevent \ liblz4.so:archivers/liblz4 CMAKE_BUILD_TYPE= Release CMAKE_ARGS+= -DINSTALL_LAYOUT=FREEBSD \ -DINSTALL_LDCONFIGDIR="${LOCALBASE}/libdata/ldconfig" \ -DINSTALL_PKGCONFIGDIR="${LOCALBASE}/libdata/pkgconfig" \ -DINSTALL_DOCDIR="share/doc/mysql" \ -DINSTALL_DOCREADMEDIR="share/doc/mysql" \ -DINSTALL_INCLUDEDIR="include/mysql" \ -DINSTALL_INFODIR="info" \ -DINSTALL_LIBDIR="lib/mysql" \ -DINSTALL_MANDIR="man" \ -DINSTALL_MYSQLDATADIR="${MY_DBDIR}" \ -DINSTALL_MYSQLKEYRINGDIR="etc/mysql/keyring" \ -DINSTALL_MYSQLSHAREDIR="share/mysql" \ -DINSTALL_MYSQLTESTDIR="share/mysql/tests" \ -DINSTALL_PLUGINDIR="lib/mysql/plugin" \ -DINSTALL_SBINDIR="libexec" \ -DINSTALL_SCRIPTDIR="bin" \ -DINSTALL_SECURE_FILE_PRIVDIR="${MY_SECDIR}" \ -DINSTALL_SHAREDIR="share" \ -DINSTALL_SUPPORTFILESDIR="share/mysql" \ -DMYSQL_KEYRINGDIR="${ETCDIR}/keyring" \ -DWITH_BOOST="${WRKSRC}/boost" \ -DWITH_EDITLINE=system \ -DWITH_LIBEVENT=system \ -DWITH_LZ4=system \ -DWITH_ZLIB=system \ -DINSTALL_MYSQLTESTDIR=0 SHEBANG_FILES= scripts/*.pl* scripts/*.sh .ifdef USE_MYSQL .error You have `USE_MYSQL' variable defined either in environment or in make(1) arguments. Please undefine and try again. .endif SUB_LIST= MY_DBDIR=${MY_DBDIR} \ MY_SECDIR=${MY_SECDIR} \ MY_TMPDIR=${MY_TMPDIR} PLIST_SUB= MY_DBDIR=${MY_DBDIR} \ MY_SECDIR=${MY_SECDIR} \ MY_TMPDIR=${MY_TMPDIR} \ MYSQL80_LIBVER=${MYSQL80_LIBVER} # MySQL-Server part .if !defined(CLIENT_ONLY) USES+= mysql:80 CONFLICTS_INSTALL= mysql8[1-9]-server-* \ mysql[0-79][0-9]-server-* \ mariadb[0-9][0-9]-server-* \ percona[0-9][0-9]-server-* USE_RC_SUBR= mysql-server SUB_FILES= my.cnf.sample USERS= mysql GROUPS= mysql USE_LDCONFIG+= ${PREFIX}/lib/mysql/plugin MMAN1= my_print_defaults.1 myisam_ftdump.1 myisamchk.1 myisamlog.1 myisampack.1 \ mysql.server.1 mysql_convert_table_format.1 mysql_fix_extensions.1 \ mysql_install_db.1 mysql_plugin.1 mysql_secure_installation.1 mysql_setpermission.1 \ mysql_tzinfo_to_sql.1 mysql_upgrade.1 mysql_zap.1 mysqlbug.1 \ mysqld_multi.1 mysqld_safe.1 mysqldumpslow.1 mysqlhotcopy.1 mysqlman.1 \ mysqltest.1 perror.1 replace.1 resolve_stack_dump.1 resolveip.1 CMAKE_ARGS+= -DWITH_EMBEDDED_SERVER="ON" OPTIONS_GROUP= STORAGE OPTIONS_GROUP_STORAGE= ARCHIVE BLACKHOLE EXAMPLE FEDERATED INNOBASE PARTITION PERFSCHEMA OPTIONS_SUB= YES STORAGE_DESC= Permissible "Storage Engines" (to compile statically into the server) ARCHIVE_DESC= Compile "Archive Storage" statically in server BLACKHOLE_DESC= Compile "Blackhole Storage" statically in server EXAMPLE_DESC= Compile "Example Storage" statically in server FEDERATED_DESC= Compile "Federated Storage" statically in server INNOBASE_DESC= Compile "InnoDB Storage" statically in server PARTITION_DESC= Compile "Partitioning support Storage" statically in server PERFSCHEMA_DESC= Compile "Performance Schema Storage" statically in server ARCHIVE_CMAKE_ON= -DWITH_ARCHIVE_STORAGE_ENGINE=1 BLACKHOLE_CMAKE_ON= -DWITH_BLACKHOLE_STORAGE_ENGINE=1 EXAMPLE_CMAKE_ON= -DWITH_EXAMPLE_STORAGE_ENGINE=1 FEDERATED_CMAKE_ON= -DWITH_FEDERATED_STORAGE_ENGINE=1 INNOBASE_CMAKE_ON= -DWITH_INNOBASE_STORAGE_ENGINE=1 PARTITION_CMAKE_ON= -DWITH_PARTITION_STORAGE_ENGINE=1 PERFSCHEMA_CMAKE_ON= -DWITH_PERFSCHEMA_STORAGE_ENGINE=1 OPTIONS_GROUP+= FEATURES OPTIONS_GROUP_FEATURES= PERFSCHM FEATURES_DESC= Default features knobs PERFSCHM_DESC= Enable "Performance Schema" by default (High RAM usage) OPTIONS_DEFAULT+= PERFSCHM PERFSCHM_SUB_LIST+= PERFSCHEMRC="" PERFSCHM_SUB_LIST_OFF+= PERFSCHEMRC="--skip-performance-schema" FEDERATED_SUB_LIST+= FEDER="--federated" FEDERATED_SUB_LIST_OFF+= FEDER="" .endif .include .if ${SSL_DEFAULT} == base CMAKE_ARGS+= -DWITH_SSL=system .else CMAKE_ARGS+= -DWITH_SSL=${OPENSSLBASE} .endif post-extract: @${RM} -rv ${WRKSRC}/sql/sql_hints.yy.cc ${WRKSRC}/sql/sql_hints.yy.h post-patch: @${REINPLACE_CMD} 's/*.1/${MMAN1}/' ${WRKSRC}/man/CMakeLists.txt .if !defined(CLIENT_ONLY) post-install: ${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${WRKDIR}/my.cnf.sample ${STAGEDIR}${ETCDIR}/my.cnf.sample ${MKDIR} ${STAGEDIR}${ETCDIR}/keyring ${MKDIR} ${STAGEDIR}${MY_SECDIR} ${MKDIR} ${STAGEDIR}${MY_TMPDIR} .endif .include Index: head/databases/mysqlwsrep56-server/Makefile =================================================================== --- head/databases/mysqlwsrep56-server/Makefile (revision 444323) +++ head/databases/mysqlwsrep56-server/Makefile (revision 444324) @@ -1,81 +1,81 @@ # Created by: Philip Stoev # $FreeBSD$ PORTNAME= mysqlwsrep PORTVERSION= 5.6.35 PORTREVISION= 1 CATEGORIES= databases ipv6 MASTER_SITES= http://releases.galeracluster.com/source/ PKGNAMESUFFIX= 56-server DISTNAME= mysql-wsrep-5.6.35-25.19 MAINTAINER= info@galeracluster.com COMMENT= MySQL database enhanced with Galera replication (server package) LICENSE= GPLv2 BUILD_DEPENDS= bison:devel/bison RUN_DEPENDS= socat:net/socat lsof:sysutils/lsof netcat:net/netcat rsync:net/rsync DATADIR= ${PREFIX}/share/mysql NOT_FOR_ARCHS= aarch64 armv6 powerpc64 NOT_FOR_ARCHS_REASON= error: Unsupported platform -USES= cmake:outsource libedit shebangfix perl5 +USES= cmake:outsource,noninja libedit shebangfix perl5 USE_PERL5= run USE_LDCONFIG= yes MY_DBDIR= /var/db/mysql CMAKE_ARGS+= -DINSTALL_DOCDIR="share/doc/mysql" \ -DINSTALL_DOCREADMEDIR="share/doc/mysql" \ -DINSTALL_INCLUDEDIR="include/mysql" \ -DINSTALL_INFODIR="info" \ -DINSTALL_LIBDIR="lib/mysql" \ -DINSTALL_MANDIR="man" \ -DINSTALL_MYSQLDATADIR="${MY_DBDIR}" \ -DINSTALL_MYSQLSHAREDIR="share/mysql" \ -DINSTALL_MYSQLTESTDIR="share/mysql/tests" \ -DINSTALL_PLUGINDIR="lib/mysql/plugin" \ -DINSTALL_SBINDIR="libexec" \ -DINSTALL_SCRIPTDIR="bin" \ -DINSTALL_SHAREDIR="share" \ -DINSTALL_SQLBENCHDIR="share/mysql" \ -DINSTALL_SUPPORTFILESDIR="share/mysql" \ -DWITH_EDITLINE=system \ -DWITH_LIBWRAP=1 \ -DWITH_WSREP=1 SHEBANG_FILES= scripts/*.pl* scripts/*.sh scripts/wsrep_sst_* .ifdef USE_MYSQL .error You have `USE_MYSQL' variable defined either in environment or in make(1) arguments. Please undefine and try again. .endif CONFLICTS_INSTALL= mysql5[0-9]-server-* \ mariadb*-server-* \ percona*-server-* USE_RC_SUBR= mysql-server USERS= mysql GROUPS= mysql MMAN1= my_print_defaults.1 myisam_ftdump.1 myisamchk.1 myisamlog.1 myisampack.1 \ mysql.server.1 mysql_convert_table_format.1 mysql_fix_extensions.1 \ mysql_install_db.1 mysql_plugin.1 mysql_secure_installation.1 mysql_setpermission.1 \ mysql_tzinfo_to_sql.1 mysql_upgrade.1 mysql_zap.1 mysqlbug.1 \ mysqld_multi.1 mysqld_safe.1 mysqldumpslow.1 mysqlhotcopy.1 mysqlman.1 \ mysqltest.1 perror.1 replace.1 resolve_stack_dump.1 resolveip.1 post-patch: @${REINPLACE_CMD} 's/*.1/${MMAN1}/' ${WRKSRC}/man/CMakeLists.txt .include .if ${ARCH} == "armv6" EXTRA_PATCHES+= ${FILESDIR}/extra-patch-config.h.cmake .endif .include Index: head/databases/percona55-server/Makefile =================================================================== --- head/databases/percona55-server/Makefile (revision 444323) +++ head/databases/percona55-server/Makefile (revision 444324) @@ -1,94 +1,94 @@ # $FreeBSD$ PORTNAME?= percona DISTVERSION= 5.5.54-38.6 PORTREVISION?= 0 CATEGORIES= databases ipv6 MASTER_SITES= http://www.percona.com/downloads/Percona-Server-5.5/Percona-Server-${DISTVERSION}/source/tarball/ PKGNAMESUFFIX?= 55-server DISTNAME= percona-server-${DISTVERSION} MAINTAINER= flo@FreeBSD.org COMMENT?= Multithreaded SQL database (server) SLAVEDIRS= databases/percona55-client -USES= bison cmake readline shebangfix +USES= bison cmake:noninja readline shebangfix CXXFLAGS+= ${CPPFLAGS} OPTIONS_DEFINE= OPENSSL FASTMTX OPTIONS_DEFAULT= OPENSSL FASTMTX_DESC= Replace mutexes with spinlocks DATADIR= ${PREFIX}/share/mysql CMAKE_ARGS+= -DINSTALL_DOCDIR="share/doc/mysql" \ -DINSTALL_DOCREADMEDIR="share/doc/mysql" \ -DINSTALL_INCLUDEDIR="include/mysql" \ -DINSTALL_INFODIR="info" \ -DINSTALL_LIBDIR="lib/mysql" \ -DINSTALL_MANDIR="man" \ -DINSTALL_MYSQLDATADIR="/var/db/mysql" \ -DINSTALL_MYSQLSHAREDIR="share/mysql" \ -DINSTALL_MYSQLTESTDIR="share/mysql/tests" \ -DINSTALL_PLUGINDIR="lib/mysql/plugin" \ -DINSTALL_SBINDIR="libexec" \ -DINSTALL_SCRIPTDIR="bin" \ -DINSTALL_SHAREDIR="share" \ -DINSTALL_SQLBENCHDIR="share/mysql" \ -DINSTALL_SUPPORTFILESDIR="share/mysql" \ -DWITH_LIBEDIT=0 \ -DWITH_LIBWRAP=1 \ -DHAVE_PAM=0 \ -DWITH_UNIT_TESTS=0 \ -DENABLE_DTRACE=OFF SHEBANG_FILES= scripts/*.pl* scripts/*.sh .include .if ${PORT_OPTIONS:MOPENSSL} CMAKE_ARGS+= -DWITH_SSL=bundled .endif .if ${PORT_OPTIONS:MFASTMTX} CMAKE_ARGS+= -DWITH_FAST_MUTEXES=1 .endif # MySQL-Server part .if !defined(CLIENT_ONLY) USES+=mysql:55p CONFLICTS_INSTALL= mysql*-server-* \ mariadb*-server-* \ percona5[0-46-9]-server-* USE_RC_SUBR= mysql-server USERS= mysql GROUPS= mysql INFO= mysql MANPAGES= my_print_defaults.1 myisam_ftdump.1 myisamchk.1 myisamlog.1 myisampack.1 \ mysql.server.1 mysql_convert_table_format.1 mysql_fix_extensions.1 \ mysql_install_db.1 mysql_plugin.1 mysql_secure_installation.1 mysql_setpermission.1 \ mysql_tzinfo_to_sql.1 mysql_upgrade.1 mysql_zap.1 mysqlbug.1 \ mysqld_multi.1 mysqld_safe.1 mysqldumpslow.1 mysqlhotcopy.1 mysqlman.1 \ mysqltest.1 perror.1 replace.1 resolve_stack_dump.1 resolveip.1 CMAKE_ARGS+= -DWITH_EMBEDDED_SERVER="ON" post-install: @${MKDIR} ${STAGEDIR}/var/db/mysql .endif post-patch: @${REINPLACE_CMD} 's/*.1/${MANPAGES}/' ${WRKSRC}/man/CMakeLists.txt .include .if ${ARCH} == "arm" BROKEN= Does not compile on arm .endif .include Index: head/databases/percona56-server/Makefile =================================================================== --- head/databases/percona56-server/Makefile (revision 444323) +++ head/databases/percona56-server/Makefile (revision 444324) @@ -1,107 +1,107 @@ # Created by: Alex Dupre # $FreeBSD$ PORTNAME?= percona DISTVERSION= 5.6.35-80.0 PORTREVISION?= 1 CATEGORIES= databases ipv6 MASTER_SITES= http://www.percona.com/downloads/Percona-Server-5.6/Percona-Server-${DISTVERSION}/source/tarball/ PKGNAMESUFFIX?= 56-server DISTNAME= percona-server-${DISTVERSION} MAINTAINER= flo@FreeBSD.org COMMENT?= Multithreaded SQL database (server) NOT_FOR_ARCHS= powerpc64 NOT_FOR_ARCHS_REASON= unsupported platform SLAVEDIRS= databases/percona56-client \ databases/percona-pam-for-mysql -USES= bison cmake perl5 shebangfix +USES= bison cmake:noninja perl5 shebangfix OPTIONS_DEFINE= OPENSSL FASTMTX INNODBMEMCACHED TOKUDB OPTIONS_DEFAULT= OPENSSL INNODBMEMCACHED OPTIONS_SUB= yes FASTMTX_DESC= Replace mutexes with spinlocks FASTMTX_CMAKE_ON= -DWITH_FAST_MUTEXES=1 INNODBMEMCACHED_DESC= InnoDB Memcached plugin INNODBMEMCACHED_CMAKE_ON= -DWITH_INNODB_MEMCACHED=1 OPENSSL_CMAKE_ON= -DWITH_SSL=bundled TOKUDB_DESC= TokuDB Engine (experimental) TOKUDB_CMAKE_ON= -DUSE_CTAGS=0 TOKUDB_EXTRA_PATCHES=${PATCHDIR}/extrapatch-tokudb DATADIR= ${PREFIX}/share/mysql CMAKE_ARGS+= -DINSTALL_DOCDIR="share/doc/mysql" \ -DINSTALL_DOCREADMEDIR="share/doc/mysql" \ -DINSTALL_INCLUDEDIR="include/mysql" \ -DINSTALL_INFODIR="info" \ -DINSTALL_LIBDIR="lib/mysql" \ -DINSTALL_MANDIR="man" \ -DINSTALL_MYSQLDATADIR="/var/db/mysql" \ -DINSTALL_MYSQLSHAREDIR="share/mysql" \ -DINSTALL_MYSQLTESTDIR="share/mysql/tests" \ -DINSTALL_PLUGINDIR="lib/mysql/plugin" \ -DINSTALL_SBINDIR="libexec" \ -DINSTALL_SCRIPTDIR="bin" \ -DINSTALL_SHAREDIR="share" \ -DINSTALL_SQLBENCHDIR="share/mysql" \ -DINSTALL_SUPPORTFILESDIR="share/mysql" \ -DWITH_EDITLINE=system \ -DWITH_LIBWRAP=1 SHEBANG_FILES= scripts/*.pl* scripts/*.sh .ifdef USE_MYSQL .error You have `USE_MYSQL' variable defined either in environment or in make(1) arguments. Please undefine and try again. .endif .ifdef CLIENT_ONLY # Client part USES+= libedit .elifdef PLUGIN_ONLY # For building plugins (percona-pam-for-mysql, etc) # Currently do nothing special USES+= libedit .else # MySQL-Server part USES+=mysql:56p CONFLICTS_INSTALL= mysql*-server-* \ mariadb*-server-* \ percona5[0-57-9]-server-* USE_RC_SUBR= mysql-server USERS= mysql GROUPS= mysql INFO= mysql MANPAGES= my_print_defaults.1 myisam_ftdump.1 myisamchk.1 myisamlog.1 myisampack.1 \ mysql.server.1 mysql_convert_table_format.1 mysql_fix_extensions.1 \ mysql_install_db.1 mysql_plugin.1 mysql_secure_installation.1 mysql_setpermission.1 \ mysql_tzinfo_to_sql.1 mysql_upgrade.1 mysql_zap.1 mysqlbug.1 \ mysqld_multi.1 mysqld_safe.1 mysqldumpslow.1 mysqlhotcopy.1 mysqlman.1 \ mysqltest.1 perror.1 replace.1 resolve_stack_dump.1 resolveip.1 CMAKE_ARGS+= -DWITH_EMBEDDED_SERVER="ON" post-install: @${MKDIR} ${STAGEDIR}/var/db/mysql .endif post-patch: @${REINPLACE_CMD} 's/*.1/${MANPAGES}/' ${WRKSRC}/man/CMakeLists.txt .include .if ${PORT_OPTIONS:MTOKUDB} NOT_FOR_ARCHS= i386 NOT_FOR_ARCHS_REASON= TokuDB not supported on 32-bit platforms, see \ https://github.com/percona/PerconaFT/blob/master/README.md .endif .include Index: head/databases/percona57-server/Makefile =================================================================== --- head/databases/percona57-server/Makefile (revision 444323) +++ head/databases/percona57-server/Makefile (revision 444324) @@ -1,147 +1,147 @@ # Created by: Mark Felder # $FreeBSD$ PORTNAME?= percona DISTVERSION= 5.7.16-10 PORTREVISION?= 4 CATEGORIES= databases ipv6 MASTER_SITES= http://www.percona.com/downloads/Percona-Server-5.7/Percona-Server-${DISTVERSION}/source/tarball/:percona \ SF/boost/boost/1.59.0:boost PKGNAMESUFFIX?= 57-server DISTNAME= percona-server-${DISTVERSION} DISTFILES= percona-server-${DISTVERSION}${EXTRACT_SUFX}:percona \ boost_1_59_0${EXTRACT_SUFX}:boost MAINTAINER= feld@FreeBSD.org COMMENT?= Multithreaded SQL database (server) LICENSE?= GPLv2+ LIB_DEPENDS= libevent.so:devel/libevent \ liblz4.so:archivers/liblz4 BROKEN_powerpc64= Does not build SLAVEDIRS= databases/percona57-client \ databases/percona57-pam-for-mysql -USES= bison:build cmake compiler:c11 compiler:c++11-lib \ +USES= bison:build cmake:noninja compiler:c11 compiler:c++11-lib \ cpe libedit localbase perl5 shebangfix MY_DBDIR= /var/db/mysql MY_SECDIR= /var/db/mysql_secure MY_TMPDIR= /var/db/mysql_tmpdir DATADIR= ${LOCALBASE}/share/mysql DOCSDIR= ${LOCALBASE}/share/doc/mysql CMAKE_ARGS+= -DINSTALL_LAYOUT=FREEBSD \ -DINSTALL_DOCDIR="share/doc/mysql" \ -DINSTALL_LDCONFIGDIR="${LOCALBASE}/libdata/ldconfig" \ -DINSTALL_PKGCONFIGDIR="${LOCALBASE}/libdata/pkgconfig" \ -DINSTALL_DOCREADMEDIR="share/doc/mysql" \ -DINSTALL_INCLUDEDIR="include/mysql" \ -DINSTALL_INFODIR="info" \ -DINSTALL_LIBDIR="lib/mysql" \ -DINSTALL_MANDIR="man" \ -DINSTALL_MYSQLDATADIR="/var/db/mysql" \ -DINSTALL_SECURE_FILE_PRIVDIR="${MY_SECDIR}" \ -DINSTALL_MYSQLSHAREDIR="share/mysql" \ -DINSTALL_MYSQLTESTDIR="share/mysql/tests" \ -DINSTALL_PLUGINDIR="lib/mysql/plugin" \ -DINSTALL_SBINDIR="libexec" \ -DINSTALL_SCRIPTDIR="bin" \ -DINSTALL_SHAREDIR="share" \ -DINSTALL_SQLBENCHDIR="share/mysql" \ -DINSTALL_SUPPORTFILESDIR="share/mysql" \ -DWITH_UNIT_TESTS=0 \ -DWITH_EDITLINE=system \ -DWITH_LIBWRAP=0 \ -DWITH_LZ4=system \ -DWITH_ZLIB=system \ -DINSTALL_MYSQLTESTDIR=0 \ -DWITH_BOOST="${WRKDIR}/boost_1_59_0" SHEBANG_FILES= scripts/*.pl* scripts/*.sh .ifdef USE_MYSQL .error You have `USE_MYSQL' variable defined either in environment or in make(1) arguments. Please undefine and try again. .endif SUB_LIST= MY_DBDIR=${MY_DBDIR} \ MY_SECDIR=${MY_SECDIR} \ MY_TMPDIR=${MY_TMPDIR} PLIST_SUB= MY_DBDIR=${MY_DBDIR} \ MY_SECDIR=${MY_SECDIR} \ MY_TMPDIR=${MY_TMPDIR} .ifdef CLIENT_ONLY # Client part USES+= libedit .elifdef PLUGIN_ONLY # For building plugins (percona-pam-for-mysql, etc) # Currently do nothing special USES+= libedit .else # MySQL-Server part OPTIONS_DEFINE= OPENSSL FASTMTX INNODBMEMCACHED TOKUDB OPTIONS_DEFAULT= OPENSSL INNODBMEMCACHED OPTIONS_SUB= yes FASTMTX_DESC= Replace mutexes with spinlocks FASTMTX_CMAKE_ON= -DWITH_FAST_MUTEXES=1 INNODBMEMCACHED_DESC= InnoDB Memcached plugin INNODBMEMCACHED_CMAKE_ON= -DWITH_INNODB_MEMCACHED=1 OPENSSL_CMAKE_ON= -DWITH_SSL=system OPENSSL_USES= ssl TOKUDB_DESC= TokuDB Engine (experimental) TOKUDB_CMAKE_ON= -DUSE_CTAGS=0 TOKUDB_EXTRA_PATCHES=${PATCHDIR}/extrapatch-tokudb USES+=mysql:57p CONFLICTS_INSTALL= mysql*-server-* \ mariadb*-server-* \ percona5[0-68-9]-server-* USE_RC_SUBR= mysql-server USERS= mysql GROUPS= mysql INFO= mysql USE_LDCONFIG+= ${PREFIX}/lib/mysql/plugin MANPAGES= my_print_defaults.1 myisam_ftdump.1 myisamchk.1 myisamlog.1 myisampack.1 \ mysql.server.1 mysql_convert_table_format.1 mysql_fix_extensions.1 \ mysql_install_db.1 mysql_plugin.1 mysql_secure_installation.1 mysql_setpermission.1 \ mysql_tzinfo_to_sql.1 mysql_upgrade.1 mysql_zap.1 mysqlbug.1 \ mysqld_multi.1 mysqld_safe.1 mysqldumpslow.1 mysqlhotcopy.1 mysqlman.1 \ mysqltest.1 perror.1 replace.1 resolve_stack_dump.1 resolveip.1 CMAKE_ARGS+= -DWITH_EMBEDDED_SERVER="ON" post-install: ${MKDIR} ${STAGEDIR}/var/db/mysql ${MKDIR} ${STAGEDIR}${ETCDIR}/keyring ${MKDIR} ${STAGEDIR}${MY_SECDIR} ${MKDIR} ${STAGEDIR}${MY_TMPDIR} .endif post-patch: @${REINPLACE_CMD} 's/*.1/${MANPAGES}/' ${WRKSRC}/man/CMakeLists.txt .include .if ${ARCH} == "arm" BROKEN= Does not compile on arm .endif .if ${PORT_OPTIONS:MTOKUDB} NOT_FOR_ARCHS= i386 NOT_FOR_ARCHS_REASON= TokuDB not supported on 32-bit platforms, see \ https://github.com/percona/PerconaFT/blob/master/README.md .endif .include Index: head/databases/tarantool/Makefile =================================================================== --- head/databases/tarantool/Makefile (revision 444323) +++ head/databases/tarantool/Makefile (revision 444324) @@ -1,59 +1,59 @@ # Created by: Veniamin Gvozdikov # $FreeBSD$ PORTNAME= tarantool PORTVERSION= 1.7.4.0 CATEGORIES= databases MASTER_SITES= http://download.tarantool.org/tarantool/1.7/src/ MAINTAINER= vg@FreeBSD.org COMMENT= NoSQL database running in a Lua application server LICENSE= BSD2CLAUSE NOT_FOR_ARCHS= armv6 powerpc64 sparc64 NOT_FOR_ARCHS_REASON= fails to build: Unsupported architecture MAKE_JOBS_UNSAFE=yes -USES= cmake compiler:c++11-lang gettext gmake perl5 readline +USES= cmake:noninja compiler:c++11-lang gettext gmake perl5 readline USE_LDCONFIG= yes USE_RC_SUBR= ${PORTNAME} SUB_FILES= pkg-message TT_DATADIR?= /var/db/tarantool TT_RUNDIR?= /var/run/tarantool TT_LOGDIR?= /var/log/tarantool CMAKE_ARGS= -DCMAKE_INSTALL_FULL_SYSCONFDIR=${ETCDIR} \ -DCMAKE_INSTALL_LOCALSTATEDIR=/var \ -DCMAKE_INSTALL_MANDIR=${MANPREFIX}/man \ -DENABLE_DIST=ON USERS= tarantool GROUPS= tarantool SUB_LIST+= PORTNAME=${PORTNAME} \ TT_USER=${USERS} \ TT_DATADIR=${TT_DATADIR} \ TT_LOGDIR=${TT_LOGDIR} \ TT_RUNDIR=${TT_RUNDIR} PLIST_SUB+= TT_USER=${USERS} \ TT_GROUP=${GROUPS} \ TT_LOGDIR=${TT_LOGDIR} \ TT_DATADIR=${TT_DATADIR} \ TT_RUNDIR=${TT_RUNDIR} OPTIONS_DEFINE= DEBUG .include .if ${PORT_OPTIONS:MDEBUG} CMAKE_BUILD_TYPE= RelWithDebugInfo CMAKE_ARGS+= -DENABLE_BACKTRACE=ON .else CMAKE_BUILD_TYPE= Rel CMAKE_ARGS+= -DENABLE_BACKTRACE=OFF .endif .include Index: head/databases/xtrabackup/Makefile =================================================================== --- head/databases/xtrabackup/Makefile (revision 444323) +++ head/databases/xtrabackup/Makefile (revision 444324) @@ -1,39 +1,39 @@ # Created by: Alex Samorukov # $FreeBSD$ PORTNAME= xtrabackup PORTVERSION= 2.3.6 CATEGORIES= databases MASTER_SITES= https://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-${PORTVERSION}/source/tarball/ DISTNAME= percona-${PORTNAME}-${PORTVERSION} MAINTAINER= aleksandr.kuzminsky@percona.com COMMENT= OpenSource version of InnoDB backup with support of Percona extensions LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING # quilt is required by build.sh BUILD_DEPENDS= bash:shells/bash \ cmake:devel/cmake \ bison:devel/bison \ xxd:editors/vim-lite LIB_DEPENDS= libev.so:devel/libev \ libgcrypt.so:security/libgcrypt \ libgpg-error.so:security/libgpg-error RUN_DEPENDS= p5-DBD-mysql>=0:databases/p5-DBD-mysql \ qpress:archivers/qpress BROKEN_armv6= fails to compile: cannot combine with previous 'type-name' declaration specifier BROKEN_mips64= fails to compile: 'fpsetmask' was not declared in this scope BROKEN_powerpc64= fails to link: ld: final link failed: Bad value # autotool is in use for 5.1 builds -USES= alias autoreconf:build cpe gettext cmake libtool perl5 shebangfix +USES= alias autoreconf:build cpe gettext cmake:noninja libtool perl5 shebangfix CPE_VENDOR= percona SHEBANG_FILES= storage/innobase/xtrabackup/xbcloud_osenv.sh PLIST_FILES= bin/xtrabackup bin/xbstream bin/innobackupex bin/xbcrypt \ bin/xbcloud bin/xbcloud_osenv .include Index: head/deskutils/kdeconnect/Makefile =================================================================== --- head/deskutils/kdeconnect/Makefile (revision 444323) +++ head/deskutils/kdeconnect/Makefile (revision 444324) @@ -1,17 +1,17 @@ # $FreeBSD$ PORTNAME= kdeconnect-kde PORTVERSION= 0.7.2 PORTREVISION= 3 CATEGORIES= deskutils MASTER_SITES= KDE/unstable/kdeconnect/${PORTVERSION}/src/ MAINTAINER= yurkis@gmail.com COMMENT= Support for KDE to interface between your phone and your computer -USES= cmake compiler:c++0x gettext kde:4 tar:xz +USES= cmake:noninja compiler:c++0x gettext kde:4 tar:xz USE_KDE= kdelibs automoc4 workspace runtime USE_QT4= corelib gui moc_build qmake_build uic_build rcc_build USE_LDCONFIG= yes .include Index: head/deskutils/kdepim4/Makefile =================================================================== --- head/deskutils/kdepim4/Makefile (revision 444323) +++ head/deskutils/kdepim4/Makefile (revision 444324) @@ -1,57 +1,57 @@ # Created by: Martin Wilke # $FreeBSD$ PORTNAME= kdepim PORTVERSION= ${KDE4_KDEPIM_VERSION} PORTREVISION= 7 CATEGORIES= deskutils kde MASTER_SITES= KDE/${KDE4_APPLICATIONS_BRANCH}/applications/${KDE4_APPLICATIONS_VERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE PIM applications LIB_DEPENDS= libgpgme.so:security/gpgme \ libassuan.so:security/libassuan \ libsasl2.so:security/cyrus-sasl2 \ libboost_thread.so:devel/boost-libs \ libkgapi2.so:devel/libkgapi RUN_DEPENDS= ${KDE_PREFIX}/bin/accountwizard:deskutils/kdepim4-runtime \ ${LOCALBASE}/bin/gmd5sum:sysutils/coreutils CONFLICTS_INSTALL= kdepim44-4.* USE_GNOME= libxml2 libxslt:build USE_KDE= kdelibs pimlibs kactivities \ akonadi automoc4 soprano nepomuk-widgets baloo -USES= cmake:outsource gmake grantlee:4 iconv kde:4 shebangfix tar:xz +USES= cmake:outsource grantlee:4 iconv kde:4 shebangfix tar:xz SHEBANG_FILES= agents/mailfilteragent/kconf_update/migrate-kmail-filters.pl \ kalarm/*.pl kmail/kconf_update/*.pl \ libkpgp/kconf_update/kpgp-3.1-upgrade-address-data.pl USE_OPENLDAP= yes USE_QT4= corelib dbus declarative designer_build gui network opengl \ qt3support script sql webkit xml \ qmake_build moc_build rcc_build uic_build USE_XORG= x11 xscrnsaver CMAKE_ARGS+= -DKDEPIM_BUILD_MOBILE:BOOL=FALSE # Avoids Clang error: # https://git.reviewboard.kde.org/r/108617 CXXFLAGS+= -Wno-error=return-type USE_LDCONFIG= yes MAKE_ENV= XDG_CONFIG_HOME=/dev/null post-patch: # Remove BOM ${REINPLACE_CMD} -e '1 s|^.*/|/|g' \ ${WRKSRC}/knotes/configdialog/knotecollectionconfigwidget.cpp # net-im/kopete-kde4 needs Kleopatra's headers for its Cryptography plugin. post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/include/kde4/kleo ${INSTALL_DATA} ${WRKSRC}/libkleo/kleo/*.h \ ${STAGEDIR}${PREFIX}/include/kde4/kleo ${MKDIR} ${STAGEDIR}${PREFIX}/include/kde4/kleo/ui ${INSTALL_DATA} ${WRKSRC}/libkleo/ui/*.h \ ${STAGEDIR}${PREFIX}/include/kde4/kleo/ui .include Index: head/deskutils/owncloudclient/Makefile =================================================================== --- head/deskutils/owncloudclient/Makefile (revision 444323) +++ head/deskutils/owncloudclient/Makefile (revision 444324) @@ -1,48 +1,48 @@ # Created by: Mathieu Arnold # $FreeBSD$ PORTNAME= owncloudclient PORTVERSION= 2.3.2 DISTVERSIONPREFIX= v CATEGORIES= deskutils MAINTAINER= yonas@fizk.net COMMENT= OwnCloud Desktop Syncing Client LICENSE= GPLv2 LIB_DEPENDS= libinotify.so:devel/libinotify \ libqt5keychain.so:security/qtkeychain-qt5 -USES= cmake:outsource compiler:c++11-lib gmake iconv \ +USES= cmake:outsource,noninja compiler:c++11-lib gmake iconv \ localbase:ldflags pkgconfig sqlite ssl USE_QT5= buildtools_build concurrent core dbus gui linguist_build network \ qmake_build sql webkit widgets xml CMAKE_ARGS= -DBUILD_WITH_QT4:BOOL=OFF \ -DCMAKE_INSTALL_MANDIR:STRING=man \ -DWITH_STACK_PROTECTOR:BOOL=OFF USE_LDCONFIG= yes INSTALLS_ICONS= yes USE_GITHUB= yes GH_ACCOUNT= owncloud GH_PROJECT= client OPTIONS_DEFINE= DEBUG DOCS DOCS_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx DOCS_USE= tex=dvipsk:build,latex:build DOCS_CMAKE_ON= -DWITH_DOC:BOOL=ON DEBUG_CMAKE_ON= -DCMAKE_BUILD_TYPE:STRING=Debug PLIST_SUB= VERSION=${PORTVERSION} post-patch: @${REINPLACE_CMD} -e \ 's|.lst |.lst.sample |' ${WRKSRC}/CMakeLists.txt pre-configure: @(cd ${WRKSRC} && ${CP} -f sync-exclude.lst sync-exclude.lst.sample) .include Index: head/devel/bullet/Makefile =================================================================== --- head/devel/bullet/Makefile (revision 444323) +++ head/devel/bullet/Makefile (revision 444324) @@ -1,35 +1,36 @@ # Created by: Jose Alonso Cardenas Marquez # $FreeBSD$ PORTNAME= bullet PORTVERSION= 2.83.7 PORTREVISION= 2 CATEGORIES= devel MAINTAINER= acm@FreeBSD.org COMMENT= 3D collision detection and rigid body dynamics library LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/LICENSE.txt USE_GITHUB= yes GH_ACCOUNT= bulletphysics GH_PROJECT= bullet3 USES= cmake compiler:c++11-lang USE_GL= gl glu glut USE_LDCONFIG= yes USE_XORG= x11 CMAKE_ARGS= -DBUILD_SHARED_LIBS:BOOL=ON \ + -DINSTALL_LIBS:BOOL=ON \ -DBUILD_BULLET2_DEMOS:BOOL=OFF PORTDOCS= * OPTIONS_DEFINE= DOCS post-install-DOCS-on: @${MKDIR} ${STAGEDIR}/${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/*.pdf ${STAGEDIR}/${DOCSDIR} .include Index: head/devel/compiler-rt/Makefile =================================================================== --- head/devel/compiler-rt/Makefile (revision 444323) +++ head/devel/compiler-rt/Makefile (revision 444324) @@ -1,81 +1,80 @@ # Created by: Brooks Davis # $FreeBSD$ PORTNAME= compiler-rt DISTVERSION= 0.r${SVN_REV} CATEGORIES= devel MASTER_SITES= LOCAL/brooks MAINTAINER= brooks@FreeBSD.org COMMENT= Compiler runtime library with Blocks support BUILD_DEPENDS= cmake:devel/cmake BROKEN_powerpc64= does not build: undefined reference to fmax CONFIGURE_WRKSRC= ${WRKDIR}/build BUILD_WRKSRC= ${WRKDIR}/build INSTALL_WRKSRC= ${WRKDIR}/build CMAKE_SOURCE_PATH= ${WRKSRC} USES= cmake tar:bzip2 USE_LDCONFIG= yes -MAKE_ARGS= VERBOSE=1 LLVM_SVN= http://llvm.org/svn/llvm-project # fixuns?fti_test tests fail # powi?f2_test tests fail to link due to lack of -lm BROKEN_TESTS?= fixunsdfti_test \ fixunssfti_test \ powidf2_test \ powisf2_test \ powixf2_test PLIST_FILES= include/Block.h \ include/Block_private.h \ lib/libBlocksRuntime.so .include .if ${ARCH} == "i386" CFLAGS+= -march=i486 .elif ${ARCH} == "powerpc" BROKEN= Does not compile on powerpc .endif .if defined(BOOTSTRAP) SVN_REV!= svn info ${LLVM_SVN}/ | ${GREP} Revision | cut -d' ' -f2 .else .include "Makefile.svn_rev" .endif .if defined(BOOTSTRAP) FETCH_DEPENDS+= svn:devel/subversion do-fetch: ${MKDIR} ${WRKDIR} svn export -r ${SVN_REV} \ ${LLVM_SVN}/compiler-rt/trunk ${WRKSRC} cd ${WRKDIR}; tar cvfy ${DISTDIR}/${DISTNAME}.tar.bz2 ${DISTNAME} echo "SVN_REV= ${SVN_REV}" > ${MASTERDIR}/Makefile.svn_rev .if ${USER} == brooks scp ${DISTDIR}/${DISTNAME}.tar.bz2 \ freefall.freebsd.org:public_distfiles/ .endif .endif post-extract: ${MKDIR} ${CONFIGURE_WRKSRC} post-patch: .for test in ${BROKEN_TESTS} ${REINPLACE_CMD} -e 's/\(MACRO_ADD_CHECK_TEST( ${test}\)/# \1/' \ ${WRKSRC}/test/CMakeLists.txt .endfor regression-test: cd ${BUILD_WRKSRC} && make test .include Index: head/devel/doxygen/Makefile =================================================================== --- head/devel/doxygen/Makefile (revision 444323) +++ head/devel/doxygen/Makefile (revision 444324) @@ -1,68 +1,68 @@ # Created by: Joep Grooten # $FreeBSD$ PORTNAME= doxygen PORTVERSION= 1.8.13 PORTEPOCH= 2 CATEGORIES= devel MASTER_SITES= ftp://ftp.stack.nl/pub/users/dimitri/ \ http://ftp.stack.nl/pub/users/dimitri/ EXTRACT_SUFX= .src.tar.gz MAINTAINER= cyberbotx@cyberbotx.com COMMENT= Documentation system for C, C++, and other languages LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= bison cmake:outsource iconv python:2 shebangfix +USES= bison cmake:outsource,noninja iconv python:2 shebangfix ALL_TARGET= all CMAKE_ARGS+= -DDOC_INSTALL_DIR:PATH=${DOCSDIR_REL} # Parallel jobs breaks when the DOCS option is on MAKE_JOBS_UNSAFE= yes EXTRACT_AFTER_ARGS= --exclude '*/libmd5' PLIST_FILES= bin/doxygen OPTIONS_DEFINE= DOCS GRAPHVIZ LATEX SEARCH OPTIONS_DEFAULT= GRAPHVIZ LATEX OPTIONS_RADIO= DOXYWIZARD OPTIONS_RADIO_DOXYWIZARD= QT4 QT5 QT4_DESC= Install Doxywizard GUI with Qt4 QT5_DESC= Install Doxywizard GUI with Qt5 SEARCH_DESC= Build external search tools (doxysearch and doxyindexer) DOCS_USES= ghostscript:build DOCS_ALL_TARGET= docs DOCS_BUILD_DEPENDS= dot:graphics/graphviz DOCS_CMAKE_BOOL= build_doc DOCS_PLIST_FILES= man/man1/doxygen.1.gz \ man/man1/doxyindexer.1.gz \ man/man1/doxysearch.1.gz \ man/man1/doxywizard.1.gz DOCS_IMPLIES= LATEX PORTDOCS= * GRAPHVIZ_RUN_DEPENDS= dot:graphics/graphviz LATEX_USE= TEX=base,dvipsk,pdftex QT4_USE= QT4=corelib,gui,xml,qmake_build,moc_build,rcc_build,uic_build QT4_CMAKE_ON= -Dbuild_wizard:BOOLEAN=true -Dforce_qt4:BOOLEAN=true QT4_PLIST_FILES= bin/doxywizard QT5_USE= QT5=core,widgets,gui,xml,qmake_build,buildtools_build QT5_CMAKE_ON= -Dbuild_wizard:BOOLEAN=true QT5_PLIST_FILES= bin/doxywizard SEARCH_CMAKE_BOOL= build_search SEARCH_LIB_DEPENDS= libxapian.so:databases/xapian-core SEARCH_PLIST_FILES= bin/doxyindexer \ bin/doxysearch.cgi post-patch: @${REINPLACE_CMD} -e '/PERL_PATH/ s|/usr/bin/perl|${perl_CMD}|' \ ${WRKSRC}/src/config.xml .include Index: head/devel/flang/Makefile =================================================================== --- head/devel/flang/Makefile (revision 444323) +++ head/devel/flang/Makefile (revision 444324) @@ -1,61 +1,61 @@ # Created by: Johannes M Dieterich # $FreeBSD$ PORTNAME= flang DISTVERSION= 3.9-20170522 PORTREVISION= 1 CATEGORIES= devel MAINTAINER= jmd@FreeBSD.org COMMENT= Fortran compiler targeting LLVM LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= llvm39>=0:devel/llvm39 \ openmp>=0:devel/openmp \ flang-clang>=0:devel/flang-clang RUN_DEPENDS= llvm39>=0:devel/llvm39 \ openmp>=0:devel/openmp \ flang-clang>=0:devel/flang-clang ONLY_FOR_ARCHS= amd64 ONLY_FOR_ARCHS_REASON_amd64= for now only builds and is supported on amd64 OPTIONS_DEFINE= TESTS TESTS_DESC= build unit tests for flang USE_LDCONFIG= ${PREFIX}/flang/lib -USES= cmake:outsource compiler:c++11-lib libedit perl5 tar:xz \ +USES= cmake:outsource,noninja compiler:c++11-lib libedit perl5 tar:xz \ shebangfix _USES_PYTHON?= python:build USES+= ${_USES_PYTHON} USE_GITHUB= yes GH_ACCOUNT= flang-compiler GH_TAGNAME= 5af07d4 CMAKE_ARGS+= -DLLVM_CONFIG=${LOCALBASE}/bin/llvm-config39 \ -DCMAKE_CXX_COMPILER=${LOCALBASE}flang/bin/clang++ \ -DCMAKE_C_COMPILER=${LOCALBASE}/flang/bin/clang \ -DCMAKE_Fortran_COMPILER=${LOCALBASE}/flang/bin/flang CMAKE_INSTALL_PREFIX= ${PREFIX}/flang .include .if ${PORT_OPTIONS:MTESTS} CMAKE_ARGS+= -DFLANG_INCLUDE_TESTS=ON .endif MAKE_JOBS_UNSAFE= yes post-patch: @${CP} -r ${WRKSRC}/tools/flang2/flang2exe/x86_64-Linux ${WRKSRC}/tools/flang2/flang2exe/x86_64-FreeBSD post-install: @${SED} -e 's|%%PREFIX%%|${PREFIX}|g' \ < ${FILESDIR}/flang.in > \ ${WRKDIR}/flang ${INSTALL_SCRIPT} ${WRKDIR}/flang ${STAGEDIR}/${PREFIX}/bin/flang .include Index: head/devel/flang-clang/Makefile =================================================================== --- head/devel/flang-clang/Makefile (revision 444323) +++ head/devel/flang-clang/Makefile (revision 444324) @@ -1,42 +1,42 @@ # Created by: Johannes M Dieterich # $FreeBSD$ PORTNAME= flang-clang DISTVERSION= 3.9-20170518 CATEGORIES= devel lang MAINTAINER= jmd@FreeBSD.org COMMENT= Fortran compiler targeting LLVM (modified clang part) LICENSE= LLVM LICENSE_NAME= LLVM Release License LICENSE_FILE= ${WRKSRC}/LICENSE.TXT LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept BUILD_DEPENDS= llvm39>=0:devel/llvm39 \ openmp>=0:devel/openmp RUN_DEPENDS= llvm39>=0:devel/llvm39 \ openmp>=0:devel/openmp USE_LDCONFIG= ${PREFIX}/flang/lib -USES= cmake:outsource compiler:c++11-lib libedit ninja tar:xz perl5 \ +USES= cmake:outsource compiler:c++11-lib libedit tar:xz perl5 \ python shebangfix USE_GNOME+= libxml2 SHEBANG_FILES= tools/scan-view/bin/scan-view \ tools/clang-format/git-clang-format \ tools/clang-format/clang-format-diff.py USE_GITHUB= yes GH_ACCOUNT= flang-compiler GH_PROJECT= clang GH_TAGNAME= edf56fd CMAKE_ARGS+= -DLLVM_CONFIG=${LOCALBASE}/bin/llvm-config39 CMAKE_INSTALL_PREFIX= ${PREFIX}/flang post-install: @${GZIP_CMD} ${STAGEDIR}/${PREFIX}/flang/man/man1/scan-build.1 .include Index: head/devel/kapptemplate/Makefile =================================================================== --- head/devel/kapptemplate/Makefile (revision 444323) +++ head/devel/kapptemplate/Makefile (revision 444324) @@ -1,16 +1,16 @@ # $FreeBSD$ PORTNAME= kapptemplate PORTVERSION= ${KDE4_VERSION} PORTREVISION= 1 CATEGORIES= devel kde kde-kde4 MAINTAINER= kde@FreeBSD.org COMMENT= KDE template generator -USES= cmake:outsource gmake kde:4 tar:xz +USES= cmake:outsource kde:4 tar:xz USE_KDE= kdelibs automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build \ corelib dbus declarative .include Index: head/devel/kdevelop-kde4/Makefile =================================================================== --- head/devel/kdevelop-kde4/Makefile (revision 444323) +++ head/devel/kdevelop-kde4/Makefile (revision 444324) @@ -1,42 +1,42 @@ # Created by: Golyashov Sergei # $FreeBSD$ PORTNAME= kdevelop DISTVERSION= ${KDEVELOP_VERSION} PORTREVISION= 2 CATEGORIES= devel kde MASTER_SITES= KDE/${KDEVELOP_BRANCH}/kdevelop/${DISTVERSION} DIST_SUBDIR= KDE/kdevelop/${KDEVELOP_VERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Plugin extensible IDE for KDE LIB_DEPENDS= libkdevplatforminterfaces.so:devel/kdevplatform RUN_DEPENDS= gmake:devel/gmake -USES= cmake:outsource compiler:c++11-lib gmake kde:4 \ +USES= cmake:outsource compiler:c++11-lib kde:4 \ shared-mime-info tar:xz USE_KDE= kdelibs workspace automoc4 USE_QT4= qmake_build moc_build uic_build rcc_build \ corelib declarative gui help script webkit xml OPTIONS_DEFINE= OKTETA PHP NLS OPTIONS_DEFAULT= OKTETA PHP OPTIONS_SUB= yes OKTETA_DESC= Hex editing support via Okteta OKTETA_LIB_DEPENDS= libokteta1core.so:devel/okteta OKTETA_CMAKE_OFF= -DWITH_LibOktetaKasten:BOOL=OFF OKTETA_CMAKE_ON= -DWITH_LibOktetaKasten:BOOL=ON PHP_DESC= PHP support for KDevelop PHP_RUN_DEPENDS= ${KDE_PREFIX}/lib/kde4/kdevphplanguagesupport.so:devel/kdevelop-php NLS_USES= gettext NLS_CMAKE_OFF= -DBUILD_po:BOOL=FALSE post-patch: ${REINPLACE_CMD} -e '/^update_xdg_mimetypes/ d; /SharedMimeInfo/ d' \ ${PATCH_WRKSRC}/app/CMakeLists.txt .include Index: head/devel/kdevelop-php/Makefile =================================================================== --- head/devel/kdevelop-php/Makefile (revision 444323) +++ head/devel/kdevelop-php/Makefile (revision 444324) @@ -1,31 +1,31 @@ # $FreeBSD$ PORTNAME= kdevelop-php PORTVERSION= ${KDEVELOP_VERSION:S/4./1./} PORTREVISION= 2 CATEGORIES= devel kde MASTER_SITES= KDE/${KDEVELOP_BRANCH}/kdevelop/${KDEVELOP_VERSION} DIST_SUBDIR= KDE/kdevelop/${KDEVELOP_VERSION} MAINTAINER= kde@FreeBSD.org COMMENT= PHP support for KDevelop LIB_DEPENDS= libkdevplatforminterfaces.so:devel/kdevplatform BUILD_DEPENDS= ${KDE_PREFIX}/bin/kdev-pg-qt:devel/kdevelop-pg-qt -USES= cmake:outsource compiler:c++11-lib gmake kde:4 tar:xz +USES= cmake:outsource compiler:c++11-lib kde:4 tar:xz USE_KDE= kdelibs automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= PHPDOCS NLS OPTIONS_DEFAULT= PHPDOCS OPTIONS_SUB= yes PHPDOCS_DESC= Integrate with PHP.net documentation PHPDOCS_RUN_DEPENDS= ${KDE_PREFIX}/lib/kde4/kdevphpdocs.so:devel/kdevelop-php-docs NLS_USES= gettext NLS_CMAKE_OFF= -DBUILD_po:BOOL=Off .include Index: head/devel/libzrtpcpp/Makefile =================================================================== --- head/devel/libzrtpcpp/Makefile (revision 444323) +++ head/devel/libzrtpcpp/Makefile (revision 444324) @@ -1,31 +1,31 @@ # Created by: Jose Alonso Cardenas Marquez # $FreeBSD$ PORTNAME= libzrtpcpp PORTVERSION= 2.3.4 PORTREVISION= 8 CATEGORIES= devel MASTER_SITES= GNU/ccrtp MAINTAINER= acm@FreeBSD.org COMMENT= ZRTP extension for GNU ccRTP LIB_DEPENDS= libccrtp.so:devel/ccrtp \ libgcrypt.so:security/libgcrypt -USES= cmake pkgconfig ssl +USES= cmake:noninja pkgconfig ssl CMAKE_ARGS+= -DBUILD_SHARED_LIBS:BOOL=ON \ -DOPENSSL_INCLUDE_DIRS="${OPENSSLINC}" \ -DOPENSSL_LIBDIR="${OPENSSLLIB}" CXXFLAGS+= -I${LOCALBASE}/include -I${OPENSSLINC} LDFLAGS+= -L${LOCALBASE}/lib -L${OPENSSLLIB} USE_LDCONFIG= yes CONFLICTS_BUILD=libzrtpcppcore post-patch: @${FIND} ${WRKSRC}/src -type f | ${XARGS} ${REINPLACE_CMD} -i "" \ -e "s|||" \ -e "s|||" .include Index: head/devel/llvm-cheri/Makefile =================================================================== --- head/devel/llvm-cheri/Makefile (revision 444323) +++ head/devel/llvm-cheri/Makefile (revision 444324) @@ -1,249 +1,249 @@ # $FreeBSD$ PORTNAME= llvm PORTVERSION= ${LLVM_MAJOR}.d${SNAPDATE} PORTREVISION= 2 CATEGORIES= devel lang PKGNAMESUFFIX= ${LLVM_SUFFIX} MAINTAINER= brooks@FreeBSD.org COMMENT= LLVM and Clang with support for the CHERI architecture BROKEN_powerpc64= Does not build LLVM_SUFFIX?= -cheri LLVM_PREFIX= ${PREFIX}/llvm${LLVM_SUFFIX} COMMAND_SUFFIX= ${LLVM_SUFFIX} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${LLVM_SUFFIX} DATADIR= ${PREFIX}/share/${PORTNAME}${LLVM_SUFFIX} -USES= cmake:outsource compiler:c++11-lib libedit ninja perl5 \ +USES= cmake:outsource compiler:c++11-lib libedit perl5 \ shebangfix USE_LDCONFIG= ${LLVM_PREFIX}/lib SHEBANG_FILES= utils/lit/lit.py utils/llvm-lit/llvm-lit.in \ tools/clang/tools/clang-format/git-clang-format \ tools/clang/tools/clang-format/clang-format-diff.py SUB_FILES= llvm-wrapper.sh SUB_LIST= LLVM_PREFIX="${LLVM_PREFIX}" LLVM_SUFFIX="${LLVM_SUFFIX}" CMAKE_INSTALL_PREFIX= ${LLVM_PREFIX} CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON \ -DLLVM_DEFAULT_TARGET_TRIPLE=cheri-unknown-freebsd USE_GITHUB= yes GH_ACCOUNT= CTSRD-CHERI GH_TAGNAME= ${LLVM_COMMIT} .include "Makefile.snapshot" OPTIONS_DEFINE= CLANG DOCS LIT OPTIONS_DEFAULT= CLANG LIT OPTIONS_SUB= yes CLANG_DESC= Build clang CLANG_EXTRA_PATCHES= ${PATCHDIR}/clang-patch-tools_clang_lib_Headers_CMakeLists.txt CLANG_GH_PROJECT= clang:clang CLANG_GH_TAGNAME= ${CLANG_COMMIT}:clang CLANG_PORTDOCS= clang DOCS_PORTDOCS= llvm DOCS_CMAKE_ON= -DLLVM_ENABLE_SPHINX=ON \ -DSPHINX_WARNINGS_AS_ERRORS=OFF \ -DLLVM_BUILD_DOCS=ON DOCS_PLIST_FILES= ${MAN1SRCS:S|^|man/man1/|:S|.1$|${LLVM_SUFFIX}.1.gz|} LIT_DESC= Install lit and FileCheck test tools LLDB_DESC= Install lldb, the LLVM debugger (ignore on 9.x) LLDB_BUILD_DEPENDS= swig:devel/swig13 LLDB_GH_PROJECT= lldb:lldb LLDB_GH_TAGNAME= ${LLDB_COMMIT}:lldb OPTIONS_SUB= yes DOCS_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx LLVM_RELEASE= ${PORTVERSION:C/\.d[0-9]*//} PLIST_SUB+= COMMAND_SUFFIX=${COMMAND_SUFFIX} \ LLVM_RELEASE=${LLVM_RELEASE} \ LLVM_SUFFIX=${LLVM_SUFFIX} COMMANDS= bugpoint \ llc \ lli \ llvm-ar \ llvm-as \ llvm-bcanalyzer \ llvm-config \ llvm-cov \ llvm-diff \ llvm-dis \ llvm-dwarfdump \ llvm-extract \ llvm-link \ llvm-mc \ llvm-mcmarkup \ llvm-nm \ llvm-objdump \ llvm-profdata \ llvm-ranlib \ llvm-readobj \ llvm-rtdyld \ llvm-size \ llvm-stress \ llvm-split \ llvm-symbolizer \ llvm-tblgen \ opt FIRST_COMMAND= ${COMMANDS:C/^/XXXX/1:MXXXX*:C/^XXXX//} STRIP_LIBS= BugpointPasses.so \ LLVMHello.so \ ${LIBNAME}.0 \ libLTO.so .include # keep in sync with /usr/src/lib/clang/clang.build.mk CONFIGURE_TARGET:=${ARCH:C/amd64/x86_64/:C/armv6hf/armv6/}-portbld-${OPSYS:tl}${OSREL} .if ${PORT_OPTIONS:MCLANG} COMMANDS+= clang \ clang++ \ clang-check \ clang-cpp \ clang-format MAN1SRCS+= clang.1 .endif .if ${PORT_OPTIONS:MLIT} MAN1SRCS+= lit.1 FileCheck.1 _USES_PYTHON= python LIT_COMMANDS= lit llvm-lit FileCheck .endif .if ${PORT_OPTIONS:MLLDB} COMMANDS+= argdumper \ lldb \ lldb-mi \ lldb-server _USES_PYTHON= python .endif _USES_PYTHON?= python:build USES+= ${_USES_PYTHON} MAN1SRCS+= bugpoint.1 llc.1 lli.1 llvm-ar.1 llvm-as.1 \ llvm-bcanalyzer.1 llvm-build.1 llvm-config.1 llvm-cov.1 \ llvm-diff.1 llvm-dis.1 llvm-dwarfdump.1 \ llvm-extract.1 llvm-lib.1 llvm-link.1 llvm-nm.1 \ llvm-profdata.1 llvm-readobj.1 llvm-stress.1 llvm-symbolizer.1 \ opt.1 tblgen.1 .include .if ${OPSYS} == "FreeBSD" && ${COMPILER_TYPE} != clang # Evil hack around gcc48 not providing a usable c++11 environment on 9.x PLIST_SUB:= ${PLIST_SUB:NLLDB=*} LLDB="@comment " .endif post-extract-CLANG-on: ${MV} ${WRKSRC_clang} ${PATCH_WRKSRC}/tools/clang post-extract-LLDB-on: .if ${OPSYS} != "FreeBSD" || ${COMPILER_TYPE} == clang ${MV} ${WRKSRC_lldb} ${PATCH_WRKSRC}/tools/lldb .endif post-patch: ${REINPLACE_CMD} -e 's|import lit|import lit${LLVM_SUFFIX}|' \ -e 's|from lit|from lit${LLVM_SUFFIX}|' \ -e 's|lit\.|lit${LLVM_SUFFIX}.|' \ ${WRKSRC}/utils/lit/lit.py ${WRKSRC}/utils/lit/lit/*.py ${REINPLACE_CMD} -e 's,/usr/local/,${LOCALBASE}/,' \ ${WRKSRC}/CMakeLists.txt post-install: ${INSTALL_SCRIPT} ${WRKDIR}/llvm-wrapper.sh \ ${STAGEDIR}${PREFIX}/bin/${COMMAND_PREFIX}${FIRST_COMMAND}${COMMAND_SUFFIX} .for command in ${COMMANDS:C/^/XXXX/1:NXXXX*} ${LN} -f ${STAGEDIR}${PREFIX}/bin/${COMMAND_PREFIX}${FIRST_COMMAND}${COMMAND_SUFFIX} \ ${STAGEDIR}${PREFIX}/bin/${COMMAND_PREFIX}${command}${COMMAND_SUFFIX} .endfor post-install-DOCS-on: ${MV} ${STAGEDIR}${LLVM_PREFIX}/share/doc ${STAGEDIR}${DOCSDIR} .for _man in ${MAN1SRCS} ${MV} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/${_man} \ ${STAGEDIR}${MANPREFIX}/man/man1/${_man:R}${LLVM_SUFFIX}.1 .endfor .if ! ${PORT_OPTIONS:MLIT} ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/lit.1 ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/FileCheck.1 .endif ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/ ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/ post-install-LLDB-on: .if ${OPSYS} != "FreeBSD" || ${COMPILER_TYPE} == clang ${RM} ${STAGEDIR}${LLVM_PREFIX}/lib/python*/site-packages/lib .endif post-install-CLANG-on: ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/clang \ ${STAGEDIR}${LLVM_PREFIX}/bin/clang-cpp post-install-LIT-on: ${INSTALL_SCRIPT} ${PATCH_WRKSRC}/utils/lit/lit.py \ ${STAGEDIR}${LLVM_PREFIX}/bin/lit ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${LLVM_PREFIX}/bin/llvm-lit ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${PREFIX}/bin/${COMMAND_PREFIX}lit${COMMAND_SUFFIX} ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${PREFIX}/bin/${COMMAND_PREFIX}llvm-lit${COMMAND_SUFFIX} ${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX} ${INSTALL_DATA} ${WRKSRC}/utils/lit/lit/*.py \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX} ${INSTALL_PROGRAM} ${WRKDIR}/.build/bin/FileCheck \ ${STAGEDIR}${LLVM_PREFIX}/bin/ ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/FileCheck \ ${STAGEDIR}${PREFIX}/bin/${COMMAND_PREFIX}FileCheck${COMMAND_SUFFIX} TEST_CMD= '(cd ${WRKSRC}/test; ${SETENV} ${MAKE_ENV} LD_LIBRARY_PATH=${WRKSRC}/Release/lib ${MAKE_CMD} check-local-lit)' regression-test: ${BUILD_COOKIE} if [ `${ID} -u` = 0 ]; then \ ${CHOWN} -R nobody ${WRKSRC}/test; \ su -m nobody -c ${TEST_CMD}; \ else \ ${SH} -c ${TEST_CMD}; \ fi build-plist: ${RM} ${PLIST} ${PLIST}.tmp .for command in ${COMMANDS} ${ECHO_CMD} bin/${COMMAND_PREFIX}${command}%%COMMAND_SUFFIX%% >> ${PLIST}.tmp .endfor .for command in ${LIT_COMMANDS} ${ECHO_CMD} %%LIT%%bin/${COMMAND_PREFIX}${command}%%COMMAND_SUFFIX%% >> ${PLIST}.tmp ${ECHO_CMD} %%LIT%%${LLVM_PREFIX:S|${PREFIX}/||:S|${LLVM_SUFFIX}|%%LLVM_SUFFIX%%|}/bin/${command} >> ${PLIST}.tmp .endfor ${FIND} ${STAGEDIR}${LLVM_PREFIX} -type f -o -type l | \ ${GREP} -v '[/-]lit$$' | ${GREP} -v 'FileCheck$$' | \ ${GREP} -v man/man1 | ${SED} -e 's|${STAGEDIR}${PREFIX}/||' \ -e 's|${PORTVERSION}|%%PORTVERSION%%|' \ -e 's|release.cmake|%%CMAKE_BUILD_TYPE%%.cmake|' \ -e 's|${LLVM_RELEASE}|%%LLVM_RELEASE%%|' \ -e 's|${LLVM_SUFFIX}|%%LLVM_SUFFIX%%|' | \ ${SORT} >> ${PLIST}.tmp ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX} -type f | \ ${SED} -e 's|${STAGEDIR}${PYTHON_SITELIBDIR}|%%LIT%%%%PYTHON_SITELIBDIR%%|' \ -e 's|${LLVM_SUFFIX}|%%LLVM_SUFFIX%%|' | \ ${SORT} >> ${PLIST}.tmp awk '{if ($$0 ~ /clang/ && $$0 !~ /omp.h/) {printf "%%%%CLANG%%%%"} if ($$0 ~ /(argdumper|lldb)/) {printf "%%%%LLDB%%%%"} print}' ${PLIST}.tmp >> ${PLIST} ${RM} ${PLIST}.tmp check-commands: .for command in ${COMMANDS} test -e ${STAGEDIR}${LLVM_PREFIX}/bin/${command} .endfor .include Index: head/devel/llvm-devel/Makefile =================================================================== --- head/devel/llvm-devel/Makefile (revision 444323) +++ head/devel/llvm-devel/Makefile (revision 444324) @@ -1,442 +1,442 @@ # Created by: Hye-Shik Chang # $FreeBSD$ PORTNAME= llvm PORTVERSION= ${LLVM_MAJOR}.d${SNAPDATE} CATEGORIES= devel lang PKGNAMESUFFIX= -devel MAINTAINER= brooks@FreeBSD.org COMMENT= LLVM and Clang BROKEN_powerpc64= Does not build: error: vsnprintf was not declared in this scope LLVM_SUFFIX= -devel LLVM_PREFIX= ${PREFIX}/llvm${LLVM_SUFFIX} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${LLVM_SUFFIX} DATADIR= ${PREFIX}/share/${PORTNAME}${LLVM_SUFFIX} -USES= cmake:outsource compiler:c++11-lib libedit ninja perl5 \ +USES= cmake:outsource compiler:c++11-lib libedit perl5 \ shebangfix USE_LDCONFIG= ${LLVM_PREFIX}/lib _USES_PYTHON?= python:build USES+= ${_USES_PYTHON} SHEBANG_FILES= utils/lit/lit.py utils/llvm-lit/llvm-lit.in \ tools/clang/tools/scan-view/bin/scan-view \ tools/clang/tools/clang-format/git-clang-format \ tools/clang/tools/clang-format/clang-format-diff.py \ tools/clang/tools/extra/clang-tidy/tool/clang-tidy-diff.py \ tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py \ tools/clang/tools/extra/include-fixer/find-all-symbols/tool/run-find-all-symbols.py SUB_FILES= llvm-wrapper.sh SUB_LIST= LLVM_PREFIX="${LLVM_PREFIX}" LLVM_SUFFIX="${LLVM_SUFFIX}" CMAKE_INSTALL_PREFIX= ${LLVM_PREFIX} CMAKE_ARGS= -DLLVM_BUILD_LLVM_DYLIB=ON # Following commit https://github.com/kitware/cmake/commit/956054 # we need to either change the whole man-shuffle below, or simply # redefine CMAKE_INSTALL_MANDIR CMAKE_ARGS+= -DCMAKE_INSTALL_MANDIR:PATH="share/man" USE_GITHUB= yes GH_ACCOUNT= llvm-mirror GH_TAGNAME= ${LLVM_COMMIT} .include "Makefile.snapshot" OPTIONS_DEFINE= CLANG DOCS EXTRAS LIT LLD LLDB OPTIONS_DEFINE_amd64= COMPILER_RT GOLD OPENMP OPTIONS_DEFINE_i386= COMPILER_RT OPTIONS_DEFAULT= CLANG EXTRAS LIT LLD LLDB OPTIONS_DEFAULT_amd64= COMPILER_RT GOLD OPENMP OPTIONS_DEFAULT_i386= COMPILER_RT OPTIONS_EXCLUDE_FreeBSD_10= LLDB OPTIONS_SUB= yes PLIST_FILES= CLANG_DESC= Build clang CLANG_EXTRA_PATCHES= \ ${PATCHDIR}/clang-patch-fformat_extensions.diff \ ${PATCHDIR}/clang-patch-fopenmp.diff \ ${PATCHDIR}/clang-patch-tools_clang_lib_Headers_CMakeLists.txt CLANG_CONFLICTS_INSTALL= clang-devel-3.[1234567]* CLANG_GH_PROJECT= clang:clang CLANG_GH_SUBDIR= tools/clang:clang CLANG_GH_TAGNAME= ${CLANG_COMMIT}:clang CLANG_CMAKE_ON= -DCLANG_DEFAULT_OPENMP_RUNTIME=libomp CLANG_PORTDOCS= clang CLANG_USE= GNOME=libxml2 COMPILER_RT_DESC= Sanitizer libraries COMPILER_RT_IMPLIES= CLANG COMPILER_RT_GH_PROJECT= compiler-rt:compiler_rt COMPILER_RT_GH_TAGNAME= ${COMPILER_RT_COMMIT}:compiler_rt COMPILER_RT_PLIST_FILES=${_COMPILER_RT_LIBS:S|^|${_CRTLIBDIR}/|} DOCS_PORTDOCS= llvm DOCS_CMAKE_ON= -DLLVM_ENABLE_SPHINX=ON \ -DSPHINX_WARNINGS_AS_ERRORS=OFF \ -DLLVM_BUILD_DOCS=ON DOCS_PLIST_FILES= ${MAN1SRCS:S|^|man/man1/|:S|.1$|${LLVM_SUFFIX}.1.gz|} EXTRAS_DESC= Extra clang tools EXTRAS_IMPLIES= CLANG EXTRAS_GH_PROJECT= clang-tools-extra:extras EXTRAS_GH_SUBDIR= tools/clang/tools/extra:extras EXTRAS_GH_TAGNAME= ${EXTRAS_COMMIT}:extras LIT_DESC= Install lit and FileCheck test tools LLD_DESC= Install lld, the LLVM linker LLD_GH_PROJECT= lld:lld LLD_GH_SUBDIR= tools/lld:lld LLD_GH_TAGNAME= ${LLD_COMMIT}:lld LLDB_BUILD_DEPENDS= swig3.0:devel/swig30 LLDB_DESC= Install lldb, the LLVM debugger LLDB_GH_PROJECT= lldb:lldb LLDB_GH_SUBDIR= tools/lldb:lldb LLDB_GH_TAGNAME= ${LLDB_COMMIT}:lldb LLDB_IMPLIES= CLANG LLDB_USES= execinfo LLDB_VARS= _USES_PYTHON=python OPENMP_DESC= Install libomp, the LLVM OpenMP runtime library OPENMP_CONFLICTS_INSTALL= libiomp5-devel-* OPENMP_GH_PROJECT= openmp:openmp OPENMP_GH_SUBDIR= runtimes/openmp:openmp OPENMP_GH_TAGNAME= ${OPENMP_COMMIT}:openmp OPENMP_EXTRA_PATCHES= \ ${PATCHDIR}/openmp-patch-bug32279 \ ${PATCHDIR}/openmp-patch-tools_openmp_libomptarget_CMakeLists.txt GOLD_DESC= Build the LLVM Gold plugin for LTO GOLD_CMAKE_ON= -DLLVM_BINUTILS_INCDIR=${LOCALBASE}/include GOLD_BUILD_DEPENDS= ${LOCALBASE}/bin/ld.gold:devel/binutils OPTIONS_SUB= yes DOCS_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx PLIST_SUB+= LLVM_LIB_VER=${LLVM_MAJOR:C/\..*//} \ LLVM_MAJOR=${LLVM_MAJOR} \ LLVM_RELEASE=${LLVM_RELEASE} COMMANDS= bugpoint \ llc \ lli \ llvm-ar \ llvm-as \ llvm-bcanalyzer \ llvm-cat \ llvm-config \ llvm-cov \ llvm-cvtres \ llvm-diff \ llvm-dis \ llvm-dwarfdump \ llvm-dwp \ llvm-extract \ llvm-link \ llvm-mc \ llvm-mcmarkup \ llvm-modextract \ llvm-nm \ llvm-objdump \ llvm-opt-report \ llvm-profdata \ llvm-ranlib \ llvm-readobj \ llvm-rtdyld \ llvm-size \ llvm-split \ llvm-stress \ llvm-strings \ llvm-symbolizer \ llvm-tblgen \ macho-dump \ opt \ sancov FIRST_COMMAND= ${COMMANDS:C/^/XXXX/1:MXXXX*:C/^XXXX//} STRIP_LIBS= BugpointPasses.so \ LLVMHello.so \ ${LIBNAME}.0 \ libLTO.so EXTRAS_COMMANDS= \ clang-apply-replacements \ clang-change-namespace \ clang-include-fixer \ clang-modernize \ clang-query \ clang-rename \ clang-reorder-fields \ clang-tidy \ find-all-symbols \ modularize EXTRAS_LIBS= \ libclangApplyReplacements \ libclangIncludeFixer \ libclangRename \ libclangQuery \ libclangTidy \ libclangTidyGoogleModule \ libclangTidyLLVMModule \ libclangTidyMiscModule \ libclangTidyReadabilityModule \ libclangTidyUtils \ libfindAllSymbols \ libmodernizeCore EXTRAS_PATTERN= ${EXTRAS_COMMANDS:tW:C/ */|/g}|${EXTRAS_LIBS:tW:C/ */|/g} .include .if ${PORT_OPTIONS:MCLANG} COMMANDS+= c-index-test \ clang \ clang++ \ clang-check \ clang-cpp \ clang-format \ clang-import-test \ clang-offload-bundler \ clangd \ scan-build \ scan-view MAN1SRCS+= clang.1 \ scan-build.1 CLANG_PATTERN= (c-index-test|clang|scan-|Reporter.py|ScanView.py|scanview.css|sorttable.js|startfile.py|-analyzer) .endif .if ${PORT_OPTIONS:MCOMPILER_RT} COMPILER_RT_PATTERN= (asan_blacklist.txt|sanitizer|include.xray) .endif .if ${PORT_OPTIONS:MLIT} MAN1SRCS+= lit.1 FileCheck.1 LIT_COMMANDS= lit llvm-lit FileCheck .endif .if ${PORT_OPTIONS:MLLD} COMMANDS+= ld.lld .endif .if ${PORT_OPTIONS:MLLDB} COMMANDS+= lldb \ lldb-argdumper \ lldb-mi \ lldb-server .endif .if ! ${OPTIONS_DEFINE:MCOMPILER_RT} # Hack to disable COMPILER_RT in plist of unsupported architectures PLIST_SUB+= COMPILER_RT="@comment " .else .endif .if ! ${OPTIONS_DEFINE:MGOLD} # Hack to disable GOLD in plist of unsupported architectures PLIST_SUB+= GOLD="@comment " .else .endif .if ! ${OPTIONS_DEFINE:MOPENMP} # Hack to disable OPENMP in plist of unsupported architectures PLIST_SUB+= OPENMP="@comment " .else .endif MAN1SRCS+= bugpoint.1 llc.1 lli.1 llvm-ar.1 llvm-as.1 \ llvm-bcanalyzer.1 llvm-build.1 llvm-config.1 llvm-cov.1 \ llvm-diff.1 llvm-dis.1 llvm-dwarfdump.1 \ llvm-extract.1 llvm-lib.1 llvm-link.1 llvm-nm.1 \ llvm-profdata.1 llvm-readobj.1 llvm-stress.1 llvm-symbolizer.1 \ opt.1 tblgen.1 .include .if defined(WITH_DEBUG) CMAKE_BUILD_TYPE= RelWithDebInfo STRIP= .endif _CRTLIBDIR= ${LLVM_PREFIX:S|${PREFIX}/||}/lib/freebsd .if ${ARCH} == "amd64" _COMPILER_RT_LIBS= \ libclang_rt.asan-preinit-x86_64.a \ libclang_rt.asan-x86_64.a \ libclang_rt.asan-x86_64.a.syms \ libclang_rt.asan-x86_64.so \ libclang_rt.asan_cxx-x86_64.a \ libclang_rt.asan_cxx-x86_64.a.syms \ libclang_rt.builtins-x86_64.a \ libclang_rt.dd-x86_64.a \ libclang_rt.dyndd-x86_64.so \ libclang_rt.lsan-x86_64.a \ libclang_rt.profile-x86_64.a \ libclang_rt.safestack-x86_64.a \ libclang_rt.stats-x86_64.a \ libclang_rt.stats_client-x86_64.a \ libclang_rt.tsan-x86_64.a \ libclang_rt.tsan-x86_64.a.syms \ libclang_rt.tsan_cxx-x86_64.a \ libclang_rt.tsan_cxx-x86_64.a.syms \ libclang_rt.ubsan_standalone-x86_64.a \ libclang_rt.ubsan_standalone-x86_64.a.syms \ libclang_rt.ubsan_standalone-x86_64.so \ libclang_rt.ubsan_standalone_cxx-x86_64.a \ libclang_rt.ubsan_standalone_cxx-x86_64.a.syms \ libclang_rt.ubsan_standalone_cxx-x86_64.so .endif .if ${ARCH} == "i386" _COMPILER_RT_LIBS+= \ libclang_rt.asan-i386.a \ libclang_rt.asan-i386.so \ libclang_rt.asan-preinit-i386.a \ libclang_rt.asan_cxx-i386.a \ libclang_rt.builtins-i386.a \ libclang_rt.profile-i386.a \ libclang_rt.safestack-i386.a \ libclang_rt.stats-i386.a \ libclang_rt.stats_client-i386.a \ libclang_rt.ubsan_standalone-i386.a \ libclang_rt.ubsan_standalone_cxx-i386.a .endif .if ${PORT_OPTIONS:MEXTRAS} COMMANDS+= ${EXTRAS_COMMANDS} MAN1SRCS+= extraclangtools.1 PORTDOCS+= clang-tools .endif .if ${PORT_OPTIONS:MLLD} COMMANDS+= lld \ lld-link PORTDOCS+= lld .endif post-patch: ${REINPLACE_CMD} -e 's|import lit|import lit${LLVM_SUFFIX}|' \ -e 's|from lit|from lit${LLVM_SUFFIX}|' \ -e 's|lit\.|lit${LLVM_SUFFIX}.|' \ ${WRKSRC}/utils/lit/lit.py ${WRKSRC}/utils/lit/lit/*.py ${REINPLACE_CMD} -e 's,/usr/local/,${LOCALBASE}/,' \ ${WRKSRC}/CMakeLists.txt post-patch-COMPILER_RT-on: cd ${WRKSRC_compiler_rt} && patch < ${PATCHDIR}/compiler-rt-patch-ino64 cd ${WRKSRC_compiler_rt} && patch < ${PATCHDIR}/compiler-rt-patch-canonical-syscalls post-build-COMPILER_RT-on: ${MKDIR} ${WRKDIR}/compiler-rt-build cd ${WRKDIR}/compiler-rt-build && \ ${CMAKE_BIN} ${CMAKE_ARGS} \ -DLLVM_CONFIG_PATH=${CONFIGURE_WRKSRC}/bin/llvm-config \ ${WRKSRC_compiler_rt} && \ ${MAKE_ENV} ${MAKE_CMD} post-install: ${INSTALL_SCRIPT} ${WRKDIR}/llvm-wrapper.sh \ ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} .for command in ${COMMANDS:C/^/XXXX/1:NXXXX*} ${LN} -f ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} \ ${STAGEDIR}${PREFIX}/bin/${command}${LLVM_SUFFIX} .endfor post-install-DOCS-on: ${MV} ${STAGEDIR}${LLVM_PREFIX}/share/doc ${STAGEDIR}${DOCSDIR} .for _man in ${MAN1SRCS} ${MV} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/${_man} \ ${STAGEDIR}${MANPREFIX}/man/man1/${_man:R}${LLVM_SUFFIX}.1 .endfor .if ! ${PORT_OPTIONS:MLIT} ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/lit.1 ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/FileCheck.1 .endif ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/ ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/ .if ${PORT_OPTIONS:MCLANG} post-install-DOCS-off: ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/scan-build.1 ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/ ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/ .endif post-install-CLANG-on: ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/clang \ ${STAGEDIR}${LLVM_PREFIX}/bin/clang-cpp post-install-COMPILER_RT-on: cd ${WRKDIR}/compiler-rt-build && \ ${MAKE_ENV} ${MAKE_CMD} ${INSTALL_TARGET} .if ${ARCH} == "amd64" ${RM} ${STAGEDIR}${LLVM_PREFIX}/lib/freebsd/libclang_rt*i386* .endif post-install-LIT-on: ${INSTALL_SCRIPT} ${PATCH_WRKSRC}/utils/lit/lit.py \ ${STAGEDIR}${LLVM_PREFIX}/bin/lit ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${LLVM_PREFIX}/bin/llvm-lit ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${PREFIX}/bin/lit${LLVM_SUFFIX} ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${PREFIX}/bin/llvm-lit${LLVM_SUFFIX} ${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX} ${INSTALL_DATA} ${WRKSRC}/utils/lit/lit/*.py \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX} ${INSTALL_PROGRAM} ${WRKDIR}/.build/bin/FileCheck \ ${STAGEDIR}${LLVM_PREFIX}/bin/ ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/FileCheck \ ${STAGEDIR}${PREFIX}/bin/FileCheck${LLVM_SUFFIX} TEST_CMD= '(cd ${WRKSRC}/test; ${SETENV} ${MAKE_ENV} LD_LIBRARY_PATH=${WRKSRC}/Release/lib ${MAKE_CMD} check-local-lit)' regression-test: ${BUILD_COOKIE} if [ `${ID} -u` = 0 ]; then \ ${CHOWN} -R nobody ${WRKSRC}/test; \ su -m nobody -c ${TEST_CMD}; \ else \ ${SH} -c ${TEST_CMD}; \ fi build-plist: ${RM} ${PLIST} ${PLIST}.tmp ${ECHO_CMD} "@comment >>>>> GENERATED FILE, DO NOT EDIT <<<<<" >> ${PLIST}.tmp ${ECHO_CMD} "@comment Alter build-plist target and regenerate as required" >> ${PLIST}.tmp .for command in ${COMMANDS} ${ECHO_CMD} bin/${command}${LLVM_SUFFIX} >> ${PLIST}.tmp .endfor .for command in ${LIT_COMMANDS} ${ECHO_CMD} %%LIT%%bin/${command}${LLVM_SUFFIX} >> ${PLIST}.tmp ${ECHO_CMD} %%LIT%%${LLVM_PREFIX:S|${PREFIX}/||}/bin/${command} >> ${PLIST}.tmp .endfor ${FIND} ${STAGEDIR}${LLVM_PREFIX} -type f -o -type l | \ ${GREP} -v '[/-]lit$$' | ${GREP} -v 'FileCheck$$' | \ ${GREP} -v man/man1 | ${SED} -e 's|${STAGEDIR}${PREFIX}/||' \ -e 's|${PORTVERSION}|%%PORTVERSION%%|' \ -e 's|release.cmake|%%CMAKE_BUILD_TYPE%%.cmake|' \ -e 's|${LLVM_RELEASE:C/\./\\./g}|%%LLVM_RELEASE%%|' \ -e 's|${LLVM_MAJOR:C/\./\\./}|%%LLVM_MAJOR%%|' \ -e 's|\.${LLVM_MAJOR:C/\..*//}|.%%LLVM_LIB_VER%%|' \ -e 's|${PYTHON_SITELIBDIR:C|${PREFIX}/||}|%%PYTHON_SITELIBDIR%%|' | \ ${SORT} >> ${PLIST}.tmp ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX} -type f | \ ${SED} -e 's|${STAGEDIR}${PYTHON_SITELIBDIR}|%%LIT%%%%PYTHON_SITELIBDIR%%|' \ -e 's|${LLVM_RELEASE:C/\./\\./g}|%%LLVM_RELEASE%%|' \ -e 's|${LLVM_MAJOR:C/\./\\./}|%%LLVM_MAJOR%%|' | \ ${SORT} >> ${PLIST}.tmp awk '{ \ if ($$0 ~ /${CLANG_PATTERN}/ && $$0 !~ /omp.h|${EXTRAS_PATTERN}|libclang_rt/) {printf "%%%%CLANG%%%%"} \ if ($$0 ~ /${COMPILER_RT_PATTERN}/) \ {printf "%%%%COMPILER_RT%%%%"} \ if ($$0 ~ /lld/ && $$0 !~ /lldb/) {printf "%%%%LLD%%%%"} \ if ($$0 ~ /(${EXTRAS_PATTERN})/) {printf "%%%%EXTRAS%%%%"} \ if ($$0 ~ /(argdumper|lldb|six.py)/) {printf "%%%%LLDB%%%%"} \ if ($$0 ~ /(lib[ig]*omp|omp.h)/) {printf "%%%%OPENMP%%%%"} \ if ($$0 ~ /LLVMgold/) {printf "%%%%GOLD%%%%"} \ if ($$0 !~ /libclang_rt/) {print} \ }' ${PLIST}.tmp >> ${PLIST} ${RM} ${PLIST}.tmp check-commands: .for command in ${COMMANDS} test -e ${STAGEDIR}${LLVM_PREFIX}/bin/${command} .endfor .include Index: head/devel/llvm38/Makefile =================================================================== --- head/devel/llvm38/Makefile (revision 444323) +++ head/devel/llvm38/Makefile (revision 444324) @@ -1,478 +1,478 @@ # $FreeBSD$ PORTNAME= llvm DISTVERSION= 3.8.1 PORTREVISION= 8 CATEGORIES= devel lang MASTER_SITES= http://llvm.org/${PRE_}releases/${LLVM_RELEASE}/${RCDIR} DISTNAME= ${PORTNAME}-${DISTVERSION}.src DISTFILES= ${PORTNAME}-${DISTVERSION}.src${EXTRACT_SUFX} PKGNAMESUFFIX= ${LLVM_SUFFIX} MAINTAINER= brooks@FreeBSD.org COMMENT= LLVM and Clang BROKEN_armv6= fails to compile: fatal error: llvm/IR/Attributes.inc file not found BROKEN_powerpc64= fails to compile: internal compiler error: Killed (program cc1plus) LLVM_RELEASE= ${DISTVERSION:C/rc.*//} RCDIR= ${DISTVERSION:S/${LLVM_RELEASE}//:C|(rc.*)|\1/|} PRE_= ${DISTVERSION:C/.*rc.*/pre-/:N*[0-9]*} LLVM_SUFFIX= ${DISTVERSION:R:S/.//} LLVM_PREFIX= ${PREFIX}/llvm${LLVM_SUFFIX} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${LLVM_SUFFIX} DATADIR= ${PREFIX}/share/${PORTNAME}${LLVM_SUFFIX} -USES= cmake:outsource compiler:c++11-lib libedit ninja perl5 tar:xz \ +USES= cmake:outsource compiler:c++11-lib libedit perl5 tar:xz \ shebangfix USE_LDCONFIG= ${LLVM_PREFIX}/lib SHEBANG_FILES= utils/lit/lit.py utils/llvm-lit/llvm-lit.in \ tools/clang/tools/scan-view/bin/scan-view \ tools/clang/tools/clang-format/git-clang-format \ tools/clang/tools/clang-format/clang-format-diff.py SUB_FILES= llvm-wrapper.sh SUB_LIST= LLVM_PREFIX="${LLVM_PREFIX}" LLVM_SUFFIX="${LLVM_SUFFIX}" CMAKE_INSTALL_PREFIX= ${LLVM_PREFIX} CMAKE_ARGS= # Following commit https://github.com/kitware/cmake/commit/956054 # we need to either change the whole man-shuffle below, or simply # redefine CMAKE_INSTALL_MANDIR CMAKE_ARGS+= -DCMAKE_INSTALL_MANDIR:PATH="share/man" OPTIONS_DEFINE= CLANG DOCS EXTRAS LIT LLD LLDB OPTIONS_DEFINE_amd64= COMPILER_RT GOLD OPENMP OPTIONS_DEFINE_i386= COMPILER_RT OPTIONS_DEFAULT= CLANG EXTRAS LIT LLD LLDB OPTIONS_DEFAULT_amd64= COMPILER_RT GOLD OPENMP OPTIONS_DEFAULT_i386= COMPILER_RT OPTIONS_SUB= yes PLIST_FILES= CLANG_DESC= Build clang CLANG_EXTRA_PATCHES= \ ${PATCHDIR}/clang-patch-fformat_extensions.diff \ ${PATCHDIR}/clang-patch-fopenmp.diff \ ${PATCHDIR}/clang-patch-tools_clang_lib_Headers_CMakeLists.txt \ ${PATCHDIR}/clang-patch-tools_clang_tools_clang-format_clang-format.py \ ${PATCHDIR}/clang-patch-tools_clang_tools_scan-build_libexec_ccc-analyzer CLANG_CONFLICTS_INSTALL= clang-devel-3.[1234567]* CLANG_DISTFILES= cfe-${DISTVERSION}.src${EXTRACT_SUFX} CLANG_CMAKE_ON= -DCLANG_DEFAULT_OPENMP_RUNTIME=libomp CLANG_PORTDOCS= clang COMPILER_RT_DESC= Sanitizer libraries COMPILER_RT_DISTFILES= compiler-rt-${DISTVERSION}.src${EXTRACT_SUFX} COMPILER_RT_PLIST_FILES=${_COMPILER_RT_LIBS:S|^|${_CRTLIBDIR}/|} DOCS_PORTDOCS= llvm DOCS_CMAKE_ON= -DLLVM_ENABLE_SPHINX=ON \ -DSPHINX_WARNINGS_AS_ERRORS=OFF \ -DLLVM_BUILD_DOCS=ON DOCS_PLIST_FILES= ${MAN1SRCS:S|^|man/man1/|:S|.1$|${LLVM_SUFFIX}.1.gz|} EXTRAS_DESC= Extra clang tools EXTRAS_IMPLIES= CLANG EXTRAS_DISTFILES= clang-tools-extra-${DISTVERSION}.src${EXTRACT_SUFX} LIT_DESC= Install lit and FileCheck test tools LLD_DESC= Install lld, the LLVM linker LLD_DISTFILES= lld-${DISTVERSION}.src${EXTRACT_SUFX} LLDB_BUILD_DEPENDS= swig:devel/swig13 LLDB_DESC= Install lldb, the LLVM debugger LLDB_DISTFILES= lldb-${DISTVERSION}.src${EXTRACT_SUFX} LLDB_IMPLIES= CLANG OPENMP_DESC= Install libomp, the LLVM OpenMP runtime library OPENMP_DISTFILES= openmp-${DISTVERSION}.src${EXTRACT_SUFX} OPENMP_EXTRA_PATCHES= ${PATCHDIR}/openmp-patch-bug32279 GOLD_DESC= Build the LLVM Gold plugin for LTO GOLD_CMAKE_ON= -DLLVM_BINUTILS_INCDIR=${LOCALBASE}/include GOLD_BUILD_DEPENDS= ${LOCALBASE}/bin/ld.gold:devel/binutils .if defined(WITH_DEBUG) CMAKE_BUILD_TYPE= RelWithDebInfo STRIP= .endif _CRTLIBDIR= ${LLVM_PREFIX:S|${PREFIX}/||}/lib/clang/${LLVM_RELEASE}/lib/freebsd # Emulate USE_GITHUB's ${WRKSRC_tag} to reduce diffs to ../llvm-devel .for option in CLANG COMPILER_RT EXTRAS LLD LLDB OPENMP WRKSRC_${option:tl}= ${WRKDIR}/${${option}_DISTFILES:S/${EXTRACT_SUFX}//} .endfor OPTIONS_SUB= yes DOCS_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx PLIST_SUB+= LLVM_RELEASE=${LLVM_RELEASE} COMMANDS= bugpoint \ llc \ lli \ llvm-ar \ llvm-as \ llvm-bcanalyzer \ llvm-config \ llvm-cov \ llvm-diff \ llvm-dis \ llvm-dwarfdump \ llvm-extract \ llvm-link \ llvm-mc \ llvm-mcmarkup \ llvm-nm \ llvm-objdump \ llvm-profdata \ llvm-ranlib \ llvm-readobj \ llvm-rtdyld \ llvm-size \ llvm-split \ llvm-stress \ llvm-symbolizer \ llvm-tblgen \ macho-dump \ opt FIRST_COMMAND= ${COMMANDS:C/^/XXXX/1:MXXXX*:C/^XXXX//} STRIP_LIBS= BugpointPasses.so \ LLVMHello.so \ ${LIBNAME}.0 \ libLTO.so EXTRAS_COMMANDS+= \ clang-apply-replacements \ clang-modernize \ clang-query \ clang-rename \ clang-tidy \ modularize EXTRAS_LIBS= libclangApplyReplacements \ libclangQuery \ libclangRename \ libclangTidy \ libclangTidyGoogleModule \ libclangTidyLLVMModule \ libclangTidyMiscModule \ libclangTidyReadabilityModule \ libclangTidyUtils \ libmodernizeCore EXTRAS_PATTERN= ${EXTRAS_COMMANDS:tW:C/ */|/g}|${EXTRAS_LIBS:tW:C/ */|/g} .include # keep in sync with /usr/src/lib/clang/clang.build.mk CONFIGURE_TARGET:=${ARCH:C/amd64/x86_64/:C/armv6hf/armv6/}-portbld-${OPSYS:tl}${OSREL} .if ${PORT_OPTIONS:MCLANG} COMMANDS+= clang \ clang++ \ clang-check \ clang-cpp \ clang-format \ clang-tblgen \ scan-build \ scan-view MAN1SRCS+= clang.1 \ scan-build.1 CLANG_PATTERN= (c-index-test|clang|scan-|Reporter.py|ScanView.py|scanview.css|sorttable.js|startfile.py|-analyzer) .endif .if ${PORT_OPTIONS:MLIT} MAN1SRCS+= lit.1 FileCheck.1 _USES_PYTHON= python LIT_COMMANDS= lit llvm-lit FileCheck .endif .if ${PORT_OPTIONS:MLLDB} COMMANDS+= argdumper \ lldb \ lldb-mi \ lldb-server _USES_PYTHON= python .endif .if ! ${OPTIONS_DEFINE:MCOMPILER_RT} # Hack to disable COMPILER_RT in plist of unsupported architectures PLIST_SUB+= COMPILER_RT="@comment " .endif .if ! ${OPTIONS_DEFINE:MGOLD} # Hack to disable GOLD in plist of unsupported architectures PLIST_SUB+= GOLD="@comment " .else .endif .if ! ${OPTIONS_DEFINE:MOPENMP} # Hack to disable OPENMP in plist of unsupported architectures PLIST_SUB+= OPENMP="@comment " .else .endif _USES_PYTHON?= python:build USES+= ${_USES_PYTHON} MAN1SRCS+= bugpoint.1 llc.1 lli.1 llvm-ar.1 llvm-as.1 \ llvm-bcanalyzer.1 llvm-build.1 llvm-config.1 llvm-cov.1 \ llvm-diff.1 llvm-dis.1 llvm-dwarfdump.1 \ llvm-extract.1 llvm-lib.1 llvm-link.1 llvm-nm.1 \ llvm-profdata.1 llvm-readobj.1 llvm-stress.1 llvm-symbolizer.1 \ opt.1 tblgen.1 .include .if ${ARCH} == "amd64" _COMPILER_RT_LIBS= \ libclang_rt.asan-preinit-x86_64.a \ libclang_rt.asan-x86_64.a \ libclang_rt.asan-x86_64.a.syms \ libclang_rt.asan-x86_64.so \ libclang_rt.asan_cxx-x86_64.a \ libclang_rt.asan_cxx-x86_64.a.syms \ libclang_rt.builtins-x86_64.a \ libclang_rt.dd-x86_64.a \ libclang_rt.dyndd-x86_64.so \ libclang_rt.lsan-x86_64.a \ libclang_rt.profile-x86_64.a \ libclang_rt.safestack-x86_64.a \ libclang_rt.tsan-x86_64.a \ libclang_rt.tsan-x86_64.a.syms \ libclang_rt.tsan_cxx-x86_64.a \ libclang_rt.tsan_cxx-x86_64.a.syms \ libclang_rt.ubsan_standalone-x86_64.a \ libclang_rt.ubsan_standalone-x86_64.a.syms \ libclang_rt.ubsan_standalone_cxx-x86_64.a \ libclang_rt.ubsan_standalone_cxx-x86_64.a.syms .endif .if ${ARCH} == "i386" _COMPILER_RT_LIBS+= \ libclang_rt.asan-i386.a \ libclang_rt.asan-i386.so \ libclang_rt.asan-preinit-i386.a \ libclang_rt.asan_cxx-i386.a \ libclang_rt.builtins-i386.a \ libclang_rt.profile-i386.a \ libclang_rt.safestack-i386.a \ libclang_rt.ubsan_standalone-i386.a \ libclang_rt.ubsan_standalone_cxx-i386.a .endif .if ${PORT_OPTIONS:MEXTRAS} COMMANDS+= ${EXTRAS_COMMANDS} MAN1SRCS+= extraclangtools.1 PORTDOCS+= clang-tools SHEBANG_FILES+= tools/clang/tools/extra/clang-tidy/tool/clang-tidy-diff.py \ tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py .endif .if ${PORT_OPTIONS:MLLD} COMMANDS+= lld PORTDOCS+= lld .endif .if ${PYTHON_REL} < 3400 LLDB_BUILD_DEPENDS+= \ ${PYTHON_PKGNAMEPREFIX}enum34>0:devel/py-enum34 .endif .if ${PORT_OPTIONS:MLLDB} && ${PYTHON_REL} >= 3000 BROKEN= LLDB does not build with Python 3 .endif post-extract-CLANG-on: ${MV} ${WRKSRC_clang} ${PATCH_WRKSRC}/tools/clang post-extract-EXTRAS-on: ${MV} ${WRKSRC_extras} ${PATCH_WRKSRC}/tools/clang/tools/extra post-extract-LLD-on: ${MV} ${WRKSRC_lld} ${PATCH_WRKSRC}/tools/lld post-extract-LLDB-on: ${MV} ${WRKSRC_lldb} ${PATCH_WRKSRC}/tools/lldb post-extract-OPENMP-on: ${MV} ${WRKSRC_openmp} ${PATCH_WRKSRC}/tools/openmp post-patch: ${REINPLACE_CMD} -e 's|import lit|import lit${LLVM_SUFFIX}|' \ -e 's|from lit|from lit${LLVM_SUFFIX}|' \ -e 's|lit\.|lit${LLVM_SUFFIX}.|' \ ${WRKSRC}/utils/lit/lit.py ${WRKSRC}/utils/lit/lit/*.py ${REINPLACE_CMD} -e 's,/usr/local/,${LOCALBASE}/,' \ ${WRKSRC}/CMakeLists.txt post-patch-COMPILER_RT-on: cd ${WRKSRC_compiler_rt} && patch < ${PATCHDIR}/compiler-rt-patch-svn-261229 cd ${WRKSRC_compiler_rt} && patch < ${PATCHDIR}/compiler-rt-patch-svn-294806 cd ${WRKSRC_compiler_rt} && patch < ${PATCHDIR}/compiler-rt-patch-canonical-syscalls cd ${WRKSRC_compiler_rt} && patch < ${PATCHDIR}/compiler-rt-patch-ino64 .if ${ARCH} == "amd64" cd ${WRKSRC_compiler_rt} && patch < ${PATCHDIR}/compiler-rt-patch-no-m32 .endif post-build-COMPILER_RT-on: ${MKDIR} ${WRKDIR}/compiler-rt-build cd ${WRKDIR}/compiler-rt-build && \ ${CMAKE_BIN} ${CMAKE_ARGS} \ -DLLVM_CONFIG_PATH=${CONFIGURE_WRKSRC}/bin/llvm-config \ ${WRKSRC_compiler_rt} && \ ${MAKE_ENV} ${MAKE_CMD} post-patch-CLANG-on: ${REINPLACE_CMD} -e 's|%%LLVM_PREFIX%%|${LLVM_PREFIX}|' \ ${PATCH_WRKSRC}/tools/clang/lib/Driver/Tools.cpp post-install: ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/include/llvm/MC/MCAnalysis ${INSTALL_SCRIPT} ${WRKDIR}/llvm-wrapper.sh \ ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} .for command in ${COMMANDS:C/^/XXXX/1:NXXXX*} ${LN} -f ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} \ ${STAGEDIR}${PREFIX}/bin/${command}${LLVM_SUFFIX} .endfor post-install-DOCS-on: ${MV} ${STAGEDIR}${LLVM_PREFIX}/share/doc ${STAGEDIR}${DOCSDIR} .for _man in ${MAN1SRCS} ${MV} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/${_man} \ ${STAGEDIR}${MANPREFIX}/man/man1/${_man:R}${LLVM_SUFFIX}.1 .endfor .if ! ${PORT_OPTIONS:MLIT} ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/lit.1 ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/FileCheck.1 .endif ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/ ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/ .if ${PORT_OPTIONS:MCLANG} post-install-DOCS-off: ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/scan-build.1 ${RM} -r ${STAGEDIR}${LLVM_PREFIX}/share/man .endif post-install-LLDB-on: ${RM} ${STAGEDIR}${LLVM_PREFIX}/lib/python*/site-packages/lib ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/include/lldb/Host/windows/getopt post-install-CLANG-on: ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/clang \ ${STAGEDIR}${LLVM_PREFIX}/bin/clang-cpp ${INSTALL_PROGRAM} ${WRKDIR}/.build/bin/clang-tblgen \ ${STAGEDIR}${LLVM_PREFIX}/bin/ post-install-COMPILER_RT-on: cd ${WRKDIR}/compiler-rt-build && \ ${MAKE_ENV} ${MAKE_CMD} ${INSTALL_TARGET} ${MKDIR} ${STAGEDIR}${PREFIX}/${_CRTLIBDIR} ${MV} ${STAGEDIR}${LLVM_PREFIX}/lib/freebsd/* \ ${STAGEDIR}${PREFIX}/${_CRTLIBDIR} ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/lib/freebsd post-install-LIT-on: ${INSTALL_SCRIPT} ${PATCH_WRKSRC}/utils/lit/lit.py \ ${STAGEDIR}${LLVM_PREFIX}/bin/lit ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${LLVM_PREFIX}/bin/llvm-lit ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${PREFIX}/bin/lit${LLVM_SUFFIX} ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${PREFIX}/bin/llvm-lit${LLVM_SUFFIX} ${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX} ${INSTALL_DATA} ${WRKSRC}/utils/lit/lit/*.py \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX} ${INSTALL_PROGRAM} ${WRKDIR}/.build/bin/FileCheck \ ${STAGEDIR}${LLVM_PREFIX}/bin/ ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/FileCheck \ ${STAGEDIR}${PREFIX}/bin/FileCheck${LLVM_SUFFIX} TEST_CMD= '(cd ${WRKSRC}/test; ${SETENV} ${MAKE_ENV} LD_LIBRARY_PATH=${WRKSRC}/Release/lib ${MAKE_CMD} check-local-lit)' regression-test: ${BUILD_COOKIE} if [ `${ID} -u` = 0 ]; then \ ${CHOWN} -R nobody ${WRKSRC}/test; \ su -m nobody -c ${TEST_CMD}; \ else \ ${SH} -c ${TEST_CMD}; \ fi build-plist: ${RM} ${PLIST} ${PLIST}.tmp .for command in ${COMMANDS} ${ECHO_CMD} bin/${command}${LLVM_SUFFIX} >> ${PLIST}.tmp .endfor .for command in ${LIT_COMMANDS} ${ECHO_CMD} %%LIT%%bin/${command}${LLVM_SUFFIX} >> ${PLIST}.tmp ${ECHO_CMD} %%LIT%%${LLVM_PREFIX:S|${PREFIX}/||}/bin/${command} >> ${PLIST}.tmp .endfor ${FIND} ${STAGEDIR}${LLVM_PREFIX} -type f -o -type l | \ ${GREP} -v '[/-]lit$$' | ${GREP} -v 'FileCheck$$' | \ ${GREP} -v man/man1 | ${SED} -e 's|${STAGEDIR}${PREFIX}/||' \ -e 's|${LLVM_RELEASE}|%%LLVM_RELEASE%%|' \ -e 's|release.cmake|%%CMAKE_BUILD_TYPE%%.cmake|' | \ ${SORT} >> ${PLIST}.tmp ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX} -type f | \ ${SED} -e 's|${STAGEDIR}${PYTHON_SITELIBDIR}|%%LIT%%%%PYTHON_SITELIBDIR%%|' | \ ${SORT} >> ${PLIST}.tmp awk '{ \ if ($$0 ~ /${CLANG_PATTERN}/ && $$0 !~ /(omp.h|${EXTRAS_PATTERN}|libclang_rt)/) {printf "%%%%CLANG%%%%"} \ if ($$0 ~ /asan_blacklist.txt|sanitizer/) \ {printf "%%%%COMPILER_RT%%%%"} \ if ($$0 ~ /(${EXTRAS_PATTERN})/) {printf "%%%%EXTRAS%%%%"} \ if ($$0 ~ /lld/ && $$0 !~ /lldb/) {printf "%%%%LLD%%%%"} \ if ($$0 ~ /(argdumper|lldb|six.py)/) {printf "%%%%LLDB%%%%"} \ if ($$0 ~ /lib.*omp/) {printf "%%%%OPENMP%%%%"} \ if ($$0 ~ /LLVMgold/) {printf "%%%%GOLD%%%%"} \ if ($$0 !~ /libclang_rt/) {print}}' ${PLIST}.tmp >> ${PLIST} ${RM} ${PLIST}.tmp check-commands: .for command in ${COMMANDS} test -e ${STAGEDIR}${LLVM_PREFIX}/bin/${command} .endfor .if make(svn-patch-clang) .if !defined(PATCH_REV) .error svn-patch-clang requires that PATCH_REV be set .endif _PATCH_FILE=${FILESDIR}/clang-patch-svn-${PATCH_REV} _LLVM_BASE=http://llvm.org/svn/llvm-project/cfe/trunk svn-patch-clang: svn log -c ${PATCH_REV} ${_LLVM_BASE} >> ${_PATCH_FILE} svn diff -c ${PATCH_REV} ${_LLVM_BASE} | \ sed -E -e 's;^(---|\+\+\+) ;\1 tools/clang/;' >> ${_PATCH_FILE} .endif .if make(svn-patch-compiler-rt) .if !defined(PATCH_REV) .error svn-patch-compiler-rt requires that PATCH_REV be set .endif _PATCH_FILE=${FILESDIR}/compiler-rt-patch-svn-${PATCH_REV} _LLVM_BASE=http://llvm.org/svn/llvm-project/compiler-rt/trunk svn-patch-compiler-rt: svn log -c ${PATCH_REV} ${_LLVM_BASE} >> ${_PATCH_FILE} svn diff -c ${PATCH_REV} ${_LLVM_BASE} | \ sed -E -e 's;^(---|\+\+\+) ;\1 tools/compiler-rt/;' >> ${_PATCH_FILE} .endif .if make(svn-patch-lldb) .if !defined(PATCH_REV) .error svn-patch-lldb requires that PATCH_REV be set .endif _PATCH_FILE=${FILESDIR}/lldb-patch-svn-${PATCH_REV} _LLVM_BASE=http://llvm.org/svn/llvm-project/lldb/trunk svn-patch-lldb: svn log -c ${PATCH_REV} ${_LLVM_BASE} >> ${_PATCH_FILE} svn diff -c ${PATCH_REV} ${_LLVM_BASE} | >> ${_PATCH_FILE} .endif .if make(svn-patch-llvm) .if !defined(PATCH_REV) .error svn-patch-llvm requires that PATCH_REV be set .endif _PATCH_FILE=${FILESDIR}/patch-svn-${PATCH_REV} _LLVM_BASE=http://llvm.org/svn/llvm-project/llvm/trunk svn-patch-llvm: svn log -c ${PATCH_REV} ${_LLVM_BASE} >> ${_PATCH_FILE} svn diff -c ${PATCH_REV} ${_LLVM_BASE} >> ${_PATCH_FILE} .endif .include Index: head/devel/llvm39/Makefile =================================================================== --- head/devel/llvm39/Makefile (revision 444323) +++ head/devel/llvm39/Makefile (revision 444324) @@ -1,506 +1,506 @@ # $FreeBSD$ PORTNAME= llvm DISTVERSION= 3.9.1 PORTREVISION= 6 CATEGORIES= devel lang MASTER_SITES= http://llvm.org/${PRE_}releases/${LLVM_RELEASE}/${RCDIR} PKGNAMESUFFIX= ${LLVM_SUFFIX} DISTNAME= ${PORTNAME}-${DISTVERSION}.src DISTFILES= ${PORTNAME}-${DISTVERSION}.src${EXTRACT_SUFX} MAINTAINER= brooks@FreeBSD.org COMMENT= LLVM and Clang LICENSE= LLVM LICENSE_NAME= LLVM Release License LICENSE_FILE= ${WRKSRC}/LICENSE.TXT LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LLVM_RELEASE= ${DISTVERSION:C/rc.*//} LLVM_MAJOR= ${LLVM_RELEASE:C/\.[0-9]$//} RCDIR= ${DISTVERSION:S/${LLVM_RELEASE}//:C|(rc.*)|\1/|} PRE_= ${DISTVERSION:C/.*rc.*/pre-/:N*[0-9]*} LLVM_SUFFIX= ${DISTVERSION:R:S/.//} LLVM_PREFIX= ${PREFIX}/llvm${LLVM_SUFFIX} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${LLVM_SUFFIX} DATADIR= ${PREFIX}/share/${PORTNAME}${LLVM_SUFFIX} -USES= cmake:outsource compiler:c++11-lib libedit ninja perl5 tar:xz \ +USES= cmake:outsource compiler:c++11-lib libedit perl5 tar:xz \ shebangfix _USES_PYTHON?= python:build USES+= ${_USES_PYTHON} USE_LDCONFIG= ${LLVM_PREFIX}/lib SHEBANG_FILES= utils/lit/lit.py utils/llvm-lit/llvm-lit.in \ tools/clang/tools/scan-view/bin/scan-view \ tools/clang/tools/clang-format/git-clang-format \ tools/clang/tools/clang-format/clang-format-diff.py SUB_FILES= llvm-wrapper.sh SUB_LIST= LLVM_PREFIX="${LLVM_PREFIX}" LLVM_SUFFIX="${LLVM_SUFFIX}" CMAKE_INSTALL_PREFIX= ${LLVM_PREFIX} CMAKE_ARGS= -DLLVM_BUILD_LLVM_DYLIB=ON # Following commit https://github.com/kitware/cmake/commit/956054 # we need to either change the whole man-shuffle below, or simply # redefine CMAKE_INSTALL_MANDIR CMAKE_ARGS+= -DCMAKE_INSTALL_MANDIR:PATH="share/man" OPTIONS_DEFINE= CLANG DOCS EXTRAS LIT LLD LLDB OPTIONS_DEFINE_amd64= COMPILER_RT GOLD OPENMP OPTIONS_DEFINE_i386= COMPILER_RT OPTIONS_DEFAULT= CLANG EXTRAS LIT LLD LLDB OPTIONS_DEFAULT_amd64= COMPILER_RT GOLD OPENMP OPTIONS_DEFAULT_i386= COMPILER_RT OPTIONS_SUB= yes CLANG_DESC= Build clang CLANG_EXTRA_PATCHES= \ ${PATCHDIR}/clang-patch-fformat_extensions.diff \ ${PATCHDIR}/clang-patch-fopenmp.diff \ ${PATCHDIR}/clang-patch-tools_clang_lib_Headers_CMakeLists.txt \ ${PATCHDIR}/clang-patch-tools_clang_tools_clang-format_clang-format.py \ ${PATCHDIR}/clang-patch-tools_clang_tools_scan-build_libexec_ccc-analyzer \ ${PATCHDIR}/clang-patch-tools_clang_include_clang_Basic_DiagnosticSemaKinds.td \ ${PATCHDIR}/clang-patch-tools_clang_lib_Sema_SemaOverload.cpp \ ${PATCHDIR}/config-patch-tools_clang_include_clang_Sema_Overload.h CLANG_CONFLICTS_INSTALL= clang-devel-3.[1234567]* CLANG_DISTFILES= cfe-${DISTVERSION}.src${EXTRACT_SUFX} CLANG_CMAKE_ON= -DCLANG_DEFAULT_OPENMP_RUNTIME=libomp CLANG_PORTDOCS= clang CLANG_USE= GNOME=libxml2 COMPILER_RT_DESC= Sanitizer libraries COMPILER_RT_DISTFILES= compiler-rt-${DISTVERSION}.src${EXTRACT_SUFX} COMPILER_RT_PLIST_FILES=${_COMPILER_RT_LIBS:S|^|${_CRTLIBDIR}/|} DOCS_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx DOCS_PORTDOCS= llvm DOCS_CMAKE_ON= -DLLVM_ENABLE_SPHINX=ON \ -DSPHINX_WARNINGS_AS_ERRORS=OFF \ -DLLVM_BUILD_DOCS=ON DOCS_PLIST_FILES= ${MAN1SRCS:S|^|man/man1/|:S|.1$|${LLVM_SUFFIX}.1.gz|} EXTRAS_DESC= Extra clang tools EXTRAS_IMPLIES= CLANG EXTRAS_DISTFILES= clang-tools-extra-${DISTVERSION}.src${EXTRACT_SUFX} GOLD_DESC= Build the LLVM Gold plugin for LTO GOLD_CMAKE_ON= -DLLVM_BINUTILS_INCDIR=${LOCALBASE}/include GOLD_BUILD_DEPENDS= ${LOCALBASE}/bin/ld.gold:devel/binutils LIT_DESC= Install lit and FileCheck test tools LIT_VARS= _USES_PYTHON=python LLD_DESC= Install lld, the LLVM linker LLD_DISTFILES= lld-${DISTVERSION}.src${EXTRACT_SUFX} LLDB_BUILD_DEPENDS= swig3.0:devel/swig30 LLDB_DESC= Install lldb, the LLVM debugger LLDB_DISTFILES= lldb-${DISTVERSION}.src${EXTRACT_SUFX} LLDB_EXTRA_PATCHES= ${PATCHDIR}/lldb-patch-tools_lldb_source_Host_common_FileSpec.cpp LLDB_IMPLIES= CLANG LLDB_USES= execinfo LLDB_VARS= _USES_PYTHON=python OPENMP_DESC= Install libomp, the LLVM OpenMP runtime library OPENMP_DISTFILES= openmp-${DISTVERSION}.src${EXTRACT_SUFX} OPENMP_EXTRA_PATCHES= ${PATCHDIR}/openmp-patch-bug32279 .if defined(WITH_DEBUG) CMAKE_BUILD_TYPE= RelWithDebInfo STRIP= .endif _CRTLIBDIR= ${LLVM_PREFIX:S|${PREFIX}/||}/lib/clang/${LLVM_RELEASE}/lib/freebsd # Emulate USE_GITHUB's ${WRKSRC_tag} to reduce diffs to ../llvm-devel .for option in CLANG COMPILER_RT EXTRAS LLD LLDB OPENMP WRKSRC_${option:tl}= ${WRKDIR}/${${option}_DISTFILES:S/${EXTRACT_SUFX}//} .endfor OPTIONS_SUB= yes PLIST_SUB+= LLVM_RELEASE=${LLVM_RELEASE} LLVM_MAJOR=${LLVM_MAJOR} COMMANDS= bugpoint \ llc \ lli \ llvm-ar \ llvm-as \ llvm-bcanalyzer \ llvm-config \ llvm-cov \ llvm-diff \ llvm-dis \ llvm-dwarfdump \ llvm-extract \ llvm-link \ llvm-mc \ llvm-mcmarkup \ llvm-nm \ llvm-objdump \ llvm-profdata \ llvm-ranlib \ llvm-readobj \ llvm-rtdyld \ llvm-size \ llvm-split \ llvm-stress \ llvm-symbolizer \ llvm-tblgen \ macho-dump \ opt FIRST_COMMAND= ${COMMANDS:C/^/XXXX/1:MXXXX*:C/^XXXX//} STRIP_LIBS= BugpointPasses.so \ LLVMHello.so \ ${LIBNAME}.0 \ libLTO.so EXTRAS_COMMANDS+= \ clang-apply-replacements \ clang-include-fixer \ clang-modernize \ clang-query \ clang-rename \ clang-tidy \ find-all-symbols \ modularize EXTRAS_LIBS= libclangApplyReplacements \ libclangIncludeFixer \ libclangRename \ libclangQuery \ libclangRename \ libclangTidy \ libclangTidyGoogleModule \ libclangTidyLLVMModule \ libclangTidyMiscModule \ libclangTidyReadabilityModule \ libclangTidyUtils \ libfindAllSymbols \ libmodernizeCore EXTRAS_PATTERN= ${EXTRAS_COMMANDS:tW:C/ */|/g}|${EXTRAS_LIBS:tW:C/ */|/g} .include # keep in sync with /usr/src/lib/clang/clang.build.mk CONFIGURE_TARGET:=${ARCH:C/amd64/x86_64/:C/armv6hf/armv6/}-portbld-${OPSYS:tl}${OSREL} .if ${PORT_OPTIONS:MCLANG} COMMANDS+= clang \ clang++ \ clang-check \ clang-cpp \ clang-format \ clang-tblgen \ scan-build \ scan-view MAN1SRCS+= clang.1 \ scan-build.1 CLANG_PATTERN= (c-index-test|clang|scan-|Reporter.py|ScanView.py|scanview.css|sorttable.js|startfile.py|-analyzer) .endif .if ${PORT_OPTIONS:MCOMPILER_RT} COMPILER_RT_PATTERN= (asan_blacklist.txt|sanitizer|xray) .endif .if ${PORT_OPTIONS:MLIT} MAN1SRCS+= lit.1 FileCheck.1 LIT_COMMANDS= lit llvm-lit FileCheck .endif .if ${PORT_OPTIONS:MLLDB} COMMANDS+= argdumper \ lldb \ lldb-mi \ lldb-server .endif .if ! ${OPTIONS_DEFINE:MCOMPILER_RT} # Hack to disable COMPILER_RT in plist of unsupported architectures PLIST_SUB+= COMPILER_RT="@comment " .else .endif .if ! ${OPTIONS_DEFINE:MGOLD} # Hack to disable GOLD in plist of unsupported architectures PLIST_SUB+= GOLD="@comment " .else .endif .if ! ${OPTIONS_DEFINE:MOPENMP} # Hack to disable OPENMP in plist of unsupported architectures PLIST_SUB+= OPENMP="@comment " .else .endif MAN1SRCS+= bugpoint.1 llc.1 lli.1 llvm-ar.1 llvm-as.1 \ llvm-bcanalyzer.1 llvm-build.1 llvm-config.1 llvm-cov.1 \ llvm-diff.1 llvm-dis.1 llvm-dwarfdump.1 \ llvm-extract.1 llvm-lib.1 llvm-link.1 llvm-nm.1 \ llvm-profdata.1 llvm-readobj.1 llvm-stress.1 llvm-symbolizer.1 \ opt.1 tblgen.1 .include .if ${ARCH} == "amd64" _COMPILER_RT_LIBS= \ libclang_rt.asan-preinit-x86_64.a \ libclang_rt.asan-x86_64.a \ libclang_rt.asan-x86_64.a.syms \ libclang_rt.asan-x86_64.so \ libclang_rt.asan_cxx-x86_64.a \ libclang_rt.asan_cxx-x86_64.a.syms \ libclang_rt.builtins-x86_64.a \ libclang_rt.dd-x86_64.a \ libclang_rt.dyndd-x86_64.so \ libclang_rt.lsan-x86_64.a \ libclang_rt.profile-x86_64.a \ libclang_rt.safestack-x86_64.a \ libclang_rt.stats-x86_64.a \ libclang_rt.stats_client-x86_64.a \ libclang_rt.tsan-x86_64.a \ libclang_rt.tsan-x86_64.a.syms \ libclang_rt.tsan_cxx-x86_64.a \ libclang_rt.tsan_cxx-x86_64.a.syms \ libclang_rt.ubsan_standalone-x86_64.a \ libclang_rt.ubsan_standalone-x86_64.a.syms \ libclang_rt.ubsan_standalone_cxx-x86_64.a \ libclang_rt.ubsan_standalone_cxx-x86_64.a.syms .endif .if ${ARCH} == "i386" _COMPILER_RT_LIBS+= \ libclang_rt.asan-i386.a \ libclang_rt.asan-i386.so \ libclang_rt.asan-preinit-i386.a \ libclang_rt.asan_cxx-i386.a \ libclang_rt.builtins-i386.a \ libclang_rt.profile-i386.a \ libclang_rt.safestack-i386.a \ libclang_rt.stats-i386.a \ libclang_rt.stats_client-i386.a \ libclang_rt.ubsan_standalone-i386.a \ libclang_rt.ubsan_standalone_cxx-i386.a .endif .if ${PORT_OPTIONS:MEXTRAS} COMMANDS+= ${EXTRAS_COMMANDS} MAN1SRCS+= extraclangtools.1 PORTDOCS+= clang-tools SHEBANG_FILES+= tools/clang/tools/extra/clang-tidy/tool/clang-tidy-diff.py \ tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py \ tools/clang/tools/extra/include-fixer/find-all-symbols/tool/run-find-all-symbols.py .endif .if ${PORT_OPTIONS:MLLD} COMMANDS+= lld \ lld-link PORTDOCS+= lld .endif .if ${OPSYS} == "FreeBSD" && ${COMPILER_TYPE} != clang CXXFLAGS+= -D_GLIBCXX_USE_C99 .endif .if ${ARCH} == "armv6" BUILD_DEPENDS+= ${LOCALBASE}/bin/ld:devel/binutils CONFIGURE_ENV+= COMPILER_PATH=${LOCALBASE}/bin MAKE_ENV+= COMPILER_PATH=${LOCALBASE}/bin .endif .if ${PYTHON_REL} < 3400 LLDB_BUILD_DEPENDS+= \ ${PYTHON_PKGNAMEPREFIX}enum34>0:devel/py-enum34 .endif post-extract-CLANG-on: ${MV} ${WRKSRC_clang} ${PATCH_WRKSRC}/tools/clang post-extract-EXTRAS-on: ${MV} ${WRKSRC_extras} ${PATCH_WRKSRC}/tools/clang/tools/extra post-extract-LLD-on: ${MV} ${WRKSRC_lld} ${PATCH_WRKSRC}/tools/lld post-extract-LLDB-on: ${MV} ${WRKSRC_lldb} ${PATCH_WRKSRC}/tools/lldb post-extract-OPENMP-on: ${MV} ${WRKSRC_openmp} ${PATCH_WRKSRC}/tools/openmp post-patch: ${REINPLACE_CMD} -e 's|import lit|import lit${LLVM_SUFFIX}|' \ -e 's|from lit|from lit${LLVM_SUFFIX}|' \ -e 's|lit\.|lit${LLVM_SUFFIX}.|' \ ${WRKSRC}/utils/lit/lit.py ${WRKSRC}/utils/lit/lit/*.py \ ${WRKSRC}/utils/lit/lit/formats/*.py ${REINPLACE_CMD} -e 's,/usr/local/,${LOCALBASE}/,' \ ${WRKSRC}/CMakeLists.txt post-patch-CLANG-on: ${REINPLACE_CMD} -e 's|%%LLVM_PREFIX%%|${LLVM_PREFIX}|' \ ${PATCH_WRKSRC}/tools/clang/lib/Driver/Tools.cpp post-patch-COMPILER_RT-on: cd ${WRKSRC_compiler_rt} && patch < ${PATCHDIR}/compiler-rt-patch-svn-294806 cd ${WRKSRC_compiler_rt} && patch < ${PATCHDIR}/compiler-rt-patch-canonical-syscalls cd ${WRKSRC_compiler_rt} && patch < ${PATCHDIR}/compiler-rt-patch-ino64 post-build-COMPILER_RT-on: ${MKDIR} ${WRKDIR}/compiler-rt-build cd ${WRKDIR}/compiler-rt-build && \ ${CMAKE_BIN} ${CMAKE_ARGS} \ -DLLVM_CONFIG_PATH=${CONFIGURE_WRKSRC}/bin/llvm-config \ ${WRKSRC_compiler_rt} && \ ${MAKE_ENV} ${MAKE_CMD} post-install: ${RM} -r ${STAGEDIR}${LLVM_PREFIX}/include/llvm/MC/MCAnalysis ${INSTALL_SCRIPT} ${WRKDIR}/llvm-wrapper.sh \ ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} .for command in ${COMMANDS:C/^/XXXX/1:NXXXX*} ${LN} -f ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} \ ${STAGEDIR}${PREFIX}/bin/${command}${LLVM_SUFFIX} .endfor post-install-DOCS-on: ${MV} ${STAGEDIR}${LLVM_PREFIX}/share/doc ${STAGEDIR}${DOCSDIR} .for _man in ${MAN1SRCS} ${MV} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/${_man} \ ${STAGEDIR}${MANPREFIX}/man/man1/${_man:R}${LLVM_SUFFIX}.1 .endfor .if ! ${PORT_OPTIONS:MLIT} ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/lit.1 ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/FileCheck.1 .endif ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/ ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/ .if ${PORT_OPTIONS:MCLANG} post-install-DOCS-off: ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/scan-build.1 ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/ ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/ .endif post-install-LLDB-on: ${RM} ${STAGEDIR}${LLVM_PREFIX}/lib/python*/site-packages/lib ${RM} -r ${STAGEDIR}${LLVM_PREFIX}/include/lldb/Host/windows/getopt post-install-CLANG-on: ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/clang \ ${STAGEDIR}${LLVM_PREFIX}/bin/clang-cpp ${INSTALL_PROGRAM} ${WRKDIR}/.build/bin/clang-tblgen \ ${STAGEDIR}${LLVM_PREFIX}/bin/ post-install-COMPILER_RT-on: cd ${WRKDIR}/compiler-rt-build && \ ${MAKE_ENV} ${MAKE_CMD} ${INSTALL_TARGET} .if ${ARCH} == "amd64" ${RM} ${STAGEDIR}${LLVM_PREFIX}/lib/freebsd/libclang_rt*i386* .endif ${MKDIR} ${STAGEDIR}${PREFIX}/${_CRTLIBDIR} ${MV} ${STAGEDIR}${LLVM_PREFIX}/lib/freebsd/* \ ${STAGEDIR}${PREFIX}/${_CRTLIBDIR} ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/lib/freebsd post-install-LIT-on: ${INSTALL_SCRIPT} ${PATCH_WRKSRC}/utils/lit/lit.py \ ${STAGEDIR}${LLVM_PREFIX}/bin/lit ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${LLVM_PREFIX}/bin/llvm-lit ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${PREFIX}/bin/lit${LLVM_SUFFIX} ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${PREFIX}/bin/llvm-lit${LLVM_SUFFIX} ${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX} ${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX}/formats ${INSTALL_DATA} ${WRKSRC}/utils/lit/lit/*.py \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX} ${INSTALL_DATA} ${WRKSRC}/utils/lit/lit/formats/*.py \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX}/formats ${INSTALL_PROGRAM} ${WRKDIR}/.build/bin/FileCheck \ ${STAGEDIR}${LLVM_PREFIX}/bin/ ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/FileCheck \ ${STAGEDIR}${PREFIX}/bin/FileCheck${LLVM_SUFFIX} TEST_CMD= '(cd ${WRKSRC}/test; ${SETENV} ${MAKE_ENV} LD_LIBRARY_PATH=${WRKSRC}/Release/lib ${MAKE_CMD} check-local-lit)' regression-test: ${BUILD_COOKIE} if [ `${ID} -u` = 0 ]; then \ ${CHOWN} -R nobody ${WRKSRC}/test; \ su -m nobody -c ${TEST_CMD}; \ else \ ${SH} -c ${TEST_CMD}; \ fi build-plist: ${RM} ${PLIST} ${PLIST}.tmp ${ECHO_CMD} "@comment >>>>> GENERATED FILE, DO NOT EDIT <<<<<" >> ${PLIST}.tmp ${ECHO_CMD} "@comment Alter build-plist target and regenerate as required" >> ${PLIST}.tmp .for command in ${COMMANDS} ${ECHO_CMD} bin/${command}${LLVM_SUFFIX} >> ${PLIST}.tmp .endfor .for command in ${LIT_COMMANDS} ${ECHO_CMD} %%LIT%%bin/${command}${LLVM_SUFFIX} >> ${PLIST}.tmp ${ECHO_CMD} %%LIT%%${LLVM_PREFIX:S|${PREFIX}/||}/bin/${command} >> ${PLIST}.tmp .endfor ${FIND} ${STAGEDIR}${LLVM_PREFIX} -type f -o -type l | \ ${GREP} -v '[/-]lit$$' | ${GREP} -v 'FileCheck$$' | \ ${GREP} -v man/man1 | ${SED} -e 's|${STAGEDIR}${PREFIX}/||' \ -e 's|${LLVM_RELEASE}|%%LLVM_RELEASE%%|' \ -e 's|release.cmake|%%CMAKE_BUILD_TYPE%%.cmake|' \ -e 's|${LLVM_RELEASE:C/\./\\./g}|%%LLVM_RELEASE%%|' \ -e 's|${LLVM_MAJOR:C/\./\\./}|%%LLVM_MAJOR%%|' \ -e 's|${PYTHON_SITELIBDIR:C|${PREFIX}/||}|%%PYTHON_SITELIBDIR%%|' | \ ${SORT} >> ${PLIST}.tmp ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX} -type f | \ ${SED} -e 's|${STAGEDIR}${PYTHON_SITELIBDIR}|%%LIT%%%%PYTHON_SITELIBDIR%%|' \ -e 's|${LLVM_RELEASE:C/\./\\./g}|%%LLVM_RELEASE%%|' \ -e 's|${LLVM_MAJOR:C/\./\\./}|%%LLVM_MAJOR%%|' | \ ${SORT} >> ${PLIST}.tmp ${AWK} '{ \ if ($$0 ~ /${CLANG_PATTERN}/ && $$0 !~ /(omp.h|${EXTRAS_PATTERN}|libclang_rt)/) {printf "%%%%CLANG%%%%"} \ if ($$0 ~ /${COMPILER_RT_PATTERN}/) \ {printf "%%%%COMPILER_RT%%%%"} \ if ($$0 ~ /(${EXTRAS_PATTERN})/) {printf "%%%%EXTRAS%%%%"} \ if ($$0 ~ /lld/ && $$0 !~ /lldb/) {printf "%%%%LLD%%%%"} \ if ($$0 ~ /(argdumper|lldb|six.py)/) {printf "%%%%LLDB%%%%"} \ if ($$0 ~ /lib.*omp/) {printf "%%%%OPENMP%%%%"} \ if ($$0 ~ /LLVMgold/) {printf "%%%%GOLD%%%%"} \ if ($$0 !~ /libclang_rt/) {print}}' ${PLIST}.tmp >> ${PLIST} ${RM} ${PLIST}.tmp check-commands: .for command in ${COMMANDS} test -e ${STAGEDIR}${LLVM_PREFIX}/bin/${command} .endfor .if make(svn-patch-clang) .if !defined(PATCH_REV) .error svn-patch-clang requires that PATCH_REV be set .endif _PATCH_FILE=${FILESDIR}/clang-patch-svn-${PATCH_REV} _LLVM_BASE=http://llvm.org/svn/llvm-project/cfe/trunk svn-patch-clang: svn log -c ${PATCH_REV} ${_LLVM_BASE} >> ${_PATCH_FILE} svn diff -c ${PATCH_REV} ${_LLVM_BASE} | \ ${SED} -E -e 's;^(---|\+\+\+) ;\1 tools/clang/;' >> ${_PATCH_FILE} .endif .if make(svn-patch-compiler-rt) .if !defined(PATCH_REV) .error svn-patch-compiler-rt requires that PATCH_REV be set .endif _PATCH_FILE=${FILESDIR}/compiler-rt-patch-svn-${PATCH_REV} _LLVM_BASE=http://llvm.org/svn/llvm-project/compiler-rt/trunk svn-patch-compiler-rt: svn log -c ${PATCH_REV} ${_LLVM_BASE} >> ${_PATCH_FILE} svn diff -c ${PATCH_REV} ${_LLVM_BASE} | \ ${SED} -E -e 's;^(---|\+\+\+) ;\1 tools/compiler-rt/;' >> ${_PATCH_FILE} .endif .if make(svn-patch-lldb) .if !defined(PATCH_REV) .error svn-patch-lldb requires that PATCH_REV be set .endif _PATCH_FILE=${FILESDIR}/lldb-patch-svn-${PATCH_REV} _LLVM_BASE=http://llvm.org/svn/llvm-project/lldb/trunk svn-patch-lldb: svn log -c ${PATCH_REV} ${_LLVM_BASE} >> ${_PATCH_FILE} svn diff -c ${PATCH_REV} ${_LLVM_BASE} | >> ${_PATCH_FILE} .endif .include Index: head/devel/llvm40/Makefile =================================================================== --- head/devel/llvm40/Makefile (revision 444323) +++ head/devel/llvm40/Makefile (revision 444324) @@ -1,532 +1,532 @@ # $FreeBSD$ PORTNAME= llvm DISTVERSION= 4.0.1 CATEGORIES= devel lang MASTER_SITES= http://llvm.org/${PRE_}releases/${LLVM_RELEASE}/${RCDIR} PKGNAMESUFFIX= ${LLVM_SUFFIX} DISTNAME= ${PORTNAME}-${DISTVERSION}.src DISTFILES= ${PORTNAME}-${DISTVERSION}.src${EXTRACT_SUFX} MAINTAINER= brooks@FreeBSD.org COMMENT= LLVM and Clang LICENSE= LLVM LICENSE_NAME= LLVM Release License LICENSE_FILE= ${WRKSRC}/LICENSE.TXT LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LLVM_RELEASE= ${DISTVERSION:C/rc.*//} LLVM_MAJOR= ${LLVM_RELEASE:C/\.[0-9]$//} LLVM_LIB_VER= ${LLVM_MAJOR:C/\.//} RCDIR= ${DISTVERSION:S/${LLVM_RELEASE}//:C|(rc.*)|\1/|} PRE_= ${DISTVERSION:C/.*rc.*/pre-/:N*[0-9]*} LLVM_SUFFIX= ${LLVM_LIB_VER} LLVM_PREFIX= ${PREFIX}/llvm${LLVM_SUFFIX} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${LLVM_SUFFIX} DATADIR= ${PREFIX}/share/${PORTNAME}${LLVM_SUFFIX} -USES= cmake:outsource compiler:c++11-lib libedit ninja perl5 tar:xz \ +USES= cmake:outsource compiler:c++11-lib libedit perl5 tar:xz \ shebangfix _USES_PYTHON?= python:build USES+= ${_USES_PYTHON} USE_LDCONFIG= ${LLVM_PREFIX}/lib SHEBANG_FILES= utils/lit/lit.py utils/llvm-lit/llvm-lit.in SUB_FILES= llvm-wrapper.sh SUB_LIST= LLVM_PREFIX="${LLVM_PREFIX}" LLVM_SUFFIX="${LLVM_SUFFIX}" CMAKE_INSTALL_PREFIX= ${LLVM_PREFIX} CMAKE_ARGS= -DLLVM_BUILD_LLVM_DYLIB=ON # Following commit https://github.com/kitware/cmake/commit/956054 # we need to either change the whole man-shuffle below, or simply # redefine CMAKE_INSTALL_MANDIR CMAKE_ARGS+= -DCMAKE_INSTALL_MANDIR:PATH="share/man" OPTIONS_DEFINE= CLANG DOCS EXTRAS LIT LLD LLDB OPTIONS_DEFINE_amd64= COMPILER_RT GOLD OPENMP OPTIONS_DEFINE_i386= COMPILER_RT OPTIONS_DEFAULT= CLANG EXTRAS LIT LLD LLDB OPTIONS_DEFAULT_amd64= COMPILER_RT GOLD OPENMP OPTIONS_DEFAULT_i386= COMPILER_RT OPTIONS_SUB= yes CLANG_DESC= Build clang CLANG_EXTRA_PATCHES= \ ${PATCHDIR}/clang-patch-fformat_extensions.diff \ ${PATCHDIR}/clang-patch-fopenmp.diff \ ${PATCHDIR}/clang-patch-tools_clang_lib_Headers_CMakeLists.txt \ ${PATCHDIR}/clang-patch-tools_clang_tools_clang-format_clang-format.py \ ${PATCHDIR}/clang-patch-tools_clang_tools_scan-build_libexec_ccc-analyzer CLANG_CONFLICTS_INSTALL= clang-devel-3.[1234567]* CLANG_DISTFILES= cfe-${DISTVERSION}.src${EXTRACT_SUFX} CLANG_CMAKE_ON= -DCLANG_DEFAULT_OPENMP_RUNTIME=libomp CLANG_PORTDOCS= clang CLANG_USE= GNOME=libxml2 COMPILER_RT_DESC= Sanitizer libraries COMPILER_RT_DISTFILES= compiler-rt-${DISTVERSION}.src${EXTRACT_SUFX} COMPILER_RT_PLIST_FILES=${_COMPILER_RT_LIBS:S|^|${_CRTLIBDIR}/|} DOCS_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx DOCS_PORTDOCS= llvm DOCS_CMAKE_ON= -DLLVM_ENABLE_SPHINX=ON \ -DSPHINX_WARNINGS_AS_ERRORS=OFF \ -DLLVM_BUILD_DOCS=ON DOCS_PLIST_FILES= ${MAN1SRCS:S|^|man/man1/|:S|.1$|${LLVM_SUFFIX}.1.gz|} EXTRAS_DESC= Extra clang tools EXTRAS_IMPLIES= CLANG EXTRAS_DISTFILES= clang-tools-extra-${DISTVERSION}.src${EXTRACT_SUFX} GOLD_DESC= Build the LLVM Gold plugin for LTO GOLD_CMAKE_ON= -DLLVM_BINUTILS_INCDIR=${LOCALBASE}/include GOLD_BUILD_DEPENDS= ${LOCALBASE}/bin/ld.gold:devel/binutils LIT_DESC= Install lit and FileCheck test tools LIT_VARS= _USES_PYTHON=python LLD_DESC= Install lld, the LLVM linker LLD_DISTFILES= lld-${DISTVERSION}.src${EXTRACT_SUFX} LLDB_BUILD_DEPENDS= swig3.0:devel/swig30 LLDB_DESC= Install lldb, the LLVM debugger LLDB_DISTFILES= lldb-${DISTVERSION}.src${EXTRACT_SUFX} LLDB_EXTRA_PATCHES= ${PATCHDIR}/lldb-patch-tools_lldb_source_Host_common_FileSpec.cpp LLDB_IMPLIES= CLANG LLDB_USES= execinfo LLDB_VARS= _USES_PYTHON=python OPENMP_DESC= Install libomp, the LLVM OpenMP runtime library OPENMP_DISTFILES= openmp-${DISTVERSION}.src${EXTRACT_SUFX} OPENMP_EXTRA_PATCHES= ${PATCHDIR}/openmp-patch-bug32279 .if defined(WITH_DEBUG) CMAKE_BUILD_TYPE= RelWithDebInfo STRIP= .endif _CRTLIBDIR= ${LLVM_PREFIX:S|${PREFIX}/||}/lib/clang/${LLVM_RELEASE}/lib/freebsd # Emulate USE_GITHUB's ${WRKSRC_tag} to reduce diffs to ../llvm-devel .for option in CLANG COMPILER_RT EXTRAS LLD LLDB OPENMP WRKSRC_${option:tl}= ${WRKDIR}/${${option}_DISTFILES:S/${EXTRACT_SUFX}//} .endfor OPTIONS_SUB= yes PLIST_SUB+= LLVM_LIB_VER=${LLVM_LIB_VER} \ LLVM_MAJOR=${LLVM_MAJOR} \ LLVM_RELEASE=${LLVM_RELEASE} \ LLVM_SUFFIX=${LLVM_SUFFIX} COMMANDS= bugpoint \ llc \ lli \ llvm-ar \ llvm-as \ llvm-bcanalyzer \ llvm-cat \ llvm-config \ llvm-cov \ llvm-diff \ llvm-dis \ llvm-dwarfdump \ llvm-dwp \ llvm-extract \ llvm-link \ llvm-mc \ llvm-mcmarkup \ llvm-modextract \ llvm-nm \ llvm-objdump \ llvm-opt-report \ llvm-profdata \ llvm-ranlib \ llvm-readobj \ llvm-rtdyld \ llvm-size \ llvm-split \ llvm-stress \ llvm-strings \ llvm-symbolizer \ llvm-tblgen \ macho-dump \ opt \ sancov FIRST_COMMAND= ${COMMANDS:C/^/XXXX/1:MXXXX*:C/^XXXX//} STRIP_LIBS= BugpointPasses.so \ LLVMHello.so \ ${LIBNAME}.0 \ libLTO.so EXTRAS_COMMANDS+= \ clang-apply-replacements \ clang-change-namespace \ clang-include-fixer \ clang-modernize \ clang-query \ clang-rename \ clang-reorder-fields \ clang-tidy \ find-all-symbols \ modularize EXTRAS_LIBS= libclangApplyReplacements \ libclangChangeNamespace \ libclangIncludeFixer \ libclangMove \ libclangQuery \ libclangRename \ libclangReorderFields \ libclangTidy \ libclangTidyGoogleModule \ libclangTidyLLVMModule \ libclangTidyMiscModule \ libclangTidyReadabilityModule \ libclangTidyUtils \ libfindAllSymbols \ libmodernizeCore EXTRAS_PATTERN= ${EXTRAS_COMMANDS:tW:C/ */|/g}|${EXTRAS_LIBS:tW:C/ */|/g} .include # keep in sync with /usr/src/lib/clang/clang.build.mk CONFIGURE_TARGET:=${ARCH:C/amd64/x86_64/:C/armv6hf/armv6/}-portbld-${OPSYS:tl}${OSREL} .if ${PORT_OPTIONS:MCLANG} COMMANDS+= c-index-test \ clang \ clang++ \ clang-check \ clang-cpp \ clang-format \ clang-import-test \ clang-offload-bundler \ scan-build \ scan-view MAN1SRCS+= clang.1 \ scan-build.1 CLANG_PATTERN= (c-index-test|clang|scan-|Reporter.py|ScanView.py|scanview.css|sorttable.js|startfile.py|-analyzer) SHEBANG_FILES+= tools/clang/tools/scan-view/bin/scan-view \ tools/clang/tools/clang-format/git-clang-format \ tools/clang/tools/clang-format/clang-format-diff.py .endif .if ${PORT_OPTIONS:MCOMPILER_RT} COMPILER_RT_PATTERN= (asan_blacklist.txt|sanitizer|xray_interface.h) .endif .if ${PORT_OPTIONS:MLIT} MAN1SRCS+= lit.1 FileCheck.1 LIT_COMMANDS= lit llvm-lit FileCheck .endif .if ${PORT_OPTIONS:MLLDB} COMMANDS+= lldb \ lldb-argdumper \ lldb-mi \ lldb-server .endif .if ! ${OPTIONS_DEFINE:MCOMPILER_RT} # Hack to disable COMPILER_RT in plist of unsupported architectures PLIST_SUB+= COMPILER_RT="@comment " .else .endif .if ! ${OPTIONS_DEFINE:MGOLD} # Hack to disable GOLD in plist of unsupported architectures PLIST_SUB+= GOLD="@comment " .else .endif .if ! ${OPTIONS_DEFINE:MOPENMP} # Hack to disable OPENMP in plist of unsupported architectures PLIST_SUB+= OPENMP="@comment " .else .endif MAN1SRCS+= bugpoint.1 llc.1 lli.1 llvm-ar.1 llvm-as.1 \ llvm-bcanalyzer.1 llvm-build.1 llvm-config.1 llvm-cov.1 \ llvm-diff.1 llvm-dis.1 llvm-dwarfdump.1 \ llvm-extract.1 llvm-lib.1 llvm-link.1 llvm-nm.1 \ llvm-profdata.1 llvm-readobj.1 llvm-stress.1 llvm-symbolizer.1 \ opt.1 tblgen.1 .include .if ${ARCH} == "amd64" _COMPILER_RT_LIBS= \ libclang_rt.asan-preinit-x86_64.a \ libclang_rt.asan-x86_64.a \ libclang_rt.asan-x86_64.a.syms \ libclang_rt.asan-x86_64.so \ libclang_rt.asan_cxx-x86_64.a \ libclang_rt.asan_cxx-x86_64.a.syms \ libclang_rt.builtins-x86_64.a \ libclang_rt.dd-x86_64.a \ libclang_rt.dyndd-x86_64.so \ libclang_rt.lsan-x86_64.a \ libclang_rt.profile-x86_64.a \ libclang_rt.safestack-x86_64.a \ libclang_rt.stats-x86_64.a \ libclang_rt.stats_client-x86_64.a \ libclang_rt.tsan-x86_64.a \ libclang_rt.tsan-x86_64.a.syms \ libclang_rt.tsan_cxx-x86_64.a \ libclang_rt.tsan_cxx-x86_64.a.syms \ libclang_rt.ubsan_standalone-x86_64.a \ libclang_rt.ubsan_standalone-x86_64.a.syms \ libclang_rt.ubsan_standalone_cxx-x86_64.a \ libclang_rt.ubsan_standalone_cxx-x86_64.a.syms .endif .if ${ARCH} == "i386" _COMPILER_RT_LIBS+= \ libclang_rt.asan-i386.a \ libclang_rt.asan-i386.so \ libclang_rt.asan-preinit-i386.a \ libclang_rt.asan_cxx-i386.a \ libclang_rt.builtins-i386.a \ libclang_rt.profile-i386.a \ libclang_rt.safestack-i386.a \ libclang_rt.stats-i386.a \ libclang_rt.stats_client-i386.a \ libclang_rt.ubsan_standalone-i386.a \ libclang_rt.ubsan_standalone_cxx-i386.a .endif .if ${PORT_OPTIONS:MEXTRAS} COMMANDS+= ${EXTRAS_COMMANDS} MAN1SRCS+= extraclangtools.1 PORTDOCS+= clang-tools SHEBANG_FILES+= tools/clang/tools/extra/clang-tidy/tool/clang-tidy-diff.py \ tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py \ tools/clang/tools/extra/include-fixer/find-all-symbols/tool/run-find-all-symbols.py .endif .if ${PORT_OPTIONS:MLLD} COMMANDS+= lld \ lld-link PORTDOCS+= lld .endif .if ${OPSYS} == "FreeBSD" && ${COMPILER_TYPE} != clang CXXFLAGS+= -D_GLIBCXX_USE_C99 .endif .if ${ARCH} == "armv6" BUILD_DEPENDS+= ${LOCALBASE}/bin/ld:devel/binutils CONFIGURE_ENV+= COMPILER_PATH=${LOCALBASE}/bin MAKE_ENV+= COMPILER_PATH=${LOCALBASE}/bin .endif .if ${PYTHON_REL} < 3400 LLDB_BUILD_DEPENDS+= \ ${PYTHON_PKGNAMEPREFIX}enum34>0:devel/py-enum34 .endif post-extract-CLANG-on: ${MV} ${WRKSRC_clang} ${PATCH_WRKSRC}/tools/clang post-extract-EXTRAS-on: ${MV} ${WRKSRC_extras} ${PATCH_WRKSRC}/tools/clang/tools/extra post-extract-LLD-on: ${MV} ${WRKSRC_lld} ${PATCH_WRKSRC}/tools/lld post-extract-LLDB-on: ${MV} ${WRKSRC_lldb} ${PATCH_WRKSRC}/tools/lldb post-extract-OPENMP-on: ${MV} ${WRKSRC_openmp} ${PATCH_WRKSRC}/tools/openmp post-patch: ${REINPLACE_CMD} -e 's|import lit|import lit${LLVM_SUFFIX}|' \ -e 's|from lit|from lit${LLVM_SUFFIX}|' \ -e 's|lit\.|lit${LLVM_SUFFIX}.|' \ ${WRKSRC}/utils/lit/lit.py ${WRKSRC}/utils/lit/lit/*.py \ ${WRKSRC}/utils/lit/lit/formats/*.py ${REINPLACE_CMD} -e 's,/usr/local/,${LOCALBASE}/,' \ ${WRKSRC}/CMakeLists.txt post-patch-CLANG-on: ${REINPLACE_CMD} -e 's|%%LLVM_PREFIX%%|${LLVM_PREFIX}|' \ ${PATCH_WRKSRC}/tools/clang/lib/Driver/Tools.cpp post-patch-COMPILER_RT-on: cd ${WRKSRC_compiler_rt} && patch < ${PATCHDIR}/compiler-rt-patch-canonical-syscalls cd ${WRKSRC_compiler_rt} && patch < ${PATCHDIR}/compiler-rt-patch-ino64 post-build-COMPILER_RT-on: ${MKDIR} ${WRKDIR}/compiler-rt-build cd ${WRKDIR}/compiler-rt-build && \ ${CMAKE_BIN} ${CMAKE_ARGS} \ -DLLVM_CONFIG_PATH=${CONFIGURE_WRKSRC}/bin/llvm-config \ ${WRKSRC_compiler_rt} && \ ${MAKE_ENV} ${MAKE_CMD} post-install: ${RM} -r ${STAGEDIR}${LLVM_PREFIX}/include/llvm/MC/MCAnalysis ${INSTALL_SCRIPT} ${WRKDIR}/llvm-wrapper.sh \ ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} .for command in ${COMMANDS:C/^/XXXX/1:NXXXX*} ${LN} -f ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} \ ${STAGEDIR}${PREFIX}/bin/${command}${LLVM_SUFFIX} .endfor post-install-DOCS-on: ${MV} ${STAGEDIR}${LLVM_PREFIX}/share/doc ${STAGEDIR}${DOCSDIR} .for _man in ${MAN1SRCS} ${MV} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/${_man} \ ${STAGEDIR}${MANPREFIX}/man/man1/${_man:R}${LLVM_SUFFIX}.1 .endfor .if ! ${PORT_OPTIONS:MLIT} ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/lit.1 ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/FileCheck.1 .endif ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/ ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/ .if ${PORT_OPTIONS:MCLANG} post-install-DOCS-off: ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/scan-build.1 ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/ ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/ .endif post-install-LLDB-on: ${RM} ${STAGEDIR}${LLVM_PREFIX}/lib/python*/site-packages/lib ${RM} -r ${STAGEDIR}${LLVM_PREFIX}/include/lldb/Host/windows/getopt post-install-CLANG-on: ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/clang \ ${STAGEDIR}${LLVM_PREFIX}/bin/clang-cpp ${INSTALL_PROGRAM} ${WRKDIR}/.build/bin/clang-tblgen \ ${STAGEDIR}${LLVM_PREFIX}/bin/ post-install-COMPILER_RT-on: cd ${WRKDIR}/compiler-rt-build && \ ${MAKE_ENV} ${MAKE_CMD} ${INSTALL_TARGET} .if ${ARCH} == "amd64" ${RM} ${STAGEDIR}${LLVM_PREFIX}/lib/freebsd/libclang_rt*i386* .endif ${MKDIR} ${STAGEDIR}${PREFIX}/${_CRTLIBDIR} ${MV} ${STAGEDIR}${LLVM_PREFIX}/lib/freebsd/* \ ${STAGEDIR}${PREFIX}/${_CRTLIBDIR} ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/lib/freebsd post-install-LIT-on: ${INSTALL_SCRIPT} ${PATCH_WRKSRC}/utils/lit/lit.py \ ${STAGEDIR}${LLVM_PREFIX}/bin/lit ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${LLVM_PREFIX}/bin/llvm-lit ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${PREFIX}/bin/lit${LLVM_SUFFIX} ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${PREFIX}/bin/llvm-lit${LLVM_SUFFIX} ${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX} ${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX}/formats ${INSTALL_DATA} ${WRKSRC}/utils/lit/lit/*.py \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX} ${INSTALL_DATA} ${WRKSRC}/utils/lit/lit/formats/*.py \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX}/formats ${INSTALL_PROGRAM} ${WRKDIR}/.build/bin/FileCheck \ ${STAGEDIR}${LLVM_PREFIX}/bin/ ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/FileCheck \ ${STAGEDIR}${PREFIX}/bin/FileCheck${LLVM_SUFFIX} TEST_CMD= '(cd ${WRKSRC}/test; ${SETENV} ${MAKE_ENV} LD_LIBRARY_PATH=${WRKSRC}/Release/lib ${MAKE_CMD} check-local-lit)' regression-test: ${BUILD_COOKIE} if [ `${ID} -u` = 0 ]; then \ ${CHOWN} -R nobody ${WRKSRC}/test; \ su -m nobody -c ${TEST_CMD}; \ else \ ${SH} -c ${TEST_CMD}; \ fi build-plist: ${RM} ${PLIST} ${PLIST}.tmp ${ECHO_CMD} "@comment >>>>> GENERATED FILE, DO NOT EDIT <<<<<" >> ${PLIST}.tmp ${ECHO_CMD} "@comment Alter build-plist target and regenerate as required" >> ${PLIST}.tmp .for command in ${COMMANDS} ${ECHO_CMD} bin/${command}%%LLVM_SUFFIX%% >> ${PLIST}.tmp .endfor .for command in ${LIT_COMMANDS} ${ECHO_CMD} %%LIT%%bin/${command}%%LLVM_SUFFIX%% >> ${PLIST}.tmp ${ECHO_CMD} %%LIT%%${LLVM_PREFIX:S|${PREFIX}/||:C|${LLVM_SUFFIX}|%%LLVM_SUFFIX%%|}/bin/${command} >> ${PLIST}.tmp .endfor ${FIND} ${STAGEDIR}${LLVM_PREFIX} -type f -o -type l | \ ${GREP} -v '[/-]lit$$' | ${GREP} -v 'FileCheck$$' | \ ${GREP} -v man/man1 | ${SED} -e 's|${STAGEDIR}${PREFIX}/||' \ -e 's|${LLVM_RELEASE}|%%LLVM_RELEASE%%|' \ -e 's|release.cmake|%%CMAKE_BUILD_TYPE%%.cmake|' \ -e 's|${LLVM_RELEASE:C/\./\\./g}|%%LLVM_RELEASE%%|' \ -e 's|${LLVM_MAJOR:C/\./\\./}|%%LLVM_MAJOR%%|' \ -e 's|${LLVM_MAJOR:C/\.//}|%%LLVM_LIB_VER%%|' \ -e 's|${PYTHON_SITELIBDIR:C|${PREFIX}/||}|%%PYTHON_SITELIBDIR%%|' | \ ${SORT} >> ${PLIST}.tmp ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX} -type f | \ ${SED} -e 's|${STAGEDIR}${PYTHON_SITELIBDIR}|%%LIT%%%%PYTHON_SITELIBDIR%%|' \ -e 's|${LLVM_RELEASE:C/\./\\./g}|%%LLVM_RELEASE%%|' \ -e 's|${LLVM_MAJOR:C/\./\\./}|%%LLVM_MAJOR%%|' \ -e 's|lit${LLVM_SUFFIX}|lit%%LLVM_SUFFIX%%|' | \ ${SORT} >> ${PLIST}.tmp ${AWK} '{ \ if ($$0 ~ /${CLANG_PATTERN}/ && $$0 !~ /(omp.h|${EXTRAS_PATTERN}|libclang_rt)/) {printf "%%%%CLANG%%%%"} \ if ($$0 ~ /${COMPILER_RT_PATTERN}/) \ {printf "%%%%COMPILER_RT%%%%"} \ if ($$0 ~ /(${EXTRAS_PATTERN})/) {printf "%%%%EXTRAS%%%%"} \ if ($$0 ~ /lld/ && $$0 !~ /lldb/) {printf "%%%%LLD%%%%"} \ if ($$0 ~ /(argdumper|lldb|six.py)/) {printf "%%%%LLDB%%%%"} \ if ($$0 ~ /lib.*omp/) {printf "%%%%OPENMP%%%%"} \ if ($$0 ~ /LLVMgold/) {printf "%%%%GOLD%%%%"} \ if ($$0 !~ /libclang_rt/) {print}}' ${PLIST}.tmp >> ${PLIST} ${RM} ${PLIST}.tmp check-commands: .for command in ${COMMANDS} test -e ${STAGEDIR}${LLVM_PREFIX}/bin/${command} .endfor .if make(svn-patch-llvm) .if !defined(PATCH_REV) .error svn-patch-llvm requires that PATCH_REV be set .endif _PATCH_FILE=${FILESDIR}/patch-svn-${PATCH_REV} _LLVM_BASE=http://llvm.org/svn/llvm-project/llvm/trunk svn-patch-llvm: svn log -c ${PATCH_REV} ${_LLVM_BASE} >> ${_PATCH_FILE} svn diff -c ${PATCH_REV} ${_LLVM_BASE} >> ${_PATCH_FILE} .endif .if make(svn-patch-clang) .if !defined(PATCH_REV) .error svn-patch-clang requires that PATCH_REV be set .endif _PATCH_FILE=${FILESDIR}/clang-patch-svn-${PATCH_REV} _LLVM_BASE=http://llvm.org/svn/llvm-project/cfe/trunk svn-patch-clang: svn log -c ${PATCH_REV} ${_LLVM_BASE} >> ${_PATCH_FILE} svn diff -c ${PATCH_REV} ${_LLVM_BASE} | \ ${SED} -E -e 's;^(---|\+\+\+) ;\1 tools/clang/;' >> ${_PATCH_FILE} .endif .if make(svn-patch-compiler-rt) .if !defined(PATCH_REV) .error svn-patch-compiler-rt requires that PATCH_REV be set .endif _PATCH_FILE=${FILESDIR}/compiler-rt-patch-svn-${PATCH_REV} _LLVM_BASE=http://llvm.org/svn/llvm-project/compiler-rt/trunk svn-patch-compiler-rt: svn log -c ${PATCH_REV} ${_LLVM_BASE} >> ${_PATCH_FILE} svn diff -c ${PATCH_REV} ${_LLVM_BASE} | \ ${SED} -E -e 's;^(---|\+\+\+) ;\1 tools/compiler-rt/;' >> ${_PATCH_FILE} .endif .if make(svn-patch-lldb) .if !defined(PATCH_REV) .error svn-patch-lldb requires that PATCH_REV be set .endif _PATCH_FILE=${FILESDIR}/lldb-patch-svn-${PATCH_REV} _LLVM_BASE=http://llvm.org/svn/llvm-project/lldb/trunk svn-patch-lldb: svn log -c ${PATCH_REV} ${_LLVM_BASE} >> ${_PATCH_FILE} svn diff -c ${PATCH_REV} ${_LLVM_BASE} | >> ${_PATCH_FILE} .endif .include Index: head/devel/mongo-c-driver/Makefile =================================================================== --- head/devel/mongo-c-driver/Makefile (revision 444323) +++ head/devel/mongo-c-driver/Makefile (revision 444324) @@ -1,27 +1,27 @@ # Created by: "Waitman Gobble" # $FreeBSD$ PORTNAME= mongo-c-driver PORTVERSION= 1.3.5 CATEGORIES= devel MAINTAINER= ports@bsdserwis.com COMMENT= C Driver for MongoDB LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 \ libbson-1.0.so:devel/libbson USE_GITHUB= yes GH_ACCOUNT= mongodb -USES= cmake pkgconfig +USES= cmake:noninja pkgconfig USE_LDCONFIG= yes LDFLAGS+= -pthread post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmongoc-1.0.so.${PORTVERSION} .include Index: head/devel/rapidjson/Makefile =================================================================== --- head/devel/rapidjson/Makefile (revision 444323) +++ head/devel/rapidjson/Makefile (revision 444324) @@ -1,54 +1,53 @@ # Created by: Yuri Victorovich # $FreeBSD$ PORTNAME= rapidjson PORTVERSION= 1.1.0 PORTREVISION= 1 DISTVERSIONPREFIX= v CATEGORIES= devel textproc MAINTAINER= yuri@rawbw.com COMMENT= Fast JSON parser/generator for C++ with both SAX/DOM style API LICENSE= unknown LICENSE_NAME= RapidJSON LICENSE_FILE= ${WRKSRC}/license.txt LICENSE_PERMS= ${_LICENSE_PERMS_DEFAULT} BROKEN_aarch64= does not build: c++: error: the clang compiler does not support -march=native BROKEN_armv6= does not build: c++: error: the clang compiler does not support -march=native BROKEN_sparc64= does not build: c++: error: the clang compiler does not support -march=native BROKEN_powerpc64= does not build: c++: error: the clang compiler does not support -march=native USE_GITHUB= yes GH_ACCOUNT= miloyip USES= cmake compiler:c++11-lang pathfix OPTIONS_DEFINE= DOXYGEN EXAMPLES OPTIONS_DEFAULT=${OPTIONS_DEFINE} OPTIONS_SUB= yes DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen DOXYGEN_CMAKE_ON= -DRAPIDJSON_BUILD_DOC:BOOL=ON DOXYGEN_CMAKE_OFF= -DRAPIDJSON_BUILD_DOC:BOOL=OFF EXAMPLES_CMAKE_ON= -DRAPIDJSON_BUILD_EXAMPLES:BOOL=ON EXAMPLES_CMAKE_OFF= -DRAPIDJSON_BUILD_EXAMPLES:BOOL=OFF CXXFLAGS+= -Wno-c++98-compat # for EXAMPLES option, due to this bug: https://github.com/miloyip/rapidjson/issues/761 -MAKE_ARGS= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" CMAKE_ARGS= -DRAPIDJSON_BUILD_TESTS:BOOL=OFF DATADIR= ${PREFIX}/share/doc/RapidJSON PORTDATA= * post-patch: @${REINPLACE_CMD} -e 's|DOC_INSTALL_DIR}/examples"|CMAKE_INSTALL_PREFIX}/share/examples/${PORTNAME}"| ; s| -march=native||' ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e 's|-Werror||' ${WRKSRC}/example/CMakeLists.txt ${WRKSRC}/test/unittest/CMakeLists.txt @${REINPLACE_CMD} -e 's|.*travis.*||' ${WRKSRC}/CMakeLists.txt # travis_doc breaks cmake, see https://github.com/miloyip/rapidjson/issues/715 @${REINPLACE_CMD} -e 's|add_subdirectory.*googletest.*|link_directories(${LOCALBASE}/lib)|' ${WRKSRC}/test/CMakeLists.txt post-install: @${RM} -r ${STAGEDIR}${EXAMPLESDIR}/CMake* .include Index: head/devel/tesla/Makefile =================================================================== --- head/devel/tesla/Makefile (revision 444323) +++ head/devel/tesla/Makefile (revision 444324) @@ -1,31 +1,31 @@ # $FreeBSD$ PORTNAME= tesla DISTVERSION= 0.0.20140425 PORTREVISION= 5 CATEGORIES= devel lang MAINTAINER= brooks@FreeBSD.org COMMENT= Temporally Enhanced Security Logic Assertions BUILD_DEPENDS= clang33:lang/clang33 RUN_DEPENDS= clang33:lang/clang33 LIB_DEPENDS= libprotobuf.so:devel/protobuf BROKEN_armv6= fails to link: cmTC_8106f uses VFP register arguments, testCCompiler.c.o does not SHEBANG_FILES= scripts/highlight-transitions -USES= cmake:outsource execinfo ninja python:run shebangfix +USES= cmake:outsource execinfo python:run shebangfix USE_GITHUB= yes GH_ACCOUNT= CTSRD-TESLA GH_PROJECT= TESLA GH_TAGNAME= 3136f0f CC= clang33 CXX= clang++33 CMAKE_ARGS+= -DCMAKE_LLVM_CONFIG=llvm-config33 .include Index: head/devel/xxhash/files/patch-git_5ab73ee =================================================================== --- head/devel/xxhash/files/patch-git_5ab73ee (nonexistent) +++ head/devel/xxhash/files/patch-git_5ab73ee (revision 444324) @@ -0,0 +1,46 @@ +From 5ab73ee82245b586f69762411edc7824d778ee2a Mon Sep 17 00:00:00 2001 +From: Chris Kitching +Date: Tue, 15 Nov 2016 10:15:48 +0000 +Subject: [PATCH] Rely on BUILD_SHARED_LIBS instead of custom options + +Instead of having your own option for choosing between static +and shared versions of the library, use cmake's built-in option +for this: +https://cmake.org/cmake/help/v3.0/variable/BUILD_SHARED_LIBS.html + +Set -DBUILD_SHARED_LIBS=ON to get a shared library, and omit it +or set it to OFF to get a static one. +Can add one extra line to the cmake file to make the default be +shared. Makes most of the cmake crap go away. +--- cmake_unofficial/CMakeLists.txt.orig 2016-08-11 18:18:57 UTC ++++ cmake_unofficial/CMakeLists.txt +@@ -6,26 +6,14 @@ project(xxhash) + set(XXHASH_LIB_VERSION "0.42.0") + set(XXHASH_LIB_SOVERSION "0") + +-set(BUILD_SHARED_LIBS ON CACHE BOOL "Set to ON to build shared libraries") +-if(BUILD_SHARED_LIBS) +- add_library(xxhash SHARED ../xxhash.c) +- set_target_properties(xxhash PROPERTIES COMPILE_DEFINITIONS "XXHASH_EXPORT" ++add_library(xxhash SHARED ../xxhash.c) ++set_target_properties(xxhash PROPERTIES COMPILE_DEFINITIONS "XXHASH_EXPORT" + VERSION "${XXHASH_LIB_VERSION}" + SOVERSION "${XXHASH_LIB_SOVERSION}") +- LIST(APPEND install_libs xxhash) +-endif(BUILD_SHARED_LIBS) + +-set(BUILD_STATIC_LIBS ON CACHE BOOL "Set to ON to build static libraries") +-if(BUILD_STATIC_LIBS) +- add_library(xxhashstatic ../xxhash.c) +- set_target_properties(xxhashstatic PROPERTIES OUTPUT_NAME xxhash) +- LIST(APPEND install_libs xxhashstatic) +-endif(BUILD_STATIC_LIBS) +- +- + INSTALL(FILES ../xxhash.h DESTINATION include) + INSTALL( +- TARGETS ${install_libs} ++ TARGETS xxhash + RUNTIME DESTINATION bin + ARCHIVE DESTINATION lib + LIBRARY DESTINATION lib Property changes on: head/devel/xxhash/files/patch-git_5ab73ee ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/editors/codelite/Makefile =================================================================== --- head/editors/codelite/Makefile (revision 444323) +++ head/editors/codelite/Makefile (revision 444324) @@ -1,100 +1,100 @@ # Created by: gahr # $FreeBSD$ PORTNAME= codelite PORTVERSION= 10.0 PORTREVISION= 1 CATEGORIES= editors devel MAINTAINER= mmokhi@FreeBSD.org COMMENT= Open Source IDE for C/C++ LICENSE= GPLv2+ RUN_DEPENDS= xterm:x11/xterm LIB_DEPENDS+= libhunspell-1.6.so:textproc/hunspell BROKEN_armv6= fails to configure: has leading or trailing whitespace. This is now an error according to policy CMP0004 USE_GITHUB= yes GH_ACCOUNT= eranif -USES= cmake:outsource compiler:c++11-lib dos2unix execinfo gettext \ +USES= cmake:outsource,noninja compiler:c++11-lib dos2unix execinfo gettext \ pathfix shebangfix sqlite USE_GNOME+= cairo gtk20 DOS2UNIX_GLOB= *.cpp *.txt SHEBANG_FILES= Runtime/codelite_xterm bash_CMD= /bin/sh USE_WX= 3.0 CMAKE_ARGS= -DPREFIX:STRING="${PREFIX}" \ -DIS_FREEBSD:STRING=1 \ -DCL_WX_CONFIG:STRING="${WX_CONFIG:T}" USE_LDCONFIG= ${PREFIX}/lib/codelite INSTALLS_ICONS= yes CXXFLAGS+= ${EXECINFO_CPPFLAGS} LDFLAGS+= ${EXECINFO_LDFLAGS} OPTIONS_DEFINE= CSCOPE SFTP OPTIONS_RADIO= CLANG OPTIONS_SUB= yes CSCOPE_DESC= CScope integration CSCOPE_RUN_DEPENDS= cscope:devel/cscope SFTP_DESC= Secure FTP support via libssh SFTP_LIB_DEPENDS= libssh.so:security/libssh SFTP_CMAKE_OFF= -DENABLE_SFTP:STRING=0 SFTP_USES= localbase CLANG_DESC= Clang code-completion .for v in 34 35 36 37 38 39 OPTIONS_RADIO_CLANG+= CLANG$v CLANG$v_DESC= Clang ${v:C/(.)(.)/\1.\2.x/} .if $v == 39 CLANG$v_BUILD_DEPENDS= llvm$v>0:devel/llvm$v CLANG$v_RUN_DEPENDS= llvm$v>0:devel/llvm$v .else CLANG$v_BUILD_DEPENDS= clang$v>0:lang/clang$v CLANG$v_RUN_DEPENDS= clang$v>0:lang/clang$v .endif post-patch-CLANG$v-on: @${REINPLACE_CMD} -e \ 's|/usr/lib/llvm-.*/|${LOCALBASE}/llvm$v/|' \ ${WRKSRC}/cmake/Modules/FindLibClang.cmake \ ${WRKSRC}/cmake/Modules/FindLibLLDB.cmake .endfor .include .if ${PORT_OPTIONS:MCLANG*} CMAKE_ARGS+= -DENABLE_LLDB:STRING=1 -DENABLE_CLANG:STRING=1 .else CMAKE_ARGS+= -DENABLE_LLDB:STRING=0 -DENABLE_CLANG:STRING=0 .endif post-patch: # Use the correct wx-config @${REINPLACE_CMD} -e \ '/ IS_FREEBSD/s|^|#| ; \ / CL_WX_CONFIG/s|^|#| ; \ / -Wno-/s|^|#| ; \ / -O2/s|^|#| ; \ s|"-s"|""|' \ ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e \ 's|"-lkvm"|"-lkvm -lutil"| ; \ s|share/man|man|' \ ${WRKSRC}/LiteEditor/CMakeLists.txt @${REINPLACE_CMD} -e \ 's|"-lutil"|"-lkvm -lutil"|' \ ${WRKSRC}/codelite_terminal/CMakeLists.txt @${REINPLACE_CMD} -e \ '/ADDITIONAL_LIBRARIES/s|""|"-lexecinfo"|' \ ${WRKSRC}/sdk/codelite_cppcheck/CMakeLists.txt @${REINPLACE_CMD} -e \ 's|/bin/grep|/usr/bin/grep|' \ ${WRKSRC}/cmake/Modules/FindLibClang.cmake .include Index: head/editors/jucipp/Makefile =================================================================== --- head/editors/jucipp/Makefile (revision 444323) +++ head/editors/jucipp/Makefile (revision 444324) @@ -1,38 +1,38 @@ # Created by: Mohammad S. Babaei # $FreeBSD$ PORTNAME= jucipp PORTVERSION= 1.2.4 DISTVERSIONPREFIX= v CATEGORIES= editors MAINTAINER= info@babaei.net COMMENT= Lightweight C++-IDE with support for C++11, C++14 and C++17 LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libaspell.so:textproc/aspell \ libboost_filesystem.so:devel/boost-libs \ libgit2.so:devel/libgit2 \ libclang.so:devel/llvm40 USE_GNOME= gdkpixbuf2 gtkmm30 gtksourceviewmm3 -USES= cmake:outsource desktop-file-utils ninja pkgconfig +USES= cmake:outsource desktop-file-utils pkgconfig INSTALLS_ICONS= yes USE_GITHUB= yes GH_ACCOUNT= cppit GH_TUPLE= cppit:libclangmm:1ef0424:libclangmm/libclangmm \ eidheim:tiny-process-library:8025c45:tiny_process_library/tiny-process-library PLIST_FILES= bin/juci \ share/applications/juci.desktop \ share/icons/hicolor/scalable/apps/juci.svg post-patch: # Make sure that jucipp can find LLVM 4.0 @${REINPLACE_CMD} 's,[[:<:]]llvm39/\(.*\)[[:>:]],llvm40/\1,g' \ ${WRKSRC}/cmake_modules/FindLibClang.cmake .include Index: head/editors/kate-plugin-pate/Makefile =================================================================== --- head/editors/kate-plugin-pate/Makefile (revision 444323) +++ head/editors/kate-plugin-pate/Makefile (revision 444324) @@ -1,31 +1,31 @@ # $FreeBSD$ PORTNAME= kate-plugin-pate PORTVERSION= ${KDE4_VERSION} PORTREVISION= 1 CATEGORIES= editors kde kde-kde4 DISTNAME= kate-${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Support for Python plugins in Kate -USES= cmake:outsource kde:4 python tar:xz +USES= cmake:outsource,noninja kde:4 python tar:xz USE_KDE= kdelibs automoc4 kate \ pykde4_build pykde4_run USE_QT4= gui webkit \ moc_build qmake_build rcc_build uic_build DISTINFO_FILE= ${.CURDIR:H:H}/editors/kate/distinfo # cmake.mk doesn't allow to overwrite BUILD_WRKSRC for out-of-source builds _pate_WRKSRC= ${BUILD_WRKSRC}/addons/kate/pate do-build: cd ${_pate_WRKSRC} && \ ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${_MAKE_JOBS} ${MAKE_ARGS} ${ALL_TARGET} do-install: cd ${_pate_WRKSRC} && \ ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET} .include Index: head/editors/neovim/Makefile =================================================================== --- head/editors/neovim/Makefile (revision 444323) +++ head/editors/neovim/Makefile (revision 444324) @@ -1,49 +1,49 @@ # Created by: Anton Tornqvist # $FreeBSD$ PORTNAME= neovim PORTVERSION= 0.2.0 DISTVERSIONPREFIX= v CATEGORIES= editors MAINTAINER= gor@clogic.com.ua COMMENT= Next generation Vim LICENSE= APACHE20 BUILD_DEPENDS= ${LUA_MODLIBDIR}/bit.so:devel/lua-bitop \ ${LUA_MODLIBDIR}/lpeg.so:devel/lua-lpeg \ gperf:devel/gperf LIB_DEPENDS= libunibilium.so:devel/unibilium \ libvterm.so:devel/libvterm \ libtermkey.so:devel/libtermkey \ libluajit-5.1.so:lang/luajit \ libuv.so:devel/libuv \ libmsgpackc.so:devel/msgpack -USES= cmake:outsource gettext iconv ninja lua:build pathfix pkgconfig +USES= cmake:outsource gettext iconv lua:build pathfix pkgconfig USE_GITHUB= yes GH_TUPLE= libmpack:libmpack:1.0.5:libmpack \ libmpack:libmpack-lua:1.0.6:libmpack_lua CMAKE_ARGS= -DLUA_PRG:FILEPATH="${LUA_CMD}" \ -DCMAKE_INSTALL_MANDIR:PATH="${MANPREFIX}/man" \ -DDEPS_PREFIX:PATH="${LOCALBASE}" post-patch: @${REINPLACE_CMD} -e \ 's|lua_objlen|lua_rawlen| ; \ s|luaL_reg |luaL_Reg | ; \ s|luaL_register(L, NULL, \(.*\));|luaL_setfuncs(L, \1, 0);|' \ ${WRKSRC_libmpack_lua}/lmpack.c pre-build: @${LN} -s ${WRKSRC_libmpack} ${WRKSRC_libmpack_lua}/mpack-src @${MKDIR} ${BUILD_WRKSRC}/src/nvim @(cd ${WRKSRC_libmpack_lua} && ${CC} ${CFLAGS} -fPIC \ -I${LUA_INCDIR} -shared lmpack.c -o \ ${BUILD_WRKSRC}/src/nvim/mpack.so \ ${LUA_LIBDIR}/liblua-${LUA_VER}.so) @${LN} -s ${BUILD_WRKSRC}/src/nvim/mpack.so ${BUILD_WRKSRC}/runtime/mpack.so .include Index: head/games/hedgewars/Makefile =================================================================== --- head/games/hedgewars/Makefile (revision 444323) +++ head/games/hedgewars/Makefile (revision 444324) @@ -1,73 +1,73 @@ # Created by: Dmitry Marakasov # $FreeBSD$ PORTNAME= hedgewars PORTVERSION= 0.9.22 PORTREVISION= 2 CATEGORIES= games MASTER_SITES= http://download.gna.org/hedgewars/ \ http://mirror.amdmi3.ru/distfiles/ DISTNAME= ${PORTNAME}-src-${DISTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Free Worms-like turn based strategy game LICENSE= GPLv2 GFDL LICENSE_COMB= multi LIB_DEPENDS= libphysfs.so:devel/physfs -USES= cmake desktop-file-utils lua:51 tar:bzip2 +USES= cmake:noninja desktop-file-utils lua:51 tar:bzip2 USE_SDL= sdl mixer image ttf net USE_FPC= opengl libpng rtl-objpas USE_QT4= corelib gui moc_build network \ qmake_build rcc_build svg xml \ uic_build linguisttools_build CMAKE_ARGS= -DNOVIDEOREC=1 USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/${DISTNAME:C/\.[0-9]$//} PLIST_FILES= bin/${PORTNAME} bin/hwengine \ share/appdata/hedgewars.appdata.xml \ share/applications/${PORTNAME}.desktop \ share/pixmaps/${PORTNAME}.png \ share/pixmaps/${PORTNAME}.xpm \ lib/libphyslayer.so PORTDATA= * # VIDEOREC - broken with recent ffmpeg OPTIONS_DEFINE= SERVER # VIDEOREC #OPTIONS_DEFAULT=SERVER # until it's unbroken SERVER_DESC= Build server (requires haskell) #VIDEOREC_DESC= Enable video recording (requires ffmpeg) #VIDEOREC_LIB_DEPENDS=libavcodec0.so:multimedia/ffmpeg0 #VIDEOREC_CMAKE_OFF=-DNOVIDEOREC=1 SERVER_BUILD_DEPENDS= ghc:lang/ghc \ hs-vector>=0:devel/hs-vector \ hs-network>=0:net/hs-network \ hs-utf8-string>=0:devel/hs-utf8-string \ hs-bytestring-show>=0:devel/hs-bytestring-show \ hs-dataenc>=0:converters/hs-dataenc \ hs-random>=0:devel/hs-random \ hs-hslogger>=0:devel/hs-hslogger \ hs-SHA>=0:security/hs-SHA \ hs-entropy>=0:security/hs-entropy \ hs-zlib>=0:archivers/hs-zlib SERVER_CMAKE_OFF= -DNOSERVER=1 SERVER_PLIST_FILES= bin/${PORTNAME}-server post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/cmake_modules/*.cmake post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* ${INSTALL_DATA} ${WRKSRC}/share/hedgewars/Data/misc/hedgewars.desktop \ ${STAGEDIR}${PREFIX}/share/applications/ ${INSTALL_DATA} ${WRKSRC}/misc/hedgewars.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/ .include Index: head/games/openclonk/Makefile =================================================================== --- head/games/openclonk/Makefile (revision 444323) +++ head/games/openclonk/Makefile (revision 444324) @@ -1,37 +1,37 @@ # Created by: Kevin Zheng # $FreeBSD$ PORTNAME= openclonk PORTVERSION= 7.0 DISTVERSIONSUFFIX= -src PORTREVISION= 5 CATEGORIES= games MASTER_SITES= http://www.openclonk.org/builds/release/${DISTVERSION}/ MAINTAINER= kevinz5000@gmail.com COMMENT= Multiplayer action game involving small and nimble humanoids LICENSE= ISCL CC0-1.0 LICENSE_COMB= multi LICENSE_FILE_ISCL= ${WRKSRC}/COPYING LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libfreetype.so:print/freetype2 \ libogg.so:audio/libogg \ libpng.so:graphics/png \ libvorbis.so:audio/libvorbis BROKEN_powerpc64= fails to compile: C4Texture.cpp:260:13: error: 'stoul' is not a member of 'std' -USES= compiler:c++14-lang cmake desktop-file-utils jpeg pkgconfig tar:bzip2 +USES= compiler:c++14-lang cmake:noninja desktop-file-utils jpeg pkgconfig tar:bzip2 USE_GL= glew USE_GNOME= gtk30 USE_SDL= sdl mixer USE_XORG= x11 xpm INSTALLS_ICONS= yes post-patch: @${REINPLACE_CMD} -e 's|DESTINATION games|DESTINATION bin|' \ -e 's|share/games|share|' ${WRKSRC}/CMakeLists.txt .include Index: head/games/openmw/Makefile =================================================================== --- head/games/openmw/Makefile (revision 444323) +++ head/games/openmw/Makefile (revision 444324) @@ -1,54 +1,54 @@ # Created by: Tobias Kortkamp # $FreeBSD$ PORTNAME= openmw PORTVERSION= 0.41.0 DISTVERSIONPREFIX= openmw- PORTREVISION= 6 CATEGORIES= games MAINTAINER= tobik@FreeBSD.org COMMENT= Unofficial open source engine reimplementation of the game Morrowind LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/docs/license/GPL3.txt LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libBulletCollision.so:devel/bullet \ libboost_thread.so:devel/boost-libs \ libMyGUIEngine.so:x11-toolkits/mygui \ libosg.so:graphics/osg \ libunshield.so:archivers/unshield USE_GITHUB= yes GH_ACCOUNT= OpenMW -USES= cmake:outsource compiler:c++14-lang ninja openal pkgconfig +USES= cmake:outsource compiler:c++14-lang openal pkgconfig USE_GL= gl USE_QT5= qmake_build buildtools_build core gui network opengl \ printsupport widgets USE_SDL= sdl2 USE_XORG= xt CMAKE_ARGS= -DCMAKE_BUILD_TYPE=Release \ -DDESIRED_QT_VERSION=5 \ -DBUILD_OPENMW=ON \ -DBUILD_BSATOOL=ON \ -DBUILD_ESMTOOL=ON \ -DBUILD_LAUNCHER=ON \ -DBUILD_MWINIIMPORTER=ON \ -DBUILD_ESSIMPORTER=ON \ -DBUILD_OPENCS=ON \ -DBUILD_WIZARD=ON \ -DBUILD_WITH_CODE_COVERAGE=OFF \ -DBUILD_UNITTEST=OFF \ -DBUILD_NIFTEST=OFF \ -DBUILD_MYGUI_PLUGIN=OFF \ -DMORROWIND_DATA_FILES="${DATADIR}/data" \ -DOPENMW_RESOURCE_FILES="${DATADIR}/resources" \ -DGLOBAL_DATA_PATH="${PREFIX}/share" post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* .include Index: head/games/palomino/Makefile =================================================================== --- head/games/palomino/Makefile (revision 444323) +++ head/games/palomino/Makefile (revision 444324) @@ -1,105 +1,105 @@ # Created by: Andrew Pantyukhin # $FreeBSD$ PORTNAME= palomino PORTVERSION= 20131231 PORTREVISION= 5 CATEGORIES= games MASTER_SITES= SF/palomino-sim DISTFILES= ${PORTNAME}_src_${PORTVERSION}.txz \ ${PORTNAME}_data_misc_${MISC_VER}${EXTRACT_SUFX} \ ${PORTNAME}_data_models_${MODELS_VER}${EXTRACT_SUFX} \ ${PORTNAME}_data_sounds_${SOUNDS_VER}${EXTRACT_SUFX} \ ${PORTNAME}_data_terrain_${TERRAIN_VER}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= Action flight simulation computer program using OSG LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE_GNU_GPL_2.txt LIB_DEPENDS= libosg.so:graphics/osg -USES= alias cmake lua:51 tar:xz +USES= alias cmake:noninja lua:51 tar:xz USE_GL= gl MISC_VER= 20091027 MODELS_VER= 20090615 SOUNDS_VER= 20080704 TERRAIN_VER= 20080206 WRKSRC= ${WRKDIR}/${PORTNAME} OPTIONS_DEFINE= GUI PLIB SDL OPTIONS_DEFAULT= GUI SDL PLIB_DESC= Enable sound support through plib GUI_DESC= Enable FLTK GUI OPTIONS_SUB= yes GUI_LIB_DEPENDS= libfltk.so:x11-toolkits/fltk PLIB_BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:x11-toolkits/plib PORTDOCS= * DESKTOP_ENTRIES= "Palomino" "" "${PORTNAME}" \ "${PORTNAME}" "Game;ArcadeGame;" "" .include .if ${PORT_OPTIONS:MSDL} USE_SDL+= sdl mixer .endif post-patch: @${FIND} ${WRKSRC}/CMakeModules -type f -print0 | ${XARGS} -0 \ ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' @${REINPLACE_CMD} -e '/ rt / d' ${WRKSRC}/CMakeModules/libraries.cmake @${REINPLACE_CMD} -e '/COMMAND/ s|lua|${LUA_CMD}|' \ ${WRKSRC}/build/lua_bind/CMakeLists.txt @${REINPLACE_CMD} -e '/FIND_PACKAGE(/ s|)| REQUIRED)|' \ ${WRKSRC}/CMakeModules/libraries.cmake @${REINPLACE_CMD} -e '/COMPILE_WITH_OSSIM/ d' ${WRKSRC}/CMakeLists.txt # Please look MOVED devel/linux-js||2013-06-04 @${REINPLACE_CMD} -e '/COMPILE_WITH_LINUX_JOYSTICK/ d' ${WRKSRC}/CMakeLists.txt .if ! ${PORT_OPTIONS:MSDL} @${REINPLACE_CMD} -e '/COMPILE_WITH_SDL/ d' ${WRKSRC}/CMakeLists.txt .endif .if ! ${PORT_OPTIONS:MPLIB} @${REINPLACE_CMD} -e '/COMPILE_WITH_PLIB/ d' ${WRKSRC}/CMakeLists.txt .endif .if ! ${PORT_OPTIONS:MGUI} @${REINPLACE_CMD} -e '/COMPILE_WITH_FLTK/ d' ${WRKSRC}/CMakeLists.txt .endif @${REINPLACE_CMD} -e 's|string sDataDir|&="${DATADIR}/data/"|'\ ${WRKSRC}/src/base/conf.cc @${REINPLACE_CMD} -e '/LUABIND_SCRIPTS_DIR/ s|"scripts"|"${DATADIR}/scripts"|' \ ${WRKSRC}/src/lua_bind/defs.hh @${REINPLACE_CMD} -e 's|doc/html/|${DOCSDIR}/|' ${WRKSRC}/src/gui/gui.cc @${REINPLACE_CMD} -e 's/computeBound/computeBoundingBox/g' \ ${WRKSRC}/src/object/object.cc \ ${WRKSRC}/src/fx/partsys_medium.cc @${REINPLACE_CMD} -e 's/CameraNode/Camera/g' \ ${WRKSRC}/src/hud/hud.cc \ ${WRKSRC}/src/hud/hud.hh \ ${WRKSRC}/src/hud/hud_text.cc post-install: @${MKDIR} ${STAGEDIR}${DATADIR} @(cd ${WRKSRC} && ${COPYTREE_SHARE} "data scripts" ${STAGEDIR}${DATADIR}) # DOCS are used from within the game, so this is unconditional @${MKDIR} ${STAGEDIR}${DOCSDIR} @(cd ${WRKSRC}/doc/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) ${LN} -sf ${DOCSDIR}/images/palominoLogo.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png .include Index: head/games/solarus/Makefile =================================================================== --- head/games/solarus/Makefile (revision 444323) +++ head/games/solarus/Makefile (revision 444324) @@ -1,29 +1,29 @@ # $FreeBSD$ PORTNAME= solarus PORTVERSION= 1.5.3 CATEGORIES= games MASTER_SITES= http://www.solarus-games.org/downloads/solarus/ DISTNAME= solarus-${PORTVERSION}-src MAINTAINER= danilo@FreeBSD.org COMMENT= Zelda-like 2D game engine LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/license.txt LIB_DEPENDS= libphysfs.so:devel/physfs \ libmodplug.so:audio/libmodplug \ liblua-5.1.so:lang/lua51 \ libvorbis.so:audio/libvorbis \ libogg.so:audio/libogg CMAKE_ARGS+= -DSOLARUS_USE_LUAJIT=OFF MAKE_ARGS+= DESTDIR=${STAGEDIR} USE_QT5= buildtools_build core gui linguisttools_build widgets USE_SDL= sdl2 ttf2 image2 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -USES= cmake qmake compiler:c++11-lib openal +USES= cmake:noninja qmake compiler:c++11-lib openal USE_LDCONFIG= yes .include Index: head/games/vavoom/Makefile =================================================================== --- head/games/vavoom/Makefile (revision 444323) +++ head/games/vavoom/Makefile (revision 444324) @@ -1,93 +1,93 @@ # Created by: Igor Pokrovsky # $FreeBSD$ PORTNAME= vavoom PORTVERSION= 1.33 PORTREVISION= 14 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/Vavoom-source/${PORTVERSION} MAINTAINER= bar@FreeBSD.org COMMENT= Doom, Doom II, Heretic, Hexen, and Strife source port LICENSE= GPLv2 LIB_DEPENDS= libpng.so:graphics/png -USES= cmake dos2unix jpeg tar:bzip2 +USES= cmake:noninja dos2unix jpeg tar:bzip2 DOS2UNIX_REGEX= ((.*\.(c|cpp|h|s|asm|inc|vc|ls|acs|cfg|txt|vs|mak|mgw"))$$|\/(makefile\..*|makefile|Makefile)$$) OPTIONS_DEFINE= FLAC LAUNCHER MAD MIKMOD OPENAL OPTIMIZED_CFLAGS VORBIS SDL DOCS OPTIONS_DEFAULT= OPENGL SDL LAUNCHER_DESC= Build GUI launcher OPENAL_DESC= Enable OpenAL support SDL_DESC= Use SDL for OpenGL support SUB_FILES= pkg-message # The `-fno-strict-aliasing' flag (default on FreeBSD 6.0+) produces # non-working code for `vcc', so we remove it here if present. CFLAGS:= ${CFLAGS:N-fno-strict-aliasing} CXXFLAGS:= ${CFLAGS:N-fno-strict-aliasing} OPTIONS_SUB= yes FLAC_LIB_DEPENDS= libFLAC.so:audio/flac FLAC_CMAKE_ON= -DWITH_FLAC:BOOL=ON FLAC_CMAKE_OFF= -DWITH_FLAC:BOOL=OFF LAUNCHER_USE= WX=2.8+ LAUNCHER_CMAKE_ON= -DENABLE_LAUNCHER:BOOL=ON \ -DwxWidgets_CONFIG_EXECUTABLE="${WX_CONFIG}" LAUNCHER_CMAKE_OFF= -DENABLE_LAUNCHER:BOOL=OFF MAD_LIB_DEPENDS= libmad.so:audio/libmad MAD_CMAKE_ON= -DWITH_LIBMAD:BOOL=ON MAD_CMAKE_OFF= -DWITH_LIBMAD:BOOL=OFF MIKMOD_LIB_DEPENDS= libmikmod.so:audio/libmikmod MIKMOD_CMAKE_ON= -DWITH_MIKMOD:BOOL=ON MIKMOD_CMAKE_OFF= -DWITH_MIKMOD:BOOL=OFF OPENAL_USES= openal:al OPENAL_CMAKE_ON= -DWITH_OPENAL:BOOL=ON OPENAL_CMAKE_OFF= -DWITH_OPENAL:BOOL=OFF VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis VORBIS_CMAKE_ON= -DWITH_VORBIS:BOOL=ON VORBIS_CMAKE_OFF= -DWITH_VORBIS:BOOL=OFF SDL_USE= SDL=mixer,sdl GL=yes SDL_CMAKE_ON= -DWITH_SDL:BOOL=ON -DWITH_OPENGL:BOOL=ON SDL_CMAKE_OFF= -DWITH_SDL:BOOL=OFF -DWITH_OPENGL:BOOL=OFF OPTIMIZED_CFLAGS_CFLAGS= -O3 -ffast-math -fomit-frame-pointer .include post-patch: @${REINPLACE_CMD} -e 's|$$\* ||; s|$${IWADDIR}|-iwaddir ${DMDIR} $$*|' \ ${WRKSRC}/source/CMakeLists.txt @${REINPLACE_CMD} -e 's///' \ ${WRKSRC}/utils/acc/parse.c @${REINPLACE_CMD} -e 's///' \ ${WRKSRC}/utils/acc/strlist.c post-configure: .if ${PORT_OPTIONS:MLAUNCHER} @${REINPLACE_CMD} -e 's/-pthread;-D_THREAD_SAFE //; \ s/-isystem /-I/g' \ ${WRKSRC}/utils/vlaunch/CMakeFiles/vlaunch.dir/flags.make .endif post-install: .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/vavoom.txt ${STAGEDIR}${DOCSDIR} .endif ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/vavoom.bin ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/vavoom-dedicated.bin .include "${PORTSDIR}/games/doom-data/Makefile.include" .include Index: head/graphics/aseprite/Makefile =================================================================== --- head/graphics/aseprite/Makefile (revision 444323) +++ head/graphics/aseprite/Makefile (revision 444324) @@ -1,82 +1,82 @@ # Created by: Yuri Victorovich # $FreeBSD$ PORTNAME= aseprite PORTVERSION= 1.1.13 DISTVERSIONPREFIX= v PORTREVISION= 2 CATEGORIES= graphics MAINTAINER= yuri@rawbw.com COMMENT= Animated sprite editor & pixel art tool LICENSE= EULA LICENSE_NAME= END-USER LICENSE AGREEMENT FOR ASEPRITE LICENSE_FILE= ${WRKSRC}/EULA.txt LICENSE_PERMS= dist-mirror pkg-mirror auto-accept EXTRACT_DEPENDS= ${NONEXISTENT}:x11/pixman:extract LIB_DEPENDS= libfreetype.so:print/freetype2 \ liballeg.so:devel/allegro \ libpng.so:graphics/png \ libgif.so:graphics/giflib \ libcurl.so:ftp/curl \ libtinyxml.so:textproc/tinyxml BROKEN_aarch64= fails to compile: undefined reference to __va_copy BROKEN_armv6= fails to compile: undefined reference to __va_copy BROKEN_powerpc64= fails to compile: arena.h: Failed assertion: "arena_mapbits_allocated_get(chunk, pageind) != 0" BROKEN_sparc64= fails to compile: vsnprintf is not a member of std OPTIONS_DEFINE= WEBP OPTIONS_DEFAULT= WEBP WEBP_LIB_DEPENDS= libwebp.so:graphics/webp USE_GITHUB= yes GH_TUPLE= aseprite:clip:926e3cf:clip/src/clip GH_TUPLE+= aseprite:flic:65a6072:flic/src/flic GH_TUPLE+= aseprite:gtest:d63c625:gtest/third_party/gtest GH_TUPLE+= aseprite:cmark:5255e2d:cmark/third_party/cmark GH_TUPLE+= aseprite:simpleini:0687587:simpleini/third_party/simpleini GH_TUPLE+= aseprite:duktape:0de771c:duktape/third_party/duktape GH_TUPLE+= aseprite:undo:f39b188:undo/src/undo GH_TUPLE+= aseprite:laf:e6d79aa:laf/laf GH_TUPLE+= aseprite:stringencoders:f963507:stringencoders/laf/third_party/stringencoders GH_TUPLE+= dacap:observable:27fa7f6:observable/src/observable -USES= cmake:outsource compiler:c++11-lib jpeg ninja pkgconfig +USES= cmake:outsource compiler:c++11-lib jpeg pkgconfig USE_XORG= x11 xcursor xext xpm ice pixman sm xxf86dga xxf86vm USE_LDCONFIG= yes CMAKE_ARGS+= -DUSE_SHARED_ALLEGRO4=1 CMAKE_ARGS+= -DUSE_SHARED_GIFLIB=1 CMAKE_ARGS+= -DUSE_SHARED_ZLIB=1 CMAKE_ARGS+= -DUSE_SHARED_JPEGLIB=1 CMAKE_ARGS+= -DUSE_SHARED_LIBPNG=1 WEBP_CMAKE_ON+= -DWITH_WEBP_SUPPORT=1 WEBP_CMAKE_ON+= -DUSE_SHARED_LIBWEBP=1 CMAKE_ARGS+= -DUSE_SHARED_FREETYPE=1 CMAKE_ARGS+= -DUSE_SHARED_PIXMAN=1 CMAKE_ARGS+= -DUSE_SHARED_CURL=1 CMAKE_ARGS+= -DUSE_SHARED_TINYXML=1 CMAKE_ARGS+= -DFREETYPE_INCLUDE_DIR=${LOCALBASE}/include/freetype2 CXXFLAGS+= -I${LOCALBASE}/include CXXFLAGS+= -I${LOCALBASE}/include/freetype2 CXXFLAGS+= -I${LOCALBASE}/include/freetype2/freetype CXXFLAGS+= -D_GLIBCXX_USE_C99 # XXX ports/193528 post-extract: @${RM} -r ${WRKSRC}/src/allegro @${MKDIR} ${WRKSRC}/third_party/pixman/pixman @${CP} `${MAKE} -C ${PORTSDIR}/x11/pixman -V WRKSRC`/pixman/pixman-combine32.h \ ${WRKSRC}/third_party/pixman/pixman/ @${REINPLACE_CMD} -e 's|$${LIB_INSTALL_DIR}/pkgconfig|${PREFIX}/libdata/pkgconfig|' \ ${WRKDIR}/cmark-*/src/CMakeLists.txt @${REINPLACE_CMD} -e 's|$${CMAKE_INSTALL_MANDIR}|${PREFIX}/man|' \ ${WRKDIR}/cmark-*/man/CMakeLists.txt post-patch: @${REINPLACE_CMD} -e 's|1.1.6-dev|${PORTVERSION}|' ${WRKSRC}/src/config.h ${WRKSRC}/data/gui.xml .include Index: head/graphics/darktable/Makefile =================================================================== --- head/graphics/darktable/Makefile (revision 444323) +++ head/graphics/darktable/Makefile (revision 444324) @@ -1,131 +1,131 @@ # Created by: Alexey Dokuchaev # $FreeBSD$ PORTNAME= darktable PORTVERSION= 2.2.5 CATEGORIES= graphics MASTER_SITES= https://github.com/darktable-org/${PORTNAME}/releases/download/release-${PORTVERSION:C/\.rc/rc/}/ MAINTAINER= dumbbell@FreeBSD.org COMMENT= Virtual lighttable and darkroom for photographers LICENSE= GPLv3 BUILD_DEPENDS= xsltproc:textproc/libxslt \ po4a-translate:textproc/po4a LIB_DEPENDS= libcurl.so:ftp/curl \ libexiv2.so:graphics/exiv2 \ libjson-glib-1.0.so:devel/json-glib \ liblcms2.so:graphics/lcms2 \ liblensfun.so:graphics/lensfun \ libpng16.so:graphics/png \ libpugixml.so:textproc/pugixml \ libsoup-2.4.so:devel/libsoup \ libtiff.so:graphics/tiff ONLY_FOR_ARCHS= amd64 arm64 ONLY_FOR_ARCHS_REASON= uses SSE instructions and 64-bit address space USES= cmake:outsource compiler:c++11-lib desktop-file-utils \ - jpeg ninja pkgconfig sqlite tar:xz + jpeg pkgconfig sqlite tar:xz USE_GL= glu USE_GNOME= cairo gtk30 intltool librsvg2 libxml2 USE_XORG= ice sm x11 xext xrandr USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME} INSTALLS_ICONS= yes OPTIONS_DEFINE= COLORD DOCS FLICKR GEO GPHOTO GRAPHMAGICK \ LIBSECRET LUA NLS OPENEXR OPENJPEG PRINT WEBP GEO_DESC= Support geotagging LIBSECRET_DESC= Support libsecret as password backend OPTIONS_DEFAULT=COLORD FLICKR GEO GPHOTO LUA OPENEXR OPENJPEG \ PRINT WEBP OPTIONS_SUB= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/\.rc/~rc/} CMAKE_ARGS+= -DBINARY_PACKAGE_BUILD=1 CMAKE_ARGS+= -DBUILD_CMSTEST:BOOL=ON CMAKE_ARGS+= -DUSE_KWALLET:BOOL=ON LDFLAGS+= -L${LOCALBASE}/lib COLORD_LIB_DEPENDS= libcolord.so:graphics/colord \ libcolord-gtk.so:graphics/colord-gtk COLORD_CMAKE_OFF= -DUSE_COLORD:BOOL=OFF FLICKR_LIB_DEPENDS= libflickcurl.so:www/flickcurl FLICKR_CMAKE_OFF= -DUSE_FLICKR:BOOL=OFF GEO_LIB_DEPENDS= libosmgpsmap-1.0.so:x11-toolkits/osm-gps-map GEO_CMAKE_OFF= -DUSE_MAP:BOOL=OFF GPHOTO_LIB_DEPENDS= libgphoto2.so:graphics/libgphoto2 GPHOTO_CMAKE_OFF= -DUSE_CAMERA_SUPPORT:BOOL=OFF GRAPHMAGICK_LIB_DEPENDS=libGraphicsMagick.so:graphics/GraphicsMagick GRAPHMAGICK_CMAKE_OFF= -DUSE_GRAPHICSMAGICK:BOOL=OFF LIBSECRET_LIB_DEPENDS= libsecret-1.so:security/libsecret LIBSECRET_CMAKE_OFF= -DUSE_LIBSECRET:BOOL=OFF LUA_USES= lua:52 LUA_CMAKE_OFF= -DUSE_LUA:BOOL=OFF # FIXME: Even with NLS turned off, darktable(1) is still linked to # libintl.so. NLS_USES= gettext NLS_USES_OFF= gettext-runtime NLS_CMAKE_OFF= -DUSE_NLS:BOOL=OFF NLS_LDFLAGS= -L${LOCALBASE}/lib -lintl OPENEXR_LIB_DEPENDS= libIlmImf.so:graphics/OpenEXR \ libIlmThread-2_2.so:graphics/ilmbase OPENEXR_CMAKE_OFF= -DUSE_OPENEXR:BOOL=OFF OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg OPENJPEG_CMAKE_OFF= -DUSE_OPENJPEG:BOOL=OFF PRINT_LIB_DEPENDS= libcups.so:print/cups PRINT_CMAKE_OFF= -DBUILD_PRINT:BOOL=OFF WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_CMAKE_OFF= -DUSE_WEBP:BOOL=OFF .include .if ${ARCH} == amd64 && ${CHOSEN_COMPILER_TYPE} == clang # Enable OpenMP support with Clang 4.0. LLVM_VER= 40 BUILD_DEPENDS+= clang${LLVM_VER}:devel/llvm${LLVM_VER} CPP= clang-cpp${LLVM_VER} CC= clang${LLVM_VER} CXX= clang++${LLVM_VER} # FIXME: At least in 3.7.0 and 3.7.1, Clang doesn't find libomp.so # itself. Furthermore, there may be a regression in 3.7.1 because we now # need to explicitly link to libm.so as well. This remains true with # Clang 3.9.1. OPENMP_FLAGS= -L${LOCALBASE}/llvm${LLVM_VER}/lib -lm -lomp LDFLAGS+= ${OPENMP_FLAGS} # Depend on devel/openmp instead of the full LLVM at runtime. Required # for a consistent libomp experience. LIB_DEPENDS+= libomp.so.0:devel/openmp # Last but not least, there is a second change or regression in CMake # 3.4.x: CMAKE_EXE_LINKER_FLAGS is not passed to TRY_COMPILE by default # anymore. The CMP0056 policy must be explicitly set to NEW to ensure # linker flags are passed. # See: https://cmake.org/cmake/help/v3.4/policy/CMP0056.html CMAKE_ARGS+= -DCMAKE_POLICY_DEFAULT_CMP0056:STRING=NEW .endif .if defined(WITH_DEBUG) CMAKE_BUILD_TYPE= RelWithDebInfo STRIP= .endif .include Index: head/graphics/digikam-kde4/Makefile.common =================================================================== --- head/graphics/digikam-kde4/Makefile.common (revision 444323) +++ head/graphics/digikam-kde4/Makefile.common (revision 444324) @@ -1,163 +1,163 @@ # $FreeBSD$ # # Make sure when DIGIKAM_VER is updated that the following ports are updated: # graphics/digikam-kde4 # graphics/digikam-kde4-doc # graphics/digikam-kde4-l10n # graphics/kipi-plugin-* # graphics/kipi-plugins-kde4 # graphics/libkface # graphics/libkipiplugins # These ports now lead independent lives: # astro/libkgeomap (part of KDE Applications) # net/libkvkontakte (part of KDE Applications) # net/libmediawiki (part of digiKam 4.12) DIGIKAM_VER= 4.14.0 MASTER_SITES= KDE/Attic/digikam KIPI_PLUGINS_ALL= acquireimages \ advancedslideshow \ batchprocess \ calendar \ debianscreenshots \ dngconverter \ dropbox \ expoblending \ facebook \ flashexport \ flickrexport \ galleryexport \ googleservices \ gpssync \ htmlexport \ imageshackexport \ imageviewer \ imgurexport \ ipodexport \ jalbumexport \ jpeglossless \ kioexport \ kmlexport \ kopete \ mediawiki \ metadataedit \ panorama \ photolayoutseditor \ piwigoexport \ printimages \ rajceexport \ rawconverter \ removeredeyes \ sendimages \ shwup \ smug \ timeadjust \ videoslideshow \ vkontakte \ yandexfotki # libkipiplugins is special: it's not listed in KIPI_PLUGINS_ALL, # and every plugin depends on it libkipiplugins_DIR= common libkipiplugins_DESC= Common library for kipi plugins batchprocess_DIR= batchprocessimages kioexport_DIR= kioexportimport acquireimages_DESC= Acquire images using flat scanner advancedslideshow_DESC= Slide images with 2D and 3D effects using OpenGL batchprocess_DESC= Batch process images (convert, resize, rename, etc.) calendar_DESC= Create calendars debianscreenshots_DESC= Export images to Debian Screenshots web service dngconverter_DESC= Convert Raw Image to Digital NeGative dropbox_DESC= Export images to Dropbox cloud service expoblending_DESC= Create pseudo HDR image with a stack of bracketed images facebook_DESC= Import/export images to/from a remote Facebook web service flashexport_DESC= Export images to Flash using SimpleViewer flickrexport_DESC= Export images to a remote Flickr based web service galleryexport_DESC= Export images to a remote Gallery googleservices_DESC= Export images to Google Services (drive/picasa) gpssync_DESC= Geolocalize images htmlexport_DESC= Export images collections into a static XHTML page imageshackexport_DESC= Export images to ImageShack web service imageviewer_DESC= Preview images using OpenGL imgurexport_DESC= Export images to ImgUr web service ipodexport_DESC= Export images to an Ipod device jalbumexport_DESC= Export images to jAlbum jpeglossless_DESC= Rotate/flip images without losing quality kioexport_DESC= Export images to remote computer using network protocol kmlexport_DESC= Create KML files to present images with coordinates kopete_DESC= Export images to an instant messaging contact mediawiki_DESC= Export images to Mediawiki based web service metadataedit_DESC= Edit EXIF, IPTC and XMP metadata panorama_DESC= Assemble panoramic photo automatically # not ready for production yet # photivointegration_DESC= Integration of the Photivo RAW-Processor photolayoutseditor_DESC=Assemble images together piwigoexport_DESC= Export images to a remote Piwigo (PHPWebGallery) server printimages_DESC= Print images in various format rajceexport_DESC= Export images to Rajce web service rawconverter_DESC= Convert Raw Image to JPEG/PNG/TIFF removeredeyes_DESC= Remove red eyes on image automatically sendimages_DESC= Send images by e-mail shwup_DESC= Export images to Shwup web service smug_DESC= Import/export images to/from a remote SmugMug web service timeadjust_DESC= Adjust date and time videoslideshow_DESC= Export images as Video Slide Show vkontakte_DESC= Export images to VKontakte web service # Requires https://bugs.kde.org/show_bug.cgi?id=217950 # wallpaper_DESC= Set image as background on desktop yandexfotki_DESC= Export images to Yandex web service DISTNAME= digikam-${DIGIKAM_VER} DISTINFO_FILE= ${.CURDIR:H:H}/graphics/digikam-kde4/distinfo LICENSE?= GPLv2 USES+= tar:bzip2 .if !defined(NO_BUILD) -USES+= cmake kde:4 +USES+= cmake:noninja kde:4 USE_KDE+= automoc4 kdelibs USE_QT4+= qmake_build moc_build rcc_build uic_build WRKSRC?= ${WRKDIR}/${DISTNAME}/extra/${PORTNAME} PLIST_SUB+= SHLIB_VER=${DIGIKAM_VER} . if defined(KIPI_PLUGIN) CONFLICTS_INSTALL= kipi-plugins-2.* DESCR= ${.CURDIR:H:H}/graphics/kipi-plugins-kde4/pkg-descr USES+= pkgconfig .if ${KIPI_PLUGIN} != "libkipiplugins" EXTRA_PATCHES= ${.CURDIR:H:H}/graphics/kipi-plugins-kde4/files/extrapatch-CMakeLists.txt LIB_DEPENDS+= libkipiplugins.so:graphics/libkipiplugins .endif EXTRA_PATCHES+= ${.CURDIR:H:H}/graphics/kipi-plugins-kde4/files/extrapatch-extra_kipi_plugins_cmakelists.patch EXTRACT_AFTER_ARGS= --no-same-owner --no-same-permissions ${DISTNAME}/extra/kipi-plugins WRKSRC= ${WRKDIR}/${DISTNAME}/extra/kipi-plugins BUILD_WRKSRC= ${WRKSRC}/${${KIPI_PLUGIN}_DIR} INSTALL_WRKSRC= ${BUILD_WRKSRC} ${KIPI_PLUGIN}_DIR?= ${KIPI_PLUGIN} .if ${KIPI_PLUGIN} != "libkipiplugins" # Each plugin is built separately from the same tarball. The upstream build # process expects a single build for all plugins, which includes building # libkipiplugins itself. # Adjust it (together with extrapatch-CMakeLists.txt in # graphics/kipi-plugins-kde4) by actually looking for libkipiplugins with # find_library() and linking against it instead of ending up just passing # "-lkipiplugins" to the linker because of the way we build these ports. post-patch: kipi-plugin-post-patch kipi-plugin-post-patch: ${FIND} ${BUILD_WRKSRC} -name CMakeLists.txt | ${XARGS} ${REINPLACE_CMD} -e \ 's, kipiplugins, $${LIBKIPIPLUGINS_LIBRARIES},' \ ${BUILD_WRKSRC}/CMakeLists.txt .endif . endif # defined(KIPI_PLUGIN) .endif # !defined(NO_BUILD) Index: head/graphics/ilmbase/files/patch-git_8eed7012 =================================================================== --- head/graphics/ilmbase/files/patch-git_8eed7012 (nonexistent) +++ head/graphics/ilmbase/files/patch-git_8eed7012 (revision 444324) @@ -0,0 +1,59 @@ +From 8eed7012c10f1a835385d750fd55f228d1d35df9 Mon Sep 17 00:00:00 2001 +From: Ralph Potter +Date: Wed, 5 Nov 2014 16:16:55 +0000 +Subject: [PATCH] Resolve dependency issue building eLut.h/toFloat.h with + CMake/Ninja. + +--- + IlmBase/Half/CMakeLists.txt | 23 +++++++++++------------ + 1 file changed, 11 insertions(+), 12 deletions(-) + +diff --git a/IlmBase/Half/CMakeLists.txt b/IlmBase/Half/CMakeLists.txt +index 6f9714d..958d1b0 100644 +--- Half/CMakeLists.txt ++++ Half/CMakeLists.txt +@@ -1,23 +1,24 @@ + # yue.nicholas@gmail.com + + ADD_EXECUTABLE ( eLut eLut.cpp ) +- +-ADD_CUSTOM_COMMAND ( +- TARGET eLut POST_BUILD +- COMMAND eLut > ${CMAKE_CURRENT_BINARY_DIR}/eLut.h ++ADD_CUSTOM_COMMAND( ++ OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/eLut.h ++ COMMAND eLut ARGS > ${CMAKE_CURRENT_BINARY_DIR}/eLut.h ++ DEPENDS eLut + WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} +-) ++ ) + SET_SOURCE_FILES_PROPERTIES( + ${CMAKE_CURRENT_BINARY_DIR}/eLut.h + PROPERTIES HEADER_FILE_ONLY TRUE + ) + + ADD_EXECUTABLE ( toFloat toFloat.cpp ) +-ADD_CUSTOM_COMMAND ( +- TARGET toFloat POST_BUILD +- COMMAND toFloat > ${CMAKE_CURRENT_BINARY_DIR}/toFloat.h ++ADD_CUSTOM_COMMAND( ++ OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/toFloat.h ++ COMMAND toFloat ARGS > ${CMAKE_CURRENT_BINARY_DIR}/toFloat.h ++ DEPENDS toFloat + WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} +-) ++ ) + SET_SOURCE_FILES_PROPERTIES( + ${CMAKE_CURRENT_BINARY_DIR}/toFloat.h + PROPERTIES HEADER_FILE_ONLY TRUE +@@ -27,9 +28,7 @@ SET_SOURCE_FILES_PROPERTIES( + half.cpp + PROPERTIES + OBJECT_DEPENDS +- ${CMAKE_CURRENT_BINARY_DIR}/eLut.h +- OBJECT_DEPENDS +- ${CMAKE_CURRENT_BINARY_DIR}/toFloat.h ++ "${CMAKE_CURRENT_BINARY_DIR}/eLut.h;${CMAKE_CURRENT_BINARY_DIR}/toFloat.h" + ) + + IF(BUILD_SHARED_LIBS) Property changes on: head/graphics/ilmbase/files/patch-git_8eed7012 ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/graphics/inkscape/Makefile =================================================================== --- head/graphics/inkscape/Makefile (revision 444323) +++ head/graphics/inkscape/Makefile (revision 444324) @@ -1,87 +1,87 @@ # Created by: Alexander Nedotsukov # $FreeBSD$ PORTNAME= inkscape PORTVERSION= 0.92.1 PORTREVISION= 1 CATEGORIES= graphics gnome MASTER_SITES= https://launchpadlibrarian.net/306309537/ \ LOCAL/kwm MAINTAINER= gnome@FreeBSD.org COMMENT= Full featured open source SVG editor LICENSE= GPLv2+ GPLv3+ LGPL21 MPL LICENSE_COMB= multi LICENSE_FILE_GPLv2= ${WRKSRC}/GPL2.txt LICENSE_FILE_GPLv3= ${WRKSRC}/GPL3.txt LICENSE_FILE_LGPL2= ${WRKRSC}/LGPL2.txt BUILD_DEPENDS= ${LOCALBASE}/include/boost/concept_check.hpp:devel/boost-libs LIB_DEPENDS= libpopt.so:devel/popt \ libgc.so:devel/boehm-gc \ libgsl.so:math/gsl \ libgtkspell.so:textproc/gtkspell \ liblcms2.so:graphics/lcms2 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libpotrace.so:graphics/libpotrace \ libpng.so:graphics/png \ libMagick++-6.so:graphics/ImageMagick #aspell? USE_GNOME= gtkmm24 libxml2 libxslt USES= compiler:c++11-lib cmake cpe desktop-file-utils gnome \ - iconv:wchar_t ninja jpeg pathfix pkgconfig python:2,build \ + iconv:wchar_t jpeg pathfix pkgconfig python:2,build \ shebangfix tar:bzip2 USE_XORG= x11 INSTALLS_ICONS= yes CMAKE_ARGS+= -DWITH_GNOME_VFS:BOOL=NO python_CMD?= ${LOCALBASE}/bin/python2 SHEBANG_FILES= cxxtest/cxxtestgen.pl share/extensions/*.p[lm] \ share/extensions/*.py share/extensions/genpofiles.sh \ fix-roff-punct OPTIONS_DEFINE= POPPLER VISIO CDR DBUS WPG OPTIONS_DEFAULT=POPPLER VISIO CDR WPG OPTIONS_SUB= yes CDR_DESC= Support for CorelDRAW diagrams CDR_CMAKE_BOOL= WITH_LIBCDR CDR_LIB_DEPENDS= librevenge-stream-0.0.so:textproc/librevenge \ libcdr-0.1.so:graphics/libcdr01 DBUS_CMAKE_BOOL= WITH_DBUS DBUS_LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib \ libdbus-1.so:devel/dbus #OPENMP_USES= compiler:openmp #OPENMP_USES_OFF= compiler:c++11-lib #OPENMP_CMAKE_BOOL= WITH_OPENMP CMAKE_ARGS+= -DWITH_OPENMP:BOOL=NO POPPLER_DESC= PDF preview rendering POPPLER_CMAKE_BOOL= ENABLE_POPPLER ENABLE_POPPLER_CAIRO POPPLER_LIB_DEPENDS= libpoppler.so:graphics/poppler \ libpoppler-glib.so:graphics/poppler-glib VISIO_DESC= Support for Microsoft Visio diagrams VISIO_CMAKE_BOOL= WITH_LIBVISIO VISIO_LIB_DEPENDS= librevenge-stream-0.0.so:textproc/librevenge \ libvisio-0.1.so:textproc/libvisio01 WPG_DESC= Support for WordPerfect graphics WPG_CMAKE_BOOL= WITH_LIBWPG WPG_LIB_DEPENDS= libwpg-0.3.so:graphics/libwpg03 # temporary until the build works for the !NLS case USES+= gettext #NLS_CMAKE_BOOL= WITH_NLS #NLS_USES= gettext post-patch: @${REINPLACE_CMD} -e 's|COMMAND python|COMMAND python2|g' \ ${WRKSRC}/share/*/CMakeLists.txt .include Index: head/graphics/luxrender/Makefile =================================================================== --- head/graphics/luxrender/Makefile (revision 444323) +++ head/graphics/luxrender/Makefile (revision 444324) @@ -1,81 +1,81 @@ # Created by: Alexey Dokuchaev # $FreeBSD$ PORTNAME= luxrender DISTVERSION?= 1.6 PORTREVISION= 4 CATEGORIES= graphics MASTER_SITES= https://bitbucket.org/luxrender/lux/get/ \ https://bitbucket.org/luxrender/luxrays/get/:lr DISTFILES= v${DISTVERSION:C/[.-]//g}${EXTRACT_SUFX} \ ${PORTNAME}_v${DISTVERSION:S/-//}${EXTRACT_SUFX}:lr DIST_SUBDIR= ${PORTNAME} MAINTAINER= danfe@FreeBSD.org COMMENT= Physically based and unbiased rendering system LICENSE= GPLv3 LIB_DEPENDS= libboost_python.so:devel/boost-python-libs \ libfftw3.so:math/fftw3 \ libOpenImageIO.so:graphics/openimageio .if ${DISTVERSION} != 1.4 LIB_DEPENDS+= libembree.so:graphics/embree .endif CONFLICTS_INSTALL?= ${PORTNAME}14-1.4* ONLY_FOR_ARCHS= i386 amd64 ONLY_FOR_ARCHS_REASON= uses SSE instructions -USES+= bison cmake python:build tar:bzip2 +USES+= bison cmake:noninja python:build tar:bzip2 USE_GL= glu WRKSRC= ${WRKDIR}/${PORTNAME}-lux-${LUX_REV} LUXRAYS_WRKSRC= ${WRKDIR}/${PORTNAME}-luxrays-${LUXRAYS_REV} CMAKE_ARGS= -DLUXCORE_INCLUDE_DIRS:PATH="${LUXRAYS_WRKSRC}/include" \ -DLUXCORE_LIBRARY:STRING="${LUXRAYS_WRKSRC}/lib/libluxcore.a" \ -DLUXRAYS_INCLUDE_DIRS:PATH="${LUXRAYS_WRKSRC}/include" \ -DLUXRAYS_LIBRARY:STRING="${LUXRAYS_WRKSRC}/lib/libluxrays.a" \ -DSLG_INCLUDE_DIRS:PATH="${LUXRAYS_WRKSRC}/include" \ -DSLG_LIBRARY:PATH="${LUXRAYS_WRKSRC}/lib/libsmallluxgpu.a" \ -DLUXRAYS_DISABLE_OPENCL:BOOL=ON LUX_REV?= b3f85cf7742f LUXRAYS_REV?= 61352e6aae3f OPTIONS_DEFINE= FREEIMAGE X11 OPTIONS_DEFAULT= X11 FREEIMAGE_DESC= Build with FreeImage (otherwise use OIIO only) FREEIMAGE_CMAKE_ON= -DLUX_USE_FREEIMAGE:BOOL=ON FREEIMAGE_LIB_DEPENDS= libfreeimage.so:graphics/freeimage X11_DESC= Build GUI executable (requires Qt 4) X11_USE= QT4=moc_build,qmake_build,rcc_build,uic_build,corelib,gui X11_PLIST_FILES= bin/luxrender post-extract: @${LN} -sf ${PORTNAME}-luxrays-${LUXRAYS_REV} ${WRKDIR}/luxrays post-patch: @${REINPLACE_CMD} -e 's/__APPLE__/__FreeBSD__/' \ ${WRKSRC}/core/osfunc.h \ ${WRKSRC}/shapes/mikktspace/weldmesh.c # Avoid infamous "local symbol discarded in section `.text...' errors @${REINPLACE_CMD} -e '/^set(Boost_USE_STATIC_LIBS/s,ON,OFF,' \ ${LUXRAYS_WRKSRC}/cmake/Dependencies.cmake # Avoid picking up Python 3.x bits if they're installed @${REINPLACE_CMD} -e 's,PythonLibs,& ${PYTHON_VER} EXACT REQUIRED,' \ ${LUXRAYS_WRKSRC}/cmake/Dependencies.cmake \ ${WRKSRC}/cmake/pylux.cmake pre-configure: -${PYTHON_CMD} ${WRKSRC}/makeBuildNumber.py ${WRKSRC}/core/version.h cd ${LUXRAYS_WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} \ ${CMAKE_ARGS} . ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} \ ${_MAKE_JOBS} ${MAKE_ARGS} -C ${LUXRAYS_WRKSRC} .include Index: head/graphics/mitsuba/Makefile =================================================================== --- head/graphics/mitsuba/Makefile (revision 444323) +++ head/graphics/mitsuba/Makefile (revision 444324) @@ -1,54 +1,53 @@ # Created by: Alexey Dokuchaev # $FreeBSD$ PORTNAME= mitsuba PORTVERSION= 0.5.0 PORTREVISION= 4 CATEGORIES= graphics MASTER_SITES= https://www.mitsuba-renderer.org/repos/mitsuba/archive/${HG_REVISION}${EXTRACT_SUFX}?dummy= DISTNAME= ${PORTNAME}-${HG_REVISION} MAINTAINER= danfe@FreeBSD.org COMMENT= Research-oriented physically based rendering system LICENSE= GPLv3 BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/eigen3.pc:math/eigen3 LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libpng.so:graphics/png \ libIlmImf.so:graphics/OpenEXR \ libxerces-c.so:textproc/xerces-c3 \ libfftw3.so:math/fftw3 ONLY_FOR_ARCHS= i386 amd64 ONLY_FOR_ARCHS_REASON= uses SSE instructions USES= cmake jpeg tar:bzip2 USE_GL= glew USE_QT4= moc_build qmake_build rcc_build uic_build \ gui opengl network xml xmlpatterns CMAKE_ARGS= -DMTS_SIMPLE_PATHS:BOOL=OFF -DBUILD_PYTHON:BOOL=OFF \ -DMTS_USE_PCH:BOOL=OFF # Parallel build does not work as expected: it remains single-thread while # deferring build process to the background and also inhibiting highlights # from Clang output; these bugs should be fixed before enabling -jX builds. MAKE_JOBS_UNSAFE= yes HG_REVISION= 11ee1d7236f3 FETCH_ARGS= -o ${DISTNAME}${EXTRACT_SUFX} post-patch: @${REINPLACE_CMD} -e '/CMAKE_SYSTEM_NAME/s,Linux,${OPSYS},' \ ${WRKSRC}/data/cmake/MitsubaExternal.cmake \ ${WRKSRC}/data/cmake/PCHTargets.cmake \ ${WRKSRC}/src/libcore/CMakeLists.txt \ ${WRKSRC}/src/libhw/CMakeLists.txt post-install: # XXX: palliative; better fix installation routine not to pollute ${STAGEDIR} - @${RMDIR} ${STAGEDIR}${PREFIX}/share/mitsuba/data/ior/CMakeFiles/ior_database.dir @${RMDIR} ${STAGEDIR}${PREFIX}/share/mitsuba/data/ior/CMakeFiles .include Index: head/graphics/opensubdiv/Makefile =================================================================== --- head/graphics/opensubdiv/Makefile (revision 444323) +++ head/graphics/opensubdiv/Makefile (revision 444324) @@ -1,51 +1,51 @@ # $FreeBSD$ PORTNAME= opensubdiv DISTVERSIONPREFIX= v DISTVERSION= 3_0_5 PORTREVISION= 5 CATEGORIES= graphics devel MAINTAINER= ports@FreeBSD.org COMMENT= High performance subdivision surface libraries LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${LOCALBASE}/include/GLFW/glfw3.h:graphics/glfw USE_GITHUB= yes GH_ACCOUNT= PixarAnimationStudios GH_PROJECT= OpenSubdiv USE_LDCONFIG= yes USE_GL= glew -USES= cmake:outsource compiler pkgconfig +USES= cmake:outsource,noninja compiler pkgconfig USE_XORG= x11 xi xcursor xrandr xxf86vm xinerama CMAKE_ARGS+= -DNO_TUTORIALS:BOOL=ON -DNO_EXAMPLES:BOOL=ON \ -DNO_REGRESSION:BOOL=ON -DNO_PTEX:BOOL=ON -DNO_CUDA:BOOL=ON \ -DNO_OPENCL:BOOL=ON -DNO_MAYA:BOOL=ON -DNO_TBB:BOOL=ON OPTIONS_DEFINE= DOCS .include .if ${CHOSEN_COMPILER_TYPE:Mgcc} # OpenMP is available PLIST_SUB+= OPENMP="" .else PLIST_SUB+= OPENMP="@comment " .endif .include .if ${PORT_OPTIONS:MDOCS} BUILD_DEPENDS+= doxygen:devel/doxygen \ python2:lang/python2 \ rst2html:textproc/py-docutils .else CMAKE_ARGS+= -DNO_DOC:BOOL=ON .endif .include Index: head/graphics/osg-devel/Makefile =================================================================== --- head/graphics/osg-devel/Makefile (revision 444323) +++ head/graphics/osg-devel/Makefile (revision 444324) @@ -1,163 +1,157 @@ # Created by: Randall Hopper # $FreeBSD$ PORTNAME= osg PORTVERSION= 3.5.1 PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= http://trac.openscenegraph.org/downloads/developer_releases/ \ http://mirror.amdmi3.ru/distfiles/ PKGNAMESUFFIX= -devel DISTNAME= OpenSceneGraph-${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= C++ OpenGL scene graph library for real-time rendering LICENSE= OSGPL LICENSE_NAME= OpenSceneGraph Public License LICENSE_FILE= ${WRKSRC}/LICENSE.txt LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff CONFLICTS= osg-[0-9]* USES= alias cmake:outsource jpeg pkgconfig zip USE_GL= gl glu USE_XORG= x11 USE_LDCONFIG= yes PLIST_SUB= OSG_VERSION=${PORTVERSION} \ OSG_SHLIBVER=141 \ OPENTHREADS_VERSION=3.3.0 \ OPENTHREADS_SHLIBVER=20 PORTSCOUT= limitw:1,odd OPTIONS_DEFINE= CURL FFMPEG FREETYPE GDAL GIF GSTREAMER GTA INVENTOR \ JASPER LIBLAS LUA NVTT OPENEXR PDF SDL \ SVG VNC XINE XRANDR OPTIONS_RADIO= QT OPTIONS_RADIO_QT=QT4 QT5 OPTIONS_DEFAULT=FFMPEG FREETYPE GIF XRANDR GDAL_DESC= GDAL support GTA_DESC= GTA file format support INVENTOR_DESC= SGI OpenInventor support LIBLAS_DESC= liblas support NVTT_DESC= Use NVidia texture tools QT_DESC= QT toolkit support (optional) SDL_DESC= Use SDL (joystick support in present3d) VNC_DESC= LibVNCServer support OPTIONS_SUB= yes CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_VARS= FORCE_REQUIRE+=CURL CURL_VARS_OFF= FORCE_IGNORE+=CURL FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg FFMPEG_VARS= FORCE_REQUIRE+=FFmpeg FFMPEG_VARS_OFF= FORCE_IGNORE+=FFmpeg FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 FREETYPE_VARS= FORCE_REQUIRE+=Freetype FREETYPE_VARS_OFF= FORCE_IGNORE+=Freetype GDAL_LIB_DEPENDS= libgdal.so:graphics/gdal GDAL_VARS= FORCE_REQUIRE+=GDAL GDAL_VARS_OFF= FORCE_IGNORE+=GDAL GIF_LIB_DEPENDS= libgif.so:graphics/giflib GIF_VARS= FORCE_REQUIRE+=GIFLIB GIF_VARS_OFF= FORCE_IGNORE+=GIFLIB GSTREAMER_USE= GNOME=glib20 GSTREAMER1=yes GSTREAMER_VARS= FORCE_REQUIRE+=GStreamer GSTREAMER_VARS_OFF= FORCE_IGNORE+=GStreamer GSTREAMER_BROKEN= fails when linking gstreamer plugin, with error cannot find -lgstreamer-1.0 GTA_LIB_DEPENDS= libgta.so:devel/libgta GTA_VARS= FORCE_REQUIRE+=GTA GTA_VARS_OFF= FORCE_IGNORE+=GTA INVENTOR_LIB_DEPENDS= libInventor.so:graphics/inventor INVENTOR_VARS= FORCE_REQUIRE+=Inventor INVENTOR_VARS_OFF= FORCE_IGNORE+=Inventor JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper JASPER_VARS= FORCE_REQUIRE+=Jasper JASPER_VARS_OFF= FORCE_IGNORE+=Jasper LIBLAS_LIB_DEPENDS= liblas.so:devel/liblas LIBLAS_VARS= FORCE_REQUIRE+=LIBLAS LIBLAS_VARS_OFF= FORCE_IGNORE+=LIBLAS LUA_USES= lua:52 LUA_CMAKE_ON= -DOSG_USE_LOCAL_LUA_SOURCE:BOOL=OFF LUA_VARS= FORCE_IGNORE+=Lua51 FORCE_REQUIRE+=Lua52 LUA_VARS_OFF= FORCE_IGNORE+="Lua51 Lua52" NVTT_LIB_DEPENDS= libnvtt.so:graphics/nvidia-texture-tools NVTT_VARS= FORCE_REQUIRE+=NVTT NVTT_VARS_OFF= FORCE_IGNORE+=NVTT OPENEXR_LIB_DEPENDS= libIlmImf.so:graphics/OpenEXR OPENEXR_VARS= FORCE_REQUIRE+=OpenEXR OPENEXR_VARS_OFF= FORCE_IGNORE+=OpenEXR PDF_LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib PDF_USE= gnome=cairo PDF_VARS= FORCE_REQUIRE+=Poppler-glib PDF_VARS_OFF= FORCE_IGNORE+=Poppler-glib QT4_USE= qt4=corelib,gui,moc_build,opengl,qmake_build,rcc_build,uic_build QT4_CMAKE_ON= -DDESIRED_QT_VERSION=4 QT4_VARS= FORCE_REQUIRE+=Qt4 QT4_VARS_OFF= FORCE_IGNORE+=Qt4 QT5_USE= qt5=buildtools_build,core,gui,opengl,qmake_build,webkit QT5_CMAKE_ON= -DDESIRED_QT_VERSION=5 QT5_VARS= FORCE_REQUIRE+="Qt5Widgets Qt5WebKitWidgets" QT5_VARS_OFF= FORCE_IGNORE+="Qt5Widgets Qt5WebKitWidgets" SDL_USE= sdl=sdl SDL_VARS= FORCE_REQUIRE+=SDL SDL_VARS_OFF= FORCE_IGNORE+=SDL SVG_LIB_DEPENDS= librsvg-2.so:graphics/librsvg2 SVG_USE= gnome=cairo SVG_VARS= FORCE_REQUIRE+=RSVG SVG_VARS_OFF= FORCE_IGNORE+=RSVG VNC_LIB_DEPENDS= libvncserver.so:net/libvncserver VNC_VARS= FORCE_REQUIRE+=LibVNCServer VNC_VARS_OFF= FORCE_IGNORE+=LibVNCServer XINE_LIB_DEPENDS= libxine.so:multimedia/libxine XINE_VARS= FORCE_REQUIRE+=Xine XINE_VARS_OFF= FORCE_IGNORE+=Xine XRANDR_CMAKE_ON= -DOSGVIEWER_USE_XRANDR:BOOL=ON XRANDR_CMAKE_OFF= -DOSGVIEWER_USE_XRANDR:BOOL=OFF XRANDR_USE= xorg=xrandr # GUI toolkits are only needed for building examples, which are not even installed FORCE_IGNORE= FLTK GLUT FOX Qt3 wxWidgets OpenAL GtkGl SDL2 # only for examples FORCE_IGNORE+= COLLADA Performer OurDCMTK XUL FBX # not in ports FORCE_IGNORE+= OpenVRML # ports version too old FORCE_IGNORE+= ITK # ports version doesn't build on 10.x FORCE_REQUIRE= Threads OpenGL X11 JPEG PNG TIFF ZLIB # common & lightweight .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000000 && ${OSVERSION} < 1100000 -# workaround for make (?) problem leading to cflags -# lost in osgjs -USES+= gmake -.endif - .if ${PORT_OPTIONS:MQT4} || ${PORT_OPTIONS:MQT5} CMAKE_ARGS+= -DOSG_USE_QT:BOOL=ON PLIST_SUB+= QT="" .else CMAKE_ARGS+= -DOSG_USE_QT:BOOL=OFF PLIST_SUB+= QT="@comment " .endif post-patch: @${FIND} ${WRKSRC}/CMakeModules -type f -print0 | ${XARGS} -0 \ ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' @${REINPLACE_CMD} -e '/FIND_LIBRARY.*DL_LIBRARY/ d; \ s|-pedantic||' ${WRKSRC}/CMakeLists.txt .for p in ${FORCE_REQUIRE} @${REINPLACE_CMD} -e '/FIND_PACKAGE.*${p}/ s|)$$| REQUIRED&|' \ ${WRKSRC}/CMakeLists.txt .endfor .for p in ${FORCE_IGNORE} @${REINPLACE_CMD} -e '/FIND_PACKAGE.*${p}/ s|^|#|' \ ${WRKSRC}/CMakeLists.txt .endfor .include Index: head/graphics/osgearth/Makefile =================================================================== --- head/graphics/osgearth/Makefile (revision 444323) +++ head/graphics/osgearth/Makefile (revision 444324) @@ -1,33 +1,33 @@ # Created by: lbartoletti # $FreeBSD$ PORTNAME= osgearth PORTVERSION= 2.7 DISTVERSIONPREFIX= ${PORTNAME}- PORTREVISION= 1 CATEGORIES= graphics geography MAINTAINER= lbartoletti@tuxfamily.org COMMENT= C++ terrain rendering toolkit for OpenSceneGraph LICENSE= LGPL3 BUILD_DEPENDS= minizip:archivers/minizip LIB_DEPENDS= libosg.so:graphics/osg \ libgdal.so:graphics/gdal \ libcurl.so:ftp/curl USE_GITHUB= yes GH_ACCOUNT= gwaldron USE_LDCONFIG= yes -USES= cmake gmake pkgconfig sqlite +USES= cmake pkgconfig sqlite PLIST_SUB= OSGVERSION=3.4.0 CMAKE_ARGS+= -DCMAKE_INCLUDE_PATH:PATH=${LOCALBASE}/include \ -DMINIZIP_INCLUDE_DIR=${LOCALBASE}/include/minizip \ -DCMAKE_LIBRARY_PATH:PATH=${LOCALBASE}/lib \ -DLIB_POSTFIX:STRING="" \ -DOSGEARTH_USE_QT:BOOL=FALSE .include Index: head/graphics/rawtherapee/Makefile =================================================================== --- head/graphics/rawtherapee/Makefile (revision 444323) +++ head/graphics/rawtherapee/Makefile (revision 444324) @@ -1,135 +1,134 @@ # Created by: stas # $FreeBSD$ PORTNAME= rawtherapee PORTVERSION= 5.1 #DISTNAME= ${PORTNAME}-${PORTVERSION:R}-r${PORTVERSION:E}${DISTVERSIONSUFFIX} CATEGORIES= graphics MASTER_SITES= http://rawtherapee.com/shared/source/ MAINTAINER= mandree@FreeBSD.org COMMENT= Powerful RAW image processing application LICENSE= GPLv3 LIB_DEPENDS= libcanberra-gtk.so:audio/libcanberra \ libcanberra-gtk3.so:audio/libcanberra-gtk3 \ libexpat.so:textproc/expat2 \ libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libiptcdata.so:graphics/libiptcdata \ liblcms2.so:graphics/lcms2 \ libpng.so:graphics/png \ libsigc-2.0.so:devel/libsigc++20 \ libtiff.so:graphics/tiff USES= cmake:outsource desktop-file-utils dos2unix \ jpeg localbase:ldflags pkgconfig tar:xz DOS2UNIX_REGEX= .*\.(cc|h) LDFLAGS+= -Wl,--as-needed # fontconfig, freetype, gettext, libX11 USE_GNOME= gtkmm30 USE_LDCONFIG= yes # The -D_GLIBCXX_USE_C99 works around stoi not being defined # by default because the GCC headers believe FreeBSD insufficiently C99 # compliant. CFLAGS+= -I${LOCALBASE}/include -fPIC -D_GLIBCXX_USE_C99 -Wno-deprecated-declarations -Wno-unused-result LDFLAGS+= -lpthread CMAKE_ARGS+= -DDOCDIR="${DOCSDIR}" \ -DCREDITSDIR="${DOCSDIR}" \ -DLICENCEDIR="${DOCSDIR}" \ -DDESKTOPDIR="${DESKTOPDIR}" \ -DDATADIR="${DATADIR}" \ -DCACHE_NAME_SUFFIX="" \ -Wno-dev \ -DCMAKE_POLICY_DEFAULT_CMP0056:STRING=NEW # 3.4.x: CMAKE_EXE_LINKER_FLAGS is not passed to TRY_COMPILE by default # any more. The CMP0056 policy must be explicitly set to NEW to ensure # linker flags are passed. Else -lomp is not found with clang. # See: https://cmake.org/cmake/help/v3.4/policy/CMP0056.html -CMAKE_NINJA= yes INSTALLS_ICONS= yes .if defined(PACKAGE_BUILDING) && empty(CFLAGS:M-march*) CMAKE_ARGS+= -DPROC_TARGET_NUMBER="1" .endif RTDIR= ${PREFIX}/libdata/${PORTNAME} OPTIONS_DEFINE= OPTIMIZED_CFLAGS OPENMP NATIVE OPTIONS_DEFAULT= OPTIMIZED_CFLAGS OPENMP OPENMP_DESC= Enable multicore processing using OpenMP (amd64) OPTIMIZED_CFLAGS_DESC= Use extra compiler optimizations (requires SSE2 support) NATIVE_DESC= Use -march=native for compilation (do not use for generic packages!) OPENMP_CMAKE_BOOL= OPTION_OMP OPTIMIZED_CFLAGS_CFLAGS= -O3 -funroll-loops -msse2 # GCC 5.4 includes -fexpensive-optimizations in -O2 already .include # ------------------------------------------------------------------- # BROKEN_aarch64= fails to build: gcc5: error: unrecognized command line option -msse2 .if ${OPSYS} == FreeBSD .if ${OSVERSION} >= 1200000 # don't waste everybody's time with Tier-2 and moving targets. # might add ARM64 or SPARC64 later on if they are established by the # time FreeBSD 12 is out. ONLY_FOR_ARCHS= amd64 ONLY_FOR_ARCHS_REASON=Only amd64 is supported on non-released FreeBSD versions. .endif .endif .if ${PORT_OPTIONS:MNATIVE} CMAKE_ARGS+= -DPROC_TARGET_NUMBER="2" .endif .if !empty(PORT_OPTIONS:MOPENMP) && ${ARCH} == "amd64" LIB_DEPENDS+= libomp.so.0:devel/openmp OPENMP_FLAGS= -lm -lomp LDFLAGS+= ${OPENMP_FLAGS} .endif .if defined(WITH_DEBUG) STRIP= .endif .if ${ARCH} == i386 USES+= compiler:c++11-lib # If we were to use GCC on i386, we'd need to use -mstackrealign # or similar options, else we get SIGBUS when SSE2 is enabled due to # improper alignment. Base clang is good enough though, i386 does not # support OpenMP, and those seeking ultimate performance need to use # amd64. Workaround implemented below. .else USES+= compiler:gcc-c++11-lib .endif # ------------------------------------------------------------------- .include .if ${CHOSEN_COMPILER_TYPE} == gcc # work around compiler faults .if ${ARCH} == i386 CFLAGS+= -mstackrealign .endif .endif post-patch: @${REINPLACE_CMD} -e 's#DESTINATION "$${CMAKE_INSTALL_PREFIX}/share/man/man1"#DESTINATION "${MANPREFIX}/man/man1/"#' \ ${WRKSRC}/CMakeLists.txt # paranoia: run rawtherapee --help to be sure it finds all its # shared libraries (this hinges on proper RPATH setting and propagation) post-install: ${SETENV} LANG= LC_ALL=C LANGUAGE= DISPLAY= HOME=/dev/null ${STAGEDIR}${PREFIX}/bin/rawtherapee --help 2>&1 \ | ${EGREP} -q "RawTherapee, version ${PKGVERSION:C/_.*//:C/,.*//}|cannot open display:" .include Index: head/graphics/tulip/Makefile =================================================================== --- head/graphics/tulip/Makefile (revision 444323) +++ head/graphics/tulip/Makefile (revision 444324) @@ -1,66 +1,66 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= tulip PORTVERSION= 4.10.0 PORTREVISION= 1 DISTVERSIONSUFFIX= _src CATEGORIES= graphics MASTER_SITES= SF/auber/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= woodsb02@FreeBSD.org COMMENT= System dedicated to the visualization of huge graphs LICENSE= LGPL3 LIB_DEPENDS= libquazip.so:archivers/quazip \ libpng.so:graphics/png \ libOGDF.so:math/ogdf \ libfreetype.so:print/freetype2 BROKEN_powerpc64= fails to link: libOGDF.so: undefined reference to CoinPackedVector::CoinPackedVector WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -USES= cmake:outsource compiler:c++11-lib dos2unix execinfo jpeg python \ +USES= cmake:outsource,noninja compiler:c++11-lib dos2unix execinfo jpeg python \ shebangfix SHEBANG_FILES= tulip-config.in DOS2UNIX_FILES= software/tulip/src/main.cpp USE_GL= gl glew glut USE_GNOME= libxml2 CMAKE_ARGS= -DBUILD_DOC:BOOL=OFF \ -DOGDFInclude:STRING=${LOCALBASE}/include \ -DOGDFLibrary:STRING=${LOCALBASE}/lib/libOGDF.so USE_LDCONFIG= ${PREFIX}/lib/tulip CXXFLAGS+= -fPIC -I${LOCALBASE}/include -DNDEBUG -DOGDF_DLL # Unhide std::to_string() to fix build with GCC (see ports/193528 for details) CXXFLAGS+= -D_GLIBCXX_USE_C99 LDFLAGS+= -L${LOCALBASE}/lib -lCOIN PLIST_SUB= TULIP_VERSION="${PORTVERSION}" \ TULIP_VERS="${PORTVERSION:R}" DESKTOP_ENTRIES="Tulip" "" "${PREFIX}/share/pixmaps.tulip.png" "tulip" "" "" OPTIONS_SINGLE= GUI OPTIONS_SINGLE_GUI= QT4 QT5 OPTIONS_DEFAULT= QT4 QT4_USE= qt4=corelib,gui,network,opengl,webkit \ qt4=xml,xmlpatterns \ qt4=moc_build,qmake_build,rcc_build,uic_build QT5_USE= qt5=core,gui,network,opengl,webkit,widgets \ qt5=xml,xmlpatterns \ qt5=buildtools_build,qmake_build QT5_CMAKE_BOOL= USE_QT5_IF_INSTALLED post-build: @${LN} -sf logo32x32.png \ ${WRKSRC}/library/tulip-gui/resources/icons/tulip.png post-install: (cd ${WRKSRC}/library/tulip-gui/resources/icons && ${INSTALL_DATA} \ tulip.png ${STAGEDIR}${PREFIX}/share/pixmaps) .include Index: head/graphics/waffle/Makefile =================================================================== --- head/graphics/waffle/Makefile (revision 444323) +++ head/graphics/waffle/Makefile (revision 444324) @@ -1,30 +1,30 @@ # Created by: Jean-Sébastien Pédron # $FreeBSD$ PORTNAME= waffle PORTVERSION= 1.5.2 PORTREVISION= 3 CATEGORIES= graphics MASTER_SITES= http://www.waffle-gl.org/files/release/waffle-${PORTVERSION}/ MAINTAINER= x11@FreeBSD.org COMMENT= Library that allows to defer selection of an OpenGL API until runtime LICENSE= BSD2CLAUSE -USES= cmake:outsource compiler:c11 localbase ninja pathfix pkgconfig tar:xz +USES= cmake:outsource compiler:c11 localbase pathfix pkgconfig tar:xz USE_GL= egl gl USE_LDCONFIG= yes USE_XORG= x11 xcb DOCSDIR= ${PREFIX}/share/doc/waffle1 CMAKE_ARGS+= -Dwaffle_has_glx=ON \ -Dwaffle_has_x11_egl=ON #CMAKE_ARGS+= -Dwaffle_has_gbm=ON # FIXME: Required udev PLIST_SUB+= PORTVERSION=${PORTVERSION} OPTIONS_DEFINE= DOCS .include Index: head/graphics/xcftools/Makefile =================================================================== --- head/graphics/xcftools/Makefile (revision 444323) +++ head/graphics/xcftools/Makefile (revision 444324) @@ -1,81 +1,81 @@ # $FreeBSD$ PORTNAME= xcftools PORTVERSION= 1.0.8.20130212 PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= http://freeheimdall.spdns.org/files/ MAINTAINER= kalten@gmx.at COMMENT= Command-line tools for extracting from XCF format (graphics/gimp) LIB_DEPENDS= libpng.so:graphics/png # xcftools is under a public domain licence USE_GITHUB= yes GH_ACCOUNT= j-jorge GH_TAGNAME= d72ba82 # option NLS (for gettext) is wrong as this port allways needs NLS: -USES= libtool cmake gmake iconv pkgconfig perl5 gettext +USES= libtool cmake:noninja gmake iconv pkgconfig perl5 gettext USE_PERL5= build run GNU_CONFIGURE= yes USE_LDCONFIG= yes INSTALL_TARGET= preinstall # manual pages not built but there is -h for each program. # regression tests (TESTS option) fail PORTDOCS= ChangeLog README TRANSLATION PLIST_FILES= bin/xcf2png \ bin/xcf2pnm \ bin/xcfinfo \ bin/xcfview CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lintl MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= DOCS TESTS TESTS_DESC= Run self-tests (faulty) (pulls in graphics/netpbm shells/bash) TEST_BUILD_DEPENDS= pngtopnm:graphics/netpbm \ bash:shells/bash .include post-patch: @${REINPLACE_CMD} -e "s|^#! \(/bin/bash\)|#!${PREFIX}\1|" \ ${WRKSRC}/test/dotest @${REINPLACE_CMD} -e "s|perl|${PERL}|" \ ${WRKSRC}/test/dotest @${REINPLACE_CMD} -e "s|^#! /usr/bin/perl|#!${PERL}|" \ ${WRKSRC}/xcfview \ ${WRKSRC}/mancombine.pl \ ${WRKSRC}/manpo/mantranslate.pl \ ${WRKSRC}/manpo/optipot.pl \ ${WRKSRC}/mkenumsc.pl \ ${WRKSRC}/mkenumsh.pl \ ${WRKSRC}/mkopti.pl \ ${WRKSRC}/mktablec.pl test: .if ${PORT_OPTIONS:MTESTS} cd ${WRKSRC}/test && \ ${SETENV} ${MAKE_ENV} limits -m 20m ${GMAKE} check .endif post-build: test post-install: ${STRIP_CMD} ${WRKSRC}/bin/xcf2png ${WRKSRC}/bin/xcf2pnm \ ${WRKSRC}/bin/xcfinfo ${INSTALL_SCRIPT} ${WRKSRC}/bin/xcf2png ${WRKSRC}/bin/xcf2pnm \ ${WRKSRC}/bin/xcfinfo ${WRKSRC}/xcfview \ ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .include Index: head/irc/weechat/Makefile =================================================================== --- head/irc/weechat/Makefile (revision 444323) +++ head/irc/weechat/Makefile (revision 444324) @@ -1,114 +1,114 @@ # Created by: clement # $FreeBSD$ PORTNAME= weechat PORTVERSION= 1.8 CATEGORIES= irc MASTER_SITES= https://weechat.org/files/src/ MAINTAINER= brnrd@FreeBSD.org COMMENT= Lightweight and user friendly ncurses based IRC client LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS+= libcurl.so:ftp/curl \ libgcrypt.so:security/libgcrypt \ libgpg-error.so:security/libgpg-error -USES= cmake:outsource ncurses tar:xz +USES= cmake:outsource,noninja ncurses tar:xz USE_LDCONFIG= yes CMAKE_ARGS+= -DENABLE_GUILE=no \ -DLIBDATADIR=${LOCALBASE}/libdata OPTIONS_DEFINE= BACKTRACE DOCS CA_BUNDLE GNUTLS ICON ICONV MANPAGES NLS OPTIONS_DEFAULT= ASPELL BACKTRACE CA_BUNDLE CHARSET GNUTLS ICON LUA MANPAGES PERL PYTHON RUBY TCL OPTIONS_SUB= yes # BROKEN: ruby.h: error: wrong number of arguments specified for 'deprecated' attribute OPTIONS_EXCLUDE_powerpc64= RUBY OPTIONS_GROUP= PLUGINS OPTIONS_GROUP_PLUGINS= ASPELL CHARSET JAVASCRIPT LUA PERL PYTHON RUBY TCL BACKTRACE_DESC= Provide crash backtraces CA_BUNDLE_DESC= Include CA bundle for certificate verification ICON_DESC= Desktop icon PLUGINS_DESC= Weechat Plugins CHARSET_DESC= Charset plugin (implies ICONV) JAVASCRIPT_DESC= Javascript script support PYTHON_DESC= Python script support RUBY_DESC= Ruby script support ASPELL_CMAKE_BOOLL= ENABLE_ASPELL ASPELL_LIB_DEPENDS= libaspell.so:textproc/aspell BACKTRACE_CMAKE_BOOL= ENABLE_BACKTRACE BACKTRACE_USES= execinfo CA_BUNDLE_CMAKE_ON= -DCA_FILE=${LOCALBASE}/share/certs/ca-root-nss.crt CA_BUNDLE_RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss CHARSET_CMAKE_BOOL= ENABLE_CHARSET CHARSET_IMPLIES= ICONV DOCS_CMAKE_BOOL= ENABLE_DOC DOCS_BUILD_DEPENDS= ${LOCALBASE}/bin/asciidoctor:textproc/rubygem-asciidoctor ICONV_CMAKE_BOOL= ENABLE_ICONV ICONV_USES= iconv JAVASCRIPT_CMAKE_BOOL= ENABLE_JAVASCRIPT JAVASCRIPT_LIB_DEPENDS= libv8.so:lang/v8 GNUTLS_CMAKE_BOOL= ENABLE_GNUTLS GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_USES= pkgconfig LUA_CMAKE_BOOL= ENABLE_LUA LUA_USES= lua pkgconfig MANPAGES_CMAKE_BOOL= ENABLE_MAN MANPAGES_CMAKE_ON= -DMANDIR=${MANPREFIX}/man MANPAGES_BUILD_DEPENDS= ${LOCALBASE}/bin/asciidoctor:textproc/rubygem-asciidoctor NLS_CMAKE_BOOL= ENABLE_NLS NLS_USES= gettext PERL_CMAKE_BOOL= ENABLE_PERL PERL_USES= perl5 PYTHON_CMAKE_BOOL= ENABLE_PYTHON PYTHON_USES= python RUBY_CMAKE_BOOL= ENABLE_RUBY RUBY_USE= ruby=yes TCL_CMAKE_BOOL= ENABLE_TCL TCL_USES= tcl:85+ .include .if !empty(PORT_OPTIONS:MPYTHON) && ${PYTHON_MAJOR_VER} >= 3 WARNING= "Using Python 3.x is NOT recommended because many \"official\" scripts won\'t work" CMAKE_ARGS+= -DENABLE_PYTHON3:BOOL=true \ -DPYTHON_LIBRARY:FILEPATH=${LOCALBASE}/lib/libpython${PYTHON_VER}m.so .endif post-patch: @${REINPLACE_CMD} -e 's|$${LIBDIR}/../pkgconfig|$${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig|' \ ${WRKSRC}/CMakeLists.txt .for f in src/CMakeLists.txt src/core/CMakeLists.txt cmake/*.cmake @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/${f} .endfor post-patch-ICON-off: @${REINPLACE_CMD} -e '/^# icon$$/,/^$$/d' ${WRKSRC}/CMakeLists.txt post-install: ${LN} -sf weechat ${STAGEDIR}${PREFIX}/bin/weechat-curses .include Index: head/lang/beignet/Makefile =================================================================== --- head/lang/beignet/Makefile (revision 444323) +++ head/lang/beignet/Makefile (revision 444324) @@ -1,62 +1,62 @@ # Created by: Koop Mast # $FreeBSD$ PORTNAME= beignet PORTVERSION= 1.3.1 PORTREVISION= 1 DISTVERSIONSUFFIX= -source CATEGORIES= lang MASTER_SITES= https://01.org/sites/default/files/ MAINTAINER= x11@FreeBSD.org COMMENT= OpenCL library for Intel GPUs LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= clang${LLVMVER}:devel/llvm${LLVMVER} \ opencl>=0:devel/opencl LIB_DEPENDS= libOpenCL.so:devel/ocl-icd \ libdrm.so:graphics/libdrm RUN_DEPENDS= opencl>=0:devel/opencl \ clang${LLVMVER}:devel/llvm${LLVMVER} WRKSRC= ${WRKDIR}/Beignet-${PORTVERSION}-Source -USES= cmake gmake ncurses pkgconfig shebangfix +USES= cmake ncurses pkgconfig shebangfix USE_XORG= sm ice x11 xext xfixes USE_GL= gl egl USE_LDCONFIG= ${LOCALBASE}/lib/${PORTNAME} SHEBANG_FILES= src/git_sha1.sh backend/kernels/compile.sh ALL_TARGET= all LLVMVER= ${MESA_LLVM_VER:U39} CMAKE_ARGS+= -DLLVM_CONFIG_EXECUTABLE=${LOCALBASE}/bin/llvm-config${LLVMVER} PLIST_SUB= OCL20=${"${ARCH:Mamd64}" != "":?"":"@comment "} ONLY_FOR_ARCHS= i386 amd64 ONLY_FOR_ARCHS_REASON= Beignet needs a graphics driver supported by the Intel KMS driver OPTIONS_DEFINE= FP64 TEST FP64_DESC= Double precision (experimental) FP64_CMAKE_BOOL= EXPERIMENTAL_DOUBLE TEST_ALL_TARGET= flat_address_space utest_run post-patch: @${REINPLACE_CMD} -e 's|llvm-dis|llvm-dis${LLVMVER}|g; \ s|clang |clang${LLVMVER} |g' \ ${WRKSRC}/backend/kernels/compile.sh # XXX bug 213732: compiler_fill_gl_image() [FAILED] do-test-TEST-on: -@(cd ${TEST_WRKSRC}/utests; . ./setenv.sh; \ ./flat_address_space; ./utest_run; ) pre-install-TEST-on: do-test-TEST-on post-install: @${RM} -r ${STAGEDIR}${PREFIX}/include/CL .include Index: head/lang/io/Makefile =================================================================== --- head/lang/io/Makefile (revision 444323) +++ head/lang/io/Makefile (revision 444324) @@ -1,51 +1,51 @@ # Created by: Hye-Shik Chang # $FreeBSD$ PORTNAME= io PORTVERSION= 2015.11.11 PORTREVISION= 5 CATEGORIES= lang MAINTAINER= gahr@FreeBSD.org COMMENT= Small prototype-based programming language LICENSE= BSD3CLAUSE BROKEN_armv6= fails to compile: ucontext.h: expected parameter declarator USE_GITHUB= yes GH_ACCOUNT= stevedekorte GH_TAGNAME= 23afbcc -USES= cmake:outsource compiler:c11 +USES= cmake:outsource,noninja compiler:c11 MAKE_JOBS_UNSAFE=yes USE_LDCONFIG= yes PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES OPTIONS_GROUP= ADDONS OPTIONS_SUB= yes .include "${.CURDIR}/Makefile.addons" post-patch: ${REINPLACE_CMD} -e 's/^[ ]*add_subdirectory/#&/' \ ${WRKSRC}/addons/CMakeLists.txt ${RM} ${WRKSRC}/modules/FindFreetype.cmake .for addon in ${ADDONS} ${ECHO} "add_subdirectory(${addon})" >> ${WRKSRC}/addons/CMakeLists.txt .endfor ${FIND} ${WRKSRC}/addons -name "*.bak" -o -name "*.orig" -delete post-install: ${FIND} -d ${STAGEDIR}${PREFIX}/lib/io/addons -type d -empty -delete ${FIND} ${STAGEDIR}${PREFIX}/lib/io/addons -type f -name "*.so" -exec \ ${STRIP_CMD} {} \; ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/samples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} .include Index: head/lang/sagittarius-scheme/Makefile =================================================================== --- head/lang/sagittarius-scheme/Makefile (revision 444323) +++ head/lang/sagittarius-scheme/Makefile (revision 444324) @@ -1,55 +1,55 @@ # Created by: Ashish SHUKLA # $FreeBSD$ PORTNAME= sagittarius PORTVERSION= 0.8.0 PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= https://bitbucket.org/ktakashi/sagittarius-scheme/downloads/ \ LOCAL/ashish PKGNAMESUFFIX= -scheme MAINTAINER= ashish@FreeBSD.org COMMENT= R6RS/R7RS Scheme system LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/libffi.pc:devel/libffi LIB_DEPENDS= libffi.so:devel/libffi \ libgc-threaded.so:devel/boehm-gc-threaded USE_LDCONFIG= yes -USES= cmake gmake pkgconfig +USES= cmake pkgconfig ONLY_FOR_ARCHS= amd64 i386 MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= ODBC PLIST_SUB= PORTNAME=sagittarius PORTVERSION=${PORTVERSION} ODBC_LIB_DEPENDS= libiodbc.so:databases/libiodbc ODBC_CMAKE_ON= -DODBC_INCLUDE_DIR:STRING=${LOCALBASE}/include/libiodbc OPTIONS_SUB= ODBC .include .if ${ARCH}=="i386" PLIST_ARCH= i386 USE_GCC= yes .else PLIST_ARCH= x86_64 .endif PLIST_SUB+= PLIST_ARCH=${PLIST_ARCH} post-patch-ODBC-off: @${REINPLACE_CMD} -e '/odbc odbc/d' ${WRKSRC}/ext/CMakeLists.txt post-install: @${LN} -sf ${PREFIX}/bin/sagittarius ${STAGEDIR}${PREFIX}/bin/sash post-build: @${SETENV} ${MAKE_ENV} ${MAKE_CMD} -C ${WRKSRC} doc .include Index: head/mail/evolution/Makefile =================================================================== --- head/mail/evolution/Makefile (revision 444323) +++ head/mail/evolution/Makefile (revision 444324) @@ -1,129 +1,129 @@ # Created by: Ade Lovett # $FreeBSD$ PORTNAME= evolution PORTVERSION= 3.24.2 CATEGORIES= mail gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome3 MAINTAINER= gnome@FreeBSD.org COMMENT= Integrated mail, calendar and address book distributed suite LICENSE= GFDL GPLv2+ LGPL21+ MPL OPENLDAP LICENSE_COMB= multi LICENSE_NAME_OPENLDAP= OpenLDAP Public License LICENSE_FILE_OPENLDAP= ${WRKSRC}/COPYING.OPENLDAP LICENSE_PERMS_OPENLDAP= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept BUILD_DEPENDS= itstool:textproc/itstool \ iso-codes>=0:misc/iso-codes \ highlight:textproc/highlight LIB_DEPENDS= libnss3.so:security/nss \ libgcr-3.so:security/gcr \ libgtkspell3-3.so:textproc/gtkspell3 \ libgnome-autoar-gtk-0.so:archivers/gnome-autoar \ libsoup-2.4.so:devel/libsoup \ libicuuc.so:devel/icu \ libwebkit2gtk-4.0.so:www/webkit2-gtk3 \ libnspr4.so:devel/nspr \ libical.so:devel/libical \ libsecret-1.so:security/libsecret \ libenchant.so:textproc/enchant \ libp11-kit.so:security/p11-kit \ libcryptui.so:security/libcryptui \ libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ libnotify.so:devel/libnotify RUN_DEPENDS= highlight:textproc/highlight \ iso-codes>=0:misc/iso-codes PORTSCOUT= limitw:1,even USES= desktop-file-utils cmake gettext gnome iconv:wchar_t \ - sqlite libarchive ninja localbase pathfix pkgconfig tar:xz + sqlite libarchive localbase pathfix pkgconfig tar:xz USE_GNOME= cairo evolutiondataserver3 gnomedesktop3 intltool GNU_CONFIGURE= yes USE_XORG= x11 INSTALLS_ICONS= yes USE_LDCONFIG= yes CMAKE_ARGS= -DENABLE_TEXT_HIGHLIGHT=YES \ -DVERSION_COMMENT="FreeBSD GNOME Team" GLIB_SCHEMAS= org.gnome.evolution.gschema.xml \ org.gnome.evolution.addressbook.gschema.xml \ org.gnome.evolution.calendar.gschema.xml \ org.gnome.evolution.importer.gschema.xml \ org.gnome.evolution.mail.gschema.xml \ org.gnome.evolution.shell.gschema.xml \ org.gnome.evolution.bogofilter.gschema.xml \ org.gnome.evolution.spamassassin.gschema.xml \ org.gnome.evolution.plugin.attachment-reminder.gschema.xml \ org.gnome.evolution.plugin.autocontacts.gschema.xml \ org.gnome.evolution.plugin.email-custom-header.gschema.xml \ org.gnome.evolution.plugin.external-editor.gschema.xml \ org.gnome.evolution.plugin.face-picture.gschema.xml \ org.gnome.evolution.plugin.itip.gschema.xml \ org.gnome.evolution.plugin.mail-notification.gschema.xml \ org.gnome.evolution.plugin.prefer-plain.gschema.xml \ org.gnome.evolution.plugin.publish-calendar.gschema.xml \ org.gnome.evolution.plugin.templates.gschema.xml EVO_VERSION= 3.24 PLIST_SUB= VERSION=${EVO_VERSION} \ PORTVERSION=2.12 OPTIONS_SUB= yes OPTIONS_DEFINE= LDAP WEATHER CANBERRA PST YTNEF MAPS OPTIONS_DEFAULT=LDAP WEATHER CANBERRA BOGOFILTER SPAM_DESC= Spam filter support OPTIONS_GROUP= SPAM OPTIONS_GROUP_SPAM=SPAMASSASSIN BOGOFILTER LDAP_CMAKE_ON= -DWITH_OPENLDAP=${LOCALBASE} LDAP_CMAKE_OFF= -DWITH_OPENLDAP=OFF LDAP_USE= OPENLDAP=yes YTNEF_DESC= Support MS Outlook TNEF format YTNEF_LIB_DEPENDS= libytnef.so:converters/ytnef YTNEF_CMAKE_BOOL= ENABLE_YTNEF WEATHER_DESC= Weather calendar backend WEATHER_LIB_DEPENDS= libgweather-3.so:net/libgweather WEATHER_CMAKE_BOOL= ENABLE_WEATHER SPAMASSASSIN_DESC= SpamAssassin spam filtering SPAMASSASSIN_CMAKE_ON= -DWITH_SPAMASSASSIN=${LOCALBASE}/spamassassin \ -DWITH_SA_LEARN=${LOCALBASE}/bin/sa-learn SPAMASSASSIN_CMAKE_OFF= -DWITH_SPAMASSASSIN=NO SPAMASSASSIN_BUILD_DEPENDS= spamassassin:mail/spamassassin SPAMASSASSIN_RUN_DEPENDS= spamassassin:mail/spamassassin BOGOFILTER_DESC= Bogofilter spam filtering BOGOFILTER_CMAKE_ON= -DWITH_BOGOFILTER=${LOCALBASE}/bin/bogofilter BOGOFILTER_CMAKE_OFF= -DWITH_BOGOFILTER=OFF BOGOFILTER_BUILD_DEPENDS= bogofilter:mail/bogofilter BOGOFILTER_RUN_DEPENDS= bogofilter:mail/bogofilter CANBERRA_DESC= Canberra theme audio plugin CANBERRA_LIB_DEPENDS= libcanberra.so:audio/libcanberra \ libcanberra-gtk3.so:audio/libcanberra-gtk3 CANBERRA_CMAKE_BOOL= ENABLE_CANBERRA PST_DESC= Outlook .pst importer PST_CMAKE_BOOL= ENABLE_PST_IMPORT PST_BUILD_DEPENDS= libpst>=0.6.58_1:mail/libpst PST_RUN_DEPENDS= libpst>=0.6.58_1:mail/libpst MAPS_DESC= Contact maps MAPS_CMAKE_BOOL= ENABLE_CONTACT_MAPS MAPS_LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib \ libgeocode-glib.so:net/geocode-glib \ libcogl.so:graphics/cogl \ libclutter-1.0.so:graphics/clutter \ libclutter-gtk-1.0.so:graphics/clutter-gtk3 \ libchamplain-0.12.so:graphics/libchamplain MAPS_USE= xorg=xcomposite,xdamage,xext,xfixes,xi,xrandr gl=egl .include Index: head/mail/evolution-ews/Makefile =================================================================== --- head/mail/evolution-ews/Makefile (revision 444323) +++ head/mail/evolution-ews/Makefile (revision 444324) @@ -1,30 +1,30 @@ # Created by: Koop Mast # $FreeBSD$ PORTNAME= evolution-ews PORTVERSION= 3.24.2 CATEGORIES= mail gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome3 MAINTAINER= gnome@FreeBSD.org COMMENT= Evolution Microsoft Exchange plugin through Exchange Web Services BUILD_DEPENDS= evolution>=3.0.0:mail/evolution LIB_DEPENDS= libsoup-2.4.so:devel/libsoup \ libicuuc.so:devel/icu \ libmspack.so:archivers/libmspack \ libsecret-1.so:security/libsecret \ libnspr4.so:devel/nspr \ libnss3.so:security/nss \ libwebkit2gtk-4.0.so:www/webkit2-gtk3 \ libical.so:devel/libical RUN_DEPENDS= evolution>=3.0.0:mail/evolution PORTSCOUT= limitw:1,even -USES= bdb:5 cmake ninja gettext gnome localbase pathfix \ +USES= bdb:5 cmake gettext gnome localbase pathfix \ pkgconfig sqlite tar:xz USE_GNOME= cairo gdkpixbuf2 evolutiondataserver3 intltool .include Index: head/mail/libcmime/Makefile =================================================================== --- head/mail/libcmime/Makefile (revision 444323) +++ head/mail/libcmime/Makefile (revision 444324) @@ -1,48 +1,48 @@ # Created by: Axel Steiner # $FreeBSD$ PORTNAME= libcmime PORTVERSION= 0.1.15 PORTREVISION= 3 CATEGORIES= mail MASTER_SITES= http://www.libcmime.org/files/ MAINTAINER= ast@treibsand.com COMMENT= Lightweight C mime library LICENSE= MIT -USES= bison cmake pkgconfig +USES= bison cmake:noninja pkgconfig USE_LDCONFIG= yes CMAKE_ARGS= --no-warn-unused-cli PORTDOCS= AUTHORS CHANGELOG INSTALL README OPTIONS_DEFINE= DEBUG DOCS DOXYGEN OPTIONS_SUB= yes DOCS_ALL_TARGET= doc DEBUG_CMAKE_BOOL= ENABLE_DEBUG DOXYGEN_IMPLIES= DOCS DOXYGEN_BUILD_DEPENDS= doxygen>=1.8:devel/doxygen \ dot:graphics/graphviz DOXYGEN_CMAKE_BOOL= ENABLE_DOC post-patch: @${REINPLACE_CMD} -E -e 's|\$$\{CMAKE_INSTALL_LIBDIR}(/pkgconfig)|$${CMAKE_INSTALL_PREFIX}/libdata\1|' \ ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e 's|libcmime-\$${CMIME_MAJOR_VERSION}.\$${CMIME_MINOR_VERSION}.\$${CMIME_MICRO_VERSION}|libcmime|' \ ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -E -e 's|STRIP_FROM_PATH = ../src|STRIP_FROM_PATH = ../|' \ ${WRKSRC}/Doxyfile.cmake post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} post-install-DOXYGEN-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR}) .include Index: head/mail/libvmime/Makefile =================================================================== --- head/mail/libvmime/Makefile (revision 444323) +++ head/mail/libvmime/Makefile (revision 444324) @@ -1,35 +1,35 @@ # Created by: delphij@FreeBSD.org # $FreeBSD$ PORTNAME= libvmime PORTVERSION= 0.9.2 PORTREVISION= 1 DISTVERSIONPREFIX= v CATEGORIES= mail MAINTAINER= ports@FreeBSD.org COMMENT= All-in-one Internet mail library LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgnutls.so:security/gnutls \ libgsasl.so:security/gsasl USE_GITHUB= yes GH_ACCOUNT= kisli GH_PROJECT= vmime -USES= cmake:outsource compiler:c++11-lib iconv pkgconfig +USES= cmake:outsource,noninja compiler:c++11-lib iconv pkgconfig USE_LDCONFIG= yes CMAKE_ARGS= -DLIB_SUFFIX:STRING="" \ -DVMIME_BUILD_SAMPLES:BOOL=NO \ -DVMIME_SHARED_PTR_USE_BOOST:BOOL=NO \ -DVMIME_SHARED_PTR_USE_CXX:BOOL=YES post-patch: @${REINPLACE_CMD} 's,$${VMIME_INSTALL_LIBDIR}/pkgconfig,${PREFIX}/libdata/pkgconfig,' \ ${WRKSRC}/CMakeLists.txt .include Index: head/mail/spmfilter/Makefile =================================================================== --- head/mail/spmfilter/Makefile (revision 444323) +++ head/mail/spmfilter/Makefile (revision 444324) @@ -1,97 +1,97 @@ # $FreeBSD$ PORTNAME= spmfilter PORTVERSION= 0.6.7 PORTREVISION= 4 CATEGORIES= mail MASTER_SITES= http://www.${PORTNAME}.org/files/ MAINTAINER= ast@treibsand.com COMMENT= Spmfilter is a high-performance mail filtering framework, written in C LICENSE= LGPL3 BUILD_DEPENDS= libcmime>=0.1.10:mail/libcmime \ libesmtp>=1.0:mail/libesmtp RUN_DEPENDS:= ${BUILD_DEPENDS} SMFUSER?= nobody SMFGROUP?= mail SMFDIR?= /var/spool/spmfilter -USES= cmake pkgconfig +USES= cmake:noninja pkgconfig CMAKE_ARGS+= --no-warn-unused-cli \ -DCMAKE_INCLUDE_PATH="${LOCALBASE}/include" \ -DCMAKE_LIBRARY_PATH="${LOCALBASE}/lib" USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME} USE_RC_SUBR= ${PORTNAME} OPTIONS_DEFINE= DB4 DEBUG LDAP MYSQL PGSQL OPTIONS_DEFAULT= DB4 DB4_DESC= DB4 backend # Default requirement for spmfilter rc script _REQUIRE= LOGIN SUB_FILES= pkg-deinstall PLIST_SUB= LIB_VERSION=${PORTVERSION} \ SMFUSER=${SMFUSER} \ SMFGROUP=${SMFGROUP} \ SMFDIR=${SMFDIR} .include .if ${PORT_OPTIONS:MDB4} USES+= bdb CMAKE_ARGS+= -DDB4_INCLUDE_DIR="${BDB_INCLUDE_DIR}" .else CMAKE_ARGS+= -DWITHOUT_DB4=TRUE .endif .if ${PORT_OPTIONS:MDEBUG} CMAKE_ARGS+= -DENABLE_DEBUG=TRUE .endif .if ${PORT_OPTIONS:MLDAP} USE_OPENLDAP= yes .if ${PORT_OPTIONS:MOPENLDAP_VER} WANT_OPENLDAP_VER= ${WITH_OPENLDAP_VER} .endif .else CMAKE_ARGS+= -DWITHOUT_LDAP=TRUE .endif .if ${PORT_OPTIONS:MMYSQL} LIB_DEPENDS+= libzdb.so:databases/libzdb USES+= mysql _REQUIRE+= mysql .endif .if ${PORT_OPTIONS:MPGSQL} LIB_DEPENDS+= libzdb.so:databases/libzdb USES+= pgsql _REQUIRE+= postgresql .endif .if !${PORT_OPTIONS:MMYSQL} && !${PORT_OPTIONS:MPGSQL} CMAKE_ARGS+= -DWITHOUT_ZDB=TRUE .endif SUB_LIST+= REQUIRE="${_REQUIRE}" post-patch: @${REINPLACE_CMD} -e 's|share/man|man|' \ ${WRKSRC}/cmake/Modules/SMFMacros.cmake @${REINPLACE_CMD} -E -e 's|(HAVE_DB4 )db|\1${BDB_LIB_NAME}|' \ ${WRKSRC}/cmake/Modules/FindDB4.cmake @${REINPLACE_CMD} -E -e 's|\$$\{CMAKE_INSTALL_LIBDIR\}(/pkgconfig)|$${CMAKE_INSTALL_PREFIX}/libdata\1|' \ -e 's|(COMMON_LIBS )db|\1${BDB_LIB_NAME}|' \ ${WRKSRC}/src/CMakeLists.txt post-install: ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf.sample ${STAGEDIR}${PREFIX}/etc/ @${MKDIR} ${STAGEDIR}${SMFDIR} .include Index: head/mail/spmfilter-clamav/Makefile =================================================================== --- head/mail/spmfilter-clamav/Makefile (revision 444323) +++ head/mail/spmfilter-clamav/Makefile (revision 444324) @@ -1,37 +1,37 @@ # Created by: Axel Steiner # $FreeBSD$ PORTNAME= spmfilter-clamav PORTVERSION= 0.2.3 CATEGORIES= mail MASTER_SITES= http://www.spmfilter.org/files/ MAINTAINER= ast@treibsand.com COMMENT= ClamAV plugin for spmfilter BUILD_DEPENDS= spmfilter>=0.6:mail/spmfilter RUN_DEPENDS= spmfilter>=0.6:mail/spmfilter -USES= cmake pkgconfig +USES= cmake:noninja pkgconfig CMAKE_ARGS+= --no-warn-unused-cli \ -DCMAKE_INCLUDE_PATH="${LOCALBASE}/include" \ -DCMAKE_LIBRARY_PATH="${LOCALBASE}/lib" USE_LDCONFIG= ${PREFIX}/lib/spmfilter OPTIONS_DEFINE= DEBUG DEBUG_CMAKE_ON= -DENABLE_DEBUG=TRUE PORTDOCS= * post-patch: @${REINPLACE_CMD} -e 's|share/man|man|' \ ${WRKSRC}/cmake/Modules/SMFMacros.cmake post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR}/contrib ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/contrib/virus-notify.txt ${STAGEDIR}${DOCSDIR}/contrib .include Index: head/math/metis/Makefile =================================================================== --- head/math/metis/Makefile (revision 444323) +++ head/math/metis/Makefile (revision 444324) @@ -1,137 +1,137 @@ # Created by: Pedro Giffuni # $FreeBSD$ PORTNAME= metis PORTVERSION= 5.1.0 PORTREVISION= 2 CATEGORIES= math MASTER_SITES= http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/ MAINTAINER= ports@FreeBSD.org COMMENT= Package for unstructured graph partitioning LICENSE= APACHE20 CONFLICTS= metis4-4* metis-edf-[0-9]* -USES= cmake +USES= cmake:noninja OPTIONS_DEFINE= OPENMP SHARED STATIC DOCS OPENMP_DESC= multithreading via OpenMP #PROFILE_DESC= profiling libraries SHARED_DESC= shared library and dynamically-linked executables STATIC_DESC= libmetis archive OPTIONS_DEFAULT= SHARED STATIC BINS= cmpfillin gpmetis graphchk m2gmetis mpmetis ndmetis .include .if ${PORT_OPTIONS:MOPENMP} CMAKE_ARGS+= -DOPENMP=1 USE_GCC= any .endif #.if ${PORT_OPTIONS:MPROFILE} #.if !exists(/usr/lib/libc_p.a) #IGNORE = : you have enabled the PROFILE option, but have not installed \ # the base system profiling libraries #.endif #ALL_TARGET_PROFILE= metis #CMAKE_ARGS_PROFILE= -DGPROF=1 #PLIST_SUB+= PROFILE="" ##PROFILE_FLAGS ?= -pg #WRKSRC_PROFILE = ${WRKSRC}_PROFILE #INSTALL_WRKSRC_PROFILE = ${WRKSRC_PROFILE}/libmetis #.else #PLIST_SUB+= PROFILE="@comment " #.endif .if ${PORT_OPTIONS:MSHARED} ALL_TARGET_SHARED= all CMAKE_ARGS_SHARED= -DSHARED=1 PLIST_SUB+= SHARED="" .if ${ARCH} == "sparc64" SHARED_FLAGS?= -fPIC .else SHARED_FLAGS?= -fpic .endif SHLIB_MAJOR?= 2 CMAKE_ARGS+= -DSHLIB_MAJOR="${SHLIB_MAJOR}" USE_LDCONFIG= yes WRKSRC_SHARED= ${WRKSRC}_SHARED INSTALL_WRKSRC_SHARED= ${WRKSRC_SHARED} .else PLIST_SUB+= SHARED="@comment " .endif .if ${PORT_OPTIONS:MSTATIC} ALL_TARGET_STATIC= metis PLIST_SUB+= STATIC="" WRKSRC_STATIC= ${WRKSRC} INSTALL_WRKSRC_STATIC= ${WRKSRC_STATIC}/libmetis .else PLIST_SUB+= STATIC="@comment " .endif post-patch: @${REINPLACE_CMD} -e "/^# Add compiler flags/,/^$$/d" \ -e "/^check_include_file(execinfo.h/d" \ ${WRKSRC}/GKlib/GKlibSystem.cmake @${REINPLACE_CMD} -e "\|/home/karypis/|d" \ ${WRKSRC}/programs/CMakeLists.txt .for o in SHARED #PROFILE .if ${PORT_OPTIONS:M${o}} @${CP} -R ${WRKSRC} ${WRKSRC_${o}} .endif .endfor do-configure: .for o in SHARED STATIC #PROFILE .if ${PORT_OPTIONS:M${o}} @${PRINTF} "\n\nConfiguring ${o}:\n\n\n" @cd ${WRKSRC_${o}}; ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} \ ${CMAKE_ARGS:C|${CFLAGS}|& ${${o}_FLAGS}|g} ${CMAKE_ARGS_${o}} \ -DGKLIB_PATH="${WRKSRC_${o}}/GKlib" ${CMAKE_SOURCE_PATH} .endif .endfor do-build: .for o in SHARED STATIC #PROFILE .if ${PORT_OPTIONS:M${o}} @${PRINTF} "\n\nBuilding ${o}:\n\n\n" @cd ${WRKSRC_${o}}; ${SETENV} ${MAKE_ENV} ${MAKE} ${_MAKE_JOBS} \ ${MAKE_ARGS} ${ALL_TARGET_${o}} .endif .endfor .if ${PORT_OPTIONS:MSHARED} @cd ${WRKSRC_SHARED}/programs; ${STRIP_CMD} ${BINS} @cd ${WRKSRC_SHARED}/libmetis; ${STRIP_CMD} libmetis.so.* .endif .if ${PORT_OPTIONS:MSTATIC} @cd ${WRKSRC_STATIC}/libmetis; ${STRIP_CMD} libmetis.a .endif check regression-test test: build cd ${WRKSRC_SHARED}/graphs ; ../programs/gpmetis ./4elt.graph 5 do-install: .for o in SHARED STATIC #PROFILE .if ${PORT_OPTIONS:M${o}} @${PRINTF} "\n\nInstalling ${o}:\n\n\n" @cd ${INSTALL_WRKSRC_${o}}; ${SETENV} ${MAKE_ENV} ${MAKE} ${_MAKE_JOBS} \ ${MAKE_ARGS} install .endif .endfor .if ${PORT_OPTIONS:MDOCS} PORTDOCS= manual.pdf post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/manual/manual.pdf ${STAGEDIR}${DOCSDIR} .endif .include Index: head/math/parmetis/Makefile =================================================================== --- head/math/parmetis/Makefile (revision 444323) +++ head/math/parmetis/Makefile (revision 444324) @@ -1,68 +1,68 @@ # Created by: Eoin Lawless (eoin@maths.tcd.ie) # $FreeBSD$ PORTNAME= ParMetis PORTVERSION= 4.0 PORTREVISION= 11 CATEGORIES= math parallel MASTER_SITES= http://glaros.dtc.umn.edu/gkhome/fetch/sw/parmetis/%SUBDIR%/ MASTER_SITE_SUBDIR= . OLD DISTNAME= ${PORTNAME:tl}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Package for parallel (mpi) unstructured graph partitioning LICENSE= METIS LICENSE_NAME= University of Minnesota METIS License LICENSE_FILE= ${WRKSRC}/LICENSE.txt LICENSE_PERMS= auto-accept OPTIONS_DEFINE= OPENMPI DOCS OPENMPI_DESC= Use openmpi instead of mpich2 -USES= cmake gmake +USES= cmake:noninja gmake PLIST_FILES= include/parmetis/metis.h \ include/parmetis/parmetis.h \ lib/parmetis/libmetis.a \ lib/parmetis/libparmetis.a \ ${DOCSDIR}/manual.pdf .include .if ${PORT_OPTIONS:MOPENMPI} BUILD_DEPENDS+= ${LOCALBASE}/mpi/openmpi/bin/mpicc:net/openmpi RUN_DEPENDS+= ${LOCALBASE}/mpi/openmpi/bin/mpirun:net/openmpi MPICC= ${LOCALBASE}/mpi/openmpi/bin/mpicc .else BUILD_DEPENDS+= ${LOCALBASE}/bin/mpicc:net/mpich2 RUN_DEPENDS+= ${LOCALBASE}/bin/mpirun:net/mpich2 MPICC= ${LOCALBASE}/bin/mpicc .endif post-patch: @${REINPLACE_CMD} -e \ 's|BUILDDIR =.*|BUILDDIR = build| ; \ s|make -C|$$(MAKE) -C| ; \ s|$$(MAKEFLAGS)||' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e \ 's|"-O3"|""|' ${WRKSRC}/metis/GKlib/GKlibSystem.cmake do-configure: @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} \ ${MAKEFILE} config prefix="${PREFIX}" cc="${MPICC}" do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/include/parmetis \ ${STAGEDIR}${PREFIX}/lib/parmetis \ ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/include/parmetis.h \ ${WRKSRC}/metis/include/metis.h \ ${STAGEDIR}${PREFIX}/include/parmetis ${INSTALL_DATA} ${WRKSRC}/build/libmetis/libmetis.a \ ${STAGEDIR}${PREFIX}/lib/parmetis ${INSTALL_DATA} ${WRKSRC}/build/libparmetis/libparmetis.a \ ${STAGEDIR}${PREFIX}/lib/parmetis ${INSTALL_DATA} ${WRKSRC}/manual/manual.pdf ${STAGEDIR}${DOCSDIR} .include Index: head/math/stp/Makefile =================================================================== --- head/math/stp/Makefile (revision 444323) +++ head/math/stp/Makefile (revision 444324) @@ -1,24 +1,24 @@ # Created by: Li-Wen Hsu # $FreeBSD$ PORTNAME= stp PORTVERSION= 1436 PORTREVISION= 4 CATEGORIES= math MASTER_SITES= http://intara.arrowdodger.ru/ MAINTAINER= 6yearold@gmail.com COMMENT= Decision Procedure for Bitvectors and Arrays LICENSE= MIT LIB_DEPENDS= libboost_program_options.so:devel/boost-libs \ libboost_system.so:devel/boost-libs -USES= bison:build cmake perl5 tar:xz +USES= bison:build cmake:noninja perl5 tar:xz USE_PERL5= build CMAKE_ARGS= -DFL_LIBRARY=/usr/lib/libfl.a BROKEN_aarch64= Fails to compile: undefined reference to sbrk .include Index: head/multimedia/avidemux/Makefile.common =================================================================== --- head/multimedia/avidemux/Makefile.common (revision 444323) +++ head/multimedia/avidemux/Makefile.common (revision 444324) @@ -1,290 +1,290 @@ # $FreeBSD$ PORTREVISION?= 2 AVIDEMUX_VERSION= 2.6.11 MASTER_SITES= \ SF/avidemux/avidemux/${PORTVERSION} DISTNAME= avidemux_${PORTVERSION} BUILD_DEPENDS+= yasm:devel/yasm \ bash:shells/bash LIB_DEPENDS+= libmad.so:audio/libmad \ libdca.so:multimedia/libdca \ libpng.so:graphics/png LICENSE= GPLv2 USE_GNOME= libxml2 USE_QT4= # empty OPTIONS_FILE= ${PORT_DBDIR}/${OPTIONS_NAME:C/-.*//}/options -USES= cmake:outsource pkgconfig iconv gmake compiler:features sqlite +USES= cmake:outsource,noninja pkgconfig iconv gmake compiler:features sqlite USES+= dos2unix execinfo DOS2UNIX_FILES= cmake/admCheckMiscLibs.cmake \ avidemux_core/ADM_coreVideoCodec/include/ADM_coreVideoCodec6_export.h \ avidemux_core/ADM_coreVideoCodec/include/ADM_ffmp43.h CMAKE_ARGS+= -DGNUMAKE_EXECUTABLE=gmake CMAKE_ARGS+= -DAVIDEMUX_PACKAGER=none CMAKE_ARGS+= -DQT5:BOOL=OFF CXXFLAGS+= -I${LOCALBASE}/include MAKE_JOBS_UNSAFE= yes NOPRECIOUSMAKEVARS= yes # ARCH BUILD_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils CONFIGURE_ENV+= COMPILER_PATH=${LOCALBASE}/bin MAKE_ENV+= COMPILER_PATH=${LOCALBASE}/bin OPTIONS_DEFINE= QT4 CLI FREETYPE FONTCONFIG OSS ESOUND JACK \ PULSEAUDIO XVIDEO FAAC FRIBIDI OPUS TWOLAME \ FAAD X264 X265 VPX XVID SDL AMR VORBIS NLS LAME VAAPI VDPAU OPTIONS_DEFAULT= QT4 FREETYPE FONTCONFIG OSS XVIDEO VPX XVID \ SDL FAAD VDPAU VORBIS OPTIONS_SUB= yes CLI_DESC= Build CLI tool FRIBIDI_CMAKE_OFF= -DFRIDIBI:BOOL=OFF FRIBIDI_LIB_DEPENDS= libfribidi.so:converters/fribidi OPUS_CMAKE_OFF= -DOPUS:BOOL=OFF OPUS_LIB_DEPENDS= libopus.so:audio/opus TWOLAME_CMAKE_OFF= -DTWOLAME:BOOL=OFF TWOLAME_LIB_DEPENDS= libtwolame.so:audio/twolame .if !defined(PACKAGE_BUILDING) OPTIONS_DEFAULT+= LAME FAAC AMR X264 .endif .include .if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB+= NLS="" . if ${PORT_OPTIONS:MQT4} PLIST_SUB+= QT_NLS="" . else PLIST_SUB+= QT_NLS="@comment " . endif .else CMAKE_ARGS+= -DNO_NLS:BOOL=ON PLIST_SUB+= NLS="@comment " QT_NLS="@comment " .endif # for libexecinfo: (so that __builtin_frame_address() finds the top # of the stack) .if ${ARCH} == "amd64" CFLAGS+= -fno-omit-frame-pointer #MAKE_ENV+= ARCH=x86_64 #CONFIGURE_ENV+= ARCH=x86_64 .endif .if !exists(/usr/lib/libexecinfo.so) CMAKE_ARGS+= -DLIBEXECINFO_INCLUDE_DIR=${LOCALBASE}/include CMAKE_ARGS+= -DLIBEXECINFO_LIBRARY_DIR=${LOCALBASE}/lib/libexecinfo.so .else CMAKE_ARGS+= -DLIBEXECINFO_INCLUDE_DIR=/usr/include CMAKE_ARGS+= -DLIBEXECINFO_LIBRARY_DIR=-lexecinfo .endif # We haven't ALSA(Never) & Aften(Yet) on FreeBSD CMAKE_ARGS+= -DARTS:BOOL=OFF -DALSA:BOOL=OFF -DAFTEN:BOOL=OFF .if empty(PORT_OPTIONS:MGTK3) && empty(PORT_OPTIONS:MQT4) CMAKE_ARGS+= -DX11:BOOL=OFF .else USE_GNOME+= libxslt .endif .if ${PORT_OPTIONS:MGTK3} USE_GNOME+= gnomeprefix gtk30 PLIST_SUB+= GTK="" .else CMAKE_ARGS+= -DGTK:BOOL=OFF PLIST_SUB+= GTK="@comment " .endif .if ${PORT_OPTIONS:MQT4} USE_QT4= qmake_build moc_build rcc_build uic_build linguist_build gui PLIST_SUB+= QT4="" .else CMAKE_ARGS+= -DQT4:BOOL=OFF PLIST_SUB+= QT4="@comment " .endif .if ${PORT_OPTIONS:MCLI} PLIST_SUB+= CLI="" .else PLIST_SUB+= CLI="@comment " .endif .if ${PORT_OPTIONS:MOSS} CMAKE_ARGS+= -DOSS_SUPPORT:BOOL=ON .else CMAKE_ARGS+= -DOSS_SUPPORT:BOOL=OFF .endif .if ${PORT_OPTIONS:MESOUND} USE_GNOME+= esound PLIST_SUB+= ESD="" .else CMAKE_ARGS+= -DESD:BOOL=OFF PLIST_SUB+= ESD="@comment " .endif .if ${PORT_OPTIONS:MJACK} LIB_DEPENDS+= libjack.so:audio/jack PLIST_SUB+= JACK="" .else CMAKE_ARGS+= -DJACK:BOOL=OFF PLIST_SUB+= JACK="@comment " .endif .if ${PORT_OPTIONS:MPULSEAUDIO} LIB_DEPENDS+= libpulse.so:audio/pulseaudio PLIST_SUB+= PULSE="" .else CMAKE_ARGS+= -DPULSEAUDIOSIMPLE:BOOL=OFF PLIST_SUB+= PULSE="@comment " .endif .if ${PORT_OPTIONS:MFREETYPE} LIB_DEPENDS+= libfreetype.so:print/freetype2 PLIST_SUB+= FREETYPE="" .else CMAKE_ARGS+= -DFREETYPE2:BOOL=OFF PLIST_SUB+= FREETYPE="@comment " .endif .if ${PORT_OPTIONS:MFONTCONFIG} LIB_DEPENDS+= libfontconfig.so:x11-fonts/fontconfig .else CMAKE_ARGS+= -DFONTCONFIG:BOOL=OFF .endif .if ${PORT_OPTIONS:MXVIDEO} #LIB_DEPENDS+= Xv:x11/libXv USE_XORG+= xv .else CMAKE_ARGS+= -DXVIDEO:BOOL=OFF .endif .if ${PORT_OPTIONS:MFAAC} LIB_DEPENDS+= libfaac.so:audio/faac PLIST_SUB+= FAAC="" .else CMAKE_ARGS+= -DFAAC:BOOL=OFF PLIST_SUB+= FAAC="@comment " .endif .if ${PORT_OPTIONS:MLAME} LIB_DEPENDS+= libmp3lame.so:audio/lame PLIST_SUB+= LAME="" .else CMAKE_ARGS+= -DLAME:BOOL=OFF PLIST_SUB+= LAME="@comment " .endif .if ${PORT_OPTIONS:MFAAD} LIB_DEPENDS+= libfaad.so:audio/faad PLIST_SUB+= FAAD="" .else CMAKE_ARGS+= -DFAAD:BOOL=OFF -DNeAAC:BOOL=OFF PLIST_SUB+= FAAD="@comment " .endif .if ${PORT_OPTIONS:MX264} LIB_DEPENDS+= libx264.so:multimedia/libx264 PLIST_SUB+= X264="" .else CMAKE_ARGS+= -DX264:BOOL=OFF PLIST_SUB+= X264="@comment " .endif .if ${PORT_OPTIONS:MX265} LIB_DEPENDS+= libx265.so:multimedia/x265 PLIST_SUB+= X265="" .else CMAKE_ARGS+= -DX265:BOOL=OFF PLIST_SUB+= X265="@comment " .endif .if ${PORT_OPTIONS:MVPX} LIB_DEPENDS+= libvpx.so:multimedia/libvpx PLIST_SUB+= VPX="" .else CMAKE_ARGS+= -DVPXDEC:BOOL=OFF PLIST_SUB+= VPX="@comment " .endif .if ${PORT_OPTIONS:MXVID} LIB_DEPENDS+= libxvidcore.so:multimedia/xvid PLIST_SUB+= XVID="" .else CMAKE_ARGS+= -DXVID:BOOL=OFF PLIST_SUB+= XVID="@comment " .endif .if ${PORT_OPTIONS:MSDL} USE_SDL= sdl PLIST_SUB+= SDL="" .else CMAKE_ARGS+= -DSDL:BOOL=OFF PLIST_SUB+= SDL="@comment " .endif .if ${PORT_OPTIONS:MVAAPI} LIB_DEPENDS+= libva.so:multimedia/libva PLIST_SUB+= VAAPI="" .else CMAKE_ARGS+= -DVAAPI:BOOL=OFF -DLIBVA:BOOL=OFF PLIST_SUB+= VAAPI="@comment " .endif .if ${PORT_OPTIONS:MVDPAU} LIB_DEPENDS+= libvdpau.so:multimedia/libvdpau PLIST_SUB+= VDPAU="" .else CMAKE_ARGS+= -DVDPAU:BOOL=OFF PLIST_SUB+= VDPAU="@comment " .endif .if ${PORT_OPTIONS:MVORBIS} LIB_DEPENDS+= libvorbis.so:audio/libvorbis PLIST_SUB+= VORBIS="" .else CMAKE_ARGS+= -DLIBVORBIS:BOOL=OFF -DVORBIS:BOOL=OFF PLIST_SUB+= VORBIS="@comment " .endif .if ${PORT_OPTIONS:MAMR} LIB_DEPENDS+= libopencore-amrnb.so:audio/opencore-amr PLIST_SUB+= AMRNB="" PLIST_SUB+= AMRWB="" .else CMAKE_ARGS+= -DOPENCORE_AMRNB:BOOL=OFF PLIST_SUB+= AMRNB="@comment " CMAKE_ARGS+= -DOPENCORE_AMRWB:BOOL=OFF PLIST_SUB+= AMRWB="@comment " .endif .include # is this kosher? the result seems to run tho... (see ports/185997) .if $(COMPILER_FEATURES:Mlibc++) LDFLAGS+= -lc++ .endif #.if ${COMPILER_TYPE} == clang USE_GCC= yes #.endif .if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64" BROKEN= Does not compile on ia64, powerpc, or sparc64 .endif post-patch: @${MKDIR} ${CONFIGURE_WRKSRC}/config @${LN} -s ${LOCALBASE}/include/iconv.h ${CONFIGURE_WRKSRC}/config @${REINPLACE_CMD} 's|-ldl||' ${WRKSRC}/avidemux_core/CMakeLists.txt post-configure-common: @${FIND} ${CONFIGURE_WRKSRC} -name link.txt -print0 | \ ${XARGS} -0 ${REINPLACE_CMD} 's|-ldl||g' Index: head/multimedia/gstreamer-qt4/Makefile =================================================================== --- head/multimedia/gstreamer-qt4/Makefile (revision 444323) +++ head/multimedia/gstreamer-qt4/Makefile (revision 444324) @@ -1,35 +1,35 @@ # Created by: Dima Panov # $FreeBSD$ PORTNAME= gstreamer PORTVERSION= 0.10.3 PORTREVISION= 6 CATEGORIES= multimedia MASTER_SITES= http://gstreamer.freedesktop.org/src/qt-${PORTNAME}/ PKGNAMESUFFIX= -qt4 DISTNAME= qt-${PORTNAME}-${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Qt4 bindings for GStreamer multimedia library LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libboost_thread.so:devel/boost-libs -USES= bison cmake gmake kde:4 pathfix pkgconfig tar:bzip2 +USES= bison cmake:noninja gmake kde:4 pathfix pkgconfig tar:bzip2 USE_LDCONFIG= yes USE_GSTREAMER= yes USE_GNOME= glib20 USE_KDE= automoc4 USE_QT4= corelib gui opengl declarative \ qmake_build moc_build rcc_build uic_build qtestlib_build PLIST_SUB= VERSION="${PORTVERSION}" GST_VERSION="${GST_VERSION}" GST_VERSION= ${PORTVERSION:C/..$//} CMAKE_ARGS+= -DCMAKE_INCLUDE_PATH:STRING="${LOCALBASE}/include" LDFLAGS+= -L${LOCALBASE}/lib .include Index: head/multimedia/plexhometheater/Makefile =================================================================== --- head/multimedia/plexhometheater/Makefile (revision 444323) +++ head/multimedia/plexhometheater/Makefile (revision 444324) @@ -1,128 +1,128 @@ # Created by: Ben Woods # $FreeBSD$ PORTNAME= plexhometheater PORTVERSION= 1.4.1 DISTVERSIONPREFIX=v DISTVERSIONSUFFIX=.469-47a90f01 PORTREVISION= 11 CATEGORIES= multimedia MAINTAINER= woodsb02@FreeBSD.org COMMENT= Media center frontend to multimedia/plexmediaserver LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE.GPL BUILD_DEPENDS= enca:converters/enca \ gawk:lang/gawk \ gperf:devel/gperf \ cmake:devel/cmake \ zip:archivers/zip \ nasm:devel/nasm \ gtk-update-icon-cache:x11-toolkits/gtk20 \ swig2.0:devel/swig20 LIB_DEPENDS= libass.so:multimedia/libass \ libavahi-client.so:net/avahi-app \ libboost_thread.so:devel/boost-libs \ libcdio.so:sysutils/libcdio \ libcurl.so:ftp/curl \ libdbus-1.so:devel/dbus \ libenca.so:converters/enca \ libFLAC.so:audio/flac \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libfribidi.so:converters/fribidi \ libhal.so:sysutils/hal \ libjasper.so:graphics/jasper \ liblzo2.so:archivers/lzo2 \ libmad.so:audio/libmad \ libmicrohttpd.so:www/libmicrohttpd \ libmodplug.so:audio/libmodplug \ libmpeg2.so:multimedia/libmpeg2 \ libpcre.so:devel/pcre \ libplist.so:devel/libplist \ libpng.so:graphics/png \ librtmp.so:multimedia/librtmp \ libsamplerate.so:audio/libsamplerate \ libshairport.so:audio/libshairport \ libsqlite3.so:databases/sqlite3 \ libtag.so:audio/taglib \ libtiff.so:graphics/tiff \ libtinyxml.so:textproc/tinyxml \ libva.so:multimedia/libva \ libvdpau.so:multimedia/libvdpau \ libvorbis.so:audio/libvorbis \ libxslt.so:textproc/libxslt \ libyajl.so:devel/yajl RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3 \ glxinfo:graphics/mesa-demos \ ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow \ xdpyinfo:x11/xdpyinfo BROKEN= Fails to build against libsamplerate-0.1.9 USE_GITHUB= yes GH_ACCOUNT= plexinc GH_PROJECT= plex-home-theater-public BUNDLE_LIBS= yes -USES= cmake:outsource execinfo gmake iconv:wchar_t jpeg pkgconfig python:2 +USES= cmake:outsource execinfo iconv:wchar_t jpeg pkgconfig python:2 CMAKE_ARGS+= -DENABLE_AUTOUPDATE:BOOL=false CMAKE_ARGS+= -DENABLE_DUMP_SYMBOLS:BOOL=false CMAKE_ARGS+= -DENABLE_PYTHON:BOOL=false CMAKE_ARGS+= -DUSE_INTERNAL_FFMPEG:BOOL=true CMAKE_ARGS+= -DCREATE_BUNDLE:BOOL=false CMAKE_ARGS+= -DCMAKE_PREFIX_PATH=${LOCALBASE} CFLAGS+= -isystem${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib USE_XORG= xt xmu xtst xrandr USE_GL= glu glew USE_SDL= image sdl mixer INSTALLS_ICONS= yes ONLY_FOR_ARCHS= i386 amd64 PLEX_ARCH_i386= x86 PLEX_ARCH_amd64=x86_64 SUB_FILES= ${PORTNAME}.sh pkg-message PLIST_SUB= ARCH=${PLEX_ARCH_${ARCH}} DESKTOP_ENTRIES="Plex Home Theater" \ "${COMMENT}" \ "${DATADIR}/media/plex-icon-120.png" \ "plexhometheater.sh" \ "AudioVideo;Video;" \ true OPTIONS_SUB= yes OPTIONS_DEFINE= CEC LIRC PULSEAUDIO CEC_DESC= Control plexhometheater over HDMI with TV remote OPTIONS_DEFAULT= CEC LIRC CEC_BUILD_DEPENDS= libcec>=3.0.0:multimedia/libcec CEC_LIB_DEPENDS= libcec.so:multimedia/libcec CEC_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_CEC:BOOL=true LIRC_RUN_DEPENDS= lircd:comms/lirc PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_PulseAudio:BOOL=true post-patch: @${REINPLACE_CMD} 's/[[:<:]]ARCH[[:>:]]/FFMPEG_ARCH/' \ ${WRKSRC}/lib/ffmpeg/Makefile \ ${WRKSRC}/lib/ffmpeg/common.mak \ ${WRKSRC}/lib/ffmpeg/configure \ ${WRKSRC}/lib/ffmpeg/libavcodec/Makefile @${REINPLACE_CMD} 's/iconv_open/libiconv_open/' \ ${WRKSRC}/plex/CMakeModules/FindIconv.cmake @${REINPLACE_CMD} 's/COMMAND\ make/COMMAND\ gmake/g' \ ${WRKSRC}/lib/ffmpeg/CMakeLists.txt post-install: ${RM} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/*.so ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin .include Index: head/multimedia/zoneminder/Makefile =================================================================== --- head/multimedia/zoneminder/Makefile (revision 444323) +++ head/multimedia/zoneminder/Makefile (revision 444324) @@ -1,113 +1,113 @@ # $FreeBSD$ PORTNAME= zoneminder PORTVERSION= 1.30.4 CATEGORIES= multimedia MAINTAINER= bsd@abinet.ru COMMENT= Complete security camera solution, fully web based with image analysis LICENSE= GPLv2 CONFLICTS_INSTALL= zoneminder-h264 ZM_DEPENDS= p5-DBI>=0:databases/p5-DBI \ p5-DBD-mysql>=0:databases/p5-DBD-mysql \ p5-Date-Manip>=0:devel/p5-Date-Manip \ p5-Test-LWP-UserAgent>=0:www/p5-Test-LWP-UserAgent \ p5-Sys-Mmap>=0:devel/p5-Sys-Mmap \ p5-LWP-Protocol-https>=0:www/p5-LWP-Protocol-https \ p5-Sys-CPU>=0:devel/p5-Sys-Cpu \ p5-Sys-MemInfo>=0:devel/p5-Sys-MemInfo \ p5-Data-Dump>=0:devel/p5-Data-Dump \ p5-SOAP-WSDL>=0:devel/p5-SOAP-WSDL \ p5-Data-UUID>=0:devel/p5-Data-UUID \ p5-IO-Socket-Multicast>=0:net/p5-IO-Socket-Multicast \ ffmpeg:multimedia/ffmpeg BUILD_DEPENDS= ${ZM_DEPENDS} RUN_DEPENDS= ${ZM_DEPENDS} \ sudo:security/sudo \ p5-Device-SerialPort>=0:comms/p5-Device-SerialPort \ zip:archivers/zip USE_GITHUB= yes GH_PROJECT= ZoneMinder GH_TUPLE= FriendsOfCake:crud:c3976f1:crud -USES= cmake jpeg mysql perl5 php shebangfix ssl +USES= cmake:noninja jpeg mysql perl5 php shebangfix ssl USE_RC_SUBR= zoneminder USE_PHP= json pdo_mysql session gd sockets ctype opcache ONLY_FOR_ARCHS= amd64 i386 OPTIONS_DEFINE= NLS V4L DOCS OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls V4L_BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" SHEBANG_FILES= scripts/zmaudit.pl.in \ scripts/zmcamtool.pl.in \ scripts/zmcontrol.pl.in \ scripts/zmdc.pl.in \ scripts/zmfilter.pl.in \ scripts/zmpkg.pl.in \ scripts/zmtelemetry.pl.in \ scripts/zmtrack.pl.in \ scripts/zmtrigger.pl.in \ scripts/zmupdate.pl.in \ scripts/zmvideo.pl.in \ scripts/zmwatch.pl.in \ scripts/zmx10.pl.in \ onvif/scripts/zmonvif-probe.pl PORTDOCS= AUTHORS BUGS ChangeLog INSTALL NEWS README.FreeBSD TODO CMAKE_ARGS+= -DZM_PERL_MM_PARMS=INSTALLDIRS=site \ -DZM_CONFIG_DIR=${PREFIX}/etc \ -DZM_WEBDIR=${WWWDIR} \ -DZM_CGIDIR=${WWWDIR}/cgi-bin \ -DZM_CONTENTDIR=${WWWDIR} \ -DHAVE_SENDFILE=0 \ -DZM_NO_CURL=ON \ -DZM_NO_LIBVLC=ON \ -DPCRE_LIBRARIES=0 \ -DGNUTLS_LIBRARIES=0 \ -DCMAKE_REQUIRED_INCLUDES:STRING="${LOCALBASE}/include" .include .if ${PHP_VER} >= 70 RUN_DEPENDS+= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/apcu.so:devel/pecl-APCu .else RUN_DEPENDS+= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/apcu.so:devel/pecl-APCu4 .endif PKGMESSAGE= ${WRKDIR}/pkg-message post-extract: ${CP} -R ${WRKSRC_crud}/* ${WRKSRC}/web/api/app/Plugin/Crud ${CP} ${FILESDIR}/README.FreeBSD ${WRKSRC} ${CP} ${FILESDIR}/README.FreeBSD ${PKGMESSAGE} ${REINPLACE_CMD} -e 's|/dev/shm|/tmp|g' ${WRKSRC}/scripts/ZoneMinder/lib/ZoneMinder/ConfigData.pm.in ${REINPLACE_CMD} -e 's|E_ALL|E_ALL^E_NOTICE|g' ${WRKSRC}/web/index.php pre-install: ${MKDIR} ${STAGEDIR}${WWWDIR}/images ${MKDIR} ${STAGEDIR}${WWWDIR}/events ${MKDIR} ${STAGEDIR}${WWWDIR}/temp ${MKDIR} ${STAGEDIR}${WWWDIR}/api/app/tmp ${MKDIR} ${STAGEDIR}/var/run/zm ${MKDIR} ${STAGEDIR}/var/tmp/zm post-install: ${INSTALL_DATA} ${STAGEDIR}${PREFIX}/etc/zm.conf ${STAGEDIR}${PREFIX}/etc/zm.conf.sample post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_MAN} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include Index: head/multimedia/zoneminder-h264/Makefile =================================================================== --- head/multimedia/zoneminder-h264/Makefile (revision 444323) +++ head/multimedia/zoneminder-h264/Makefile (revision 444324) @@ -1,111 +1,111 @@ # $FreeBSD$ PORTNAME= zoneminder-h264 PORTVERSION= 1.30.20170222 CATEGORIES= multimedia MAINTAINER= bsd@abinet.ru COMMENT= Complete security camera solution, fully web based with image analysis LICENSE= GPLv2 CONFLICTS_INSTALL= zoneminder ZM_DEPENDS= p5-DBI>=0:databases/p5-DBI \ p5-DBD-mysql>=0:databases/p5-DBD-mysql \ p5-Date-Manip>=0:devel/p5-Date-Manip \ p5-Test-LWP-UserAgent>=0:www/p5-Test-LWP-UserAgent \ p5-Sys-Mmap>=0:devel/p5-Sys-Mmap \ p5-LWP-Protocol-https>=0:www/p5-LWP-Protocol-https \ p5-Sys-CPU>=0:devel/p5-Sys-Cpu \ p5-Sys-MemInfo>=0:devel/p5-Sys-MemInfo \ p5-Data-Dump>=0:devel/p5-Data-Dump \ p5-SOAP-WSDL>=0:devel/p5-SOAP-WSDL \ p5-Data-UUID>=0:devel/p5-Data-UUID \ p5-IO-Socket-Multicast>=0:net/p5-IO-Socket-Multicast \ ffmpeg:multimedia/ffmpeg BUILD_DEPENDS= ${ZM_DEPENDS} LIB_DEPENDS= libx264.so:multimedia/libx264 \ libmp4v2.so:multimedia/mp4v2 RUN_DEPENDS= ${ZM_DEPENDS} \ p5-MIME-Tools>=0:mail/p5-MIME-Tools \ sudo:security/sudo \ p5-Device-SerialPort>=0:comms/p5-Device-SerialPort \ zip:archivers/zip USE_GITHUB= yes GH_TUPLE= zoneminder:ZoneMinder:e723b6d \ FriendsOfCake:crud:c3976f1:crud -USES= cmake jpeg mysql perl5 php shebangfix ssl +USES= cmake:noninja jpeg mysql perl5 php shebangfix ssl USE_RC_SUBR= zoneminder USE_PHP= json pdo_mysql session gd sockets ctype ONLY_FOR_ARCHS= amd64 i386 OPTIONS_DEFINE= NLS V4L DOCS OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls V4L_BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" SHEBANG_FILES= scripts/zmaudit.pl.in \ scripts/zmcamtool.pl.in \ scripts/zmcontrol.pl.in \ scripts/zmdc.pl.in \ scripts/zmfilter.pl.in \ scripts/zmpkg.pl.in \ scripts/zmtelemetry.pl.in \ scripts/zmtrack.pl.in \ scripts/zmtrigger.pl.in \ scripts/zmupdate.pl.in \ scripts/zmvideo.pl.in \ scripts/zmwatch.pl.in \ scripts/zmx10.pl.in \ onvif/scripts/zmonvif-probe.pl PORTDOCS= AUTHORS BUGS ChangeLog INSTALL NEWS README.FreeBSD TODO CMAKE_ARGS+= -DZM_PERL_MM_PARMS=INSTALLDIRS=site \ -DZM_CONFIG_DIR=${PREFIX}/etc \ -DZM_WEBDIR=${WWWDIR} \ -DZM_CGIDIR=${WWWDIR}/cgi-bin \ -DZM_CONTENTDIR=${WWWDIR} \ -DHAVE_SENDFILE=0 \ -DZM_NO_CURL=ON \ -DZM_NO_LIBVLC=ON \ -DPCRE_LIBRARIES=0 \ -DGNUTLS_LIBRARIES=0 \ -DCMAKE_REQUIRED_INCLUDES:STRING="${LOCALBASE}/include" PKGMESSAGE= ${WRKDIR}/pkg-message post-extract: ${CP} -R ${WRKSRC_crud}/* ${WRKSRC}/web/api/app/Plugin/Crud ${CP} ${FILESDIR}/README.FreeBSD ${WRKSRC} ${CP} ${FILESDIR}/README.FreeBSD ${PKGMESSAGE} ${REINPLACE_CMD} -e 's|/dev/shm|/tmp|g' ${WRKSRC}/scripts/ZoneMinder/lib/ZoneMinder/ConfigData.pm.in ${REINPLACE_CMD} -e 's|E_ALL|E_ALL^E_NOTICE|g' ${WRKSRC}/web/index.php pre-install: ${MKDIR} ${STAGEDIR}${WWWDIR}/images ${MKDIR} ${STAGEDIR}${WWWDIR}/events ${MKDIR} ${STAGEDIR}${WWWDIR}/temp ${MKDIR} ${STAGEDIR}${WWWDIR}/api/app/tmp ${MKDIR} ${STAGEDIR}/var/run/zm ${MKDIR} ${STAGEDIR}/var/tmp/zm post-install: ${INSTALL_DATA} ${STAGEDIR}${PREFIX}/etc/zm.conf ${STAGEDIR}${PREFIX}/etc/zm.conf.sample post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_MAN} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include Index: head/net/ceph-devel/Makefile =================================================================== --- head/net/ceph-devel/Makefile (revision 444323) +++ head/net/ceph-devel/Makefile (revision 444324) @@ -1,137 +1,137 @@ # Created by: Willem Jan Withagen # $FreeBSD$ PORTNAME= ceph DISTVERSION= wip.v2017-05-01 CATEGORIES= net PKGNAMESUFFIX= -devel MAINTAINER= wjw@digiware.nl COMMENT=Ceph delivers object, block, and file storage in a unified system LICENSE= GPLv2 LGPL3 LICENSE_COMB= dual BUILD_DEPENDS= \ yasm:devel/yasm \ pkgconf:devel/pkgconf \ cython>=0.25.2:lang/cython \ sphinx-build:textproc/py-sphinx \ ${LOCALBASE}/lib/libatomic_ops.a:devel/libatomic_ops LIB_DEPENDS= \ libboost_python.so:devel/boost-python-libs \ libboost_thread.so:devel/boost-libs \ libleveldb.so:databases/leveldb \ libldap.so:net/openldap24-client \ libnss3.so:security/nss \ libcryptopp.so:security/cryptopp \ libsnappy.so:archivers/snappy \ libcurl.so:ftp/curl \ libxml2.so:textproc/libxml2 \ libexpat.so:textproc/expat2 \ liblz4.so:archivers/liblz4 \ libfcgi.so:www/fcgi \ libplds4.so:devel/nspr \ libtcmalloc.so:devel/google-perftools RUN_DEPENDS= \ bash:shells/bash \ ${LOCALBASE}/bin/getopt:misc/getopt \ xml:textproc/xmlstarlet \ jq:textproc/jq \ flock:sysutils/flock \ virtualenv:devel/py-virtualenv USE_GITHUB= yes GH_ACCOUNT= wjwithagen:DEFAULT GH_TUPLE+= facebook:rocksdb:2.7.fb-4991-g9f2cc5:rocksdb/src/rocksdb GH_TUPLE+= ceph:ceph-erasure-code-corpus:master:cepherasurecodecorpus/ceph-erasure-code-corpus GH_TUPLE+= ceph:ceph-object-corpus:master:cephobjectcorpus/ceph-object-corpus GH_TUPLE+= ceph:civetweb:v1.5-1809-g7f9f5d1:civetweb/src/civetweb GH_TUPLE+= ceph:jerasure:v2-ceph:jerasure/src/erasure-code/jerasure/jerasure GH_TUPLE+= ceph:gf-complete:v3-ceph:gfcomplete/src/erasure-code/jerasure/gf-complete GH_TUPLE+= ceph:googletest:ceph-release-1.7.x:googletest/src/googletest GH_TUPLE+= ceph:spdk:v17.03-34-g5742e9b9:spdk/src/spdk GH_TUPLE+= ceph:xxHash:v0.5.1-2-g1f40c65:xxHash/src/xxHash GH_TUPLE+= ceph:isa-l:v2.16.0:isal/src/isa-l GH_TUPLE+= ceph:lua:5.3.2-2-g1fce39c:lua/src/lua GH_TUPLE+= ceph:Beast:999e2fa:Beast/src/Beast GH_TUPLE+= boostorg:boost:boost-1.61.0-275-g1790aff:boost/src/boost GH_TUPLE+= ceph:dpdk:v16.11:dpd/src/dpd GH_TUPLE+= facebook:zstd:v1.1.2:zstd/src/zstd GH_TUPLE+= 01org:isa-l_crypto:603529a:isalcrypto/src/crypto/isa-l/isa-l_crypto CMAKE_BUILD_TYPE= Release CMAKE_ARGS= \ -D ENABLE_GIT_VERSION:BOOL=OFF \ -D WITH_SYSTEM_BOOST:BOOL=ON \ -D CEPH_MAN_DIR:STRING=man \ -D WITH_LTTNG:BOOL=OFF \ -D WITH_FUSE:BOOL=ON \ -D WITH_KRBD:BOOL=OFF \ -D WITH_XFS:BOOL=OFF \ -D WITH_KVS:BOOL=OFF \ -D WITH_LIBCEPHFS:BOOL=OFF \ -D WITH_CEPHFS:BOOL=OFF \ -D WITH_EMBEDDED:BOOL=OFF -USES= gmake cmake:outsource python:2.7 fuse gettext-runtime shebangfix +USES= gmake cmake:outsource,noninja python:2.7 fuse gettext-runtime shebangfix SHEBANG_FILES=src/rbdmap src/ceph-post-file.in src/rbd-replay-many \ src/brag/client/ceph-brag src/ceph-rest-api \ src/tools/ceph-monstore-update-crush.sh src/mount.fuse.ceph \ src/ceph-create-keys # even though i386 will build, it is not really advised. ONLY_FOR_ARCHS= amd64 IGNORE_FreeBSD_10= Doesnt build for FreeBSD 10.x USE_RC_SUBR= ceph USE_LDCONFIG= yes USERS= ceph GROUPS= ceph pre-configure: ${LN} -s ${CONFIGURE_WRKSRC} ${WRKSRC}/build post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/ceph ${MKDIR} ${STAGEDIR}/var/lib/ceph/bootstrap-mds ${MKDIR} ${STAGEDIR}/var/lib/ceph/bootstrap-osd ${MKDIR} ${STAGEDIR}/var/lib/ceph/bootstrap-rgw ${MKDIR} ${STAGEDIR}/var/lib/ceph/bootstrap-mgr ${MKDIR} ${STAGEDIR}/var/lib/ceph/mds ${MKDIR} ${STAGEDIR}/var/lib/ceph/mon ${MKDIR} ${STAGEDIR}/var/lib/ceph/osd ${MKDIR} ${STAGEDIR}/var/lib/ceph/mgr ${MKDIR} ${STAGEDIR}/var/lib/ceph/tmp ${MKDIR} ${STAGEDIR}/var/lib/ceph/radosgw ${MKDIR} ${STAGEDIR}/var/log/ceph ${MKDIR} ${STAGEDIR}/var/run/ceph ${CHOWN} -R 167:167 ${STAGEDIR}/var/lib/ceph ${CHOWN} 167:167 ${STAGEDIR}/var/log/ceph ${CHOWN} 167:167 ${STAGEDIR}/var/run/ceph ${CHMOD} -R 750 ${STAGEDIR}/var/lib/ceph ${CHOWN} 750 ${STAGEDIR}/var/log/ceph ${CHOWN} 750 ${STAGEDIR}/var/run/ceph # Use the Ceph init.d script as the interface to regular # starting and stopping deamons. rc.d work is done thru # a separate rc.d/ceph script calling init-ceph again. ${MV} ${STAGEDIR}${PREFIX}/etc/init.d/ceph ${STAGEDIR}${PREFIX}/bin/init-ceph # remove files not packaged ${RM} ${STAGEDIR}${DOCSDIR}/sample.fetch_config ${RM} ${STAGEDIR}${DOCSDIR}/sample.ceph.conf ${RMDIR} ${STAGEDIR}${DOCSDIR} ${RM} ${STAGEDIR}${PREFIX}/bin/ceph_bench_log ${RM} ${STAGEDIR}${PREFIX}/bin/ceph_multi_stress_watch ${RM} ${STAGEDIR}${PREFIX}/bin/ceph_perf* ${RM} ${STAGEDIR}${PREFIX}/bin/ceph_psim ${RM} ${STAGEDIR}${PREFIX}/bin/ceph_scratchtoolpp ${RM} ${STAGEDIR}${PREFIX}/bin/ceph_smalliobench* ${RM} ${STAGEDIR}${PREFIX}/bin/ceph_test* ${RM} ${STAGEDIR}${PREFIX}/bin/ceph_tpbench ${RM} ${STAGEDIR}${PREFIX}/bin/ceph_xattr_bench ${RM} ${STAGEDIR}${PREFIX}/sbin/ceph-disk-udev ${RMDIR} ${STAGEDIR}${PREFIX}/etc/init.d ${INSTALL_DATA} ${WRKSRC}/src/sample.ceph.conf ${STAGEDIR}${PREFIX}/etc/ceph/ceph.conf.sample .include Index: head/net/tigervnc/Makefile =================================================================== --- head/net/tigervnc/Makefile (revision 444323) +++ head/net/tigervnc/Makefile (revision 444324) @@ -1,145 +1,145 @@ # Created by: Koichiro IWAO # $FreeBSD$ PORTNAME= tigervnc PORTVERSION= 1.8.0 DISTVERSIONPREFIX= v CATEGORIES= net x11-servers MAINTAINER= meta+ports@vmeta.jp COMMENT= High-performance, platform-neutral implementation of VNC LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENCE.TXT PATCH_DEPENDS= ${NONEXISTENT}:x11-servers/xorg-server:patch BUILD_DEPENDS= ${LOCALBASE}/include/GL/internal/dri_interface.h:graphics/mesa-dri \ ${LOCALBASE}/libdata/pkgconfig/fontutil.pc:x11-fonts/font-util \ ${LOCALBASE}/include/FL/Fl.H:x11-toolkits/fltk \ bash:shells/bash LIB_DEPENDS= libunwind.so:devel/libunwind \ libxshmfence.so:x11/libxshmfence \ libfontconfig.so:x11-fonts/fontconfig # almost equivalent to x11-servers/xorg-server's RUN_DEPENDS= ${LOCALBASE}/share/X11/xkb/rules/base:x11/xkeyboard-config \ xkbcomp:x11/xkbcomp CONFLICTS= tigervnc-devel-[0-9]* \ tightvnc-[0-9]* \ tridiavnc-[0-9]* -USES= autoreconf:build cmake cpe iconv jpeg libtool pkgconfig \ +USES= autoreconf:build cmake:noninja cpe iconv jpeg libtool pkgconfig \ python ssl USE_GL= gl USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= TigerVNC USE_XORG+= bigreqsproto compositeproto damageproto fixesproto fontsproto glproto \ ice inputproto kbproto pixman presentproto randrproto renderproto \ resourceproto scrnsaverproto sm videoproto x11 xau xcmiscproto xdamage \ xdmcp xext xextproto xfont xkbfile xorg-macros xproto xrandr xrender \ xtrans xtst CFLAGS+= -fPIC OPTIONS_DEFINE= GNUTLS NLS PAM VIEWER DOCS OPTIONS_DEFAULT= GNUTLS PAM VIEWER VIEWER_DESC= Build vncviewer .include CMAKE_ARGS= -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=${STAGE}${PREFIX} .if ${PORT_OPTIONS:MGNUTLS} LIB_DEPENDS+= libtasn1.so:security/libtasn1 \ libgcrypt.so:security/libgcrypt \ libgpg-error.so:security/libgpg-error \ libgnutls.so:security/gnutls CONFIGURE_ARGS+= --enable-glx-tls CMAKE_ARGS+= -DENABLE_GNUTLS=1 .else CMAKE_ARGS+= -DENABLE_GNUTLS=0 .endif .if ${PORT_OPTIONS:MNLS} USES+= gettext CMAKE_ARGS+= -DENABLE_NLS=1 PLIST_SUB+= NLS="" .else CMAKE_ARGS+= -DENABLE_NLS=0 PLIST_SUB+= NLS="@comment " .endif .if ${PORT_OPTIONS:MPAM} CMAKE_ARGS+= -DENABLE_PAM=1 .else CMAKE_ARGS+= -DENABLE_PAM=0 .endif .if ${PORT_OPTIONS:MVIEWER} CMAKE_ARGS+= -DBUILD_VIEWER=1 LIB_DEPENDS+= libpng.so:graphics/png \ libfltk.so:x11-toolkits/fltk # ImageMagick is required to generate icons during build process BUILD_DEPENDS+= ${LOCALBASE}/bin/convert:graphics/ImageMagick USE_XORG+= xcursor xfixes xft xinerama PLIST_SUB+= VIEWER="" INSTALLS_ICONS= yes DESKTOP_ENTRIES= "TigerVNC viewer" "Connect to VNC server and display remote desktop" \ "${PORTNAME}" "vncviewer" "Network;" false .else CMAKE_ARGS+= -DBUILD_VIEWER=0 PLIST_SUB+= VIEWER="@comment " .endif MAKE_ARGS+= TIGERVNC_SRCDIR=${WRKSRC} CONFIGURE_ARGS+= \ --prefix=${PREFIX} --mandir=${PREFIX}/man/ \ --docdir=${PREFIX}/share/doc/${PORTNAME}/ --with-pic --without-dtrace \ --disable-static --disable-dri --disable-unit-tests \ --disable-xinerama --disable-xvfb --disable-xnest --disable-xorg \ --disable-dmx --disable-xwin --disable-xephyr --disable-kdrive \ --disable-config-dbus --disable-config-hal \ --disable-dri2 --enable-install-libxf86config --enable-glx \ --with-default-font-path="catalogue:${LOCALBASE}/share/fonts,built-ins" \ --with-xkb-path=${LOCALBASE}/share/X11/xkb \ --with-xkb-bin-directory=${LOCALBASE}/bin \ --with-serverconfig-path=${LOCALBASE}/lib/X11 \ --disable-selective-werror \ --disable-xwayland \ --with-fontrootdir=${LOCALBASE}/share/fonts .include TIGERVNC_XORG_PATCH_VER= 118 # import from x11-server/xorg-server/Makefile .if ${SSL_DEFAULT} == base # The reason why I use this is cause openssl from base doesn't # install a .pc file and configure will fail trying to find it. # Setting both of those variables to a *non-empty* value by-passes # the pkg-config check. CONFIGURE_ENV= SHA1_LIB="-L/usr/lib -lcrypto" SHA1_CFLAGS="-I/usr/include" .endif XORG_WRKDIR= ${MAKE} -C ${PORTSDIR}/x11-servers/xorg-server -VWRKSRC pre-patch: @${CP} -R `${XORG_WRKDIR}`/ ${WRKSRC}/unix/xserver/ post-patch: @cd ${WRKSRC}/unix/xserver/ && ${PATCH} -p1 < ${WRKSRC}/unix/xserver${TIGERVNC_XORG_PATCH_VER}.patch post-configure: @cd ${WRKSRC}/unix/xserver/ && ${SETENV} ${CONFIGURE_ENV} ${MAKE_ENV} ${AUTORECONF} -fiv @cd ${WRKSRC}/unix/xserver/ && ${SETENV} ${CONFIGURE_ENV} ${MAKE_ENV} ./configure ${CONFIGURE_ARGS} post-build: @cd ${WRKSRC}/unix/xserver/ && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} SHELL=${LOCALBASE}/bin/bash post-install: @cd ${WRKSRC}/unix/xserver/hw/vnc/ && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/Xvnc ${STAGEDIR}${PREFIX}/lib/xorg/modules/extensions/libvnc.so .include Index: head/net-im/licq/Makefile =================================================================== --- head/net-im/licq/Makefile (revision 444323) +++ head/net-im/licq/Makefile (revision 444324) @@ -1,49 +1,49 @@ # Created by: Brian Feldman & Matt Heckaman # $FreeBSD$ PORTNAME= base PORTVERSION= ${LICQ_VER} PORTREVISION= 6 CATEGORIES= net-im PKGNAMESUFFIX= ${SOCKS_SUFFIX}${PKGNAMESUFFIX2} MAINTAINER= dinoex@FreeBSD.org COMMENT= Popular ICQ-compatible plugin-based program LICENSE= GPLv2 LIB_DEPENDS= libboost_regex.so:devel/boost-libs BROKEN_sparc64= Does not build: fails to link -USES= cmake iconv ssl +USES= cmake:noninja iconv ssl WRKSRC= ${WRKDIR}/${DISTNAME} LICQ_PORT?= net-im/licq CFLAGS+= -I${LOCALBASE}/include CXXFLAGS+= -DGTEST_USE_OWN_TR1_TUPLE OPTIONS_DEFINE= NLS GPGME OPTIONS_DEFAULT=GPGME OPTIONS_SUB=yes GPGME_DESC= Build support for gpgme NLS_USES= gettext NLS_CMAKE_OFF= -DENABLE_NLS:BOOL=OFF GPGME_LIB_DEPENDS= libgpgme.so:security/gpgme \ libassuan.so:security/libassuan \ libgpg-error.so:security/libgpg-error .include .include "${PORTSDIR}/${LICQ_PORT}/Makefile.inc" pre-configure: ${REINPLACE_CMD} -e 's=!/bin/bash=!${LOCALBASE}/bin/bash=' \ ${WRKSRC}/bin/sidclean.sh post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/licq ${INSTALL_SCRIPT} ${WRKSRC}/bin/sidclean.sh ${STAGEDIR}${PREFIX}/bin/sidclean.bash .include Index: head/net-im/ring-gnome/Makefile =================================================================== --- head/net-im/ring-gnome/Makefile (revision 444323) +++ head/net-im/ring-gnome/Makefile (revision 444324) @@ -1,50 +1,50 @@ # Created by: Yuri Victorovich # $FreeBSD$ PORTNAME= ring-gnome PORTVERSION= 0.160516 PORTREVISION= 6 #DISTVERSIONPREFIX= v CATEGORIES= net-im net-p2p MAINTAINER= yuri@rawbw.com COMMENT= Gnome client of the Ring VoIP SIP phone and IM LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libringclient.so:net-im/ring-libclient \ libqrencode.so:graphics/libqrencode \ libcogl-pango.so:graphics/cogl \ libclutter-1.0.so:graphics/clutter \ libclutter-gtk-1.0.so:graphics/clutter-gtk3 \ libnotify.so:devel/libnotify \ libsoup-2.4.so:devel/libsoup \ libplc4.so:devel/nspr \ libjson-glib-1.0.so:devel/json-glib \ libnss3.so:security/nss \ libsecret-1.so:security/libsecret USE_GITHUB= yes GH_TUPLE+= savoirfairelinux:ring-client-gnome:07107e9 SUB_FILES= pkg-message -USES= cmake compiler:c++14-lang gettext gmake pkgconfig shebangfix sqlite +USES= cmake compiler:c++14-lang gettext pkgconfig shebangfix sqlite USE_GNOME= evolutiondataserver3 glib20 gtk20 cairo gdkpixbuf2 libxml2 gtk30 USE_XORG= x11 xcomposite xdamage xext xfixes xi xrandr xscrnsaver USE_GL= gl egl USE_QT5= core gui network xml opengl sql sql-sqlite3_run widgets svg \ concurrent buildtools_build linguisttools_build qmake_build SHEBANG_FILES= ${WRKSRC}/src/ring.cx INSTALLS_ICONS= yes OPTIONS_DEFINE= NLS NLS_CMAKE_ON= -DFREEBSD_NLS_ON:BOOL=ON OPTIONS_SUB= yes post-install: @${GZIP_CMD} ${GZIP} < ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/ring.svg > ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/ring.svgz @${RM} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/ring.svg .include Index: head/net-im/ring-libclient/Makefile =================================================================== --- head/net-im/ring-libclient/Makefile (revision 444323) +++ head/net-im/ring-libclient/Makefile (revision 444324) @@ -1,34 +1,34 @@ # Created by: Yuri Victorovich # $FreeBSD$ PORTNAME= ring-libclient PORTVERSION= 0.160516 PORTREVISION= 3 #DISTVERSIONPREFIX= v CATEGORIES= net-im net-p2p MAINTAINER= yuri@rawbw.com COMMENT= Client library for the Ring VoIP SIP phone and IM LICENSE= GPLv3 LIB_DEPENDS= libring.so:net-im/ring-daemon USE_GITHUB= yes #GH_TUPLE+= savoirfairelinux:ring-lrc:9eaac77 GH_TUPLE+= savoirfairelinux:ring-lrc:cb5ee04 -USES= cmake compiler:c++14-lang gmake +USES= cmake compiler:c++14-lang USE_GNOME= glib20 gtk20 cairo gdkpixbuf2 USE_XORG= x11 xscrnsaver USE_GL= gl USE_QT5= core gui network xml opengl sql sql-sqlite3_run widgets svg \ concurrent buildtools_build linguisttools_build qmake_build USE_LDCONFIG= yes CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release OPTIONS_DEFINE= NLS NLS_CMAKE_ON= -DFREEBSD_NLS_ON:BOOL=ON OPTIONS_SUB= yes .include Index: head/science/paraview/Makefile =================================================================== --- head/science/paraview/Makefile (revision 444323) +++ head/science/paraview/Makefile (revision 444324) @@ -1,121 +1,121 @@ # Created by: anholt@FreeBSD.org # $FreeBSD$ PORTNAME= paraview PORTVERSION= 5.2.0 PORTREVISION= 1 CATEGORIES= science graphics MASTER_SITES= http://www.paraview.org/files/v${VERMAJORMINOR}/ DISTNAME= ParaView-v${PORTVERSION} MAINTAINER= devel@stasyan.com COMMENT= Powerful scientific data visualization application LICENSE= ParaView_License_1.2 LICENSE_NAME= ParaView_License LICENSE_FILE= ${PATCH_WRKSRC}/License_v1.2.txt LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/matplotlib/pyplot.py:math/py-matplotlib LIB_DEPENDS= libhdf5.so:science/hdf5 \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libfreetype.so:print/freetype2 \ libexpat.so:textproc/expat2 \ libjbig.so:graphics/jbigkit \ liborc-0.4.so:devel/orc \ libpcre.so:devel/pcre \ libffi.so:devel/libffi \ libdrm.so:graphics/libdrm \ libfontconfig.so:x11-fonts/fontconfig RUN_DEPENDS= bash:shells/bash \ ${PYTHON_SITELIBDIR}/matplotlib/pyplot.py:math/py-matplotlib CONFLICTS_BUILD= protobuf* USE_QT4= qmake_build moc_build rcc_build uic_build \ linguisttools_build assistant_run qt3support \ corelib dbus designer gui help-tools network script \ sql svg xml webkit assistantclient clucene \ xmlpatterns xmlpatterns-tool help USE_GL= gl USE_XORG= x11 xt xext ice xdmcp xau xcb xfixes xdamage xxf86vm xrender sm USE_LDCONFIG= yes USE_GSTREAMER= yes -USES= alias desktop-file-utils cmake:outsource execinfo gmake jpeg python shebangfix +USES= alias desktop-file-utils cmake:outsource execinfo jpeg python shebangfix INSTALLS_ICONS= yes CMAKE_ARGS+= -DBUILD_SHARED_LIBS="ON" \ -DVTK_USE_SYSTEM_PNG="ON" \ -DVTK_USE_SYSTEM_JPEG="ON" \ -DVTK_USE_SYSTEM_TIFF="ON" \ -DVTK_USE_SYSTEM_ZLIB="ON" \ -DVTK_USE_SYSTEM_FREETYPE="ON" \ -DVTK_USE_SYSTEM_EXPAT="ON" \ -DVTK_USE_X="ON" \ -DVTK_HAVE_GETSOCKNAME_WITH_SOCKLEN_T=1 \ -DPARAVIEW_ENABLE_PYTHON:BOOL="ON" \ -DPARAVIEW_ENABLE_FFMPEG:BOOL="OFF" \ -DBUILD_TESTING:BOOL="OFF" \ -DExternalData_OBJECT_STORES="${WRKDIR}/VTK/ExternalData/MD5" \ -DFREETYPE_INCLUDE_DIRS="${LOCALBASE}/include/freetype2" MAKE_ENV= XDG_CONFIG_HOME=${WRKDIR} SHEBANG_FILES= Catalyst/catalyze.py VTK/Examples/SearchScript.sh \ VTK/Utilities/Maintenance/*.sh \ Plugins/SciberQuestToolKit/eigen-3.0.3/eigen-eigen-3.0.3/bench/basicbench.cxxlist \ Plugins/SciberQuestToolKit/eigen-3.0.3/eigen-eigen-3.0.3/bench/*.sh \ Plugins/SciberQuestToolKit/eigen-3.0.3/eigen-eigen-3.0.3/bench/bench_unrolling \ Plugins/SciberQuestToolKit/eigen-3.0.3/eigen-eigen-3.0.3/bench/benchmark_suite \ Plugins/SciberQuestToolKit/eigen-3.0.3/eigen-eigen-3.0.3/blas/testing/* \ Plugins/SciberQuestToolKit/eigen-3.0.3/eigen-eigen-3.0.3/scripts/* \ Plugins/SciberQuestToolKit/eigen-3.0.3/eigen-eigen-3.0.3/test/eigen2/* \ Plugins/SciberQuestToolKit/eigen-3.0.3/eigen-eigen-3.0.3/test/*.sh \ Plugins/SciberQuestToolKit/eigen-3.0.3/eigen-eigen-3.0.3/test/testsuite.cmake \ Plugins/SciberQuestToolKit/eigen-3.0.3/eigen-eigen-3.0.3/bench/btl/data/* OPTIONS_DEFINE= OSMESA GL2PS DOCS OSMESA_DESC= Use Mesa for off-screen rendering GL2PS_DESC= Install support conversion OpenGL to PostScript # VTKMPEG2 "Install patented MPEG2 encoder module" Off \ VERMAJORMINOR= ${PORTVERSION:R} .include .if ${PORT_OPTIONS:MOSMESA} LIB_DEPENDS+= libOSMesa32.so:graphics/libosmesa CMAKE_ARGS+= -DVTK_OPENGL_HAS_OSMESA:BOOL=ON \ -DOSMESA_INCLUDE_DIR:PATH=${LOCALBASE}/include/Mesa \ -DOSMESA_LIBRARY:FILEPATH=${LOCALBASE}/lib/libOSMesa32.so .endif .if ${PORT_OPTIONS:MGL2PS} LIB_DEPENDS+= libgl2ps.so:print/gl2ps CMAKE_ARGS+= -DVTK_USE_GL2PS:BOOL=ON PLIST_SUB+= GL2PS="" .else PLIST_SUB+= GL2PS="@comment " .endif PLIST_SUB+= VERMAJORMINOR=${VERMAJORMINOR} CMAKE2INST= ParaViewConfig.cmake \ cmake_install.cmake LIB_INSTDIR= ${PREFIX}/lib/${PORTNAME}-${VERMAJORMINOR} pre-configure: ${REINPLACE_CMD} -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \ ${PATCH_WRKSRC}/VTK/IO/Image/vtkPNGReader.cxx ${REINPLACE_CMD} -e 's|/bin/bash|${LOCALBASE}/bin/bash|' \ ${PATCH_WRKSRC}/VTK/Utilities/Maintenance/vtk_site_history.py post-install: .for c2f in ${CMAKE2INST} ${SED} -e 's|${BUILD_WRKSRC}|${LIB_INSTDIR}|g' \ -e 's|${PATCH_WRKSRC}|${LIB_INSTDIR}|g' \ ${BUILD_WRKSRC}/${c2f} > ${STAGEDIR}${LIB_INSTDIR}/`${BASENAME} ${c2f}` .endfor ${INSTALL_DATA} ${PATCH_WRKSRC}/CMake/UseParaView.cmake \ ${STAGEDIR}${PREFIX}/lib/${PORTNAME}-${VERMAJORMINOR} .include Index: head/security/kwalletmanager/Makefile =================================================================== --- head/security/kwalletmanager/Makefile (revision 444323) +++ head/security/kwalletmanager/Makefile (revision 444324) @@ -1,16 +1,16 @@ # Created by: Martin Wilke # $FreeBSD$ PORTNAME= kwalletmanager PORTVERSION= ${KDE4_VERSION} PORTREVISION= 1 CATEGORIES= security kde kde-kde4 MAINTAINER= kde@FreeBSD.org COMMENT= Password manager for KDE -USES= cmake:outsource gmake kde:4 tar:xz +USES= cmake:outsource kde:4 tar:xz USE_KDE= automoc4 kdelibs USE_QT4= qmake_build moc_build rcc_build uic_build .include Index: head/security/libzrtpcppcore/Makefile =================================================================== --- head/security/libzrtpcppcore/Makefile (revision 444323) +++ head/security/libzrtpcppcore/Makefile (revision 444324) @@ -1,24 +1,24 @@ # $FreeBSD$ PORTNAME= libzrtpcppcore PORTVERSION= 4.6.4 PORTREVISION= 1 DISTVERSIONPREFIX= V CATEGORIES= security MAINTAINER= ports@FreeBSD.org COMMENT= GNU ZRTP library LICENSE= LGPL3+ LICENSE_FILE= ${WRKSRC}/COPYING USE_GITHUB= yes GH_ACCOUNT= wernerd GH_PROJECT= ZRTPCPP -USES= cmake:outsource compiler:c++11-lib +USES= cmake:outsource,noninja compiler:c++11-lib USE_CXXSTD= c++11 CMAKE_ARGS= -DCORE_LIB:BOOL=ON USE_LDCONFIG= yes .include Index: head/sysutils/baloo/Makefile =================================================================== --- head/sysutils/baloo/Makefile (revision 444323) +++ head/sysutils/baloo/Makefile (revision 444324) @@ -1,23 +1,23 @@ # $FreeBSD$ PORTNAME= baloo PORTVERSION= ${KDE4_VERSION} PORTREVISION= 5 CATEGORIES= sysutils kde kde-kde4 MAINTAINER= kde@FreeBSD.org COMMENT= KDE framework for searching and managing user metadata CONFLICTS_INSTALL= kde-runtime-4.12.* \ kf5-baloo-5.* LIB_DEPENDS= libxapian.so:databases/xapian-core \ libqjson.so:devel/qjson -USES= cmake:outsource gmake kde:4 tar:xz +USES= cmake:outsource kde:4 tar:xz USE_KDE= akonadi automoc4 kdelibs kfilemetadata \ pimlibs USE_QT4= corelib qmake_build moc_build rcc_build uic_build USE_LDCONFIG= yes .include Index: head/sysutils/conky/Makefile =================================================================== --- head/sysutils/conky/Makefile (revision 444323) +++ head/sysutils/conky/Makefile (revision 444324) @@ -1,142 +1,142 @@ # Created by: Roman Bogorodskiy # $FreeBSD$ PORTNAME= conky PORTVERSION= 1.10.6 PORTREVISION= 2 DISTVERSIONPREFIX= v CATEGORIES= sysutils MAINTAINER= madpilot@FreeBSD.org COMMENT?= Advanced, highly configurable system monitor for X11 LIB_DEPENDS= libtolua++-5.1.so:lang/tolua++ \ libinotify.so:devel/libinotify BUILD_DEPENDS= db2x_xsltproc:textproc/docbook2X \ docbook-xsl>=0:textproc/docbook-xsl \ xsltproc:textproc/libxslt CONFLICTS?= conky-awesome-[0-9]* SLAVEDIRS= sysutils/conky-awesome -USES= cpe cmake compiler:c++11-lib gettext-runtime iconv \ +USES= cpe cmake:noninja compiler:c++11-lib gettext-runtime iconv \ localbase lua:51 pkgconfig tar:bzip2 CMAKE_ARGS+= -DBUILD_PORT_MONITORS:BOOL=false \ -DBUILD_IBM:BOOL=false \ -DBUILD_HDDTEMP:BOOL=false \ -DBUILD_IOSTATS:BOOL=false \ -DBUILD_AUDACIOUS:BOOL=false PLIST_FILES= bin/conky man/man1/conky.1.gz PORTEXAMPLES= conky.conf conky_no_x11.conf convert.lua PORTDOCS= html/config_settings.html html/docs.html html/lua.html html/variables.html USE_GITHUB= yes GH_ACCOUNT= brndnmtthws OPTIONS_DEFINE= APCUPSD CURL DOCS EXAMPLES IPV6 METAR MOC MPD NCURSES RSS \ X11 XMMS2 XOAP OPTIONS_GROUP?= X11 OPTIONS_GROUP_X11= ARGB DOUBLE_BUFFER IMLIB2 XFT XINERAMA LUA_CAIRO LUA_IMLIB2 LUA_RSVG OPTIONS_DEFAULT?= X11 ARGB DOUBLE_BUFFER XFT APCUPSD_DESC= Monitor APCUPSD APCUPSD_CMAKE_BOOL= BUILD_APCUPSD ARGB_DESC= Use an ARGB visual to draw on X11 ARGB_CMAKE_BOOL= BUILD_ARGB ARGB_IMPLIES= X11 CURL_CMAKE_BOOL= BUILD_CURL CURL_LIB_DEPENDS= libcurl.so:ftp/curl DOUBLE_BUFFER_DESC= X11 double buffering DOUBLE_BUFFER_CMAKE_BOOL=BUILD_XDBE DOUBLE_BUFFER_IMPLIES= X11 IMLIB2_CMAKE_BOOL= BUILD_IMLIB2 IMLIB2_LIB_DEPENDS= libImlib2.so:graphics/imlib2 IMLIB2_IMPLIES= X11 IPV6_CMAKE_BOOL= BUILD_IPV6 LUA_CAIRO_DESC= Lua-Cairo binding LUA_CAIRO_CMAKE_BOOL= BUILD_LUA_CAIRO LUA_CAIRO_USE= gnome=cairo LUA_CAIRO_PLIST_FILES= lib/conky/libcairo.so LUA_CAIRO_IMPLIES= X11 LUA_IMLIB2_DESC= Lua-Imlib2 binding LUA_IMLIB2_CMAKE_BOOL= BUILD_LUA_IMLIB2 LUA_IMLIB2_PLIST_FILES= lib/conky/libimlib2.so LUA_IMLIB2_IMPLIES= IMLIB2 X11 LUA_RSVG_DESC= Lua-rsvg binding LUA_RSVG_CMAKE_BOOL= BUILD_LUA_RSVG LUA_RSVG_USE= gnome=librsvg2 LUA_RSVG_PLIST_FILES= lib/conky/librsvg.so LUA_RSVG_IMPLIES= X11 METAR_DESC= Display METAR weather reports METAR_CMAKE_BOOL= BUILD_WEATHER_METAR METAR_IMPLIES= CURL MOC_DESC= Control MOC (Music On Console) MOC_CMAKE_BOOL= BUILD_MOC MPD_DESC= Control MPD (Music Player Daemon) MPD_CMAKE_BOOL= BUILD_MPD NCURSES_DESC= Use ncurses to draw on terminals NCURSES_CMAKE_BOOL= BUILD_NCURSES NCURSES_USES= ncurses:port RSS_DESC= Display RSS feeds RSS_CMAKE_BOOL= BUILD_RSS RSS_USE= gnome=glib20,libxml2 RSS_IMPLIES= CURL X11_USE= xorg=x11,xext,xdamage,xfixes X11_CMAKE_BOOL= BUILD_X11 OWN_WINDOW X11_VARS= EXAMPLE_CONF_FILE=${WRKSRC}/data/conky.conf X11_VARS_OFF= EXAMPLE_CONF_FILE=${WRKSRC}/data/conky_no_x11.conf XFT_CMAKE_BOOL= BUILD_XFT XFT_USE= xorg=xft XFT_IMPLIES= X11 XINERAMA_CMAKE_BOOL= BUILD_XINERAMA XINERAMA_USE= xorg=xinerama XINERAMA_IMPLIES= X11 XMMS2_DESC= Control XMMS2 media player XMMS2_CMAKE_BOOL= BUILD_XMMS2 XMMS2_LIB_DEPENDS= libxmmsclient.so:audio/xmms2 XOAP_DESC= Display XOAP weather reports XOAP_CMAKE_BOOL= BUILD_WEATHER_XOAP XOAP_IMPLIES= CURL METAR XOAP_USE= gnome=libxml2 .include .if ${PORT_OPTIONS:MLUA_CAIRO} && ${PORT_OPTIONS:MLUA_IMLIB2} PLIST_FILES+= lib/conky/libcairo_imlib2_helper.so .endif post-patch: @${REINPLACE_CMD} -e 's/^#\(set(RELEASE true\)/\1/' \ -e 's/-D_POSIX_C_SOURCE=200809L/& -D__BSD_VISIBLE=1 -D_XOPEN_SOURCE=700/' \ ${WRKSRC}/cmake/Conky.cmake @${REINPLACE_CMD} -e 's,^set(INCLUDE_SEARCH_PATH \(.*\)),set(INCLUDE_SEARCH_PATH \1 ${LUA_INCDIR}),' \ -e 's/ -lbsd/ -lintl -linotify/' \ ${WRKSRC}/cmake/ConkyPlatformChecks.cmake @${REINPLACE_CMD} -e 's,LOCALBASE,${LOCALBASE},' \ ${WRKSRC}/doc/docgen.sh \ ${WRKSRC}/doc/docs.xml post-build: (cd ${WRKSRC}/doc && ${SH} docgen.sh) .include Index: head/sysutils/fluent-bit/Makefile =================================================================== --- head/sysutils/fluent-bit/Makefile (revision 444323) +++ head/sysutils/fluent-bit/Makefile (revision 444324) @@ -1,28 +1,28 @@ # Created by: Palle Girgensohn # $FreeBSD$ PORTNAME= fluent-bit DISTVERSION= 0.11.6 CATEGORIES= sysutils MASTER_SITES= http://fluentbit.io/releases/${DISTVERSION:R}/ MAINTAINER= girgen@FreeBSD.org COMMENT= Fast and lightweight data forwarder LICENSE= APACHE20 BROKEN_aarch64= fails to build: error: unknown type name thread_local BROKEN_armv6= fails to configure: failure in cmake BROKEN_mips= fails to build: conflicting types for 'restrict' BROKEN_mips64= fails to build: conflicting types for 'restrict' BROKEN_powerpc64= fails to build: cast from pointer to integer of different size -USES= cmake +USES= cmake:noninja USE_RC_SUBR= ${PORTNAME} post-stage: @${MV} ${STAGEDIR}${ETCDIR}/${PORTNAME}.conf ${STAGEDIR}${ETCDIR}/${PORTNAME}.conf.sample @${MV} ${STAGEDIR}${ETCDIR}/parsers.conf ${STAGEDIR}${ETCDIR}/parsers.conf.sample .include Index: head/sysutils/kcm-polkit-kde/Makefile =================================================================== --- head/sysutils/kcm-polkit-kde/Makefile (revision 444323) +++ head/sysutils/kcm-polkit-kde/Makefile (revision 444324) @@ -1,33 +1,33 @@ # $FreeBSD$ PORTNAME= polkit-kde DISTVERSION= 0.0-${PORTDATE} PORTREVISION= 4 CATEGORIES= sysutils kde MASTER_SITES= LOCAL/avilla PKGNAMEPREFIX= kcm- DISTNAME= ${PORTNAME}-kcmodules-1-${PORTDATE} MAINTAINER= kde@FreeBSD.org COMMENT= Polkit-KDE configuration module LIB_DEPENDS= libpolkit-qt-agent-1.so:sysutils/polkit-qt RUN_DEPENDS= ${KDE_PREFIX}/lib/kde4/libexec/polkit-kde-authentication-agent-1:sysutils/polkit-kde -USES= cmake gmake kde:4 pkgconfig tar:bzip2 +USES= cmake kde:4 pkgconfig tar:bzip2 USE_KDE= kdelibs automoc4 USE_QT4= dbus xml moc_build qmake_build rcc_build uic_build USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/${PORTNAME}-kcmodules-1 PORTDATE= 20121008 post-patch: ${REINPLACE_CMD} -e 's,/usr,${KDE_PREFIX},' \ -e 's,/etc,${KDE_PREFIX}/etc,' \ ${WRKSRC}/helper/polkitkde1helper.cpp \ ${WRKSRC}/polkitactions/ActionWidget.cpp \ ${WRKSRC}/polkitconfig/kcmpolkitconfig.cpp .include Index: head/sysutils/osquery/Makefile =================================================================== --- head/sysutils/osquery/Makefile (revision 444323) +++ head/sysutils/osquery/Makefile (revision 444324) @@ -1,94 +1,94 @@ # Created by: Ryan Steinmetz # $FreeBSD$ PORTNAME= osquery PORTVERSION= 2.5.1 CATEGORIES= sysutils MAINTAINER= zi@FreeBSD.org COMMENT= SQL powered OS instrumentation, monitoring, and analytics LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= thrift>0:devel/thrift \ bash>0:shells/bash \ linenoise-ng>0:devel/linenoise-ng \ asio>0:net/asio \ ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2 LIB_DEPENDS= libaugeas.so:textproc/augeas \ libboost_regex.so:devel/boost-libs \ libgflags.so:devel/gflags \ libglog.so:devel/glog \ libicuuc.so:devel/icu \ liblz4.so:archivers/liblz4 \ libsnappy.so:archivers/snappy \ librocksdb-lite.so:databases/rocksdb-lite \ libthrift.so:devel/thrift-cpp \ libcppnetlib-uri.so:devel/cpp-netlib \ libzstd.so:archivers/zstd RUN_DEPENDS= ca_root_nss>0:security/ca_root_nss -USES= cmake:outsource gmake libtool python:build compiler:c++11-lib \ +USES= cmake:outsource libtool python:build compiler:c++11-lib \ libarchive ssl USE_GNOME= libxml2 CONFIGURE_ENV+= OSQUERY_BUILD_VERSION="${PORTVERSION}" HOME="${WRKDIR}" \ SKIP_TESTS="yes" CC="${CC}" CXX="${CXX}" CMAKE_ARGS+= -DFREEBSD=awesome -DCMAKE_SYSTEM_NAME="FreeBSD" BLDDIR= ${WRKDIR}/.build/${PORTNAME} USE_RC_SUBR= ${PORTNAME}d USE_GITHUB= yes GH_ACCOUNT= facebook ${PORTNAME}:tp GH_PROJECT= third-party:tp GH_SUBDIR= third-party:tp GH_TAGNAME= ${PORTVERSION}:tp # Some options for things that bring in many dependencies OPTIONS_DEFINE= TSK AWS YARA LLDPD TSK_DESC= Build with sleuthkit support TSK_LIB_DEPENDS= libtsk.so:sysutils/sleuthkit TSK_CONFIGURE_ENV_OFF= SKIP_TSK=1 AWS_DESC= Support logging to AWS Kinesis AWS_LIB_DEPENDS= libaws-cpp-sdk-core.so:devel/aws-sdk-cpp AWS_CONFIGURE_ENV_OFF= SKIP_AWS=1 YARA_DESC= Build with YARA malware identification support YARA_LIB_DEPENDS= libyara.so:security/yara YARA_CONFIGURE_ENV_OFF= SKIP_YARA=1 LLDPD_DESC= Support Link Layer Discovery Protocol LLDPD_LIB_DEPENDS= liblldpctl.so:net-mgmt/lldpd LLDPD_CONFIGURE_ENV_OFF=SKIP_LLDPD=1 .include .if ${OSVERSION} < 1100000 BUILD_DEPENDS+= clang38:devel/llvm38 CC= clang38 CXX= clang++38 .endif post-patch: ${REINPLACE_CMD} -e 's|/var/osquery/|/var/db/osquery/|g' \ ${WRKSRC}/tools/deployment/osquery.example.conf ${REINPLACE_CMD} -e 's|python|${PYTHON_CMD}|g' \ ${WRKSRC}/CMakeLists.txt \ ${WRKSRC}/tools/get_platform.py do-install: ${INSTALL_PROGRAM} ${BLDDIR}/osqueryi ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${BLDDIR}/osqueryd ${STAGEDIR}${PREFIX}/sbin ${INSTALL_DATA} ${BLDDIR}/libosquery.a ${STAGEDIR}${PREFIX}/lib (cd ${WRKSRC}/include && ${COPYTREE_SHARE} ${PORTNAME} ${STAGEDIR}${PREFIX}/include) ${INSTALL_DATA} ${WRKSRC}/tools/deployment/osquery.example.conf \ ${STAGEDIR}${PREFIX}/etc/osquery.conf.sample ${MKDIR} ${STAGEDIR}/var/db/osquery ${STAGEDIR}/var/log/osquery # The flags file must exist, even if empty. Using @sample # prevents a populated flags file from being nuked on upgrade. ${TOUCH} ${STAGEDIR}${PREFIX}/etc/osquery.flags.sample \ ${STAGEDIR}${PREFIX}/etc/osquery.flags .include Index: head/textproc/clucene/Makefile =================================================================== --- head/textproc/clucene/Makefile (revision 444323) +++ head/textproc/clucene/Makefile (revision 444324) @@ -1,29 +1,29 @@ # Created by: Cheng-Lung Sung # $FreeBSD$ PORTNAME= clucene PORTVERSION= 2.3.3.4 PORTREVISION= 10 CATEGORIES= textproc MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-core-unstable/2.3 DISTNAME= ${PORTNAME}-core-${PORTVERSION} MAINTAINER= office@FreeBSD.org COMMENT= CLucene is a C++ port of Lucene LICENSE= APACHE20 LGPL21 LICENSE_COMB= dual BUILD_DEPENDS= ${LOCALBASE}/lib/libboost_regex.a:devel/boost-libs -USES= cmake ninja +USES= cmake USE_LDCONFIG= yes CMAKE_ARGS= -DBUILD_CONTRIBS_LIB=ON CXXFLAGS+= -D__LONG_LONG_SUPPORTED -D_WCHAR_H_CPLUSPLUS_98_CONFORMANCE_ post-patch: @${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR_REL}|' \ ${WRKSRC}/src/core/CMakeLists.txt .include Index: head/textproc/zxing-cpp/Makefile =================================================================== --- head/textproc/zxing-cpp/Makefile (revision 444323) +++ head/textproc/zxing-cpp/Makefile (revision 444324) @@ -1,21 +1,21 @@ # Created by: Yuri Victorovich # $FreeBSD$ PORTNAME= zxing-cpp PORTVERSION= 0.20161114 DISTVERSIONPREFIX= v CATEGORIES= textproc MAINTAINER= yuri@rawbw.com COMMENT= ZXing C++ Library for QR code recognition LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/COPYING USE_GITHUB= yes GH_ACCOUNT= glassechidna GH_TAGNAME= 97e9c5c -USES= cmake:outsource gmake iconv +USES= cmake:outsource iconv .include Index: head/www/h2o/Makefile =================================================================== --- head/www/h2o/Makefile (revision 444323) +++ head/www/h2o/Makefile (revision 444324) @@ -1,74 +1,74 @@ # Created by: Dave Cottlehuber # $FreeBSD$ PORTNAME= h2o PORTVERSION= 2.2.2 DISTVERSIONPREFIX= v CATEGORIES= www MAINTAINER= dch@skunkwerks.at COMMENT= Optimized HTTP2 server with support for HTTP/1.x LICENSE= MIT USE_GITHUB= yes -USES= cmake compiler:c11 cpe perl5 shebangfix ssl +USES= cmake:noninja compiler:c11 cpe perl5 shebangfix ssl CPE_VENDOR= h2o_project USE_PERL5= run SHEBANG_FILES= share/h2o/start_server PORTDOCS= README.md SUB_FILES= ${PORTNAME} SUB_LIST+= H2O_USER=${H2O_USER} \ H2O_GROUP=${H2O_GROUP} \ H2O_LOGDIR=${H2O_LOGDIR} PLIST_SUB= H2O_USER=${H2O_USER} \ H2O_GROUP=${H2O_GROUP} \ H2O_LOGDIR=${H2O_LOGDIR} H2O_USER?= www H2O_GROUP?= www H2O_LOGDIR= /var/log/${PORTNAME}/ USE_RC_SUBR= ${PORTNAME} OPTIONS_DEFINE= MRUBY OPTIONS_DEFAULT= MRUBY OPTIONS_SUB= yes MRUBY_DESC= Build with mruby handler support CMAKE_ARGS+= -DEXTRA_LIBRARIES=OFF -DWITHOUT_LIBS=ON -DWITH_BUNDLED_SSL=OFF CMAKE_VERBOSE= yes .include MRUBY_CMAKE_ON= -DWITH_MRUBY=ON MRUBY_CMAKE_OFF= -DWITH_MRUBY=OFF .if ${PORT_OPTIONS:MMRUBY} USE_RUBY= yes RUBY_NO_RUN_DEPENDS= yes USES+= bison .endif post-patch: @${REINPLACE_CMD} -e 's|exec perl|exec ${LOCALBASE}/bin/perl|' \ ${WRKSRC}/share/h2o/annotate-backtrace-symbols \ ${WRKSRC}/share/h2o/fetch-ocsp-response \ ${WRKSRC}/share/h2o/kill-on-close \ ${WRKSRC}/share/h2o/start_server post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} \ ${STAGEDIR}${ETCDIR} \ ${STAGEDIR}${H2O_LOGDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} \ ${FILESDIR}/${PORTNAME}.conf.sample \ ${STAGEDIR}${ETCDIR}/${PORTNAME}.conf.sample .include Index: head/www/webkit2-gtk3/Makefile =================================================================== --- head/www/webkit2-gtk3/Makefile (revision 444323) +++ head/www/webkit2-gtk3/Makefile (revision 444324) @@ -1,121 +1,121 @@ # Created by: Michael Johnson # $FreeBSD$ PORTNAME= webkit PORTVERSION= 2.16.3 CATEGORIES= www MASTER_SITES= http://webkitgtk.org/releases/ PKGNAMESUFFIX= 2-gtk3 DISTNAME= ${PORTNAME}gtk-${PORTVERSION} MAINTAINER= gnome@FreeBSD.org COMMENT= Opensource browser engine using the GTK+ 3 toolkit LICENSE= GPLv2 BSD2CLAUSE LICENSE_COMB= dual LIB_DEPENDS= libenchant.so:textproc/enchant \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libwebp.so:graphics/webp \ libpng.so:graphics/png \ libsecret-1.so:security/libsecret \ libnotify.so:devel/libnotify \ libhyphen.so:textproc/hyphen \ libicutu.so:devel/icu \ libharfbuzz.so:print/harfbuzz \ libharfbuzz-icu.so:print/harfbuzz-icu \ libsoup-2.4.so:devel/libsoup \ libgcrypt.so:security/libgcrypt \ libgnutls.so:security/gnutls PORTSCOUT= limitw:1,even USE_GSTREAMER1= bad gl USE_XORG= x11 xcomposite xdamage xext xrender xt ice USES= bison cmake compiler:c++14-lang gettext gnome gperf \ - jpeg ninja perl5 pkgconfig python:2.7,build sqlite tar:xz + jpeg perl5 pkgconfig python:2.7,build sqlite tar:xz USE_RUBY= yes RUBY_NO_RUN_DEPENDS=yes USE_GNOME= cairo gdkpixbuf2 gtk30 introspection:build libxml2 libxslt USE_GL= gl egl USE_PERL5= build USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib INSTALL_TARGET= install CMAKE_ARGS+= -DPORT=GTK \ -DENABLE_WAYLAND_TARGET:BOOL=OFF \ -DENABLE_MINIBROWSER:BOOL=ON \ -DENABLE_GLES2:BOOL=OFF \ -DENABLE_ACCELERATED_2D_CANVAS=ON \ -DUSE_LD_GOLD:BOOL=OFF \ -DENABLE_WEBKIT:BOOL=OFF CONFIGURE_ENV+= XDG_CACHE_HOME=${WRKDIR} BROWSER_PLUGINS_DIR?= ${LOCALBASE}/lib/browser_plugins/symlinks/webkit-gtk3 #_BROWSER_PLUGINS_DIR= ${BROWSER_PLUGINS_DIR:S|^/|"|:S|/|", "|g}", OPTIONS_SUB= yes OPTIONS_DEFINE= DEBUG GEOIP NPAPI OPTIONS_DEFAULT=GEOIP OPTIONS_DEFAULT_i386= NPAPI OPTIONS_DEFAULT_amd64= NPAPI DEBUG_BUILD_DEPENDS= binutils>=0:devel/binutils DEBUG_CMAKE_ON= -DCMAKE_BUILD_TYPE:STRING=Debug \ -DCMAKE_AR=${LOCALBASE}/bin/ar \ -DCMAKE_RANLIB=${LOCALBASE}/bin/ranlib \ -DCMAKE_LINKER=${LOCALBASE}/bin/ld DEBUG_CXXFLAGS= -B${LOCALBASE}/bin DEBUG_CMAKE_OFF= -DCMAKE_BUILD_TYPE:STRING=Release \ -DCMAKE_AR=/usr/bin/ar \ -DCMAKE_RANLIB=/usr/bin/ranlib \ -DCMAKE_LINKER=/usr/bin/ld DEBUG_CXXFLAGS_OFF= -B/usr/bin DEBUG_CFLAGS_OFF= -DNDEBUG GEOIP_CMAKE_BOOL= ENABLE_GEOLOCATION GEOIP_BUILD_DEPENDS+= geoclue>=2.4.3:net/geoclue GEOIP_RUN_DEPENDS+= geoclue>=2.4.3:net/geoclue NPAPI_DESC= Support gtk2 (NPAPI) based plugins (like flash) NPAPI_CMAKE_BOOL= ENABLE_PLUGIN_PROCESS_GTK2 NPAPI_USE= GNOME=gtk20 .include .if ${ARCH} == armv6 CMAKE_ARGS+= -DENABLE_JIT:BOOL=OFF .endif .if ${ARCH} == powerpc || ${ARCH} == powerpc64 CMAKE_ARGS+= -DENABLE_JIT:BOOL=OFF CFLAGS+= -DENABLE_YARR_JIT=0 .endif .if ${ARCH} == powerpc64 CFLAGS+= -mminimal-toc .endif post-patch: @${REINPLACE_CMD} -e 's|%%BROWSER_PLUGINS_DIR%%|${BROWSER_PLUGINS_DIR}|' \ ${WRKSRC}/Source/WebKit2/Shared/Plugins/unix/PluginSearchPath.cpp pre-configure: # .if !exists() evaluates too early before cairo has a chance to be installed @if ! pkg-config --exists cairo-egl; then \ ${ECHO_MSG} "${PKGNAME}: Needs cairo with OPENGL support enabled."; \ ${FALSE}; \ fi post-install: @${LN} -sf ../libexec/webkit2gtk-4.0/jsc ${STAGEDIR}${PREFIX}/bin/jsc-4 @${LN} -sf ../libexec/webkit2gtk-4.0/MiniBrowser ${STAGEDIR}${PREFIX}/bin/MiniBrowser-4 @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.*.* @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/webkit2gtk-4.0/injected-bundle/*.so @${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/webkit2gtk-4.0/* .include Index: head/x11/kde4-runtime/Makefile =================================================================== --- head/x11/kde4-runtime/Makefile (revision 444323) +++ head/x11/kde4-runtime/Makefile (revision 444324) @@ -1,73 +1,73 @@ # $FreeBSD$ PORTNAME= kde-runtime PORTVERSION= ${KDE_APPLICATIONS_VERSION} PORTREVISION= 4 CATEGORIES= x11 kde kde-applications MAINTAINER= kde@FreeBSD.org COMMENT= Runtime components for KDE Plasma Desktop LIB_DEPENDS= libIlmImf.so:graphics/OpenEXR \ libexiv2.so:graphics/exiv2 \ libwebp.so:graphics/webp \ libslp.so:net/openslp \ libssh.so:security/libssh \ libqzeitgeist.so:sysutils/qzeitgeist \ libImath-2_2.so:graphics/ilmbase \ libassuan.so:security/libassuan \ libgcrypt.so:security/libgcrypt \ libgpg-error.so:security/libgpg-error \ libgpgme.so:security/gpgme # Explicitly depend on libssh to avoid interference with ssh.4 from # compat7x. BUILD_DEPENDS= ${LOCALBASE}/lib/libssh.so:security/libssh RUN_DEPENDS= cagibid:net/cagibi -USES= cmake:outsource gettext gmake jpeg kde:4 samba:lib shared-mime-info \ +USES= cmake:outsource gettext jpeg kde:4 samba:lib shared-mime-info \ shebangfix tar:xz USE_KDE= kactivities kdelibs oxygen-icons5 \ attica automoc4 pimlibs soprano strigi nepomuk-core USE_QT4= corelib dbus declarative designer_build gui phonon \ network qtestlib script svg webkit xml \ moc_build qmake_build rcc_build uic_build USE_XORG= ice sm x11 xau xcursor xext xft xdmcp xpm USE_LDCONFIG= yes MAKE_ENV= XDG_CONFIG_HOME=/dev/null SHEBANG_FILES= khelpcenter/searchhandlers/*.pl \ khelpcenter/searchhandlers/*.pl.cmake \ kioslave/info/kde-info2html OPTIONS_DEFINE= PULSEAUDIO ZEITGEIST PULSEAUDIO_DESC=Audio configuration via PulseAudio PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio \ libcanberra.so:audio/libcanberra PULSEAUDIO_USE= GNOME=glib20 PULSEAUDIO_CMAKE_OFF= -DWITH_PulseAudio:BOOL=OFF ZEITGEIST_DESC= Event logging via Zeitgeist ZEITGEIST_RUN_DEPENDS= zeitgeist-daemon:sysutils/zeitgeist # Explicitly disable ALSA, see for details: # http://mail.kde.org/pipermail/kde-freebsd/2010-March/008015.html CMAKE_ARGS+= -DWITH_ALSA:BOOL=OFF post-extract: # Don't install share/icons/hicolor/index.theme to avoid conflcit with # hicolor-icon-theme port ${REINPLACE_CMD} -e '/add_subdirectory.*hicolor/d' \ ${PATCH_WRKSRC}/pics/CMakeLists.txt post-patch: @${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \ ${PATCH_WRKSRC}/khelpcenter/infotree.cpp \ ${PATCH_WRKSRC}/kioslave/info/kde-info2html.conf \ ${PATCH_WRKSRC}/kioslave/man/kio_man.cpp \ ${PATCH_WRKSRC}/kioslave/man/man2html.cpp \ ${PATCH_WRKSRC}/cmake/modules/FindCLucene.cmake ${REINPLACE_CMD} -e '/update_xdg_mimetypes/ d' \ ${PATCH_WRKSRC}/kimgio/CMakeLists.txt \ ${PATCH_WRKSRC}/kioslave/network/mimetypes/CMakeLists.txt .include Index: head/x11/kde4-workspace/Makefile =================================================================== --- head/x11/kde4-workspace/Makefile (revision 444323) +++ head/x11/kde4-workspace/Makefile (revision 444324) @@ -1,140 +1,140 @@ # $FreeBSD$ PORTNAME= kde-workspace PORTVERSION= ${KDE4_WORKSPACE_VERSION} PORTREVISION= 6 CATEGORIES= x11 kde kde-applications MAINTAINER= kde@FreeBSD.org COMMENT= KDE Plasma Desktop LIB_DEPENDS= libdbus-1.so:devel/dbus \ libck-connector.so:sysutils/consolekit \ libpci.so:devel/libpci \ libhal.so:sysutils/hal \ libqjson.so:devel/qjson \ libcln.so:math/cln \ libqalculate.so:math/libqalculate \ libprison.so:graphics/prison \ libboost_thread.so:devel/boost-libs \ libdbusmenu-qt.so:devel/libdbusmenu-qt \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libpng.so:graphics/png \ libxcb-render-util.so:x11/xcb-util-renderutil \ libxcb-image.so:x11/xcb-util-image \ libxcb-keysyms.so:x11/xcb-util-keysyms BUILD_DEPENDS= xrdb:x11/xrdb RUN_DEPENDS= ${KDE_PREFIX}/env/xdg-env.sh:misc/kde4-xdg-env \ ${LOCALBASE}/share/icons/hicolor/index.theme:misc/hicolor-icon-theme \ xprop:x11/xprop \ xsetroot:x11/xsetroot \ xmessage:x11/xmessage \ xrdb:x11/xrdb \ mkfontdir:x11-fonts/mkfontdir \ xset:x11/xset \ setxkbmap:x11/setxkbmap \ ${KDE_PREFIX}/bin/ksysguardd:sysutils/ksysguardd \ ${KDE_PREFIX}/lib/kde4/libexec/polkit-kde-authentication-agent-1:sysutils/polkit-kde \ ${KDE_PREFIX}/lib/kde4/libexec/polkitkde1helper:sysutils/kcm-polkit-kde \ ${LOCALBASE}/etc/pam.d/kde:security/pam_kde \ ${KDE_PREFIX}/share/apps/ksplash/Themes/Default/Theme.rc:x11-themes/kde4-base-artwork -USES= cmake:outsource compiler:c++11-lib gettext gmake jpeg kde:4 \ +USES= cmake:outsource,noninja compiler:c++11-lib gettext gmake jpeg kde:4 \ pkgconfig shebangfix tar:xz USE_GL= gl glu USE_GNOME= glib20 libxml2 USE_KDE= kactivities kdelibs nepomuk-core oxygen-icons5 \ pimlibs akonadi automoc4 ontologies qimageblitz soprano strigi USE_QT4= corelib dbus declarative designer_build gui network \ opengl phonon qtestlib script sql svg webkit xml \ moc_build qmake_build rcc_build uic_build USE_XORG= ice sm kbproto x11 xau xcb xcomposite xcursor xdamage xdmcp xext xfixes \ xft xi xinerama xkbfile xpm xrandr xrender xres xscrnsaver xtst xxf86vm SHEBANG_FILES= kwin/clients/oxygen/data/update_oxygen.pl USE_LDCONFIG= yes KDE_APPLICATIONS_VERSION= 15.08.0 CMAKE_ARGS= -DCMAKE_REQUIRED_FLAGS:STRING="-L${LOCALBASE}/lib" \ -DBUILD_python:BOOL=OFF \ -DBUILD_ruby:BOOL=OFF \ -DWITH_Xmms:BOOL=OFF \ -DWITH_UDev:BOOL=OFF SUB_FILES= pkg-message USE_RC_SUBR= kdm4 USERS= kdm GROUPS= kdm OPTIONS_DEFINE= GLES GPS KACTIVITY UPOWER WALLPAPERS OPTIONS_GROUP= PHONON PLASMA OPTIONS_GROUP_PHONON= GSTREAMER VLC OPTIONS_GROUP_PLASMA= PYTHON RUBY OPTIONS_DEFAULT= GLES GPS KACTIVITY UPOWER VLC WALLPAPERS OPTIONS_SUB= yes # GPS GLES GLES_DESC= OpenGL ES 2.0 support in kwin and kinfocenter GLES_USE= GL=egl,glesv2 GLES_CMAKE_OFF= -DWITH_OpenGLES=off GPS_DESC= GPS geolocation via gpsd GPS_LIB_DEPENDS= libgps.so:astro/gpsd GPS_CMAKE_ON= -DWITH_libgps:BOOL=ON GPS_CMAKE_OFF= -DWITH_libgps:BOOL=OFF GSTREAMER_DESC= Multimedia via Phonon-GStreamer GSTREAMER_USE= QT4=phonon-gst_run KACTIVITY_DESC= Activity Manager daemon KACTIVITY_RUN_DEPENDS= ${KDE_PREFIX}/bin/kactivitymanagerd:x11/kactivitymanagerd PYTHON_DESC= Python plasmoids support PYTHON_RUN_DEPENDS= ${KDE_PREFIX}/share/apps/plasma_scriptengine_python/plasma_importer.py:x11/plasma-scriptengine-python RUBY_DESC= Ruby plasmoids support RUBY_RUN_DEPENDS= ${KDE_PREFIX}/share/apps/plasma_scriptengine_ruby/applet.rb:x11/plasma-scriptengine-ruby UPOWER_DESC= Power management via UPower UPOWER_RUN_DEPENDS= ${LOCALBASE}/libexec/upowerd:sysutils/upower VLC_DESC= Multimedia via Phonon-VLC VLC_RUN_DEPENDS= ${KDE_PREFIX}/lib/kde4/plugins/phonon_backend/phonon_vlc.so:multimedia/phonon-vlc WALLPAPERS_DESC= Install official KDE wallpapers WALLPAPERS_RUN_DEPENDS= ${KDE_PREFIX}/share/wallpapers/Horos/metadata.desktop:x11-themes/kde4-wallpapers \ ${KDE_PREFIX}/share/wallpapers/stripes-freebsd-blue/metadata.desktop:x11-themes/kde4-wallpapers-freebsd .if !exists(/usr/lib/libutempter.so) LIB_DEPENDS+= libutempter.so:sysutils/libutempter .endif post-patch: @${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \ ${PATCH_WRKSRC}/startkde.cmake \ ${PATCH_WRKSRC}/kcontrol/kfontinst/lib/KfiConstants.h \ ${PATCH_WRKSRC}/kcontrol/kfontinst/kio/KioFonts.cpp \ ${PATCH_WRKSRC}/kcontrol/keyboard/x11_helper.cpp \ ${PATCH_WRKSRC}/kdm/backend/client.c \ ${PATCH_WRKSRC}/kdm/kfrontend/genkdmconf.c \ ${PATCH_WRKSRC}/CMakeLists.txt pre-configure: ${REINPLACE_CMD} -e '/ksysguardd/ d' \ ${PATCH_WRKSRC}/ksysguard/CMakeLists.txt \ ${PATCH_WRKSRC}/ksysguard/example/CMakeLists.txt ${REINPLACE_CMD} -e '/PolicyKit/ d' \ ${PATCH_WRKSRC}/doc/CMakeLists.txt post-install: ${LN} -sf ${PREFIX}/bin/startkde ${STAGEDIR}${PREFIX}/bin/startkde4 post-install-GSTREAMER-on: @${HEAD} -1 ${PKGMESSAGE} >> ${PKGMESSAGE} post-install-GSTREAMER-off: @${CAT} ${FILESDIR}/pkg-message.gstreamer >> ${PKGMESSAGE} @${HEAD} -1 ${PKGMESSAGE} >> ${PKGMESSAGE} .include Index: head/x11/virtualgl/Makefile =================================================================== --- head/x11/virtualgl/Makefile (revision 444323) +++ head/x11/virtualgl/Makefile (revision 444324) @@ -1,52 +1,52 @@ # Created by: David Mackay # $FreeBSD$ PORTNAME= virtualgl PORTVERSION= 2.4.1 PORTREVISION= 3 CATEGORIES= x11 graphics MASTER_SITES= SF/${PORTNAME}/${PORTVERSION} DISTNAME= VirtualGL-${PORTVERSION} MAINTAINER= davidjx8p@gmail.com COMMENT= Redirects commands from an OpenGL app to another X server LIB_DEPENDS= libfltk.so:x11-toolkits/fltk \ libturbojpeg.so:graphics/libjpeg-turbo \ libxcb-keysyms.so:x11/xcb-util-keysyms ONLY_FOR_ARCHS= amd64 i386 CMAKE_INSTALL_PREFIX= ${LOCALBASE}/VirtualGL DOCSDIR= ${LOCALBASE}/VirtualGL/doc -USES= cmake compiler:c++11-lang +USES= cmake:noninja compiler:c++11-lang USE_GL= gl glu USE_XORG= x11 xcb xext CMAKE_ARGS= -DTJPEG_INCLUDE_DIR=${LOCALBASE}/include\ -DTJPEG_LIBRARY=${LOCALBASE}/lib/libturbojpeg.so\ -DVGL_FAKEXCB=on -DVGL_SYSTEMFLTK=on -DVGL_SYSTEMGLX=on USE_LDCONFIG= ${PREFIX}/VirtualGL/fakelib ${PREFIX}/VirtualGL/lib LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= OPENSSL XVIDEO OPENSSL_CMAKE_ON= -DVGL_USESSL:BOOL=ON OPENSSL_CMAKE_OFF= -DVGL_USESSL:BOOL=OFF OPENSSL_USES= ssl XVIDEO_CMAKE_ON= -DVGL_USEXV:BOOL=ON XVIDEO_CMAKE_OFF= -DVGL_USEXV:BOOL=OFF XVIDEO_USE= XORG=xv .include .if ${ARCH} == "i386" PLIST_SUB+= I386="" PLIST_SUB+= AMD64="@comment " .else PLIST_SUB+= I386="@comment " PLIST_SUB+= AMD64="" .endif .include Index: head/x11-themes/kde4-style-bespin/Makefile =================================================================== --- head/x11-themes/kde4-style-bespin/Makefile (revision 444323) +++ head/x11-themes/kde4-style-bespin/Makefile (revision 444324) @@ -1,23 +1,23 @@ # Created by: Steve Wills # $FreeBSD$ PORTNAME= bespin PORTVERSION= 201303202227 PORTREVISION= 5 CATEGORIES= x11-themes kde MASTER_SITES= http://bsd.e-shell.net/local/ PKGNAMEPREFIX= kde4-style- DISTNAME= cloudcity-${PORTVERSION} MAINTAINER= swills@FreeBSD.org COMMENT= Configurable KDE4 style LICENSE= LGPL21 WRKSRC= ${WRKDIR}/cloudcity -USES= cmake kde:4 +USES= cmake:noninja kde:4 USE_KDE= kdelibs automoc4 workspace USE_QT4= corelib qmake_build moc_build rcc_build uic_build .include Index: head/x11-themes/kde4-windeco-crystal/Makefile =================================================================== --- head/x11-themes/kde4-windeco-crystal/Makefile (revision 444323) +++ head/x11-themes/kde4-windeco-crystal/Makefile (revision 444324) @@ -1,23 +1,23 @@ # Created by: decept # $FreeBSD$ PORTNAME= crystal PORTVERSION= 2.2.1 PORTREVISION= 5 CATEGORIES= x11-themes kde MASTER_SITES= http://www.kde-look.org/CONTENT/content-files/ PKGNAMEPREFIX= kde-windeco- DISTNAME= 75140-${PORTNAME}-${PORTVERSION} MAINTAINER= vg@FreeBSD.org COMMENT= Transparent KDE window decoration LICENSE= GPLv2 -USES= cmake:outsource kde:4 tar:bzip2 +USES= cmake:outsource,noninja kde:4 tar:bzip2 USE_KDE= kdelibs automoc4 workspace USE_QT4= qmake_build moc_build rcc_build uic_build \ corelib gui qt3support WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} .include Index: head/x11-wm/pawm/Makefile =================================================================== --- head/x11-wm/pawm/Makefile (revision 444323) +++ head/x11-wm/pawm/Makefile (revision 444324) @@ -1,37 +1,37 @@ # Created by: trevor # $FreeBSD$ PORTNAME= pawm PORTVERSION= 2.3.0 PORTREVISION= 1 CATEGORIES= x11-wm MASTER_SITES= http://www.pleyades.net/pawm/files/ MAINTAINER= ports@FreeBSD.org COMMENT= The Puto Amo Window Manager LICENSE= GPLv2 # only LICENSE_FILE= ${WRKSRC}/GPL USE_XORG= x11 xft xrandr xrender xpm -USES= cmake pkgconfig ninja tar:bzip2 +USES= cmake pkgconfig tar:bzip2 CMAKE_ARGS= -DCMAKE_CONFIG_PREFIX:STRING="${PREFIX}/etc" \ -DX11_LIBRARY_DIRS:STRING="${LOCALBASE}/lib" LDFLAGS+= -L${LOCALBASE}/lib -lXext -lXrender OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e \ '/"\/etc"/s|^|#| ; \ /"-O2"/s|^|#| ; \ /LINK_DIRECTORIES/s|\.|| ; \ /INSTALL/s| /etc| etc|' ${WRKSRC}/CMakeLists.txt post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for ii in AUTHORS Changelog.old INSTALL README TODO ${INSTALL_DATA} ${WRKSRC}/${ii} ${STAGEDIR}${DOCSDIR} .endfor .include