Commit graph

248 commits

Author SHA1 Message Date
Jimmy Olgeni
9453825888 Bring back a few docs that used to live in lang/erlang-doc. 2010-08-14 12:40:33 +00:00
Jimmy Olgeni
ceec748fb3 Display PKGMESSAGE after installation from port. 2010-08-14 12:39:08 +00:00
Jimmy Olgeni
f73236b432 Fix a few whitespace nits. 2010-08-14 12:38:26 +00:00
Jimmy Olgeni
27133a4414 Remove obsolete message about nsswitch.conf in FreeBSD 5.x (no
PORTREVISION bump, which would be overkill for this).
2010-07-23 13:23:23 +00:00
Jimmy Olgeni
b1a3b36665 Patch erlc.c to automatically pass the "-smp disable" arguments to
the Erlang runtime.

This should hopefully fix the pointyhat build hangs which seem
related to the Erlang SMP runtime (beam.smp).
2010-04-07 22:04:49 +00:00
Jimmy Olgeni
e71bc6d153 Revert 1.152, which cannot possibly work until erl is installed in ${LOCALBASE}...
Pointy hat to:	olgeni
2010-04-07 15:01:53 +00:00
Jimmy Olgeni
75a94fd4b2 Disable SMP when running erlc (it hangs at least on pointyhat builds). 2010-04-07 14:33:40 +00:00
Dirk Meyer
de78af3ac5 - update to 1.4.1
Reviewed by:	exp8 run on pointyhat
Supported by:	miwi
2010-03-28 06:47:48 +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
Jimmy Olgeni
f1ae00508b Add missing emacs files.
Obtained from:	Nico Kruber <kruber at zib dot de>
2010-03-20 20:20:59 +00:00
Jimmy Olgeni
94492cc4a7 Upgrade to version r13b04.
Obtained from:	vanilla (with additional SCTP fix)
2010-03-15 15:30:57 +00:00
Dirk Meyer
ca9c60461c - update to jpeg-8 2010-02-05 11:46:55 +00:00
Jimmy Olgeni
1d755807c4 Add OPTIONS support.
Obtained from:	Jim Wagner <jwagner graffadmin com>
2010-01-28 12:27:01 +00:00
Jimmy Olgeni
c283c902d4 Remove extra whitespace, use tabs only. 2010-01-03 14:41:32 +00:00
Martin Wilke
8ca9f0d689 - Convert NOMANCOMPRESS to NO_MANCOMPRESS to sync with src
PR:	ports/136065 ports/127469
Submitted by:	N.J. Mann <njm@njm.me.uk> and Aldis Berjoza <killasmurf86@gmail.com>

- Early identify port CONFLICTS

PR:	137855
Submitted by:		Piotr Smyrak <smyru@heron.pl>

- Add --no-same-permissions to the EXTRACT_AFTER_ARGS command.

Tijl Coosemans has been reported an issue that when root is extracting from the
tarball, and the tarball contains world writable files
(sysutils/policykit as an example), there is a chance that the files
gets changed by malicious third parties right after the extraction,
which makes it possible to inject code into the package thus compromise
the system.

Submitted by:	Tijl Coosemans <tijl@coosemans.org> Xin LI (delphij@)

- Fix some whitespaces

Tested with:	exp-run
2009-12-29 10:25:55 +00:00
Jimmy Olgeni
5a830433de Upgrade to version R13B03.
Obtained from:	Kenji Rikitake <kenji.rikitake at acm.org> (mostly)
2009-11-27 13:21:58 +00:00
Jimmy Olgeni
87d714407b Improve Emacs indentation code (the try/after clause is now handled correctly.)
Obtained from:	Steve Vinoski <vinoski at gmail.com>
2009-10-26 17:45:08 +00:00
Jimmy Olgeni
ce4c3e4256 Upgrade to version R13B02.
Feature safe:	yes
2009-09-22 15:57:20 +00:00
Jimmy Olgeni
363cc2203e Add "buildplt" target to Makefile. When invoked, it builds a full
PLT database in the user's home directory for the dialyzer application.
However, this operation is very expensive and should only be performed
if necessary, as dialyzer already provides a minimal PLT by default.
2009-09-06 13:34:11 +00:00
Jimmy Olgeni
043d69b207 Remove NOPRECIOUSMAKEVARS; when ARCH is i386, set ARCH=x86 in MAKE_ARGS.
If the Erlang port was built as a dependency of another port,
ARCH=i386 was set for some reason and the Hipe build would fail.
2009-09-06 13:29:38 +00:00
Jimmy Olgeni
25fd74dc20 Use "+=" rather than "=" when modifying CONFIGURE_ENV. 2009-09-06 13:20:07 +00:00
Dirk Meyer
eca78ec61b - bump all port that indirectly depends on libjpeg and have not yet been bumped or updated
Requested by:	edwin
2009-07-31 13:57:52 +00:00
Doug Barton
0175383f0a Fix a few "bad example" problems in the rc.d scripts that have been
propogated by copy and paste.

