Commit graph

4674 commits

Author SHA1 Message Date
Baptiste Daroussin
820cfcd281 Comment out, it is not ready for prime 2014-10-08 18:28:27 +00:00
Baptiste Daroussin
2e0c90c883 Check CATEGORIES sanity directly from bsd.sanity.mk
Differential Revision:	https://reviews.freebsd.org/D917
Reviewed by:	bdrewery
2014-10-08 17:11:52 +00:00
Baptiste Daroussin
83fe4bc1ea Use bsd.sanity.mk to check for INSTALLS_SHLIB 2014-10-08 10:08:24 +00:00
Antoine Brodin
df3c805917 info keyword now handles full paths
With hat:	portmgr
2014-10-08 06:19:54 +00:00
Baptiste Daroussin
fe0b735bba Get rid of _DESKTOPDIR_REL and use DESKTOPDIR everywhere
That avoids playing with @cwd
2014-10-08 06:13:43 +00:00
Baptiste Daroussin
a8e8df12f4 Use absolute path for PORTDATA PORTDOCS and PORTEXAMPLES
That makes them @cwd safe
2014-10-08 06:06:34 +00:00
Baptiste Daroussin
856027ca8a Use absolute patch for rc scripts in plist
That avoids playing with @cwd
2014-10-08 05:54:33 +00:00
Baptiste Daroussin
fe7bca82f0 Make info files absolute patch in plist
That makes them more @cwd safe while simplifying the infra
2014-10-08 05:52:17 +00:00
Marcus von Appen
062e11b164 - Do not blindly assume PREFIX to be the same as PYTHONBASE, when creating the
egg-info entries for the plist

PR:		193811
Reported by:	6yearold@gmail.com
Exp-run by:	antoine@
With hat:	python@
2014-10-07 16:51:20 +00:00
Antoine Brodin
5b3bfaf08f Fix typo
With hat:	portmgr
2014-10-07 16:45:30 +00:00
Baptiste Daroussin
c477206edd Add a master site for libreoffice dev hosting abbreviated as LODEV 2014-10-07 12:10:39 +00:00
Baptiste Daroussin
a32ac3883f Add a use to handle gperf dependency
It uses gperf from base if it exists and its version is 3.x.x
Otherwise it uses gperf from ports
2014-10-07 09:32:53 +00:00
Tijl Coosemans
a4155c67ec Remove unused configure-autotools target from Mk/bsd.autotools.mk and
Mk/bsd.port.mk

Approved by:	portmgr (bapt)
2014-10-07 09:22:27 +00:00
Johannes Jost Meixner
758e1872cb graphics/linux-c6-libGLU: Port of CentOS 6.5's Mesa libGLU
Add port of CentOS 6.5's libGLU library. This allows several games to be used
with the new CentOS ports.

While here:
 - Add c6 libglu to Mk/bsd.linux-apps.mk
 - Add to emulators/linux-c6 as dependency, bump PORTREVISION

Differential Revision:	https://reviews.freebsd.org/D841
Approved by: swills (mentor)
Approved by: portmgr (bapt)
2014-10-07 09:07:33 +00:00
Antoine Brodin
82646f1abd Replace @dirrm/@dirrmtry with @dir in makeplist and leftovers check
Differential Revision:	https://reviews.freebsd.org/D901
Reviewed by:	bapt
With hat:	portmgr
2014-10-06 19:17:22 +00:00
Lars Engels
6d89ef33f4 Add net/linux-c6-avahi-libs and add it as a dependency of emulators/linux-c6.
Differential Revision:	D902
Approved by:		portmgr (bapt)
2014-10-06 09:48:38 +00:00
Tijl Coosemans
88c67cd38c - Update devel/libtool and devel/libltdl to version 2.4.2.418
- Patch libtool so it uses the same library version specification as on
  Darwin, Linux and other systems.  Given the version current:revision:age
  a library will be given the extension .so.major.age.revision with major
  equal to current-age.  Before libtool would use .so.current on FreeBSD.
- Patch libtoolize to remove two cases of umask 0 that caused libltdl
  files to be copied world writable (--ltdl option)
- Let USES=libtool patch this new version correctly
- Adjust all ports with USES=libtool:build and bump PORTREVISION on their
  dependent ports if a library version changed

PR:		194068
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-10-05 18:01:19 +00:00
Antoine Brodin
dd9d36338d qa.sh now needs LINUXBASE
With hat:	portmgr
2014-10-04 18:05:48 +00:00
Olli Hauer
a6fda1e7ec - fix documentation of user controlled parameters for usage in /etc/make.conf.
APACHE_PORT should be used only in combination with "DEFAULT_VERSIONS+=apache2.2"

