Commit graph

451 commits

Author SHA1 Message Date
Jimmy Olgeni
d8d24faf9c In elixir.mk, add MIX_REWRITE and ELIXIR_LIB_ROOT.
ELIXIR_LIB_ROOT is the default Elixir library path in LOCALBASE.

If MIX_REWRITE is defined, all optional dependencies will be stripped
out (test, doc, etc.), while all required libs will be converted to
actual code paths in ELIXIR_LIB_ROOT.

For example, it will turn the following dependency definitions:

 defp deps do
    [
      { :inflex, "~> 1.0" },
      { :estree, "~> 2.0" },
      { :shouldi, only: :test },
      { :earmark, "~> 0.1", only: :dev },
      { :ex_doc, "~> 0.7", only: :dev }
    ]
  end

into these:

  defp deps do
    [
      { :inflex, path: "/usr/local/lib/elixir/lib/inflex", compile: false },
      { :estree, path: "/usr/local/lib/elixir/lib/estree", compile: false },
    ]
  end

Setting MIX_REWRITE allows escriptize to bundle all dependencies in the
script, else it will not be able to pull them from the usual code path.

It already works for all Elixir ports and should make patches to mix.exs
unnecessary, but for now the default is off.

Sneak in a whitespace fix while I'm here.
2015-07-14 23:05:31 +00:00
Brad Davis
94f1a3fc69 Add support for USES= compiler:c++14
PR:		201076
Approved by:	bapt, bdrewery (mentor)
2015-07-14 20:32:14 +00:00
Jimmy Olgeni
d270a866c3 The correct default for ELIXIR_HIDDEN is ELIXIR_APP_NAME, which
can be different from PORTNAME.
2015-07-14 17:44:22 +00:00
Jimmy Olgeni
dcbd0c3fe9 Improvements in erlang.mk:
- Replace %%PORTVERSION%% in all source files
- Fix vsn tag in app files, whatever its format
2015-07-14 10:44:50 +00:00
Jimmy Olgeni
f2a359f6d2 Add support for more variables in elixir.mk.
- MIX_ENV, which works like MAKE_ENV for Mix builds
- MIX_TARGET ("compile", etc.)
2015-07-13 11:23:37 +00:00
Jimmy Olgeni
144995b4cf Fix installation of ERL_DOCS directories. 2015-07-10 11:31:40 +00:00
Jimmy Olgeni
25ed36a940 Fix typo in variable name. 2015-07-10 10:10:09 +00:00
Jimmy Olgeni
6c1fc4bf68 Improve working of comment.
In erlang.mk, replace "none" with "no argument" in the "Valid ARGS"
example; "none" looks an actual argument.
2015-07-07 23:06:33 +00:00
Jimmy Olgeni
87825d92d3 In elixir.mk, replace custom targets with do-build and do-install. 2015-07-07 23:03:07 +00:00
Philip M. Gollucci
4c308b09f8 - Fix dependencies on docs, plperl, pltcl
postgresql93-$dep not postgresql9.3-$dep
Note, nothing uses doc, plperl, or pltcl yet

Required for PR: 201124
Approved by:     portmgr (bapt)
2015-07-07 21:31:39 +00:00
Jimmy Olgeni
6ab6493f6b Add Uses/erlang.mk.
It can handle simple Erlang libraries and applications that install
in LOCALBASE/lib/erlang/lib.
2015-07-06 21:40:11 +00:00
Sunpoet Po-Chuan Hsieh
06278b0580 - Fix regression-test: TEST_ARGS and TEST_ENV should be overwritable 2015-07-06 17:48:04 +00:00
Jimmy Olgeni
d8ae3118e5 Change the default ELIXIR_HIDDEN regexp to match PORTNAME exactly. 2015-07-04 08:53:49 +00:00
Dmitry Marakasov
01e23cfa90 - Instead of limiting effect of alias.mk to DragonFly, extend it to everything which is not FreeBSD
Submitted by:	amdmi3
Approved by:	marino (maintainer)
Differential Revision:	D2984
2015-07-03 16:54:08 +00:00
Jimmy Olgeni
708b7d3bf9 Add a new USES elixir.mk (from lang/elixir/bsd.elixir.mk) and
adjust all Elixir ports.
2015-07-03 13:59:45 +00:00
David Chisnall
b6546ca2ca Update GNUstep ports to their latest versions.
Also fix a few bits of generic infrastructure along the way.

