Commit graph

272 commits

Author SHA1 Message Date
Hajimu UMEMOTO
7ccbc423ba Fix build with clang when SNMP option is enabled.
PR:		196015
2014-12-17 18:04:21 +00:00
Mathieu Arnold
eee58d187e Change the way Perl modules are installed, update the default Perl to 5.18.
Before, we had:

  site_perl :           lib/perl5/site_perl/5.18
  site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
  perl_man3 :           lib/perl5/5.18/man/man3

Now we have:

  site_perl : lib/perl5/site_perl
  site_arch : lib/perl5/site_perl/mach/5.18
  perl_man3 : lib/perl5/site_perl/man/man3

Modules without any .so will be installed at the same place regardless of the
Perl version, minimizing the upgrade when the major Perl version is changed.
It uses a version dependent directory for modules with compiled bits.

As PERL_ARCH is no longer needed in plists, it has been removed from
PLIST_SUB.

The USE_PERL5=fixpacklist keyword is removed, the .packlist file is now
always removed, as is perllocal.pod.

The old site_perl and site_perl/arch directories have been kept in the
default Perl @INC for all Perl ports, and will be phased out as these old
Perl versions expire.

PR:		194969
Differential Revision:	https://reviews.freebsd.org/D1019
Exp-run by:	antoine
Reviewed by:	perl@
Approved by:	portmgr
2014-11-26 13:08:24 +00:00
Chris Rees
1e94b6fb2f Switch to USES=pgsql 2014-11-22 19:13:49 +00:00
Hajimu UMEMOTO
01221e48fe Fix .packlist
PR:		195115
2014-11-18 14:31:24 +00:00
Matthias Andree
b50a4b0708 Berkeley DB cleanup, remove versions 4.0 ... 4.7.
- Mk/bsd.database.mk rewrite, new default to db5.
- db6 is eligible by default only if installed on the system.
- Bump PORTREVISION of all ports that directly depend on BerkeleyDB or
  where USE_BDB is found in the port's directory
- Patch a few ports such that they will pick up or work with newer
  versions.
- Add UPDATING entry
- Drive-by format fix for pks
- Drop BerkeleyDB option from mail/popular for now, requires more work.
- Exp-run logs linked from the PR below.
- Ports that do not build (IGNORE, BROKEN, etc.) have pro-forma changes
  for new Berkeley DB, but are untested.

NOTE: please read UPDATING and the Wiki page before proceeding!

Announcement:	http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-August/000090.html
Wiki reference:	https://wiki.freebsd.org/Ports/BerkeleyDBCleanup
PR:		192690
Approved by:	portmgr (implicit, PORTREVISION bump on unstaged ports)
2014-08-21 22:50:29 +00:00
Adam Weinberger
08a006d08a Rename all patches that contain '::' as a path separator, and use
'__' instead.
2014-07-29 17:12:47 +00:00
Tijl Coosemans
37f54e0f66 net/openldap24-*:
- Convert to USES=libtool and bump dependent ports
- Avoid USE_AUTOTOOLS
- Don't use PTHREAD_LIBS
- Use MAKE_CMD

databases/glom:
- Drop :keepla
- Add INSTALL_TARGET=install-strip

databases/libgda4* databases/libgda5*:
- Convert to USES=libtool and bump dependent ports
- USES=tar:xz
- Use INSTALL_TARGET=install-strip
- Use @sample

databases/libgdamm:
- Drop :keepla
- USES=tar:bzip2
- Use INSTALL_TARGET=install-strip

databases/libgdamm5:
- Add INSTALL_TARGET=install-strip
- Drop --enable-static (inherited from old repocopy)

devel/anjuta x11-toolkits/py-gnome-extras:
- Drop :keepla

dns/powerdns dns/powerdns-devel:
- Convert to USES=libtool
- Add INSTALL_TARGET=install-strip
- Disable static modules
- Stop creating library symlinks with .0 suffix, not needed for dynamically
  opened modules

mail/dovecot2:
- Add USES=libtool

mail/dovecot2-pigeonhole:
- Drop CONFIGURE_TARGET (incorrect for Dragonfly)
- Add USES=libtool and INSTALL_TARGET=install-strip

math/gnumeric:
- USES=libtool tar:xz

Approved by:	portmgr (implicit, bump unstaged ports)
2014-07-24 18:34:16 +00:00
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
ec94e4d5eb Bump more ports that depend on libsqlite3.so:
- ports that set USE_SQLITE with the *_USE option helper
- ports that depend on libsqlite3 indirectly as reported by pkg rquery

Approved by:	portmgr (implicit)
2014-07-05 12:19:32 +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
61de712f46 Remove all the bootstrap files (.bs) from the plists.
Starting with perl 5.20, they're not installed any more if empty,
and on FreeBSD, they're (always ?) empty.

PR:		190681
Submitted by:	mat
Exp-Run by:	antoine
Sponsored by:	Absolight
2014-06-10 12:14:12 +00:00
Hajimu UMEMOTO
6eb75a1c3f Install the manpages of HTML version which were no longer installed
accidentally at the time of stagefy.
2014-06-05 14:58:34 +00:00
Hajimu UMEMOTO
0315bf40f3 Update LICENSE. 2013-12-30 16:01:04 +00:00
Hajimu UMEMOTO
f16aa8c76d use modern OPTIONS helper. 2013-10-14 17:21:23 +00:00
Hajimu UMEMOTO
1ba51ef48f avoid package name collisions.
Spotted by:	bapt
2013-10-05 18:35:40 +00:00
Hajimu UMEMOTO
7c59d28f6c - enable stage.
- use new LIB_DEPENDS format.
2013-10-05 17:52:49 +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
Andrej Zverev
dcf99688a1 - convert to the new perl5 framework
- convert USE_GMAKE to Uses

