Commit graph

11 commits

Author SHA1 Message Date
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
Martin Wilke
5b399dc5f5 - Really Stage 2014-02-15 12:32:41 +00:00
Martin Wilke
16b16db8db - Stage support 2014-02-15 10:14:22 +00:00
Baptiste Daroussin
ce5e457020 Add NO_STAGE all over the place in preparation for the staging support (cat: math) 2013-09-20 20:55:04 +00:00
William Grzybowski
4800bc3663 math/numdiff: update to 5.6.1
- Update to 5.6.1 [1]
- NOPORTDOCS -> PORT_OPTIONS:MDOCS [1]
- Use bsd.port.options.mk instead of pre/post

PR:		ports/176833
Submitted by:	Danilo Egêa Gondolfo <danilogondolfo@gmail.com>
Approved by:	culot / jpaetzel (mentors, implicit), maintainer (timeout)
2013-06-17 16:17:41 +00:00
Cheng-Lung Sung
275bd8f2d1 - fix pkg-plist
Submitted by:	sahil
2010-07-15 02:58:54 +00:00
Cheng-Lung Sung
eab0479390 - Update to 5.2.1
PR:		ports/148381
Submitted by:	C-S <c-s_AT_c-s dot li>
2010-07-12 08:37:12 +00:00
Rong-En Fan
f935a609c5 - Set --mandir and --infodir in CONFIGURE_ARGS if the configure script
supports them.  This is determined by running ``configure --help'' in
  do-configure target and set the shell variable _LATE_CONFIGURE_ARGS
  which is then passed to CONFIGURE_ARGS.
- Remove --mandir and --infodir in ports' Makefile where applicable
  Few ports use REINPLACE_CMD to achieve the same effect, remove them too.
- Correct some manual pages location from PREFIX/man to MANPREFIX/man
- Define INFO_PATH where necessary
- Document that .info files are installed in a subdirectory relative to
  PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and
  subdirectory detection.

PR:		ports/111470
Approved by:	portmgr
Discussed with:	stas (Mk/*), gerald (info related stuffs)
Tested by:	pointyhat exp run
2007-07-23 09:36:51 +00:00
Cheng-Lung Sung
ae755cd828 - Update 4.2.0 2007-05-26 05:16:26 +00:00
Cheng-Lung Sung
4ce4ce6a39 - Update to 4.0.0 2006-11-23 03:23:30 +00:00
Alejandro Pulver
d2ea05c769 Numdiff is a little program that can be used to compare putatively similar
files line by line and field by field, ignoring small numeric differences
or/and different numeric formats.

Equivalently, Numdiff is a program with the capability to appropriately
compare files containing numerical fields (and not only).

% numdiff file1 file2

WWW: http://www.nongnu.org/numdiff/

PR:		ports/104525
Submitted by:	Cheng-Lung Sung <clsung at FreeBSD.org>
2006-10-31 17:29:35 +00:00