Commit graph

22 commits

Author SHA1 Message Date
Dmitry Marakasov
11f3e239f7 - Switch converters/enca to USES=libtool, drop .la files
- Add LICENSE_FILE
- Bump dependent ports as .so version has changed

Approved by:	portmgr blanket
2014-08-26 03:11:20 +00:00
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
Baptiste Daroussin
547559a424 Support stage 2014-01-09 13:36:10 +00:00
Adam Weinberger
9523cfd4e2 Convert converters to MDOCS and MEXAMPLES 2014-01-03 16:12:21 +00:00
Baptiste Daroussin
4bf1ce008b In preparation for making libtool generate libraries with a sane name, fix all
LIB_DEPENDS in converters
2013-12-11 15:15:48 +00:00
Baptiste Daroussin
1e4b97cf2b Add NO_STAGE all over the place in preparation for the staging support (cat: converters) 2013-09-20 16:05:24 +00:00
Andrej Zverev
fb5b0c84fb - convert to the new perl5 framework
- trim Makefile header

Approved by:	portmgr (bapt@, blanket)
2013-09-10 07:55:33 +00:00
Eitan Adler
7e3b32fff8 - remove maintainer tags from pkg-descr
Approved by:	portmgr
Approved by:	bapt (mentor)
2011-10-22 23:50:23 +00:00
Dmitry Marakasov
6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00
Martin Wilke
bb86cbe5d2 - Get Rid MD5 support 2011-03-20 12:54:45 +00:00
Dmitry Marakasov
c926af277e - Switch SourceForge ports to the new File Release System: categories starting with B,C 2009-08-22 00:15:15 +00:00
Rong-En Fan
741aa71483 Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.

To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.

To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.

Changes to Mk/*:
 - Add runtime detection magic in bsd.port.mk
 - Remove CONFIGURE_TARGET hack in various bsd.*.mk
 - USE_GNOME=gnometarget is now an no-op

Changes to individual ports, other than removing the CONFIGURE_TARGET hack:

= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
  - comms/gnuradio
  - science/abinit
  - science/elmer-fem
  - science/elmer-matc
  - science/elmer-meshgen2d
  - science/elmerfront
  - science/elmerpost

= use x86_64 as ARCH
  - devel/g-wrap

= other changes
  - print/magicfilter
    GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf

Total # of ports modified:  1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)

PR:		126524 (obsoletes 52917)
Submitted by:	rafan
Tested on:	two pointyhat 7-amd64 exp runs (by pav)
Approved by:	portmgr (pav)
2008-08-21 06:18:49 +00:00
Pav Lucistnik
dad0d0873a - Remove USE_GETOPT_LONG which is a no-op since March 2007 2008-03-20 09:23:28 +00:00
Martin Wilke
5d4a72c041 Chase lib version bump
Bump PORTREVISION

Submitted by:	Kris m
Approved by:	krion (mentor)
2006-06-14 15:27:13 +00:00
Edwin Groothuis
acd87b4ad8 SHA256ify
Approved by:    krion@
2006-01-22 08:34:46 +00:00
David E. O'Brien
c3d8037aeb At Kris's request, back out the MACHINE_ARCH spelling correction until
after 5.4-RELEASE.
2005-04-12 03:26:56 +00:00
David E. O'Brien
f2fc2d60ae Assist getting more ports working on AMD64 by obeying the
Ports Collection documentation and use 'ARCH' rather than 'MACHINE_ARCH'.
2005-04-11 08:04:41 +00:00
Thierry Thomas
e6630792bb Upgrade to 0.5.3.
PR:		ports/71768
Submitted by:	maintainer.
2004-10-16 15:21:29 +00:00
Pav Lucistnik
4b18d2464d - Chase enca shlib bump 2004-06-08 08:18:33 +00:00
Kirill Ponomarev
e2a5751476 - SIZEify
PR:		ports/63925
Submitted by:	maintainer
2004-03-08 11:13:14 +00:00
Trevor Johnson
a049dd78cc Use PLIST_FILES (bento-tested, marcus-reviewed). 2004-02-06 13:12:53 +00:00
Edwin Groothuis
baffdd74c3 New port: converters/fix-mime-charset - Fix incorrect Content-Type
MIME headers of e-mail messages

	Categories: converters textproc russian ukrainian

	Fix-mime-charset automatically detects character sets of
	email message and modifies the Content-Type header
	appropriately. It can be used as mail filter in mailing
	lists where users often set the charset of their messages
	incorrectly. It processes messages fast and accurately,
	ignoring attachments, and correctly interprets transfer-encodings.
	None but the Content-Type header is changed.

PR:		ports/61050
Submitted by:	Nosov Artem <chip-set@mail.ru>
2004-01-08 02:50:16 +00:00