- ripp AP_BUILDEXT, it is only used in bsd.apache.mk and not exported
2014-10-04 10:53:21 +00:00
Bryan Drewery
32852abae0 - Allow LINUXBASE for shebangs.
PR:		193878
Submitted by:	Jan Beich <jbeich@vfemail.net>
With hat:	portmgr
2014-10-03 18:47:47 +00:00
Bryan Drewery
63fc9a3edb check-plist no longer needs to check for directories owned by dependencies.
pkg-1.3.8's auto directory handling makes this a non-issue.

We should add a new check to warn of possibly needing @dir for empty dirs
though.

With hat:	portmgr
2014-10-03 18:22:46 +00:00
Bryan Drewery
36716bd31e Garbage collect dependency mtree check removed in r368803 2014-10-03 18:14:18 +00:00
Tijl Coosemans
048a74771d Autoreconf runs automake in GNU mode which requires files like AUTHORS,
NEWS and ChangeLog to exist.  Let USES=autoreconf deal with that so ports
don't have to.
2014-10-03 15:33:39 +00:00
Koop Mast
2b2a2025a8 Remove eel and ports that use it.
Eel doesn't build after the gnome3 import.
2014-10-03 10:53:39 +00:00
Baptiste Daroussin
683b331695 Switch to WITH_NEW_XORG for all supported version of FreeBSD by default 2014-10-03 08:35:28 +00:00
Bryan Drewery
89662d08b4 - Reinstate r369644 fully to add the OSVERSION==UNAME_r sanity check.
FreshPorts, portsnap and indexbuild have all been fixed.
2014-10-02 16:05:56 +00:00
Koop Mast
2a4a092e62 Also update gnomesharp dependacy in bsd.gnome.mk 2014-10-02 13:29:46 +00:00
Koop Mast
fce2bf132f Retire gnome-desktop-sharp20 it depends gnome-panel which is going away
in the GNOME 3 import.
2014-10-02 12:25:39 +00:00
Marcus von Appen
62480ffb2c - Mark INSTALLS_EGGINFO as unsupported
Differential Revision:	D843
Reviewed by:	gahr@, koobs@
Approved by:	bapt@ (portmgr)
2014-10-02 07:53:52 +00:00
Marcus von Appen
63dbcb2140 - Fix WITH_DEBUG with USES=cmake. bsd.ports.mk sets STRIP= after all Uses
files have been processed initially. If one has WITH_DEBUG=yes set, the
  INSTALL_TARGET for USES=cmake has been set already to install/strip, before
  STRIP is reset.

Differential Revision:	D875
Approved by:	makc@ (kde), bapt@ (portmgr)
2014-10-02 07:26:47 +00:00
Baptiste Daroussin
fb56c84735 Add BUNDLE_LIBS knob to prevent pkg(8) from automatically add provided shlibs 2014-10-01 22:12:32 +00:00
Tijl Coosemans
b11538d0eb Remove support for old autoconf and automake versions from USE_AUTOTOOLS:
autoconf213, autoheader213, aclocal14 and automake14

Approved by:	portmgr (bapt)
2014-10-01 15:56:54 +00:00
Steve Wills
c553ae6488 lang/ruby2*: fix dtrace support
DTrace support in ruby needs the -xnolibs flag added to the dtrace command
called during build to ensure that dtrace support is enabled even if the dtrace
kernel modules are not loaded at build time.

However, with this dtrace will be enabled on some OS versions where it will not
work, so add logic to disable it where appropriate.
2014-10-01 15:45:27 +00:00
Tijl Coosemans
fa2ef8b5ae - Add ftpmirror.gnu.org to GNU master sites (redirects to a nearby mirror)
- Update GNU alpha sites
- Set default GNU alpha subdirectory
2014-10-01 13:04:41 +00:00
Baptiste Daroussin
d401e3541b Activate New Xorg for the full 10.x branch see UPDATING for details 2014-10-01 06:41:55 +00:00
Antoine Brodin
7ed1009756 Remove obsolete PEAR_AUTOINSTALL
With hat:	portmgr
2014-09-30 23:07:10 +00:00
Baptiste Daroussin
00194c4a21 Convert bsd.horde.mk into USES=horde 2014-09-30 21:41:21 +00:00
Bryan Drewery
c2ec3419b1 Partially revert r369644 temporarily (to add the OSVERSION=sysctl kern.osreldate)
as both FreshPorts and the portsnap INDEX need updates first.
2014-09-30 18:16:37 +00:00
Bryan Drewery
9576bda613 If either of OSVERSION or UNAME_r is improperly set when building in a
jail/chroot, a number of unexpected errors can occur.

  1. autotools fixup may not run when needed. This could be avoided by always
     running it [PR 177980, 177403].
  2. Not having UNAME_r set will cause many unknown
     errors. Many ports use OSREL (derived from UNAME_r) to determine the name
     of files. This is usually also due to the port build itself using uname -r
     to derive filenames or 'built for' messages. [PR 192449, 191943] Without
     having these sanity checks it is very easy for users to get into
     situations where "everything worked" until they touch a certain port that
     reads uname(1) output or OSVERSION. It has always been necessary to define
     all of the UNAME_ vars and OSVERSION (or have a proper sys/param.h
     present), but many users do not know this.

