1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/x11-toolkits
Tijl Coosemans 9f8b4bcde3 Support LIBS like LDFLAGS.
- 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)
2014-06-11 14:49:59 +00:00
..
attica
bakery
blt 2 more ports: convert to USES+= zip 2014-05-28 21:54:01 +00:00
bwidget
c++-gtk-utils - Update x11-toolkits/c++-gtk-utils to version 2.2.7 2014-06-03 18:36:37 +00:00
eel
elementary Replace lang/lua with the new lang/lua51 2014-05-26 15:28:28 +00:00
flowcanvas - Support staging 2014-05-10 17:53:30 +00:00
fltk
fltk-devel - Update to snapshot 10183 2014-06-11 07:11:34 +00:00
fox14
fox16
fox17 - Update to 1.7.47 2014-05-20 09:19:27 +00:00
fpc-gnome1
fpc-gtk1
fpc-gtk2
fpc-xforms
fxscintilla
gai Hand back to ports@. 2014-05-23 17:18:56 +00:00
gal2
gal2-reference
gdl
girara
gnocl - Convert to new LIB_DEPENDS format 2014-05-12 10:50:39 +00:00
gnome-desktop-sharp20 Convert to USES=mono 2014-05-26 13:29:39 +00:00
gnome-pty-helper
gnome-sharp20 Convert to USES=mono 2014-05-26 13:29:39 +00:00
gnomemm Remove all space characters from Makefile assignments. 2014-06-08 19:51:27 +00:00
gnustep-back
gnustep-gui
granite - Use CCode attribute for setproctitle() function, bug #1324424 [1] 2014-05-29 17:26:42 +00:00
gstreamer1-plugins-pango
gstreamer-plugins-pango
gtk12 Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
gtk20
gtk20-reference
gtk30
gtk30-reference
gtk-sharp10 Convert to USES=mono 2014-05-26 13:29:39 +00:00
gtk-sharp20 Convert to USES=mono 2014-05-26 13:29:39 +00:00
gtk-sharp-beans
gtkada x11-toolkits/gtkada: Cleanup and define conflict with gtkada3 2014-05-20 11:44:58 +00:00
gtkada3 x11-toolkits/gtkada3: Update version 3.8.3.0 => 3.8.3.1 2014-05-24 22:02:05 +00:00
gtkdatabox
gtkextra2
gtkglarea2
gtkglext
gtkglextmm - Use new LIB_DEPENDS syntax 2014-06-03 00:31:45 +00:00
gtkimageview
gtkmathview
gtkmm20
gtkmm20-reference
gtkmm24
gtkmm24-reference
gtkmm30
gtkmm30-reference
gtksourceview Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
gtksourceview2 Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
gtksourceview2-reference
gtksourceview3
gtksourceview3-reference
gtksourceview-reference
gtksourceviewmm3
hippo-canvas
hs-GLURaw
hs-GLUT
hs-gtk
hs-gtk2hs
hs-gtkglext
hs-gtksourceview2
hs-OpenGL
hs-OpenGLRaw
hs-pango
hs-vte
hs-wx
hs-wxc Convert to USES=dos2unix 2014-05-26 09:24:47 +00:00
hs-wxcore
hs-wxdirect
irrlicht - Support staging 2014-05-11 15:46:05 +00:00
itk
iwidgets Convert to staging. 2014-05-20 18:51:29 +00:00
lesstif
libbonoboui
libbonoboui-reference
libgail-gnome
libgdiplus Remove useless include of bsd.gnome.mk 2014-05-26 13:28:57 +00:00
libgnomeprintui
libgnomeprintuimm
libgnomeui
libgnomeui-reference
libgnomeuimm26
libgtksourceviewmm
libmatewnck For several MATE related ports: 2014-05-18 21:05:53 +00:00
libpanelappletmm
libsexy
libsexymm - Switch to USES=libtool, drop .la files 2014-06-04 17:37:21 +00:00
libunique3
libwnck
libwnck-reference
libxaw3dxft
libXaw
libxfce4gui
libXmu
libXt
libzvt Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
linux-f10-blt
linux-f10-gtk2
linux-f10-openmotif
linux-f10-pango
linux-f10-qt45
linux-f10-tk85
movingmotif - Switch to USES=libtool, drop .la files 2014-06-04 17:34:17 +00:00
mowitz
mygui
neXtaw
nucleo
ocaml-lablgtk2
open-motif
otk
p5-Alien-wxWidgets
p5-Glade2 Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
p5-Gnome2 Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
p5-Gnome2-Canvas Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
p5-Gnome2-VFS Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
p5-Gtk Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
p5-Gtk2 Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
p5-Gtk2-Chmod
p5-Gtk2-Ex-Dialogs
p5-Gtk2-Ex-FormFactory
p5-Gtk2-Ex-PodViewer
p5-Gtk2-Ex-Simple-List
p5-Gtk2-Ex-Utils
p5-Gtk2-GladeXML Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
p5-Gtk2-Html2 Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
p5-Gtk2-ImageView Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
p5-Gtk2-PathButtonBar
p5-Gtk2-TrayIcon Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
p5-Pango Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
p5-Prima Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
p5-Tk Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
p5-Tk-Action
p5-Tk-Autoscroll
p5-Tk-ColourChooser
p5-Tk-Contrib
p5-Tk-CursorControl
p5-Tk-Date
p5-Tk-DKW
p5-Tk-DynaTabFrame
p5-Tk-Enscript
p5-Tk-FileDialog
p5-Tk-FontDialog
p5-Tk-GBARR
p5-Tk-Getopt
p5-Tk-HistEntry
p5-Tk-JComboBox
p5-Tk-ResizeButton
p5-Tk-Role-Dialog
p5-Tk-Role-HasWidgets
p5-Tk-Splashscreen
p5-Tk-Sugar
p5-Tk-TableMatrix Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
p5-Tk-ToolBar
p5-Wx Remove all the bootstrap files (.bs) from the plists. 2014-06-10 12:14:12 +00:00
p5-Wx-Perl-ProcessStream
pango Fix check-plist. 2014-06-05 19:15:05 +00:00
pango-reference
pangomm
pangox-compat
pangoxsl
paragui-devel
phat
plib
pure-gtk
pure-tk
py-fltk
py-gnome2 Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
py-gnome-desktop
py-gnome-extras
py-gtk2
py-gtkglext
py-gtksourceview
py-gui
py-kivy
py-kiwi
py-Pmw
py-pyqwt Deprecated some ports that were already marked BROKEN in 2013 2014-05-31 20:47:59 +00:00
py-qt4-gui
py-sexy - Switch to USES=libtool, drop .la files 2014-06-04 17:37:28 +00:00
py-SquareMap - Update to 1.0.3 2014-05-20 13:31:05 +00:00
py-tkinter
py-tktreectrl
py-traitsbackendwx
py-traitsgui
py-vte
py-wax
py-wmdockapps Set to expire, as this doesn't appear to serve any modern purpose. 2014-05-23 17:19:50 +00:00
py-wxPython28
py-wxPython28-common
py-wxPython28-unicode
py-xlib
qt4-declarative
qt4-gui
qt4pas
qt5-declarative
qt5-gui Explicitly disable evdev support. 2014-05-12 13:51:04 +00:00
qt5-quick
qt5-widgets
qtada
qwt5 Convert my ports to USES=tar 2014-05-12 10:53:41 +00:00
qwt5-designerplugin Convert my ports to USES=tar 2014-05-12 10:53:41 +00:00
qwt6 Convert my ports to USES=tar 2014-05-12 10:53:41 +00:00
qwt6-designerplugin Convert my ports to USES=tar 2014-05-12 10:53:41 +00:00
rep-gtk2 - Convert USE_XZ to USES 2014-06-03 01:22:17 +00:00
ruby-fox16
rubygem-gdk3
rubygem-gtk2
rubygem-gtk3
rubygem-gtksourceview2
rubygem-gtksourceview3
rubygem-pango
rubygem-poppler
rubygem-vte
scintilla
sdl_pango - Convert x11-toolkits/sdl_pango to USES=libtool, drop .la files 2014-06-06 12:54:40 +00:00
shared-desktop-ontologies
skinlf
slingshot Support stage. Update to new LIB_DEPENDS. 2014-06-10 05:09:09 +00:00
soqt - Fix build with clang 2014-05-22 05:42:59 +00:00
SoXt - Remove s/aout/elf/ patch. It is handled by USES=libtool. 2014-06-03 21:36:16 +00:00
swt Change maintainer's email address to one that may no bounce 2014-06-09 15:25:27 +00:00
swt-devel
termit
tile
tix
tk84
tk85
tk86
tk-wrapper
tkdnd
tkshape
tktable
tktray
tktreectrl
unique Convert x11-toolkits/unique to "USES=libtool pathfix tar:bzip2". 2014-05-13 11:54:53 +00:00
v
vdk
viewklass
vte
vte3
vte-reference
vtkfox
wmapp
wxgtk28 Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
wxgtk28-common
wxgtk28-contrib
wxgtk28-contrib-common
wxgtk28-unicode
wxgtk28-unicode-contrib
wxgtk30 Support LIBS like LDFLAGS. 2014-06-11 14:49:59 +00:00
Xaw3d
xbae
xforms
xmhtml
xview Support stage. Update to new LIB_DEPENDS. 2014-06-10 05:09:09 +00:00
xview-clients Support stage. Update to new LIB_DEPENDS. 2014-06-10 05:09:09 +00:00
Makefile Remove expired ports: 2014-05-27 21:22:44 +00:00