See also https://groups.google.com/forum/#!topic/vim_use/66crU745cFc
- Mark as MAKE_JOBS_UNSAFE (thanks to Mat for the log):
make[2]: "/wrkdirs/usr/ports/editors/vim/work/vim-8.0.0019/src/po/Makefile" line 4: Could not find ../auto/config.mk
make[2]: Fatal errors encountered -- cannot continue
PR: 197214 [1]
Submitted by: jjuanino gmail
Many, many thanks to Sunpoet for all the time he has spent working
on and improving this port!
Many smaller changes in this update as well:
- Languange support was moved into its own OPTIONS group for clarity
(a visual change only; it does not affect the knobs themselves)
- Add LICENSE
- Reorganize and format the Makefile for clarity
- Remove a few pieces of cruft
- Add many missing dependencies for most of the GUI options
- Use better (more robust) build constructs where possible
PR: 212771
Approved by: maintainer timeout
USES=localbase:ldflags can be used to set LDFLAGS. Normally LDFLAGS
appears too early on the command line causing some ports to link with
their own libraries in LOCALBASE (if installed) instead of WRKSRC.
Also make use of _USES_POST so -L${LOCALBASE}/lib is added as late as
possible after anything a port Makefile might set. Use _USES_POST
instead of .include in libedit.mk and libarchive.mk so things like
'USES=libedit localbase:ldflags' work correctly.
Fix some issues with LIBS in some ports.
Switch ports that don't support LIBS to localbase:ldflags.
PR: 212987
Exp-run by: antoine
Approved by: portmgr (antoine)
- Clean up the Makefile.
- Follow some upstream recommendations (--with-data-packaging=archive,
--disable-renaming, -DICU_NO_USER_DATA_OVERRIDE).
- Patch makefiles to install static libraries with INSTALL_DATA so they
aren't stripped.
- Patch config/mh-bsd-gcc to sync with config/mh-linux-gcc.
- Fix endianness detection in ICU. The code wanted to use BYTE_ORDER
defined in machine/endian.h, but this isn't visible because ICU is
compiled with _XOPEN_SOURCE. Patch the code to use _BYTE_ORDER instead.
- Compile ICU with C++11 compiler to enable move constructors.
- Patch ICU to fix a problem with atomics in the case of a C++11 compiler
without C++11 header <atomic> (like Clang on FreeBSD 9).
- Bump all ports that depend on it due to library version change.
- Add USES=compiler:c++0x to some ports that pick up -std=c++0x from ICU
pkgconfig files.
- Add USES=compiler:c++11-lib to graphics/libcdr01 because it also needs
a C++11 runtime library now. Add this to all ports that depend on it
so their executables load the right libstdc++.so on FreeBSD 9.
PR: 205120
Exp-run by: antoine
Approved by: portmgr (antoine)
- If a port has another upstream, remove GOOGLE_CODE
- If a port only has GOOGLE_CODE mark it BROKEN
Some ports have a local mirror configured but for security reasons, it
is not considered upstream.
Sponsored by: Absolight
Stop building texmaker's own, utdated bundled copy of hunspell. In addition to
the obvious reasons, this is necessary to get the port to build with the
upcoming Qt 5.6, as it passes -std=gnu++11 to the compiler automatically when
it's supported and building the bundled hunspell failed like this:
hunspell/affentry.hxx:28:94: error: cannot initialize a parameter of type 'unsigned short' with an rvalue of type 'nullptr_t'
hunspell/affentry.hxx:91:103: error: cannot initialize a parameter of type 'unsigned short' with an rvalue of type 'nullptr_t'
See also: https://www.freebsd.org/doc/en/books/porters-handbook/bundled-libs.html
PR: 212366
Approved by: portmgr (mat)
Stop building its own bundled copies of quazip and hunspell.
Using bundled libraries is bad for several reasons [1], including breaking the
build, which happens with Qt 5.6 that passes -std=gnu++11 by default when the
compiler supports it:
hunspell/affentry.hxx:30:94: error: cannot initialize a parameter of type 'unsigned short' with an rvalue of type 'nullptr_t'
hunspell/affentry.hxx:93:103: error: cannot initialize a parameter of type 'unsigned short' with an rvalue of type 'nullptr_t'
Switching to the system versions fixes everything.
[1] https://www.freebsd.org/doc/en/books/porters-handbook/bundled-libs.html
PR: 212349
Approved by: portmgr (mat)
*_DEPENDS. Helper variables derived from the loop variable aren't
expanded causing *_DEPENDS to be incorrect.
- Bump all ports with more than one value in USE_LINUX.
PR: 211645
Reported by: jkim
Mk/Uses/linux.mk.
- Replace USE_LINUX=yes with USES+=linux and USE_LINUX=(.*) with
USES+=linux:\1 in all ports.
- Replace USE_LINUX_APPS with USE_LINUX in all ports.
- Use INSTALL_SCRIPT instead of INSTALL_PROGRAM to install scripts in some
ports.
- When USE_LINUX_RPM is defined, simplify the way DISTFILES and EXTRACT_ONLY
are defined.
- Remove BRANDELF_DIRS and BRANDELF_FILES handling. In the very rare cases
that it is still necessary ports can run ${BRANDELF} from post-patch.
- Remove AUTOMATIC_PLIST handling. Only one port used it.
- Fix Linux MASTER_SITES.
- Replace OVERRIDE_LINUX_BASE_PORT and OVERRIDE_LINUX_NONBASE_PORTS with
default versions framework.
- bsd.port.mk:
- Move Linux related bits to Uses/linux.mk, except USE_LINUX_PREFIX.
- Put USE_LINUX_PREFIX handling after USES processing.
- Define DOCSDIR, DATADIR, etc. after handling USE_LINUX_PREFIX so it can
give these variables a different default value.
- When a package needs to run Linux ldconfig check before installation if
Linux support is enabled.
- emulators/linux_base-*:
- Use USES=linux and remove duplication.
- Remove files/lp. FreeBSD or CUPS lp(1) should work.
- Remove files/yp.conf. No longer seems to be used.
- Remove pkg-deinstall and move pkg-install into pkg-plist.
- Update pkg-descr and pkg-message.
- Fix handling of ldconfig cache in pkg-plist.
- devel/fb-adb: Use a Linux shell to run a Linux script but patch the script
to use FreeBSD mkdir so mkdir -p $path creates $path and not
/compat/linux/$path.
PR: 211645
Exp-run by: antoine
Approved by: portmgr (antoine)
Plasma5 ports
At the moment KDE ports use bsd.kde4.mk to handle their dependencies. When
working on the ports for KDE Frameworks and Plasma5 it seemed to be more
reasonable to create a new kde.mk instead of adding an bsd.kde5.mk.
The kde.mk in this review is a stripped down version of the one we are using in
the KDE Test repositories plasma5 branch [1] to only contain the parts relevant
to the current KDE4 ports in the portstree [2].
Changes to the KDE Ports needed by this:
Replace USE_KDE4 by USE_KDE [3]
Add USES=kde:4 [4]
[1] http://src.mouf.net/area51/view/branches/plasma5/KDE/Mk/Uses/kde.mk
[2] The version in the plasma5 branch also handles frameworks/plasma5 and
handles MASTER_SITES via a KDE_DIST variable similar to bsd.qt.mk for Qt
Ports -- I chose to leave this out for now, as the diff is already large
enough.
[3] I chose USE_KDE instead of USE_KDE4, USE_KDE5, USE_KDEX as the version we
want is already specified as argument to kde:<arg>
[4] For KDE Frameworks and Plasma5 ports this would be kde:5
PR: 210667
Approved by: portmgr, mat (mentor), rakuco (mentor)
Reviewed by: mat, rakuco
Differential Revision: https://reviews.freebsd.org/D6961
Winefish was one of the Berlios projects that disappeared a few years
ago. It hasn't been updated since 2006 while the editor it forked from,
Bluefish (www/bluefish), has been regularly updated. It also segfaults
on AMD64 and ARMv6 platforms at startup, so mark it broken for those
platforms. Give interested parties 2 months to fix the issues with this
editor before it's removed from the tree.
PR: 204851
- unbreak build by adding include cmath to
wx-scintilla/src/scintilla/src/Editor.cxx
- make other patches makepatch-compliant
- remove WX_UNICODE=yes (obsolete)
- un-silence several commands during build
PR: 210959
MFH: 2016Q3
Reported by: pkg-fallout
hide-away interface, that you access by moving your mouse to the edges of the
screen, allowing the program to have a familiar look and feel to it, while still
getting out of the way, so that you can immerse yourself in your work.
Features:
- TXT, basic RTF, and basic ODT file support
- Timers and alarms
- Daily goals
- Fully customizable themes
- Typewriter sound effects (optional)
- Auto-save (optional)
- Live statistics (optional)
- Spell-checking (optional)
- Multi-document support
- Sessions
- Portable mode (optional)
- Translated into over 20 languages
WWW: http://gottcode.org/focuswriter/
PR: 210676
Submitted by: lightside <lightside@gmx.com>
hide-away interface, that you access by moving your mouse to the edges of the
screen, allowing the program to have a familiar look and feel to it, while still
getting out of the way, so that you can immerse yourself in your work.
Features:
- TXT, basic RTF, and basic ODT file support
- Timers and alarms
- Daily goals
- Fully customizable themes
- Typewriter sound effects (optional)
- Auto-save (optional)
- Live statistics (optional)
- Spell-checking (optional)
- Multi-document support
- Sessions
- Portable mode (optional)
- Translated into over 20 languages
WWW: http://gottcode.org/focuswriter/
PR: 210676
Submitted by: lightside <lightside@gmx.com>
USE_XORG+= sm xinerama
devel/dbus (when GNOME option is enabled)
multimedia/gstreamer (when MMEDIA option is enabled)
graphics/poppler (-devel only, when PDFIMPORT option is enabled)
Add USES=ssl since this OpenOffice does use OpenSSL. The base and ports
versions of OpenSSL are both known to work. It is unknown if LibreSSL
works because the dependency ftp/curl does not currently build with
LibreSSL.
Replace one remaining path to a .jar file with ${JAVALIBDIR} in
CONFIGURE_ARGS.
Replace an absolute symlink with a relative one.
Re-align \ line continuation characters in *_DEPENDS after removal of
${PORTSDIR} from dependencies, and make a few other whitespace cleanups.
MFH: 2016Q3