/[ports]
ViewVC logotype

Revision 357486


Jump to revision: Previous Next
Author: tijl
Date: Wed Jun 11 14:49:59 2014 UTC (10 years ago)
Changed paths: 297 (showing only 100; show all)
Log Message:
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)


Changed paths

Path Details
Directoryhead/Mk/bsd.gecko.mk modified , text changed
Directoryhead/Mk/bsd.options.mk modified , text changed
Directoryhead/Mk/bsd.port.mk modified , text changed
Directoryhead/archivers/rpm/Makefile modified , text changed
Directoryhead/astro/cfitsio/Makefile modified , text changed
Directoryhead/astro/openuniverse/Makefile modified , text changed
Directoryhead/astro/roadmap/Makefile modified , text changed
Directoryhead/astro/xplanet/Makefile modified , text changed
Directoryhead/audio/deadbeef/Makefile modified , text changed
Directoryhead/audio/fdk-aac/Makefile modified , text changed
Directoryhead/audio/festival/Makefile modified , text changed
Directoryhead/audio/firefly/Makefile modified , text changed
Directoryhead/audio/jack/Makefile modified , text changed
Directoryhead/audio/mp3plot/Makefile modified , text changed
Directoryhead/audio/playgsf/Makefile modified , text changed
Directoryhead/audio/pulseaudio/Makefile modified , text changed
Directoryhead/audio/rhythmbox/Makefile modified , text changed
Directoryhead/audio/rplay/Makefile modified , text changed
Directoryhead/audio/spiralsynthmodular/Makefile modified , text changed
Directoryhead/benchmarks/dbench/Makefile modified , text changed
Directoryhead/benchmarks/netio/Makefile modified , text changed
Directoryhead/chinese/oto/Makefile modified , text changed
Directoryhead/chinese/reciteword/Makefile modified , text changed
Directoryhead/comms/gmfsk/Makefile modified , text changed
Directoryhead/comms/gnokii/Makefile modified , text changed
Directoryhead/comms/gnokii/files/patch-common-Makefile.in deleted
Directoryhead/comms/gnokii/files/patch-xgnokii-Makefile.in modified , text changed
Directoryhead/comms/hamlib/Makefile modified , text changed
Directoryhead/comms/minicom/Makefile modified , text changed
Directoryhead/comms/nokryptia/Makefile modified , text changed
Directoryhead/comms/predict/Makefile modified , text changed
Directoryhead/comms/predict/files/Makefile modified , text changed
Directoryhead/converters/fix-mime-charset/Makefile modified , text changed
Directoryhead/converters/pdf2djvu/Makefile modified , text changed
Directoryhead/converters/rcctools/Makefile modified , text changed
Directoryhead/databases/dbtool/Makefile modified , text changed
Directoryhead/databases/hk_classes/Makefile modified , text changed
Directoryhead/databases/libodbc++/Makefile modified , text changed
Directoryhead/databases/oracle_odbc_driver/Makefile modified , text changed
Directoryhead/databases/pgadmin3/Makefile modified , text changed
Directoryhead/deskutils/gnome-main-menu/Makefile modified , text changed
Directoryhead/deskutils/logjam/Makefile modified , text changed
Directoryhead/deskutils/multisync/Makefile modified , text changed
Directoryhead/devel/apr1/Makefile modified , text changed
Directoryhead/devel/apr2/Makefile modified , text changed
Directoryhead/devel/asmutils/Makefile modified , text changed
Directoryhead/devel/ccrtp/Makefile modified , text changed
Directoryhead/devel/google-perftools/Makefile modified , text changed
Directoryhead/devel/ifd-test/Makefile modified , text changed
Directoryhead/devel/libgutenfetch/Makefile modified , text changed
Directoryhead/devel/libunicode/Makefile modified , text changed
Directoryhead/devel/libzvbi/Makefile modified , text changed
Directoryhead/devel/nspr/Makefile modified , text changed
Directoryhead/devel/pypersrc/Makefile modified , text changed
Directoryhead/devel/srecord/Makefile modified , text changed
Directoryhead/dns/libidn/Makefile modified , text changed
Directoryhead/editors/joe/Makefile modified , text changed
Directoryhead/editors/joe2/Makefile modified , text changed
Directoryhead/editors/mlview/Makefile modified , text changed
Directoryhead/editors/xcoral/Makefile modified , text changed
Directoryhead/emulators/fuse/Makefile modified , text changed
Directoryhead/emulators/vba/Makefile modified , text changed
Directoryhead/emulators/x48/Makefile modified , text changed
Directoryhead/ftp/lftp/Makefile modified , text changed
Directoryhead/ftp/proftpd/Makefile modified , text changed
Directoryhead/ftp/wput/Makefile modified , text changed
Directoryhead/games/alienarena/Makefile modified , text changed
Directoryhead/games/battalion/Makefile modified , text changed
Directoryhead/games/chroma/Makefile modified , text changed
Directoryhead/games/frobtads/Makefile modified , text changed
Directoryhead/games/glest/Makefile modified , text changed
Directoryhead/games/gnomeattacks/Makefile modified , text changed
Directoryhead/games/gnuchess/Makefile modified , text changed
Directoryhead/games/gracer/Makefile modified , text changed
Directoryhead/games/gturing/Makefile modified , text changed
Directoryhead/games/highmoon/Makefile modified , text changed
Directoryhead/games/lbreakout/Makefile modified , text changed
Directoryhead/games/pioneers/Makefile modified , text changed
Directoryhead/games/sdb/Makefile modified , text changed
Directoryhead/games/spacejunk/Makefile modified , text changed
Directoryhead/games/super_methane_brothers/Makefile modified , text changed
Directoryhead/games/torcs/Makefile modified , text changed
Directoryhead/games/trophy/Makefile modified , text changed
Directoryhead/games/tsito/Makefile modified , text changed
Directoryhead/games/tuxkart/Makefile modified , text changed
Directoryhead/games/warzone2100/Makefile modified , text changed
Directoryhead/games/xqf/Makefile modified , text changed
Directoryhead/graphics/EZWGL/Makefile modified , text changed
Directoryhead/graphics/bugle/Makefile modified , text changed
Directoryhead/graphics/colord/Makefile modified , text changed
Directoryhead/graphics/danpei/Makefile modified , text changed
Directoryhead/graphics/enblend/Makefile modified , text changed
Directoryhead/graphics/epeg/Makefile modified , text changed
Directoryhead/graphics/flam3/Makefile modified , text changed
Directoryhead/graphics/gcolor/Makefile modified , text changed
Directoryhead/graphics/gimageview/Makefile modified , text changed
Directoryhead/graphics/gimageview/files/patch-ltmain.sh deleted
Directoryhead/graphics/gimageview/pkg-plist modified , text changed
Directoryhead/graphics/gimp-app/Makefile modified , text changed
Directoryhead/graphics/gimp-resynthesizer/Makefile modified , text changed
[...]

  ViewVC Help
Powered by ViewVC 1.1.27