Approved by:	portmgr (bapt@, blanket)
2013-09-15 07:14:12 +00:00
Hajimu UMEMOTO
846a3072ea Add Cyrus man pages to manpath.
PR:		ports/180362
2013-07-15 19:44:20 +00:00
Andrej Zverev
8c7d7ff2bd - lang/perl5.12 upgrade to 5.12.5
- lang/perl5.14 upgrade to 5.14.4
- lang/perl5.16 upgrade to 5.16.3
- Global modify SITE_PERL[1][2]

[1] - See more info:
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=26605+0+archive/2013/freebsd-perl/20130609.freebsd-perl
[2] - Fix for mail/cyrus-imapd* - Approved by portmrg(bapt@)

Please, see ports/UPDATING for upgrade procedure.

Reviewed by:	bapt@ (exp-run), culot@
2013-06-12 13:00:55 +00:00
Martin Matuska
b2c4fbb77a Update PCRE to 8.32
Introduces the UTF-32 library pcre32
Bump PORTREVISION in dependent ports
2012-12-10 19:11:11 +00:00
Hajimu UMEMOTO
dda3fab6a5 Update cyrus-sasl2 to 2.1.26.
This bumps shlib version of libsasl2.
2012-12-10 15:10:02 +00:00
Doug Barton
9aac569eaa Move the rc.d scripts of the form *.sh.in to *.in
Where necessary add $FreeBSD$ to the file

No PORTREVISION bump necessary because this is a no-op
2012-08-05 23:19:36 +00:00
Andrej Zverev
e6353d0b3d - Remove SITE_PERL from *_DEPENDS
Approved by: portmgr@ (bapt@)
2012-06-29 16:47:42 +00:00
Hajimu UMEMOTO
e317ca1cff Convert to use new OPTIONS framework. 2012-06-12 17:39:22 +00:00
Martin Matuska
dbbf004162 Bump pcre library dependency due to 8.30 update 2012-02-14 12:45: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
Hajimu UMEMOTO
949003713d Make it buildable with clang. 2012-01-07 18:25:29 +00:00
Hajimu UMEMOTO
770b66d06e Update to 2.3.18. 2011-10-05 16:11:13 +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
Hajimu UMEMOTO
f3fb67d98e Specify the version number explicitly in the file name of
the 3rd party's auto* patches, sigh.
2011-09-15 11:29:38 +00:00
Hajimu UMEMOTO
b5f99d8a45 Update to 2.3.17. 2011-09-14 11:19:36 +00:00
Sylvio Cesar Teixeira
c9e4736d26 - Chase net-snmp shlib version bump. 2011-07-28 12:43:22 +00:00
Olli Hauer
c5284f2b4e - remove MD5 2011-07-03 13:53:52 +00:00
Hajimu UMEMOTO
7dab3d2942 Make it buildable with perl 5.14.0. Perl 5.14.0 doesn't define
sv_undef, sv_yes nor sv_no, anymore.
2011-05-20 12:17:03 +00:00
Ade Lovett
4a8684e352 Sync to new bsd.autotools.mk 2010-12-04 07:34:27 +00:00
Hajimu UMEMOTO
d97299712d Use PCRE explicitly. If PCRE was installed, the header of PCRE was
picked upped.  However, since there was bash-ism in the configure
script, libpcre was not linked, correctly.  As the result, the regex
in our libc was used, but the header of PCRE was referred.
2010-11-26 15:23:45 +00:00
Ade Lovett
6abd00a86b Punt autoconf267->autoconf268 2010-10-16 11:52:47 +00:00
Martin Matuska
f25cf7ccd8 Add optional UoA patches:
- Autocreate INBOX patch
- Autosievefolder patch

PR:		ports/150719
Approved by:	maintainer (timeout)
2010-10-05 19:13:35 +00:00
Ade Lovett
8262a7b51d Autotools update. Read ports/UPDATING 20100915 for details.
Approved by:	portmgr (for Mk/bsd.port.mk part)
Tested by:	Multiple -exp runs
2010-09-15 18:35:24 +00:00
Sylvio Cesar Teixeira
da2897022c - Chase net-snmp shlib bump 2010-06-02 19:14:17 +00:00
Hajimu UMEMOTO
cad2b8b876 Make it buildable with db50. 2010-05-27 15:41:43 +00:00
Hajimu UMEMOTO
5c86cc70db Fix build with enabling DRAC on FreeBSD 7.X and earlier.
Submitted by:	kuriyama
2010-04-10 04:35:00 +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
Jun Kuriyama
532f86b38a - Revert post-build: target because there are patch-*::Makefile.PL
files for same purpose (but supported only old ExtUtils::MakaMaker,
  I updated them to work with 5.10.1 in previous commit).

Discussed with:	skv
2010-02-07 10:56:33 +00:00
Jun Kuriyama
31554d138a - Unbreak with perl5.10.
Approved by:	ume
2010-02-06 04:49:52 +00:00
Sergey Skvortsov
46b21ca446 Do not update "perllocal.pod" (to make Tinderbox happy).
Approved by:	pav (implicit)
2010-02-05 17:42:25 +00:00
Hajimu UMEMOTO
bb8bfa965a Fix build with MySQL option is enabled.
Submitted by:	Jonathan Frazier <jfrazier__at__purpleheartservices.com>
2009-12-24 12:14:42 +00:00
Hajimu UMEMOTO
57baf6eab6 The patch to configure.in is required only when WITH_DRAC=YES and
FreeBSD 8.X and later.
2009-12-21 16:07:47 +00:00
Hajimu UMEMOTO
60366b3953 Update to 2.3.16. 2009-12-21 15:39:10 +00:00