Commit graph

82 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
Stephen Montgomery-Smith
a3e0d7eda7 - Chase revision 353604 to graphics/plotutils.
See:    http://svnweb.freebsd.org/ports?view=revision&revision=353604
2014-05-10 21:17:45 +00:00
Pietro Cerutti
001e4c6a57 - STAGE-clean
- Convert to new LIB_DEPENDS format
- Add LICENSE
2014-02-14 09:40:28 +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
Baptiste Daroussin
cddacdc1a8 Convert to new perl framework
Convert USE_GMAKE to USES
2013-09-16 16:45:35 +00:00
Baptiste Daroussin
942c2a28be Convert from USE_MOTIF to USES=motif
While here:
- Trim headers
- Convert USE_GMAKE to USES=gmake
- Remove indefinite article from comment
2013-07-10 07:00:44 +00:00
Alex Kozlov
83f02b963c - Convert USE_GETTEXT to USES (part 4)
Approved by:	portmgr (bapt)
2013-04-26 10:44:28 +00:00
Baptiste Daroussin
9250d94365 Convert USE_BISON to USES= bison
It brings bison as a build dependency in case it is set the following way:
USES= bison or USES= bison:build

it brings bison as a run dependency in case it is set the following way:
USES= bison:run

it brings bison both as a run and build dependency in case it the set the following way:
USES= bison:both

While here trim some headers
Convert some USE_GNOME= gnomehack to USES= pathfix
2013-03-08 11:32:11 +00:00
Pietro Cerutti
3ce4b50c6f - Convert to OptionsNG
Notified by:	http://wiki.freebsd.org/Ports/Options/ConvertingToOptionsNG
2012-10-03 07:45:37 +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
Ade Lovett
4a8684e352 Sync to new bsd.autotools.mk 2010-12-04 07:34:27 +00:00
Ade Lovett
8d837132c7 Bounce PORTREVISION for gettext-related ports. Have fun, ya'll. 2010-05-31 02:01:56 +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
Martin Wilke
3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00
Pietro Cerutti
a8ee12a1eb - Remove USE_XLIB in favor of USE_XORG
- Fix OPTIONS

Approved by:	miwi (mentor)
2008-03-10 17:52:15 +00:00
Pietro Cerutti
be0ecc7e91 My reference e-mail address as a ports maintainer is now gahr@FreeBSD.org.
Approved by:	miwi (mentor)
2008-02-21 21:20:01 +00:00
Martin Wilke
9bbd56d5ed - Fix build with gcc 4.2
- Pass maintainership to submitter

