Commit graph

4602 commits

Author SHA1 Message Date
Bryan Drewery
9b977fa9aa - Remove -a when copying package. r329130 broke this when PACKAGES was on
NFS. It is not that important to preserve timestamp for the package, and
  other metadata seems to be fine otherwise. This whole thing needs to be
  reworked so PKGFILE is more respected (another regression of mine).

With hat:	portmgr
Reported by:	will
Pointyhat to:	bdrewery
2014-09-19 15:44:55 +00:00
Tijl Coosemans
ac209cd4f6 Improve the autoreconf documentation:
- Mention configure.in as the old name for configure.ac
- M4 macros provided by autoconf are not copied into aclocal.m4
- Autoheader does not regenerate configure (only config.h.in)
2014-09-19 12:37:48 +00:00
Bryan Drewery
2e0063b2c3 - Fix minimum pkg version check when using pkg from git. Strip out everything
after '-' as it is a hash. It is not strictly newer than the implicit 0.
- Reword msg [1]

Submitted by:	adamw [1]
With hat:	portmgr
2014-09-19 00:50:37 +00:00
Bryan Drewery
1c3c69804d Remove dead pkg_install code 2014-09-18 21:21:34 +00:00
Bryan Drewery
ff9d59c6dd Fix typo.
Submitted by:	sunpoet
With hat:	portmgr
2014-09-18 16:09:56 +00:00
Baptiste Daroussin
d7294f43fd Fix WITH_PKGNG=devel backward compatibility 2014-09-18 13:11:36 +00:00
Baptiste Daroussin
dd340e8b53 Add a minimal version testing for the installed pkg to enforce people to go to the latest version
Set minimal version to 1.3.7 for now

Differential Revision:	D723
Reviewed by:	bdrewery
2014-09-18 13:05:50 +00:00
Mathieu Arnold
46cf4bcb84 Retire MANCOMPRESSED.
Also the compat NO_INSTALL_MANPAGES shim.

Differential Revision:	https://reviews.freebsd.org/D730
Reviewed by:	antoine
With hat:	portmgr
Sponsored by:	Absolight
2014-09-18 12:31:24 +00:00
Antoine Brodin
8c8d939697 Fix typo
With hat:	portmgr
2014-09-17 19:02:59 +00:00
Tijl Coosemans
036fca0b54 Initial version of USES=autoreconf that can replace USE_AUTOTOOLS. It
runs autoreconf in CONFIGURE_WRKSRC to update configure, Makefile.in and
other build scripts.

Approved by:	portmgr (bapt)
2014-09-17 10:06:08 +00:00
Tijl Coosemans
3a1aa3c465 - Remove last uses of USE_AUTOTOOLS=libtool from bsd.gnome.mk
(lthack, ltasneededhack and ltverhack) [1]
- Remove support for USE_AUTOTOOLS=libtool and USE_AUTOTOOLS=libltdl

PR:		188978 [1]
Approved by:	portmgr (bapt)
2014-09-17 07:48:22 +00:00
Bryan Drewery
55ba7688eb - Fix off-by-one with 'make checksum' which caused it to not properly
download files from the last site (distcache).

With hat:	portmgr
2014-09-16 20:38:13 +00:00
Bryan Drewery
5e092869e2 - Continue to define PKGNG_ORIGIN.
- This is used by portupgrade and poudriere bulk/testport -i for
    install-package.
  - The change is not backwards compatible; setting PKGNG_ORIGIN was never
    intended. It is only for reading.

With hat:	portmgr
Discussed with:	bapt
2014-09-16 16:02:50 +00:00
Tijl Coosemans
fad34ea21f Turn the installation of *.la files, without some form of USES=libtool in
the port Makefile, into a stage-qa error.  All ports that would trigger
this error have been converted.  Many thanks to all people involved in
this, especially Dmitry Marakasov (amdmi3) who handled most ports.

At this moment over 2200 ports have USES=libtool and over 20000 library
dependencies between packages have been removed.

This also marks the point where :keepla is no longer special.  It is now
only needed if a port uses *.la files at run-time.

QA-run by:	antoine
Approved by:	portmgr (antoine)
2014-09-15 18:23:21 +00:00
Tijl Coosemans
66fcd054e9 Tell realpath to stay quiet if it cannot resolve a link
Approved by:	portmgr (bdrewery)
2014-09-14 18:41:53 +00:00
Steve Wills
ac2099d806 lang/ruby*: bump portrevision for libexecinfo change
I had thought the package wouldn't change, but it does
2014-09-14 16:06:06 +00:00
Bryan Drewery
5dfbd0f549 Allow this to work on DragonFly which does not have the -f param for readlink(1)
Tested by:	marino
With hat:	portmgr
2014-09-13 20:25:58 +00:00
Tijl Coosemans
3ce0f21808 devel/glib12 x11-toolkits/gtk12:
- Convert to USES=libtool and bump dependent ports
- Add INSTALL_TARGET=install-strip
- Remove patches that renamed include directories and libraries so they
  didn't conflict with early development versions of glib/gtk 2.0