1. Primarily the "empty variable" default assignment, which is mostly
${name}_flags="", but fix a few others as well.
2. Where they are not already documented, add the existence of the _flags
(or other deleted empties) option to the comments, and in some cases add
comments from scratch.
3. Replace things that look like:
prefix=%%PREFIX%%
command=${prefix}/sbin/foo
to just use %%PREFIX%%. In many cases the $prefix variable is only used
once, and in some cases it is not used at all.
4. In a few cases remove ${name}_flags from command_args
5. Remove a long-stale comment about putting the port's rc.d script in
/etc/rc.d (which is no longer necessary).

No PORTREVISION bumps because all of these changes are noops.
2009-07-15 16:56:10 +00:00
Jimmy Olgeni
56d091e0c5 The per-thread last floating point exception pointer is not initialized
to NULL when it is allocated. As a result, spurious floating point
exceptions are reported.

Obtained from:	David Reiss <dreiss at cs.stanford.edu>
2009-07-01 14:58:04 +00:00
Jimmy Olgeni
90dfafc410 Add bugfix for ei_decode_big.
"The high order bits of the 16-bits digit (short) are read, even if
the byte (at u[(i*2)+1]) doesn't belong to the big. In other words,
big numbers such as 16#1234567890 with an odd number of bytes are
decoded with a garbage byte (i.e. 16#XX1234567890)."

http://erlang.org/pipermail/erlang-bugs/2008-October/001023.html

Obtained from:	Paul Guyot <pguyot at kallisys.net>
2009-06-13 10:02:42 +00:00
Jimmy Olgeni
7f9a84b15a files/patch-lib_compiler_src_beam__utils.erl:
Fix "Internal consistency check failed" compiler error.

Obtained from:  Bjorn Gustavsson <bgustavsson at gmail.com>

files/patch-lib_inets_src_http__client_http.erl:

The process would hang because {stream,{self,once}} is not recognized as an invalid option.

Obtained from:  Adam Kocoloski <adam.kocoloski at gmail.com>
2009-06-12 15:24:53 +00:00
Jimmy Olgeni
f3997962d5 Unbreak PLIST for erlang-lite. 2009-06-11 16:35:12 +00:00
Jimmy Olgeni
1c7d0a59d7 Mark as MAKE_JOBS_UNSAFE.
PR:		ports/135479
Submitted by:	Dmitry Marakasov <amdmi3 at amdmi3.ru>
2009-06-11 16:32:24 +00:00
Jimmy Olgeni
82e145a3ca Upgrade to version R13B01. 2009-06-11 11:02:16 +00:00
Jimmy Olgeni
9b534d30b7 Remove dependency on GCC 4.3: allow proper CFLAGS to reach lib/wx/configure.
Obtained from:	vanilla
2009-06-10 15:57:29 +00:00
Jimmy Olgeni
5cb1b050fd Bump PORTREVISION due to the recent PLIST changes.
Noticed by:	itetcu
2009-06-04 12:19:13 +00:00
Jimmy Olgeni
47556d902f Restore installation of erl_call. 2009-06-04 11:20:54 +00:00
Jimmy Olgeni
38840ddaa2 Add missing application: erts-5.7.1.
Noticed by:	QAT
2009-06-04 10:32:57 +00:00
Jimmy Olgeni
2db8b34da3 Upgrade to version R13B.
Submitted by:	Kenji Rikitake <kenji.rikitake at acm.org> (with a few changes)
2009-06-03 13:47:15 +00:00
Martin Matuska
24bf28eff1 - Change default Tcl/Tk version to 8.5
- Bump PORTVERSION of ports affected

Tested by:	pointyhat (pav)
2009-02-23 14:46:37 +00:00
Pav Lucistnik
41d8c3385c - Remove conditional checks for FreeBSD 5.x and older 2009-01-05 20:36:33 +00:00
Jimmy Olgeni
8998cb5c9a Fix an issue related to mktime(3) returning -1 when tm_isdst is true but the timestamp cannot be represented. Previously, -1 was interpreted as a valid result leading erlang:localtime_to_universaltime/2 to return {{1969, 12, 31}, {23, 59, 59}}.
A detailed explanation may be found here:

  http://www.erlang.org/pipermail/erlang-bugs/2008-November/001077.html

Obtained from:	Paul Guyot <pguyot at kallisys.net>
2008-11-17 21:30:16 +00:00
Jimmy Olgeni
be018c77b8 The tarball was re-rolled to install the eunit.hrl file. 2008-11-06 16:19:03 +00:00
Jimmy Olgeni
b6e16d7f29 Upgrade to version R12B-5. 2008-11-05 23:32:22 +00:00
Jimmy Olgeni
867964eda1 Add correct exit code patch. 2008-11-02 14:26:41 +00:00
Jimmy Olgeni
562b026c99 Retire incorrect patch (QAT). 2008-11-02 13:59:27 +00:00
Jimmy Olgeni
a8e1a611fe Create missing empty directory from pkg-plist to avoid a pkg_delete warning.
Make sure that Install exits with 0 (restore previous patch).

No PORTREVISION change needed.
2008-11-02 13:50:08 +00:00
Jimmy Olgeni
59b4ff36d5 Unbreak SCTP support and bump PORTREVISION. 2008-11-01 19:09:27 +00:00
Jimmy Olgeni
c80784e245 Add support for Firefox and Seamonkey. 2008-11-01 19:07:47 +00:00
Jimmy Olgeni
ea4b1f31a4 Remove obsolete patches. 2008-11-01 19:06:19 +00:00
Jimmy Olgeni
7709499828 Remove obsolete patch. 2008-11-01 16:38:07 +00:00
Jimmy Olgeni
03fa4537d8 Upgrade to version R12B-4. 2008-09-05 19:35:57 +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
Jimmy Olgeni
498a2e406f Upgrade to version R12B-3. 2008-06-14 23:39:49 +00:00
Edwin Groothuis
090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00
Jimmy Olgeni
d12581d188 Portlint:
FATAL: Makefile: [55]: use a tab (not space) after a variable name
2008-06-05 23:50:18 +00:00
Jimmy Olgeni
943ce1c2ab Upgrade to release R12B-2. 2008-04-12 12:52:40 +00:00
Jimmy Olgeni
a7d4facdc9 Fix SSL linking issue on amd64. 2008-02-09 10:07:35 +00:00
Jimmy Olgeni
455d7f5a30 Upgrade to version R12B-1. 2008-02-07 22:40:44 +00:00
Pav Lucistnik
58745c4d07 - Mark erlang-lite BROKEN on amd64/5
Reported by:	pointyhat
2008-02-03 20:42:08 +00:00
Jimmy Olgeni
2c334d055b Upgrade to version R12B-0 with OSP1 source patch. 2007-12-23 21:57:50 +00:00
Mark Linimon
bce5b52668 Move the USE_* variables before the inclusion of bsd.port.pre.mk to fix
building in the new bsd.perl.mk order.
2007-09-08 17:14:55 +00:00
Gabor Kovesdan
42542fb076 - Remove the DESTDIR modifications from individual ports as we have a new,
fully chrooted DESTDIR, which does not need such any more.

Sponsored by:	Google Summer of Code 2007
Approved by:	portmgr (pav)
2007-08-04 11:41:30 +00:00
Jimmy Olgeni
cde3e8d520 Force use of libcrypto.so. This will fix the build on amd64 (tested on sledge).
PR:		ports/114022
Submitted by:	benno
2007-07-31 21:22:04 +00:00
Jimmy Olgeni
f9269d328d * Use gcc(1) rather than ld(1) to link the crypto_drv.so port driver, else the Erlang runtime would fail to load it.
* Use the correct struct member when compiling SCTP support (this should unbreak CURRENT).

Submitted by:	dumbbell
2007-07-02 20:47:53 +00:00
Jimmy Olgeni
2d150227e5 Upgrade to version R11B-5. 2007-06-14 12:37:11 +00:00
Jimmy Olgeni
f4581821cf Add missing patch after R11B-5 upgrade. 2007-06-14 12:36:16 +00:00
Jimmy Olgeni
2dbd0edfe8 Add missing files.
Noticed by:	kris
2007-06-01 09:36:32 +00:00
Jimmy Olgeni
94780d7021 Upgrade to version R11B-4. 2007-05-28 23:49:30 +00:00
Florent Thoumie
d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00
Pav Lucistnik
cfa7269b11 - Convert existing ports to a new bsd.tcl.mk order
PR:		ports/109097
Submitted by:	Martin Matuska <martin@matuska.org>
Tested on:	pointyhat exp-run
2007-04-02 22:56:15 +00:00
Jimmy Olgeni
54a7124a42 Fix formatting exception in io:format.
Obtained from:	Hans Bolinder <hans.bolinder(at)ericsson.com>
2007-02-23 20:14:54 +00:00
Jimmy Olgeni
4dbeec9af9 The Erlang runtime could occasionally segfault when writing erl_crash.dump
files, due to a fixed size buffer. Using encode_size_struct will fix it.

Obtained from:	Christopher Faulet <christopher.faulet(at)capflam.org>
2007-02-20 21:20:42 +00:00
Jimmy Olgeni
f794385d8f Remove some debug code that was included into the release. 2007-02-20 19:38:32 +00:00
Jimmy Olgeni
7cdaeed6ed Fix "edoc: error in layout 'edoc_layout'" issue.
Obtained from:	Bertil Karlsson <bertil.karlsson(at)ericsson.com>
2007-02-15 20:57:03 +00:00
Jimmy Olgeni
2bf5249dbc Fix http:request error.
Obtained from:	Ingela Anderton Andin <ingela(at)erix.ericsson.se>
2007-02-15 20:56:21 +00:00
Jimmy Olgeni
0c93d484e6 Fix dialyzer_init_plt path. 2007-02-08 22:41:36 +00:00
Jimmy Olgeni
39a9b99bbc Upgrade to version R11B-3. 2007-02-02 13:07:42 +00:00
Jimmy Olgeni
67ee9077e7 Fix R11B-2 SMP timer race condition bug.
Obtained from:	Rickard Green <rickard.s.green(at)ericsson.com>
2006-12-31 23:27:18 +00:00
Jimmy Olgeni
34b6cd81a7 Improve pkg-message management using SUB_FILES. 2006-12-12 13:49:02 +00:00
Jimmy Olgeni
727f1fa132 Portlint: move PORTREVISION. 2006-12-12 10:57:59 +00:00
Jimmy Olgeni
01c5ff695a Portlint: whitespace fixes. 2006-12-12 10:57:16 +00:00
Jimmy Olgeni
87ce2964ee Disable automatic PLT generation. Add the following patches:
* patch-lib_dialyzer_src_Makefile

  Avoid computing the PLT when building the port. It may take so
  long that the port building cluster thinks this is a runaway port.

* patch-lib_dialyzer_src_dialyzer__cl.erl

  Trick dialyzer into building the PLT even after the port is installed.

* patch-lib_dialyzer_src_dialyzer__cl__parse.erl

  Let every user have his own initial PLT in ~/.dialyzer_init_plt.
  When dialyzer is invoked the PLT will be rebuilt if needed.

This commit will fix both ports/105869 and the pointyhat port checks.
2006-12-11 17:28:59 +00:00
Jimmy Olgeni
68d867330e Upgrade to release R11B-2.
Support for kqueue has been disabled. From the release notes:

http://www.erlang.org/download/otp_src_R11B-2.readme

"Note: configure will refuse to enable kernel poll support on FreeBSD since kqueue have problems with (at least) pipes on all version of FreeBSD that we have tested."
2006-11-25 16:47:07 +00:00
Kris Kennaway
4492170cbd BROKEN on sparc64: does not build 2006-11-17 06:45:48 +00:00
Jimmy Olgeni
b5c6ae5f82 Restore patch-erts_configure: this should fix the amd64 build.
Noticed by:	infofarmer
2006-09-12 22:41:00 +00:00
Jimmy Olgeni
0a4d0c6db9 Update version number. 2006-09-07 13:11:48 +00:00
Jimmy Olgeni
349535f180 Upgrade to version R11B-1. 2006-09-07 12:00:50 +00:00
Erwin Lansing
50513d5d52 Add support for DESTDIR part I.
This commit should largele be a NOOP as it only adds support
for DESTDIR undefined. This does allow us to start testing
ports with DESTDIR set, but this is as of yet not supported.

Although this has been extensively tested on pointyhat, this
is a very intrusive change and some cases may have been
overlooked. Please contact Gabor and me if you find any.

PR:             100555
Submitted by:   gabor
Sponsored by:   Google Summer of Code 2006
2006-08-04 12:34:50 +00:00
Jimmy Olgeni
19555a319e Bugfix: ssh_sftp:connect/2,3 hangs when remote the host is unknown.
Obtained from:	Dmitriy Kargapolov <dmitry.kargapolov(at)corp.idt.net>
2006-06-19 20:45:43 +00:00
Jimmy Olgeni
a305924706 Fix list matching problem on 64bit architectures.
Obtained from:	Bjorn Gustavsson <bjorn(at)erix.ericsson.se>
2006-06-19 19:26:58 +00:00
Jimmy Olgeni
c8fd0f9d39 Add sparc64 to ONLY_FOR_ARCHS.
PR:		ports/96688
Submitted by:	Shaun Amott <shaun@inerd.com>
2006-06-19 18:42:46 +00:00
Jimmy Olgeni
c6c2e621b3 Upgrade to release R11B-0. 2006-05-28 14:21:27 +00:00
Renato Botelho
af5296425d Register CONFLICTS with recently added lang/erlang-lite 2006-05-09 12:12:25 +00:00
Jimmy Olgeni
3b0a63a191 Add support for amd64 (from ports/83001, modified).
PR:		ports/83001
Submitted by:	Rasmus Kaj <kaj(at)kth.se>
2006-03-20 23:13:39 +00:00
Jimmy Olgeni
9e78844ca4 Improve OSVERSION check for threading issues, using 502102 ("5.2-CURRENT
after change of default thread library from libc_r to libpthread.")

PR:		ports/94161
Submitted by:	Shaun Amott <shaun(at)inerd.com>
2006-03-20 19:54:30 +00:00
Jimmy Olgeni
399fc01fad Upgrade to version R10B-10 (with dialyzer patch). 2006-03-15 16:37:05 +00:00
Ade Lovett
fe279f0df8 Bump PORTREVISION on glib12/gtk12 consumer ports to ease the upgrade path.
Discussed with:	kris
Approved by:	portmgr (implicit)
2006-03-07 08:28:06 +00:00
Jimmy Olgeni
c4fb22eedf Upgrade to current bsd.java.mk syntax. 2006-02-13 18:53:33 +00:00
Jimmy Olgeni
304c524492 * Clean up Java support.
* Use USE_TK.
* Make sure that ODBC is not built if WITHOUT_ODBC is defined.
* Disable ODBC if ${OSVERSION} < 500000.
* Fix pkg-plist using PLIST_SUB.
* Fix some portlint warnings.
2006-02-04 23:52:18 +00:00
Edwin Groothuis
0416031c9b Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by:    krion@
PR:             ports/88711 (related)
2006-01-22 02:20:05 +00:00
Jimmy Olgeni
0485346f09 Upgrade to version R10B-9. 2005-12-15 10:59:30 +00:00
Jimmy Olgeni
8cbd6f6606 Add bugfix for SSL distribution protocol.
Obtained from:	Bjorn Gustavsson <bjorn(at)erix.ericsson.se>
2005-11-10 15:12:40 +00:00
Jimmy Olgeni
a52f1c991b Add SHA256 checksums. 2005-11-10 15:10:17 +00:00
Jimmy Olgeni
a5c7af90db Upgrade to release R10B-8. 2005-10-28 19:51:49 +00:00