Commit graph

22 commits

Author SHA1 Message Date
wiz
c7383780db Bump all packages that depend on curses.bui* or terminfo.bui* since they
might incur ncurses dependencies on some platforms, and ncurses just bumped
its shlib.
Some packages were bumped twice now, sorry for that.
2015-08-18 07:31:00 +00:00
wiz
0982effce2 Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
2015-06-12 10:48:20 +00:00
tnn
072c461ff0 needs gzip(1) during build (to unpack bundled libffi) 2015-03-17 21:15:28 +00:00
pho
e877bbb0be Leave CONF_LD_LINKER_OPTS_STAGE{0,1,2} undefined
These flags are only used for creating static GHCi libraries
(HS*.o). Setting them to ${LDFLAGS} does more harm than good because
our ${LDFLAGS} contains -Wl,* flags. It's true that
../../mk/wrapper/cmd-sink-ld transforms them but those flags will also
be baked into the compiler (see ${WRKSRC}/compiler/ghc.mk) so they
cause problems when used outside the buildlink.
2015-02-20 19:10:29 +00:00
pho
3c1f659e8a Add upstream Trac URL for our workaround to non-standard curses path 2015-02-17 09:29:17 +00:00
pho
534e7dc7ce Suppress linker warnings about compatibility syscall wrappers by using "capi" instead of "ccall"
In Haskell FFI, "ccall" is actually an interface to C ABI rather than
C API. That is, GHC generates direct references to the symbol even if
it's actually defined as a cpp macro or something like that, because
GHC knows nothing about those macros in foreign headers.

I will later send these patches to the upstream.
2015-02-13 19:28:40 +00:00
pho
3aadb59630 Use BROKEN_EXCEPT_ON_PLATFORM instead of ONLY_FOR_PLATFORM because it's merely broken on unlisted platforms, not inappropriate 2015-02-11 13:38:42 +00:00
pho
571687122f Preparing to upload some of bootkits to LOCAL_PORTS
Refactored bootstrap.mk with no semantic changes in this commit. I
will soon upload some of bootkits derived from wip/ghc to LOCAL_PORTS
but only for safe ones. Here's a note about safety:

* NetBSD/amd64, FreeBSD/i386, Darwin/ppc [SAFE]: These kits were built
  on my secured private machines under my exclusive control. I'm
  planning to upload them.

* Linux/amd64 [UNSAFE]: I built my kit for this one on a machine
  shared with my co-workers with root access. I won't upload it.