Approved by:	bapt (mentor)
Differential Revision:	https://reviews.freebsd.org/D2961
2015-07-01 13:50:28 +00:00
John Marino
fc445b2e3f Ada Framework: Switch to gcc5-aux, upgrade 6 packages at once
The transition from gcc-aux to gcc5-aux in the Ada framework has been
blocked by the inability to build gtkada3 and, once resolved, GPS (due
to tight locking with compiler).

A few days ago, Adacore made their annual release of their main libre
products, include GPS.  However, some products were tightly coupled with
the recent compilers, so in order to upgrade, the compiler had to be
switched and dependencies require many ports to be upgraded at once:

  * lang/asis
  * devel/gnatcoll
  * devel/gps
  * x11-toolkits/gtkada3
  * www/aws
  * www/aws-demos

While the version upgrades were modest in most cases (gps, gtkada3), the
amount of work put into each port was significant.  There are too many
improvements to mention here.  A few include the removal of dynamic
package lists and incorporating gnatcoll into gps to avoid building it
twice.  A private "exp-run" was done all on all 50+ Ada ports to ensure
they still build.

Also, a new argument was added to Uses/ada.mk, "run", that pulls in the
GNAT compiler as a run depends.  This was necessary for GPS that will
not launch correctly without the compiler in place.
2015-06-23 22:20:35 +00:00
John Marino
6981fe26f0 Uses/ada.mk: "47" is no longer a valid argument
The lang/gcc47-aux compiler was removed last week, so it is being
removed as a build option for the Ada framework.
2015-06-23 10:57:16 +00:00
Antoine Brodin
7663d078ca Add USES=jpeg, to handle dependency on a jpeg library
Differential Revision:	https://reviews.freebsd.org/D1582
Reviewed by:	bapt, mat
2015-06-22 18:30:35 +00:00
Mathieu Arnold
889d0db079 Forgotten bit from r390291.
Sponsored by:	Absolight
2015-06-22 13:44:52 +00:00
Antoine Brodin
5b5deb7c36 Prevent double inclusion 2015-06-12 19:52:27 +00:00
Antoine Brodin
a6f984bc2e Fix a typo 2015-06-12 19:51:23 +00:00
Rene Ladan
332a0186e9 USES=pgsql: desupport PostgreSQL 8.4
Postgresql 8.4 expired on 2015-05-10 because upstream discontinued support for
them in July 2014.

PR:		200228
Reviewed by:	marino, portmgr (antoine)
2015-06-10 15:36:52 +00:00
Max Brazhnikov
22e7d267d7 Pass the default Python version (or the version required by port)
for CMake based ports.  By default CMake picks up the highest
available version of Python package, therefore ports which use CMake
may fail to build or link to different Python library than one could
expect (e.g. bugs 199685, 200518).
In essence this commit reverts r366996.

PR:		168159
Exp-run by:	antoine
Approved by:	mva
2015-06-10 09:23:54 +00:00
Antoine Brodin
f0d0f3d8e0 Make ports using libtool treat elftoolchain's strip the same as GNU strip
Any strip on any FreeBSD version should be able to handle stripping requested
by libtool

PR:		198611
Reviewed by:	emaste
Exp-run:	self
2015-06-08 05:59:13 +00:00
Baptiste Daroussin
a10e91b67f Always define GID, this fixes build of uidfix when building as root
Reported by:	marino (based on a sendmail failure)
Pointyhat to:	bapt
2015-06-04 11:53:06 +00:00
Kubilay Kocak
f16b7c9264 Mk/Uses/uniquefiles.mk: Clearer and less ambiguous output
Make output messaging clearer about what uniquefiles is doing
especially with regard to moving and linking (default links).

- Add "action" prefix (Move, Link) to operations performed
- Use the form "Creating unique files" for the stage summary
- Be clear that we're processing files that *need* prefixes or
  suffixes, and not moving files that *have* prefixes or suffixes"

Differential Revision:	https://reviews.freebsd.org/D2706
Reviewed by:		mat
Approved by:		mat (portmgr)
2015-06-02 03:25:00 +00:00
Mathieu Arnold
b4101d50a0 Update lang/perl5.22 to 5.22.0, and lang/perl5-devel to 5.23.0-ish.
Sponsored by:	Absolight
2015-06-01 18:55:45 +00:00
Antoine Brodin
1b85bc9332 Switch PYTHON_REL from a 3 digits number to a 4 digits number to handle
python 2.7.10