Remove the fallback on the kernel for kern.osreldate as it easily gets the
answer wrong.

I have added sanity checks to ensure OSVERSION==OSREL==UNAME_r as these are the
most critical vars to have set properly.

Differential Revision:	https://reviews.freebsd.org/D869
PR:			177980, 177403, 192449, 191943
Reviewed by:		antoine, bapt, gjb
With hat:		portmgr
2014-09-30 16:22:05 +00:00
Raphael Kubo da Costa
4e4dc37058 Add x11/qt5-x11extras.
Qt platform-specific features for X11-based systems.

PR:		194008
Submitted by:	Jan Beich <jbeich@vfemail.net>
2014-09-29 21:24:18 +00:00
Tijl Coosemans
fe837ee6c6 Change the way USES is handled:
- Loop over USES twice, once to define all *_ARGS variables and once to
  include Uses/*.mk.  This allows all Uses/*.mk to examine arguments given
  to other USES entries.
- Always define *_ARGS (possibly empty) and replace commas with spaces.

Similar for _USES_POST.

Adjust all Uses/*.mk:
- defined(u_ARGS) becomes !empty(u_ARGS)
- Eliminate helper variables like _*_ARGS=${*_ARGS:C/,/ /g}
- Some Uses/*.mk used ":" as argument separator instead of ",", but no port
  used this form
- Uses/cran.mk: remove unused variable VALID_ARGS and USES+=fortran which
  has no effect
- Uses/twisted.mk: simplify handling of the case where neither "build" nor
  "run" arguments have been specified

PR:		193931
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-09-28 16:36:31 +00:00
Marcus von Appen
6d91b534f2 - Fix awk issue in add-plist-post, if python 3.x is the default
PR:		193966
Submitted by:	corsmith@gmail.com
With hat: 	python@
2014-09-27 07:27:26 +00:00
Tijl Coosemans
6defc67c4d Depend on lang/gccXY if users wish to use a different version of gcc by
default than lang/gcc (currently 4.8).

(I don't fully agree with this implementation but this makes something
like DEFAULT_VERSIONS+=gcc=4.9 in make.conf work correctly.)

Reported by:	Luca Pizzamiglio <luca.pizzamiglio@gmail.com>
Approved by:	gerald
2014-09-26 16:00:41 +00:00
Bryan Drewery
6611d7feaf Try to make this more clear
With hat:	portmgr
2014-09-26 00:50:14 +00:00
Bryan Drewery
6f337093e2 Tell users to update the pkg PORT
With hat:	portmgr
2014-09-25 21:29:57 +00:00
Marcus von Appen
9e9266dead - Resolve relative paths, such as path/./file.py or path/../file.py for
USE_PYTHON=autoplist, which can occur, if relative paths are set in a
  setup.py script. Those cause pkg and QA sanity checks to misbehave.
- Remove @dirrm and @dirmmtry additions for USE_PYTHON=autoplist,
  USE_PYTHON=py3kplist and egg-info entries, if USES=python is set. pkg 1.3.8
  does not need those anymore.
- Add ${PYTHON_VER} to the PLIST_SUB defaults, if USES=python is set.

PR:		193885
Differential Revision:	D812
Reviewed by:	antoine@
Exp-run by:	antoine@
With hat:	python@
2014-09-25 21:01:57 +00:00
Matthias Andree
008fe1b949 Fix shell commands in fix-packlist,
A. avoiding a bogus *** Error code 1 (ignored) on ports that
1. set at least one of the configure, modbuildtiny, or fixpacklist options
   to USES_PERL5=..., AND
2. do not create/install into
   ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/${PERL_ARCH}/auto

B. no longer masking ${FIND} trouble through the leading - on the
   Makefile commands.

PR:		193934
Approved by:	portmgr (bdrewery)
2014-09-25 20:38:32 +00:00
Tijl Coosemans
a6d2f30533 - Set CPPFLAGS and LIBS in a number of ports so configure can find libintl.h
and libintl.so.  This fixes a problem where DATADIRNAME gets an incorrect
  value which causes locale files to be installed in the wrong place.
- The only configure checks that still need to be patched are related
  to intltool so move DATADIRNAME patching from USES=pathfix to
  USE_GNOME=intlhack.

- games/klavaro: remove excessive dependencies
- japanese/libskk: add INSTALL_TARGET=install-strip
- math/libqalculate: add INSTALL_TARGET=install-strip and remove pthread
  patching
- multimedia/freetuxtv: remove excessive dependencies
- science/gramps: fix shared-mime-info use

Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-09-25 15:18:27 +00:00
Steve Wills
f1093059ba lang/ruby21: update to 2.1.3 2014-09-24 03:11:52 +00:00
Steve Wills
897642d681 lang/ruby20: update to 2.0.0p576 2014-09-24 03:11:06 +00:00