Use only wxneeded for the flavors with JIT.
This commit is contained in:
parent
a14c6a3fed
commit
b9141b1e04
@ -1,9 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.49 2018/08/08 19:44:13 juanfra Exp $
|
||||
|
||||
# The signal handler used to avoid wxneeded only works on amd64
|
||||
.if ${MACHINE_ARCH} != "amd64"
|
||||
USE_WXNEEDED = Yes
|
||||
.endif
|
||||
# $OpenBSD: Makefile,v 1.50 2018/08/13 23:26:55 juanfra Exp $
|
||||
|
||||
PORTROACH_COMMENT = hide pre-release versions (e.g. 6.1.90.900)
|
||||
PORTROACH = limit:!.*\.[0-9][0-9][0-9]-src-builtpkgs$$
|
||||
@ -13,7 +8,7 @@ ONLY_FOR_ARCHS = aarch64 amd64 arm i386 mips64el powerpc sparc64
|
||||
COMMENT = multi-paradigm programming language
|
||||
|
||||
V = 7.0
|
||||
REVISION = 0
|
||||
REVISION = 1
|
||||
PKGNAME = racket-minimal-$V
|
||||
DISTFILES = racket-minimal-$V-src-builtpkgs${EXTRACT_SUFX} \
|
||||
racket-openbsd-1${EXTRACT_SUFX}
|
||||
@ -68,14 +63,17 @@ CONFIGURE_ARGS += --disable-backtrace \
|
||||
--disable-libs \
|
||||
--disable-shared
|
||||
|
||||
.if ${MACHINE_ARCH} == "amd64"
|
||||
CONFIGURE_ENV = LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
|
||||
CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include"
|
||||
.else
|
||||
CONFIGURE_ENV = LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
|
||||
CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include -Wl,-z,wxneeded"
|
||||
# The signal handler used to avoid wxneeded for the JIT only works on amd64
|
||||
.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "powerpc"
|
||||
. if empty(FLAVOR)
|
||||
USE_WXNEEDED = Yes
|
||||
LDFLAGS_WXNEEDED = -Wl,-z,wxneeded
|
||||
. endif
|
||||
.endif
|
||||
|
||||
CONFIGURE_ENV = LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib ${LDFLAGS_WXNEEDED}" \
|
||||
CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include"
|
||||
|
||||
FLAVORS = debug no_jit
|
||||
FLAVOR ?=
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user