Differential Revision:	https://reviews.freebsd.org/D2639
Reviewed by:	sunpoet, mva
2015-05-26 16:47:02 +00:00
Mathieu Arnold
ec940a12b6 Welcome lang/perl5.22 to te tree, currently at 5.22.0-RC2
Changes:	https://metacpan.org/pod/release/RJBS/perl-5.22.0-RC2/pod/perldelta.pod
Sponsored by:	Absolight
2015-05-26 14:44:06 +00:00
Mathieu Arnold
14e7f7aba9 Update to v5.22.0-RC2-1-gdfd03a6.
Cleanup a bit the PKGNAMESUFFIX calculation.
Also force the PERL_PORT variable for the -devel one, in case there is more
than one with the same version.

Changes:	https://github.com/Perl/perl5/compare/v5.22.0-RC1...v5.22.0-RC2-1-gdfd03a6
Sponsored by:	Absolight
2015-05-26 12:10:11 +00:00
Dmitry Marakasov
81220e793e - Don't add @dirrm's to pkg-plists for cran:auto-plist
PR:		200341
Submitted by:	amdmi3
Approved by:	wen (maintainer)
2015-05-20 12:38:11 +00:00
Bryan Drewery
d06d8405bd Add back support for PYTHON_NO_DEPENDS that was lost in the USES=python
conversion in r364450.  This feature is still very useful for meta packages
to be able to easily depend on py-* packages using the correct PY_* vars.
For the sake of POLA retain the same name so previously working ports just work.
2015-05-15 03:54:47 +00:00
Jan Beich
83847c65aa - Update NSS and ca_root_nss to 3.19
- Update Firefox to 38.0
- Update Firefox ESR and libxul to 31.7.0
- Update Thunderbird to 31.7.0
- Update Enigmail to 1.8.2

Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.19_release_notes
Changes:	https://www.mozilla.org/firefox/38.0/releasenotes/
Changes:	https://www.mozilla.org/firefox/31.7.0/releasenotes/
Changes:	http://sourceforge.net/p/enigmail/bugs/search/?q=status%3Afixed+%26%26+_fixed%3A1.8.1
MFH:		2015Q2
Security:	https://vuxml.freebsd.org/freebsd/d9b43004-f5fd-4807-b1d7-dbf66455b244.html
2015-05-12 18:06:36 +00:00
Mathieu Arnold
3a9ebde7bd Catch up with lang/perl5-devel, add a permanent way to ask for -devel.
Sponsored by:	Absolight
2015-05-11 14:24:21 +00:00
Tijl Coosemans
6b3b61fe7d Use base system iconv.h again on FreeBSD stable/10. 2015-04-30 16:53:06 +00:00
Bryan Drewery
63408327b0 USES=xfce: Stop overriding MASTER_SITE_SUBDIR.
Add an XFCE SITE_SUBDIR abbreviation and use it forf or the xfce ports,
which removes the need to set MASTER_SITE_SUBDIR in any of them.

This fixes ports that have USES=xfce but do not use the XFCE MASTER_SITE,
namely sysutils/xfce4-bsdcpufreq-plugin.

With hat:	portmgr
2015-04-28 17:01:46 +00:00
Mathieu Arnold
fc722249ab Forgot that when I updated Perl lang/perl5-devel.
Sponsored by:	Absolight
2015-04-27 15:44:03 +00:00
Dmitry Marakasov
44b12e9ff7 - Set variables with libexecinfo preprocessor and linker flags
Differential Revision:	D2298
Reviewed by:	portmgr (bapt)
Approved by:	portmgr (bapt)
2015-04-16 14:15:12 +00:00
Baptiste Daroussin
ad02434ab8 bye lua@ 2015-04-16 12:44:17 +00:00
Mathieu Arnold
d7534a0d39 Add lang/perl5-devel, which will be the one from which the lang/perl5.xx ports
will come from, from now on.

Please, only use the -devel port for testing, not for production purposes.

Sponsored by:	Absolight
2015-04-16 11:44:21 +00:00
Tijl Coosemans
131a6f5b8d Hide _LIBICONV_VERSION when LIBICONV_PLUG is defined.
This fixes building devel/gettext-runtime with gcc from lang/gcc*.
With base system compiler gettext includes /usr/include/iconv.h but
lang/gcc* implies -I/usr/local/include and gettext calls
libiconv_set_relocation_prefix when it sees _LIBICONV_VERSION which
isn't implemented (and isn't needed) by libc iconv.

