mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-09 06:51:44 +00:00
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.
This commit is contained in:
parent
bdce9ecd35
commit
043d69b207
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=240955
@ -86,13 +86,16 @@ ERLANG_PLIST= ${WRKDIR}/pkg-plist
|
||||
# net_kernel:start([node_name, shortnames]) invoked repeatedly
|
||||
|
||||
CONFIGURE_ARGS+= --enable-threads --enable-dynamic-ssl-lib --enable-sctp --enable-smp-support
|
||||
NOPRECIOUSMAKEVARS= yes # Prevent exporting of "ARCH"
|
||||
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
CONFIGURE_ENV+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
PLIST_SUB+= ERTS_VSN=${ERTS_VSN} TOOLS_VSN=${TOOLS_VSN}
|
||||
|
||||
.if ${ARCH} == i386
|
||||
MAKE_ARGS+= ARCH=x86
|
||||
.endif
|
||||
|
||||
# The man-pages are put (in spite of FreeBSD's port convention) in a private
|
||||
# subdir. This is to avoid cluttering up the man page name space. Also the
|
||||
# Erlang man pages are more of internal documentation using the man format than
|
||||
|
@ -86,13 +86,16 @@ ERLANG_PLIST= ${WRKDIR}/pkg-plist
|
||||
# net_kernel:start([node_name, shortnames]) invoked repeatedly
|
||||
|
||||
CONFIGURE_ARGS+= --enable-threads --enable-dynamic-ssl-lib --enable-sctp --enable-smp-support
|
||||
NOPRECIOUSMAKEVARS= yes # Prevent exporting of "ARCH"
|
||||
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
CONFIGURE_ENV+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
PLIST_SUB+= ERTS_VSN=${ERTS_VSN} TOOLS_VSN=${TOOLS_VSN}
|
||||
|
||||
.if ${ARCH} == i386
|
||||
MAKE_ARGS+= ARCH=x86
|
||||
.endif
|
||||
|
||||
# The man-pages are put (in spite of FreeBSD's port convention) in a private
|
||||
# subdir. This is to avoid cluttering up the man page name space. Also the
|
||||
# Erlang man pages are more of internal documentation using the man format than
|
||||
|
Loading…
Reference in New Issue
Block a user