changes that Debian made to their libtool. The first command applies to
libtool versions 1.4 and up. The second command is somewhat more elaborate
but essentially it uses the sed hold space to move an "elif...fi" block
down. It applies to 2.x. Together these reduce overlinking to unpatched
.la files (from ports that don't have USES=libtool yet but also .la files
in the work directory).
The third and fourth command fix relinking. During staging libtool may
relink libA when it links to another library in the work directory libB.
The reason is that libA created during build phase has its runpath set to
the location of libB in the work directory. This allows running an
executable that links to libA from within the work directory. The relink
removes this extra runpath.
When libtool relinks libA it replaces "libB.la" on the linker command line
with "-L${STAGEDIR}${PREFIX}/lib -lB" with the intention to link to libB in
the stage directory but this -L flag isn't necessarily the first so another
libB may be linked instead. The two sed commands make relink the same as a
normal link. This means libtool will relink with libraries from the work
directory using a path similar to "../srcB/.libs/libB.so" without -L flags.
This applies to libtool 1.4 and up. Earlier versions don't seem to relink
libraries.
(This fixes ports like devel/apr1 so they link with freshly built libraries
instead of installed libraries.)
Fix all ports with missing libraries.
Additionally:
archivers/rpm4: USES=patchfix.
databases/gdbm: INSTALL_TARGET=install-strip.
devel/gnome-vfs: remove patch that doesn't change anything.
devel/ois: INSTALL_TARGET=install-strip and use standard USE_AUTOTOOLS.
devel/zziplib: INSTALL_TARGET=install-strip, MAKE_CMD.
multimedia/mjpegtools: remove USE_AUTOTOOLS, use modern compiler on i386
instead of disabling optimisations.
net/libnetdude: disable static plugins.
PR: 190941
Exp-run: antoine
Approved by: portmgr (antoine)
Use USES=compiler:openmp for the OPENMP option[2]
Ditch the use of perl for patching etc [4] and silence perl threaded check [6]
-delay option spurious message should be fixed [5]
JASPER option was replace by JPEG2000 for JP2k support.
Put 16BIT_PIXEL and HDRI option separate option block. These options change
the library name, so the user needs to take this into consideration.
Use new LIB_DEPENDS syntax.
Use @sample for config files.
Sprinkle some USES=pkgconfig for some ports, since we don't pull it in
anymore at run-time.
PR: 185462 [1]
PR: 187548 [2]
PR: 182793 [3]
PR: 181746 [4]
PR: 176047 [5]
PR: 190814 [6]
Submitted by: c.petrik.sosa@gmail.com [1]
Matthieu Volat <mazhe@alkumuna.eu> [2]
free.bsd@webstyle.ch [3]
andrnils@gmail.com [4]
rfg@tristatelogic.com [5]
Michelle Sullivan <michelle@sorbs.net> [6]
Approved by: portmgr (blanket) (for NO_STAGED ports)
- Convert to PYDISTUTILS_AUTOPLIST
- Bump PORTREVISION to enforce a cleanup for the easy_install references
With hat: python@
Approved by: portmgr (implicit)
Sylvio's last commit was 17 months ago, a full 5 months after all of his
ports could have been reset per policy. Given the push to complete
staging (48 ports are still unstaged, something like 70+ have already
been staged by other committers) and given that PRs are automatically
assigned but never addressed, it's better just to reset all the ports and
PRs so that it's clear to others that these ports are free to maintain.
Approved by: portmgr (implicit)
- Add LIBS="${LIBS}" to MAKE_ENV and CONFIGURE_ENV.
- Add an option helper for LIBS.
- Adjust all ports that already use LIBS. Also remove references to
PTHREAD_CFLAGS and PTHREAD_LIBS while here.
- Some ports did not support having a LIBS environment variable and
required additional patches.
Somewhat simplified a linker command line looks like:
${CC} ${src_LDFLAGS} ${LDFLAGS} ${src_LIBS} ${LIBS}
where src_LDFLAGS and src_LIBS are controlled by upstream and LDFLAGS and
LIBS can be controlled by us. If possible -L and -l flags need to be
added to LIBS to make sure they appear after any -L and -l flags set by
upstream. Many ports currently add -L${LOCALBASE}/lib to LDFLAGS but this
may appear too early on the command line causing installed libraries to
be linked in instead of freshly built ones.
Additional changes:
benchmarks/netio: Replace WITH_IPV6 with an IPV6 option.
comms/gnokii: Replace some patches with USES=pathfix. Also remove -fPIC.
graphics/gimageview: USES=libtool and install desktop file in DESKTOPDIR.
graphics/visionworkbench: Remove FreeBSD 7 support.
multimedia/libmovtar: New LIB_DEPENDS syntax.
multimedia/opencinematools: Use standard do-build.
net/siproxd: USES=libtool:keepla (port actually needs .la files for plugins)
net-mgmt/nagios: Remove -fPIC.
net-mgmt/nagios4: Remove -fPIC.
print/cups-base: Only add -lssp_nonshared on i386 and OSVERSION < 1000036.
security/p11-kit: Replace PTHREAD_LIBS in CONFIGURE_ENV with
ac_cv_func_pthread_mutexattr_init=no in CONFIGURE_ARGS. This skips a test
in configure that falsely detects pthread_mutexattr_init in our libc.
sysutils/dar: Fix iconv detection.
x11/rxvt-unicode: Remove -lstdc++ and patch configure to remove a FreeBSD
hack and use $CXX as linker as on other platforms.
PR: 190592
Exp-run by: antoine
Approved by: portmgr (antoine)
Starting with perl 5.20, they're not installed any more if empty,
and on FreeBSD, they're (always ?) empty.
PR: 190681
Submitted by: mat
Exp-Run by: antoine
Sponsored by: Absolight
2014-05-25 x11-toolkits/libgtk-java: Unmaintained, outdated not depend on
2014-05-25 graphics/cairo-java: Unmaintained, outdated not depend on
2014-05-25 devel/libgconf-java: Unmaintained, outdated not depend on
2014-05-25 x11/libgnome-java: Unmaintained, outdated not depend on
lang/lua51 is working the same way lang/lua52, chase ports using lua 5.1
Make the default lua lua52
Make all lua ports using USES=lua
Approved by: portmgr (implicit)
- Use MACHINE_CPUARCH rather than MACHINE_ARCH. While the former technically
is more correct it unfortunately doesn't exist in stable/8, yet, and using
the latter actually doesn't make a difference for i386.
- Allow to build nvidia-driver on OSVERSION > 1000052 with the LINUX option
enabled.
Reported by: swills
- For i386, allow to build the non-legacy NVIDIA drivers with PAE support
via an option, defaulting to disabled. This is tricky in two ways. First
off, while their binary part is PAE-capable since around version 285,
their build glue and wrapper only partially is. Second, for modules
built along the kernel, enabled PAE support would be picked up via the
generated opt_global.h from KERNBUILDDIR, which isn't available when
compiling modules stand-alone. Nevertheless, these source modifications
are modeled in a way so they also do the right thing when integrating a
nvidia-driver module into a kernel build.
Approved by: maintainer timeout (2 weeks)
Sponsored by: Bally Wulff Games & Entertainment GmbH
And USES=tar:bzip2 here and there.
deskutils/xfce4-notification-daemon:
- Don't patch Makefile.am.
- Link with -lgmodule-2.0 explicitly now that libgtk-x11-2.0.la does not
imply it.
x11/xfce4-wmdock-plugin:
- Make it fetchable.
Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a
replacement for :U and :L (which has been marked as deprecated)
bmake which is the default on FreeBSD 10+ only support by default
:tu/:tl a hack has been added at the time to support :U and :L to ease
migration. This hack is now not necessary anymore
Note that this makes the ports tree incompatible with make(1) from
FreeBSD 8.3 or earlier
With hat: portmgr
They have never been used, are not updated upstream since 2009 and gnome@ team has already way too many things to care about
Discussed with: kwm (gnome)
Approved by: self (portmgr)
2014-04-23 emulators/mupen64-sdlinput: Use mupen64plus instead
2014-04-23 emulators/mupen64-sdlaudio: Use mupen64plus instead
2014-04-23 emulators/mupen64-tr64: Use mupen64plus instead
2014-04-23 emulators/mupen64-gln64: Use mupen64plus instead
2014-04-23 emulators/mupen64-sound: Use mupen64plus instead
2014-04-23 emulators/mupen64-rsp: Use mupen64plus instead
2014-04-23 emulators/mupen64-input: Use mupen64plus instead
2014-04-23 emulators/mupen64-glide: Use mupen64plus instead
2014-04-23 emulators/mupen64: Use mupen64plus instead
2014-04-23 emulators/mupen64-softgfx: Use mupen64plus instead
2014-04-23 emulators/mupen64-dummyaudio: Use mupen64plus instead
2014-04-23 emulators/mupen64-base: Use mupen64plus instead
2014-04-24 x11/emu: Broken, not staged
2014-04-24 lang/ruby-doc-stdlib: Upstream rerolls frequently, online docs work well
- Convert to USES=libtool.
- Add include directories to CPPFLAGS instead of CFLAGS.
- Use LDFLAGS instead of LIBS.
- Remove PTHREAD_LIBS reference.
- Add DOCS option.
- Staging.
- Remove MAKE_ENV. Not needed.
exists, libtool will add all libraries libB.la refers to (dependency_libs
field) to the linker command line and store them in the dependency_libs
field of libA.la. So everything that subsequently links with libA will also
link to these extra libraries. This causes too much overlinking.
This commit modifies Mk/Uses/libtool.mk so it empties the dependency_libs
field in .la libraries during staging. However, because .la libraries have
very limited use when dependency_libs is empty it makes sense to completely
remove them during staging.
So with this commit USES=libtool is modified to remove .la libraries and a
new form (USES=libtool:keepla) is introduced in case they need to be kept
(dependency_libs is still emptied).
PORTREVISION is bumped on all ports with USES=libtool that install .la
libraries. Most ports are also changed to add :keepla because .la
libraries have to be kept around as long as there are dependent ports with
.la libraries that refer to them in their dependency_libs field. In most
cases :keepla can be removed again as soon as all dependent ports that
install .la libraries have some form of USES=libtool added to their
Makefile.
PR: ports/188759
Exp-run: bdrewery
Approved by: portmgr (bdrewery)
This fixes false-positive leftover (files removed) warnings
in Redports/QAT/Tinderbox.
Note that some of these ports still have Orphans which I did not
address.
With hat: portmgr
Spotted by: new 'check-plist'
a zeising, kwm production, with help from dumbbell, bdrewery:
NEW XORG ON FREEBSD 9-STABLE AND 10-STABLE
This update switches over to use the new xorg stack by default on FreeBSD 9
and 10 stable, on osversions where vt(9) is available.
It is still possible to use the old stack by specifying WITHOUT_NEW_XORG in
/etc/make.conf .
FreeBSD 8-STABLE and released versions of FreeBSD still use
the old version.
A package repository with binary packages for new xorg will
be available soon.
This patch also contains updates of libxcb and related ports, pixman, as well
as some drivers and utilities.
Bump portrevisions for xf86-* ports, as well as virtualbox-ose-additions due
to xserver version change.
Apart from these updates, the way shared libraries are handled has been
changed for all xorg ports, as well as libxml2 and freetype, which means
ltverhack is gone and as a consequence shared libraries have been bumped.
The plan is that this change will make library bumps less likely in the
future.
All affected ports have had their portrevisions bumped as a consequence of
this.
Fix some issues where WITH_NEW_XORG weren't detected properly on CURRENT.
Update instructions, hardware support, and more notes can be found on
https://wiki.freebsd.org/Graphics
Thanks to: all testers, bdrewery and the FreeBSD x11@ team
exp-run by: bdrewery [1]
PR: ports/187602 [1]
Approved by: portmgr (bdrewery), core (jhb)
* Fix a bug where the cursor position was invalidated after an insertion
* Implement X11 stuff on top of both libX11 (default) and XCB (OPTIONSng)
* Handle more options related to font handling
* Chase compiler warnings
USES libtool
Chase libxklavier shlib change
On all ports depending on libxklavier:
- Support stage
- USES=libtool when possible to reduce overlinking
- Support packaging as a user
* Fix a bug where the command line wasn't always '\0'-terminated
* Fix style here and there
* Update COPYRIGHT years to include 2014
- Fix LICENSE (BSD -> BSD2CLAUSE)
- Add another repo to MASTER_SITES
KDE ports:
- Convert to USES=tar:xz
devel/p5-perlqt, multimedia/kdemultimedia4-ffmpegthumbs:
- Convert LIB_DEPENDS to new style
devel/p5-perlqt, devel/p5-perlkde:
- Don't remove directories installed by perl port
net/kdnssd:
- moved to net/zeroconf-ioslave (renamed upstream)
x11/kdelibs4:
- Clean up non-standard shared mime files and directories after deinstall
The area51 repository features commits by Alonso Schaich
<alonsoschaich@fastmail.fm> and makc.
9.x in order to prevent run-time breakage after the recent changes in
libiconv
- Bump port revision for lang/ghc and all dependents, as a consequence
Obtained from: FreeBSD Haskell
2014-03-23 devel/ruby-gio2: Use rubygem-gio2 instead
2014-03-23 devel/ruby-glib2: Use rubygem-glib2 instead
2014-03-23 graphics/ruby-cairo: Use rubygem-cairo instead
2014-03-23 graphics/ruby-gdk_pixbuf2: Use rubygem-gdk_pixbuf2 instead
2014-03-23 graphics/ruby-rsvg2: Use rubygem-rsvg2 instead
2014-03-23 x11-toolkits/ruby-goocanvas: No longer included upstream
2014-03-23 x11-toolkits/ruby-gstreamer: Use rubygem-gstreamer instead
2014-03-23 x11-toolkits/ruby-gtk2: Use rubygem-gtk2 instead
2014-03-23 x11-toolkits/ruby-gtksourceview2: Use rubygem-gtksourceview2 instead
2014-03-23 x11-toolkits/ruby-pango: Use rubygem-pango instead
2014-03-23 x11-toolkits/ruby-poppler: Use rubygem-poppler instead
2014-03-23 x11-toolkits/ruby-vte: Use rubygem-vte instead
2014-03-23 x11/ruby-gnome2: Use rubygem-gnome2 instead
- Add support of DragonFly and merge post-patch target into CMakeLists.txt patch
- Don't build locker, because VT_UNLOCKSWITCH is not defined in sys/consio.h
- Adjust dependencies
PR: 187376
Submitted by: myself
Approved by: Henry Hu (maintainer)