Commit graph

59 commits

Author SHA1 Message Date
Adam Weinberger
99afccd1ce Add DOCS to OPTIONS_DEFINE to ports that check for PORT_OPTIONS:MDOCS. 2014-07-15 16:14:15 +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
Mathieu Arnold
f2cac0fa35 Replace all @unexec /bin/rmdir with @unexec rmdir
With hat:	portmgr
Sponsored by:	Absolight
2014-04-24 16:42:32 +00:00
Dirk Meyer
75d259f8b4 - use STAGEDIR
- update LICENSE
- undo silent install
- robust INSTALL
PR:		188069
2014-04-09 12:29:22 +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
Hajimu UMEMOTO
30cfeb0928 - Update to 4.4.3
- Add a site specified in milter-greylist-devel to MASTER_SITE.
- Add LICENSE.
- Appropriate configure option for the version of net-mgmt/p0f.
- Fix to be able to specify IPv6 address to syncsrcaddr.

PR:		ports/176950
Submitted by:	ume
Reviewed by:	Mikhail Tsatsenko <m.tsatsenko__at__gmail.com> (maintainer)
Approved by:	Mikhail Tsatsenko <m.tsatsenko__at__gmail.com> (maintainer)
2013-03-20 16:12:04 +00:00
Hajimu UMEMOTO
ff0f4a3c9f Correct dumpfile location.
PR:		ports/177097
Submitted by:	John Marshall <john.marshall__at__riverwillow.com.au>
Reviewed by:	Mikhail Tsatsenko <m.tsatsenko__at__gmail.com> (maintainer)
Approved by:	Mikhail Tsatsenko <m.tsatsenko__at__gmail.com> (maintainer)
2013-03-20 15:51:13 +00:00
Steve Wills
da167d6115 - Update the port to 4.4.1
- Convert to OptionsNG
- Use new Makefile header format

PR:		ports/176734
Submitted by:	"Mikhail T." <m.tsatsenko@gmail.com> (maintainer)
2013-03-16 21:53:35 +00:00
Doug Barton
83eb2c3700 In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().

In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
2012-01-14 08:57: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
Matthias Andree
cb9b93bc67 Make Mikhail Tsatsenko, m.tsatsenko at gmail.com, the new maintainer. 2011-08-30 15:47:01 +00:00
Andrey A. Chernov
45ba9805ed Remove myself from MAINTAINER 2011-08-30 07:57:26 +00:00
Andrey A. Chernov
8037f1a2bd Update to 4.2.7 2011-04-16 12:39:05 +00:00
Andrey A. Chernov
1de8e7ebd0 Upgrade to 4.2.6 2010-08-05 01:28:12 +00:00
Andrey A. Chernov
b01db2d6b4 Upgrade to 4.2.5 2010-05-02 13:38:16 +00:00
Andrey A. Chernov
05192e11ff Run as group mailnull to assist postfix 2010-05-02 11:41:07 +00:00
Doug Barton
1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +00:00
Andrey A. Chernov
f99b0afdeb Mention postfix in the COMMENT= 2009-10-25 19:58:32 +00:00
Andrey A. Chernov
ae343f6dbd Add partial OPENLDAP support
Submitted by:   Gerhard Schmidt <estartu@augusta.de>
2009-10-24 02:11:04 +00:00
Andrey A. Chernov
5b1c599a97 Add SENDMAIL_LDFLAGS and SENDMAIL_LDADD for sendmail case
Submitted by:   Gerhard Schmidt <estartu@augusta.de> (with small mod)
2009-10-17 23:18:33 +00:00
Andrey A. Chernov
6456e759fb Upgrade to 4.2.3 2009-08-23 22:16:16 +00:00
Andrey A. Chernov
8447fa0005 Use on/off instead of YES/NO for OPTIONS 2009-04-22 21:41:29 +00:00
Andrey A. Chernov
a6d1421969 Use OPTIONS
add --with-postfix there