* NetBSD/i386 [UNSAFE]: I built my kit for this one on an Amazon EC2
  instance (although it's private). I won't upload it either.

For other developers, please do not upload any bootkits derived from
unsafe ones mentioned above, because they have some degree of
possibility of being compromised. And please keep in mind that
machines shared with someone or on a cloud hosting service should be
avoided for building bootkits.
2015-02-11 07:47:16 +00:00
pho
c0e976aa58 lang/ghc7 no longer requires ${PREFIX}/lib to be put into /etc/ld-elf.so.conf
The installed GHC has already been working without the ld hack. These
changes should only affect the package build so revbump isn't needed.

Makefile (CONFIGURE_ENV):
  Refactored with no semantic changes.

Makefile (post-patch):
  ${WRKSRC}/libraries/base/configure.ac is patched too.

Makefile (CHECK_SHLIBS_SUPPORTED):
  Removed the variable as the package now supports it.

Makefile (CHECK_SHLIBS_SKIP):
  Added to skip checks for dynamic Haskell libraries. See the comment
  for details.

bootstrap.mk (pre-configure):
  Use ${CONFIGURE_ENV} when configuring the stage-0 compiler. See the
  comment for details.

patches/patch-libraries_base_configure.ac:
  Added to prevent {CPP,LD}FLAGS from being clobbered. See the comment
  for details. I will send the patch to the upstream in a few days or
  weeks (or even months, depending on my busyness).
2015-02-04 06:53:18 +00:00
pho
ffc0db8654 Fix build failure that occurs when pkgsrc devel/ncurses is being used
* Formerly we were passing
  "--with-curses-includes=${BUILDLINK_PREFIX.curses}/include" to
  "${WRKSRC}/libraries/terminfo/configure". This is problematic
  because pkgsrc devel/ncurses installs headers into
  ${PREFIX}/include/ncurses, not ${PREFIX}/include, while ghc-cabal
  expects "ncurses.h" and "term.h" in ${PREFIX}/include (because we
  said so) and then it emits an error. The fix is to use
  ${BUILDLINK_INCDIRS.curses} instead of "include". Note that this
  requires my recent changes to ../../mk/curses.buildlink3.mk (r1.21)

* The "bootstrap" target now uses buildlink wrapper not to pick up
  random libraries which happened to be in "${PREFIX}/lib". Bootstrap
  binary kits should be linked with a predictable set of libraries.

* The "bootstrap" target now automatically runs through the wrapper
  phase. You no longer have to run "${MAKE} patch" manually.
2015-02-03 02:32:05 +00:00
obache
9f7db147c1 Resolve unwanted reference to ${WRAPPER_BINDIR}/ar in final package.
Bump PKGREVISION.
2014-08-03 08:14:38 +00:00
wiz
7eeb51b534 Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
2014-05-29 23:35:13 +00:00
jperkin
e9e7650572 Apply a number of fixes:
* Install the libffi libtool archive.  Whilst it is unused, it allows
    us to automatically determine the shared library suffix.

  * Switch the i386 SunOS bootstrap to .xz.

  * Use PKG_CC to build lndir to help environments where the compiler is
    not in $PATH.

  * Apply patch from Alain O'Dea to fix issues with files residing on
    read-only file systems.

  * Support shared libraries on 64-bit SunOS.

  * Fix typo in patches/patch-rts_Linker.c.

Fixes build on SunOS.  Bump PKGREVISION.
2014-05-21 16:07:59 +00:00
obache
c88438bf1f fixes platform triplet for SunOS-5.11. 2014-02-08 12:42:25 +00:00
obache
bb8824708c first command in do-configure is same as default one, so removed it
and let rest parts to be post-configure.
2014-02-01 13:08:57 +00:00
obache
dead6904a9 define and use DISTNAME to match its naming. 2014-02-01 13:06:19 +00:00
obache
ecd62f92bc Add dynamic PLIST support with USE_DESTDIR=no, and also simplify for reverse
condition.
inspired by print-PLIST.
2014-01-31 09:04:36 +00:00
obache
3c67d26cee works with builtin curses (with NetBSD-6).
Bump PKGREVISION.
2014-01-30 07:57:35 +00:00
obache
823f1854ea main DISTFILE must not be commented out. 2013-12-17 01:08:30 +00:00
obache
038aeb4d82 Drop bootstrap binary from distfiles.
You can use your trusted bootstrap file as your basis.
2013-12-16 06:23:09 +00:00
obache
1749cb215f Move SITES for bootstrap binary to be below after bootstrap binary kit name is
defined.
2013-12-16 02:22:45 +00:00
obache
672727ee88 Import ghc-7.6.3 as lang/ghc7.
Based on wip/ghc, mostly worked by phonohawk, with patches from jperkin@.
And some modifications and buit of Bootstrap binaries for 7.6.3 by me.

GHC: The Glasgow Haskell Compiler.

The Glasgow Haskell Compiler is a robust, fully-featured, optimising
compiler for the functional programming language Haskell 98
(http://www.haskell.org). GHC compiles Haskell to either native code
or C. It implements numerous experimental language extensions to
Haskell, including concurrency, a foreign language interface, several
type-system extensions, exceptions, and so on. GHC comes with a
generational garbage collector, a space and time profiler, and a
comprehensive set of libraries.
2013-12-12 12:47:17 +00:00