2014-09-13 15:11:27 +00:00
Olli Hauer
20a1167bf1 - fix DEFAULT_APACHE_VERSION,
(patch based on fix from babt)
- white space cleanup

with hat apache@
2014-09-10 21:51:25 +00:00
Gerald Pfeifer
7e422e0825 Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.

This entails updating the lang/gcc port as well as changing the default
in Mk/bsd.default-versions.mk, and it replaces the CONFLICT between the
lang/gcc and lang/gcc47 ports by lang/gcc48.

GCC now uses C++ as its implementation language and performs more
aggressive loop analysis which can be disabled via the
-fno-aggressive-loop-optimizations command-line option.

Compilation of extremely large functions has been signficantly improved,
as have interprocedural optimizations.

A new optimization level -Og has been introduced.  It addresses the need
for fast compilation and a superior debugging experience while providing
a reasonable level of run-time performance.  This should be better
suitable for development than the default -O0.

A new local register allocator (LRA) has been implemented, which replaces
the 26 year old reload pass and improves generated code quality. For now
it is active on the x86 and x86-64 targets.

AddressSanitizer, a fast memory error detector, has been added and can be
enabled via -fsanitize=address.

Each diagnostic emitted now includes the original source line and a caret
indicating the column.

The new option -Wpedantic is an alias for -pedantic, which is now deprecated.

The C++ frontend and associated run-time library libstdc++ have gained
support for many additional C++11 features.  As with previous releases
the Fortrand frontend has seen many improvements as well.

Support for the AArch64 has been added, and there are many improvements
to the x86/x86-64 backend and others.

See http://gcc.gnu.org/gcc-4.8/changes.html for an extense list of changes;
http://gcc.gnu.org/gcc-4.8/porting_to.html for information on how to port
to that new version.

PR:		192025
Tested by:	antoine (-exp runs)
2014-09-10 19:09:58 +00:00
Baptiste Daroussin
e03789435f Update bsd.mate.mk has it should have been 2014-09-10 13:53:26 +00:00
Baptiste Daroussin
9ca8faa956 zenoss is gone from the ports tree, no zenpack are left as well 2014-09-10 09:19:27 +00:00
Baptiste Daroussin
982231ed45 Finish bringing 32.0
Submitted by:	Piotr Kubaj <pkubaj@riseup.net>
2014-09-09 09:51:05 +00:00
Baptiste Daroussin
8f4c97f345 Really update to firefox 32.0 release 2014-09-09 08:35:40 +00:00
Baptiste Daroussin
f4aef6b62c Mozilla upgrades:
- Update nspr to 4.10.7
- Update ca_root_nss to 3.17 (mark as NO_ARCH while here)
- Update firefox to 32.0
- Update thunderbird to 31.1.0
- Add net-im/linux-instantbird
- Update firefox-est to 31.1.0
- Update libxul to 24.8.0
- Update seamonkey to 2.29

Submitted by:	Jan Beich for gecko@
2014-09-09 06:16:35 +00:00
Olli Hauer
71d24d5697 - revert to r366839 2014-09-08 22:09:15 +00:00
Bryan Drewery
b323faddb9 - Fix DESTDIR support.
It has been broken since r176977 in head in 2008.

PR:		172547
Submitted by:	Rob <pr@somerandom.net>
With hat:	portmgr
2014-09-08 20:44:21 +00:00
Sunpoet Po-Chuan Hsieh
3dff6f4096 - Update to 0.038
Changes:	http://search.cpan.org/dist/Module-Build-Tiny/Changes
2014-09-08 16:21:28 +00:00
Tijl Coosemans
195a414c73 Let USES=libtool also delete links to .la files (and links to links to...)
Approved by:	portmgr (antoine)
2014-09-08 12:21:50 +00:00
John Marino
eda6ebd873 bsd.port.mk: Fix typo found in EXTRA_PATCHES handling
PR:		193432
Reported by:	ian@
Approved by:	portmgr (implicit, obvious, just-fix-it)
2014-09-07 17:18:39 +00:00
Olli Hauer
bd6f9906a6 - fix build for ports defining USE_APACHE=22, USE_APACHE_(BUILD|RUN)=22
spotted by adam@
2014-09-07 15:58:05 +00:00
Pawel Pekala
a3ae0bb5a4 Fix example in my previous attempt to document COPYTREE macros
Approved by:	portmgr (not really, no-op change)
2014-09-07 15:08:06 +00:00
John Marino
6cae5241fe Removed unstaged database/firebird21-* ports
Also remove reference to them in bsd.database.mk
2014-09-06 22:55:17 +00:00
Tijl Coosemans
bb41788929 After patching configure restore the original modification time. This
avoids running makefile targets that depend on configure such as the PDF
documentation in textproc/flex.