PR:             133783
Submitted by:   John Baldwin <jhb@FreeBSD.org>
2009-04-22 10:32:02 +00:00
Andrey A. Chernov
ffb4e19c9e Upgrade to 4.2.2 2009-04-22 06:05:33 +00:00
Andrey A. Chernov
00655dc6d7 --with-curl -> --with-libcurl
Submitted by:   Roberto Grassi <r.grassi@obicon.it>
2009-03-30 19:30:32 +00:00
Peter Pentchev
c189a6b2da Bump the version of the curl shared library after the ftp/curl update
to 7.19.2.
Bump PORTREVISION, even on the ports that do not have a versioned
dependency, since the binaries will most probably still stop working.
2009-01-23 15:43:14 +00:00
Marcus Alves Grando
54f4f759ac - Bump PORTREVISION due to libspf2 update
- Change lib dependency
2008-10-29 12:50:04 +00:00
Andrey A. Chernov
166c531bf6 Upgrade to 4.0.1 2008-10-07 20:55:25 +00:00
Andrey A. Chernov
c7fd376689 BEFORE: sendmail -> mail 2008-10-07 20:26:23 +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
Andrey A. Chernov
d442aea8f1 Use sendmail/bsd.milter.mk to fix dependence for various sendmail port
options.

Submitted by:   Dirk Meyer <dirk.meyer@dinoex.sub.org>
2008-08-10 09:48:15 +00:00
Andrey A. Chernov
4fd6e01f06 - Respect NO_INSTALL_MANPAGES
- repocopy [files/milter-greylist.sh -> files/milter-greylist.in, pkg-message -> files/pkg-message.in]
itectu@: no more .sh
- Bump PORTREVISION
- Broken messages are not quoted
- silence some portlint tab warnings
- seperate NOPORTDOCS from NOPORTEXAMPLES
- drop 5.x support
- use SUB_FILES for pkg-message processing
- make use of @dirrmtry in pkg-plist

PR:             125653
Submitted by:   "Philip M. Gollucci" <pgollucci@p6m7g8.com> (almost all)
2008-07-26 10:41:17 +00:00
Andrey A. Chernov
ac0cd68380 Add WITH_CURL option
PR:             123180
Submitted by:   Michael Stowe <mstowe@chicago.us.mensa.org>
2008-04-28 23:23:06 +00:00
Andrey A. Chernov
7548b4c25c Upgrade to 4.0 2008-04-25 19:15:33 +00:00
Andrey A. Chernov
098d37deba Change BUILD_DEPENDS to LIB_DEPENDS for libspf2 2006-12-13 11:19:21 +00:00
Andrey A. Chernov
f2f62a727a Add --with-thread-safe-resolver for >= 502102
Submitted by:   ume
2006-12-10 15:56:50 +00:00
Andrey A. Chernov
3cb687a3d6 Add comment about j,{if_addr},{cert_subject},i,{auth_authen} 2006-12-10 14:01:02 +00:00
Andrey A. Chernov
52e7d01086 Assign myself as MAINTAINER 2006-12-10 13:34:45 +00:00
Andrey A. Chernov
e455ffcf58 Upgrade to 3.0 2006-12-10 05:10:38 +00:00
Andrey A. Chernov
d3237924c4 Reset MAINTAINER - address is no longer available 2006-12-09 20:17:40 +00:00
Edwin Groothuis
80840e8dc5 SHA256ify
Approved by: krion@
2006-01-22 12:50:54 +00:00
Marcus Alves Grando
c775c479a0 Update to 2.0.2
PR:		88409
Submitted by:	Cyril Guibourg <aragorn+ports@babasse.net> (maintainer)
2005-11-03 12:28:47 +00:00
Pav Lucistnik
57ae500662 - Add option to use sendmail from base/ports
- Add option to use libspf2

PR:		ports/85795
Submitted by:	Cyril Guibourg <aragorn@babasse.net> (maintainer)
2005-09-25 18:08:55 +00:00
Pav Lucistnik
a97e832fbb - Update to 2.0
PR:		ports/82906
Submitted by:	Cyril Guibourg <aragorn+ports@teaser.fr> (maintainer)
2005-07-06 16:50:32 +00:00
Florent Thoumie
5368811e5d - Fix rcNG script.
PR:		ports/82259
Submitted by:	Andrew McNaughton <andrew@scoop.co.nz>
Approved by:	maintainer
2005-06-30 11:55:19 +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
Andrey A. Chernov
8092b5352a Use PTHREADS_{LIBS,CFLAGS} instead of Makefile.in patch
Approved by:    aragorn+ports@teaser.fr
2005-02-08 13:04:49 +00:00
Hajimu UMEMOTO
8bdf63acd5 add CONFLICTS against milter-greylist-devel. 2005-02-03 18:43:48 +00:00
Edwin Groothuis
6deca75fe7 [MAINTAINER] mail/milter-greylist: update to 1.6
- Update to 1.6

	Added file(s):
	- files/patch-greylist.conf
	- files/patch-milter-greylist.c

PR:		ports/75101
Submitted by:	Cyril Guibourg <aragorn+ports@teaser.fr>
2004-12-17 06:17:24 +00:00