Commit graph

78 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
Tijl Coosemans
98667694e1 mail/gmime2 mail/gmime2-sharp:
- USES=libtool
- Use USES+= to fix slave port.
- Remove LATEST_LINK and PTHREAD_CFLAGS.
- Remove $FreeBSD$ from patch.

mail/dbmail22:
- USES=libtool.
- Remove -fPIC, PTHREAD_CFLAGS and PTHREAD_LIBS.
- Remove pre-install target.  Not needed with staging.

PR:		ports/189749
2014-05-29 21:16:11 +00:00
Sunpoet Po-Chuan Hsieh
00bb7aa0b1 - Support STAGEDIR
PR:		ports/183966
Submitted by:	Alan Hicks <ahicks@p-o.co.uk> (maintainer)
2013-11-15 10:44:29 +00:00
Baptiste Daroussin
fd61959c15 Add NO_STAGE all over the place in preparation for the staging support (cat: mail) 2013-09-20 19:59:12 +00:00
Boris Samorodov
54e44467d7 . introduce ICONV_CONFIGURE_BASE variable at Mk/Uses/iconv.mk. It's value is
"--with-libiconv=${LOCALBASE}" at systems pre OSVERSION 100043 and "" (null)
  otherwise;
. convert all ports which has CONFIGURE_ARGS=--with-libiconv=${LOCALBASE}.

Approved by:	portmgr (bapt, implicit)
2013-09-05 20:18:30 +00:00
William Grzybowski
ad32ee489b mail/{gmime2,gmime24}: convert docs to options ng
- NOPORTDOCS -> PORT_OPTIONS:MDOCS [1]
- Convert to USES gmake
- Define DOCS option

PR:		ports/181778 [1]
Submitted by:	Alan Hicks <ahicks p-o.co.uk> (maintainer)
2013-09-03 16:03:41 +00:00
Koop Mast
a5f590e51d The FreeBSD GNOME team presents a Glib and Gtk+ 3 update.
This update updates Glib20 to 2.36 and Gtk+ 3.8

* The gio-fam-backend port that used gamin for the GFileMonitor API is gone.
  It is replaced by a GIO kqueue implementation developed as part of a NetBSD
  GSoC 2011 project by Dimitry Matveev.
* Fix a bug in the glib20 Makefile so it includes -lintl in the glib-2.0
  pkgconfig file [1]. This broke static linking and newer binutils.
* Add introspection USE_GNOME component which sets GI_SCANNER_DISABLE_CACHE to
  prevent creation of /  root/.cache dir. Defaults to build & run depend,
  but :build and :run switches available.
* New x11-toolkits/pangox-compat port and companion USE_GNOME component for
  pangox support which was removed from the pango port. Add it to ports still
  using pangox API.

Exp-run by:	bapt@
PR:		ports/178958 [1]
Submitted by:	emaste@ [1]
2013-07-31 11:57:45 +00:00
Bryan Drewery
bfe24f17a1 - Convert to USES=pathfix
PR:		ports/178418
Submitted by:	Alan Hicks <ahicks@p-o.co.uk> (maintainer)
2013-05-08 20:26:42 +00:00
Marcus von Appen
a3a0715f38 - Convert USE_ICONV=yes to USES=iconv
- Change USE_GNOME=pkgconfig|gnomehack to USES=pathfix|pkgconfig while here

Reviewed by:	zeising
2013-04-27 11:59:28 +00:00
Baptiste Daroussin
992586fa08 Finish converting the whole ports tree to USES=pkgconfig 2013-04-23 14:20:25 +00:00
Koop Mast
bc4c225e52 Add USE_PKGCONFIG= build.
Approved by:	maintainer (priv mail)
2012-08-05 11:10:35 +00:00
Michael Scheidell
6aa5719926 - Update to 2.2.27
- Submitter is now maintainer

PR:		ports/168307
Submitted by:	Alan Hicks <ahicks@p-o.co.uk> (maintainer)
2012-05-24 21:19:15 +00:00
Thomas Abthorpe
978fe5634d - Reassign to the heap 2012-02-01 15:53:08 +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
Koop Mast
0e682dded4 Remove USE_GNOME=gnometarget from ports. It has been a empty keyword since
mid 2008.

PR:		ports/159624
Submitted by:	Ruslan Mahmatkhanov <cvs-src@yandex.ru>
2011-08-11 19:20:17 +00:00
Olli Hauer
c5284f2b4e - remove MD5 2011-07-03 13:53:52 +00:00
Marcus Alves Grando
fadb5377d0 - Update to 2.2.24
- Update CONFLICTS to add gmime24
- Keep simple MASTER_SITES
- Reset PORTREVISION from slave gmime2-sharp