Reported by:	hrs
Approved by:	portmgr (bapt)
2014-09-05 15:31:31 +00:00
Baptiste Daroussin
60b25c2549 Factorize USE_CSTD and USE_CXXSTD
Differential Revision:	https://reviews.freebsd.org/D722
Reviewed by:	antoine
2014-09-05 09:36:46 +00:00
Antoine Brodin
228ab58873 Change INSTALL_DATA to install with mode 644
Remove patches and hacks that were used to work around the previous
situation
This allows to stage more ports as a regular user

Differential Revision:	https://reviews.freebsd.org/D703
Reviewed by and discussed with:	bapt
With hat:	portmgr
2014-09-04 19:26:24 +00:00
Alexey Dokuchaev
bcb97284c5 Make descriptions for TTA (The True Audio) lossless audio and TooLAME MP2
audio encoder shared and thus remove them from some ports' Makefiles.
2014-09-04 14:56:40 +00:00
Alex Dupre
f23aed7bde Import PHP 5.6 branch! 2014-09-04 14:24:25 +00:00
Matthias Andree
2f530316fa Fix typo in pkg-plist generation.
Approved by: portmgr (blanket 'just fix it' approval)
2014-09-03 22:06:35 +00:00
Antoine Brodin
40574a85c1 Fix man pages in ports using python autoplist after MANEXT removal 2014-09-03 15:49:09 +00:00
Baptiste Daroussin
41729a405d This garbages collect code now useless:
- Anything related to MLINKS
- Anything related to manpages
- Anything related to NO_LATEST_LINK

Reviewed by:	antoine
Differential Revision:	https://reviews.freebsd.org/D717
2014-09-03 11:53:04 +00:00
Baptiste Daroussin
6f6b21be27 Remove extra %D 2014-09-03 06:03:24 +00:00
Baptiste Daroussin
7a9dee6dd3 Convert some @unexec to their proper equivalent in keyword 2014-09-03 05:47:19 +00:00
Baptiste Daroussin
54843cad0a Fix @dirrmtry in case PREFIX != LOCALBASE 2014-09-03 05:33:10 +00:00
Baptiste Daroussin
c4526308ea Convert rmtry into regular Keyword
Note that this allows to control when it is executed (always in post-installation)
This makes @rmtry accept both absolute path and relative path (to latest prefix/cwd)

While here now that it is not used, remove the old PLIST_REINPLACE macro

Reviewed by:	antoine
Differential Revision:	https://reviews.freebsd.org/D713
2014-09-03 05:16:13 +00:00
Chris Rees
cd51b1872e Complain properly about invalid pgsql default versions.
Please remember you need the period; 9.0 9.1 good, 90 bad, 90+ very bad!
2014-09-02 17:53:59 +00:00
Baptiste Daroussin
88c3501f19 Add home directory creation to pre-install script for USERS/GROUPS
Use @dirrmtry instead of @exec rmdir
2014-09-02 15:03:31 +00:00
Antoine Brodin
fbcb1bc222 Make check-stagedir.sh aware of (owner,group,perm) syntax for keywords
Differential Revision:	https://reviews.freebsd.org/D712
Reviewed by:	bapt
With hat:	portmgr
2014-09-02 14:36:29 +00:00
Raphael Kubo da Costa
68bc4af5c8 Update CMake to 3.0.1.
The 3.0 series is an incremental improvement over the previous 2.8 series
despite the major version number change. A list of important changes is
available at http://www.cmake.org/cmake/help/v3.0/release/3.0.0.html

On the porting side
* The minimum FreeBSD release we have to support in the ports tree is now
  recent enough that ports/168671 can finally be committed: instead of
  building and using CMake's own copies of bzip2, curl, expat, libarchive,
  liblzma and zlib, we use the versions in ports and/or the base system.

* CMake's documentation system has been changed and vastly improved at the
  cost of now depending on Sphinx. We still generate only man pages, but can
  start generating the HTML documentation in the future if desired.

* devel/cmake-gui now uses Qt5 instead of Qt4 and does not needlessly build
  the ncurses UI that is installed by devel/cmake itself.

* CMake commit 3816cd2 fixes a longstanding issue in the detection of the
  Python interpreter and its libraries, but requires us to revert a
  workaround for that in Mk/Uses/python.mk itself, effectively reverting
  the patch introduced by ports/168159.

* Similarly, a few ports had to be fixed manually due to CMake being
  stricter when parsing some files or the ports detecting Python the wrong
  way. Fortunately, they all had been fixed upstream so I just grabbed the
  appropriate commits and pointed to them in the patches.
  science/gnudatalanguage had to have its PORTREVISION bumped because
  switching to USES=cmake:outsource removed a few files from the plist that
  were not supposed to have been installed in the first place.

PR:		168671
PR:		192644
2014-09-02 12:59:54 +00:00
Steve Wills
aafb928748 lang/ruby*: remove obsolete patches
Remove no longer needed patches for ftp.
While here, fix the test target for ruby21

PR:		192998
Submitted by:	Robert Grimm <rfgrimm@gmail.com>
2014-09-02 01:13:47 +00:00