Set USE_WXNEEDED=Yes.
When running darcs record, darcs ends up with a W^X violation in newCAF() (from the ghc runtime) via system_io_mmap_file_close() (from devel/hs-mmap). This can only be fixed in the ghc runtime, which isn't trivial (and I don't want to work on it before I've updated to ghc-8). Since the problem is triggered via devel/hs-mmap, which is only used by devel/darcs, I hope that darcs is the only haskell program in our tree running into this problem (instead of changing lang/ghc to link all programs with -z wxneeded). Problem initially noticed by Francisco de Borja Lopez Rio.
This commit is contained in:
parent
82a7f08d5c
commit
1a68f2146c
@ -1,11 +1,14 @@
|
||||
# $OpenBSD: Makefile,v 1.64 2016/09/03 10:28:22 kili Exp $
|
||||
# $OpenBSD: Makefile,v 1.65 2016/09/03 10:43:21 kili Exp $
|
||||
|
||||
# Needs template Haskell in Setup.lhs, which doesn't work on i386.
|
||||
NOT_FOR_ARCHS = i386
|
||||
|
||||
USE_WXNEEDED = Yes
|
||||
|
||||
COMMENT = advanced revision control system written in Haskell
|
||||
|
||||
DISTNAME = darcs-2.10.3
|
||||
REVISION = 0
|
||||
|
||||
CATEGORIES = devel
|
||||
HOMEPAGE = http://www.darcs.net/
|
||||
|
Loading…
x
Reference in New Issue
Block a user