PR:		139489
Submitted by:	Sahil Tandon <sahil___tandon.net>
2009-10-11 02:29:49 +00:00
Marcus Alves Grando
602efa49c8 - Update to 2.2.23 2009-02-22 22:18:45 +00:00
Marcus Alves Grando
60dcc666d9 - Update to 2.2.22 2008-08-17 05:22:37 +00:00
Edwin Groothuis
090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00
Marcus Alves Grando
9898de80f1 - Update to 2.2.18
- Rename uudecode e uuencode to gmime-* to not conflict with userland [1]

PR:		118092 [1]
Submitted by:	Rob Austein <sra___hactrn.net> [1]
2008-04-13 15:44:47 +00:00
Marcus Alves Grando
648121c030 - Update to 2.2.15 2008-01-03 16:03:29 +00:00
Marcus Alves Grando
beadc23e19 - Update to 2.2.10 2007-07-21 20:01:57 +00:00
Marcus Alves Grando
07ea49481a - Update to 2.2.9 2007-05-28 18:22:01 +00:00
Marcus Alves Grando
15968e141f - Update to 2.2.6 2007-04-06 03:38:23 +00:00
Marcus Alves Grando
d083e01edf - Update to 2.2.4
- Fix unnecessary print [1]

PR:		106813 [1]
Submitted by:	Larry Rosenman <ler___lerctr.org> [1]
2007-02-12 17:57:15 +00:00
Tom McLaughlin
b9927ca84b Allow USE_GNOME to be overridden since next gmime2-sharp update will require
gtksharp20.
2006-11-10 21:19:39 +00:00
Marcus Alves Grando
8ce8e04893 - Update to 2.2.3
- portlint(1)
2006-08-14 03:51:40 +00:00
Marcus Alves Grando
99115fc623 - Update to 2.2.2 2006-06-30 18:58:03 +00:00
Marcus Alves Grando
67f314c971 - Update to 2.2.1 2006-04-30 23:59:58 +00:00
Ade Lovett
8503536d38 Conversion to a single libtool environment.
Approved by:	portmgr (kris)
2006-02-23 10:40:44 +00:00
Marcus Alves Grando
bad8146370 - Fix libs provided by pkg-config
- Bump PORTREVISION

Submitted by:	jylefort
2006-02-04 00:10:37 +00:00
Marcus Alves Grando
7094a4d8f7 Update to 2.1.19 2006-01-20 22:20:54 +00:00
Marcus Alves Grando
cdd9c5ff9a Update to 2.1.18 2006-01-17 13:30:12 +00:00
Ade Lovett
54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00
Marcus Alves Grando
ffcf729c85 Add SHA256 2005-11-09 02:32:50 +00:00
Marcus Alves Grando
1378d4dd8f Update to 2.1.17
Take MAINTAINER
2005-11-07 12:53:33 +00:00
Joe Marcus Clarke
235c907ae5 Bump PORTREVISION to chase the glib20 shared library update. 2005-11-05 05:22:06 +00:00
Tom McLaughlin
3dcb2fb51f Fix duplicate LATEST_LINK.
Approved by:	mezz (co-mentor)
2005-10-14 03:19:43 +00:00
Tom McLaughlin
7082d4c04a - Add gmime2-sharp, slave port of gmime2. This port provides the C#
bindings to the gmime2 library.

Approved by:    ahze (mentor)
2005-10-05 02:17:58 +00:00
Kirill Ponomarev
6b4c016cab Drop maintainership, since I'm buried in the $REALLIFE stuff. 2005-09-14 08:26:09 +00:00
Kirill Ponomarev
b395bd3931 Update to 2.1.16 2005-08-28 10:35:26 +00:00
Kirill Ponomarev
a6555c8d3b Update to 2.1.15 2005-06-16 13:43:18 +00:00
Kirill Ponomarev
a9c95d9f25 Update to 2.1.14 2005-04-02 11:40:46 +00:00
Joe Marcus Clarke
b3458f652e Bump PORTREVISION to chase the glib20 shared lib version change. 2005-03-12 10:54:27 +00:00
Kirill Ponomarev
f07a40b5a6 Update to 2.1.13 2005-03-11 10:08:38 +00:00
Kirill Ponomarev
a045756a67 Update to version 2.1.12 2005-02-21 17:51:02 +00:00
Kirill Ponomarev
e616f1bc78 Update to 2.1.11 2005-01-30 21:03:30 +00:00
Kirill Ponomarev
241bcee99b Update to 2.1.10 2005-01-16 16:21:55 +00:00
Kirill Ponomarev
0da3352921 Install documentation to DOCSDIR.
Honour NOPORTDOCS macro.

Based on PR:	ports/74982
Submitted by:	skv
2004-12-15 22:59:23 +00:00