Reported by:	Dewayne Geraghty <dewayne.geraghty@heuristicsystems.com.au>
2015-04-16 10:57:57 +00:00
Martin Matuska
da24a220d3 Use "horde" as default CPE vendor for all horde applications 2015-04-15 11:13:49 +00:00
Tijl Coosemans
074ea5282a converters/libiconv:
- Remove const qualifier from iconv(3) to match POSIX:
  http://pubs.opengroup.org/onlinepubs/9699919799/functions/iconv.html
- Patch iconv.h to expose more GNU extensions when LIBICONV_PLUG is
  defined because the base system iconv supports these extensions too.

Add/remove patches to/from ports to call iconv with non-const arguments.

This breaks some ports on FreeBSD 10 because base system iconv.h still has
the const qualifier.  Fix this by letting USES=iconv add a build dependency
on converters/libiconv so ports can use its iconv.h (with LIBICONV_PLUG
defined) instead of the base system iconv.h.

This exposed some ports that link with libiconv when it is available instead
of using libc iconv.  In these cases one of the following changes has been
made:
- patch configure scripts to test for libc iconv first
- add ac_cv_lib_iconv_libiconv=no or similar to CONFIGURE_ARGS to disable
  some configure tests
- converters/wkhtmltopdf: this includes Qt4 so add a patch from devel/qt4
- lang/gcc5-aux: respect CFLAGS and friends during configure such that
  LIBICONV_PLUG is defined in the iconv test, also switch to external
  gettext
- mail/gnarwl: replace patches with CPPFLAGS/LIBS
- multimedia/ffmpeg2theora: remove iconv test from SConstruct and use
  ICONV_LIB in port Makefile instead, also fix a bug in subtitles.c
- net-im/licq: finish conversion to cmake
- net-mgmt/bandwidthd, net-mgmt/icinga, net-mgmt/nagios, net-mgmt/nagios4:
  don't need iconv
- textproc/p5-XML-TinyXML: finish conversion to USES=perl5

Other changes:
- databases/qdbm and slaves: respect CFLAGS and friends, also enable bzip2
  and lzo support
- games/ldmud: respect CFLAGS and friends
- graphics/inventor: replace some patches with MAKE_ARGS/MAKE_ENV to respect
  CFLAGS and friends, also remove FreeBSD/alpha patch and add missing xorg
  dependencies

PR:		199099
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2015-04-15 08:20:27 +00:00
Antoine Brodin
35da4891c2 - Make it possible to override _MAKE_JOBS when MAKE_JOBS_NUMBER=1
- Override it for USES=ninja
With this commit and r383571, ports using ninja and waf now respect
MAKE_JOBS_NUMBER when it's equal to 1

PR:		197910
With hat:	portmgr
2015-04-10 05:45:15 +00:00
Baptiste Daroussin
06f79b66f2 Convert bsd.gnustep.mk to USES=gnustep
Simplify gnustep ports
Hook into the regular ports framework:
- LIB_DEPENDS for library dependencies
- Use regular USE_LDCONFIG

Reuse USES=objc (automatic)
USE_GNUSTEP is now a macro to set the dependencies and build feature needed.
Accepted arguments: back base build gui

Merge deskutils/preferencepanes into deskutils/systempreferences
2015-04-09 07:44:41 +00:00
Antoine Brodin
e562cb07df Fix a typo
With hat:	portmgr
2015-04-08 18:32:18 +00:00
Baptiste Daroussin
8157e9f800 Add a new USES=waf to handle the waf building system, allowing to factorise code
Plug waf into MAKE_CMD and CONFIGURE_CMD so the regular defined targets can be
reused

Always define _MAKE_JOBS so that when bsd.port.mk will stop overwritting
_MAKE_JOBS when parallel jobs are disabled we can enforce -j1 (which is needed
to really disable parallelisation with waf

WAF_CMD has been created to allow one to override the location of the waf script
relatively to WRKSRC

CONFIGURE_TARGET is by default defined to "configure"
ALL_TARGET is by default defined to "build"
INSTALL_TARGET is by default defined to "install"

USES=waf is by default stagedir safe
2015-04-08 15:05:48 +00:00
Mathieu Arnold
4eb2c6cff0 CPE strings are all lower case. 2015-04-02 15:02:44 +00:00
Baptiste Daroussin
f8da6407a7 meta ports are always NO_ARCH 2015-04-01 17:59:57 +00:00