PR:		120415
Submitted by:	"Pietro Cerutti" <gahr@gahr.ch>
2008-02-08 23:40:56 +00:00
Ade Lovett
dbd39ca660 Migration from bison 1.x to 2.x
PR:		117086
Tested by:	-exp runs
2007-10-17 10:13:01 +00:00
Kris Kennaway
b7ff7031ea BROKEN with gcc 4.2 2007-05-27 03:03:31 +00:00
Florent Thoumie
d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00
Edwin Groothuis
efe7d5f7f4 Remove USE_REINPLACE from ports starting with M 2006-05-10 22:37:39 +00:00
Pav Lucistnik
6d7f8c459f - Add SHA256 2005-11-25 15:48:16 +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
Volker Stolz
1114861e5a Fix build with gcc34 & open-motif
PR:		ports/75900
Noticed by:	Tyler Davidson
2005-01-19 17:54:58 +00:00
Pav Lucistnik
c0634f6813 - Convert to OPTIONS
PR:		ports/70736
Submitted by:	Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw>
2004-08-20 23:12:23 +00:00
Eric Anholt
29be1c9451 Fix build on 5.x and fix build with new X headers.
Reported by:	pointyhat via kris
2004-07-15 06:37:53 +00:00
Kris Kennaway
dd3699e8e3 BROKEN on 5.x: Does not compile 2004-06-19 09:27:37 +00:00
Thierry Thomas
72d755001d Don't use gettext if not needed. 2004-06-08 18:47:58 +00:00
Thierry Thomas
cab21309cc - unbreak;
- do some cleaning.
2004-06-07 21:27:03 +00:00
Kris Kennaway
37b36b9f67 BROKEN on 5.x: does not compile 2004-02-07 23:29:51 +00:00
Joe Marcus Clarke
186b8ba82f Add USE_GETTEXT and bump PORTREVISION.
Submitted by:	trevor
Tested by:	bento
2004-02-04 04:36:30 +00:00
Trevor Johnson
f15b845ebe SIZEify. 2004-01-29 16:13:06 +00:00
Trevor Johnson
78da40aa98 Now gettext 0.12.1 is gettext-old. 2004-01-23 18:12:26 +00:00
Kirill Ponomarev
126bd38b6a - Fix build
PR:		56436
Submitted by:	Ports Fury
2003-09-04 14:27:56 +00:00
Joe Marcus Clarke
a3108b1e51 Bump the PORTREVISION for the ports directly affected by the gettext upgrade.
Prodded by:	kris
2003-08-26 20:25:58 +00:00
Joe Marcus Clarke
adccc29aad Chase the libintl.so shared lib version. 2003-08-25 05:41:38 +00:00
Maho Nakata
f5be3fcbca Fix build, and another fixes for building.
Unbreak.

PR:		51923
Submitted by:	KATO Tsuguru <tkato@prontomail.com>
2003-07-19 04:54:32 +00:00
Kris Kennaway
93872f18cc Move inclusion of bsd.port.pre.mk later in the file for conditional BROKEN
tag.  Early inclusion caused problems for some ports, so to be safe I'm
updating all of them.

Pointy hat to:	kris
2003-06-04 22:43:38 +00:00
Kris Kennaway
d500c1cc50 BROKEN on 5.1: does not compile 2003-05-18 10:15:44 +00:00
Kris Kennaway
fab932ce7f BROKEN: Does not compile 2003-05-06 21:37:26 +00:00
Akinori MUSHA
2c41b9e5f3 De-pkg-comment. 2003-02-20 19:00:52 +00:00
Pete Fritchman
37d195a89c Add a patch to fix build with bison in -current.
PR:		46690
Submitted by:	Andreas Schulz <ats@first.fraunhofer.de>
2003-01-02 16:33:58 +00:00
Mario Sergio Fujikawa Ferreira
f0a1969d34 o Rollback PORTCOMMENT modifications while this feature's implementation
is better studied
o Turn PORTCOMMENT variable in Makefile back into pkg-comment files

Approved by:	kris (portmgr hat),
		portmgr, re (silence)
2002-11-10 16:48:51 +00:00
Adam Weinberger
d9611f9375 Use PORTCOMMENT in the Makefile, and whack the pkg-comment.
Approved by:	pat
2002-11-06 22:47:41 +00:00
Ying-Chieh Liao
6082ca2e05 find->${FIND},xargs->${XARGS}
PR:		40791
Submitted by:	Simon 'corecode' Schubert <corecode@corecode.ath.cx>
2002-09-29 08:07:47 +00:00
Ade Lovett
c8eaa93644 Chase shlib rev of devel/gettext
Submitted by:	lots and lots
Pointy hat to:	ade
2002-08-01 16:22:41 +00:00
Ying-Chieh Liao
161b751262 Replace ${PERL} with ${REINPLACE_CMD}
PR:		39656
Submitted by:	Oliver Braun <obraun@informatik.unibw-muenchen.de>
2002-06-22 17:06:27 +00:00
Pete Fritchman
c2b1840688 Unbreak: fix compilation. 2002-06-09 17:28:18 +00:00
Kris Kennaway
de27e60460 BROKEN: Does not build 2002-05-18 02:44:49 +00:00