FreeBSD Bugzilla – Attachment 217181 Details for
Bug 248635
lang/spidermonkey68: Fix build on GCC architectures
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
spidermonkey68.patch (text/plain), 1.29 KB, created by
Piotr Kubaj
on 2020-08-12 22:19:48 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Piotr Kubaj
Created:
2020-08-12 22:19:48 UTC
Size:
1.29 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 544492) >+++ Makefile (working copy) >@@ -23,7 +23,7 @@ > libffi.so:devel/libffi \ > libicudata.so:devel/icu > >-USES= compiler:c++14-lang gmake localbase pathfix pkgconfig \ >+USES= compiler gmake localbase pathfix pkgconfig \ > python:2.7,build tar:xz > USE_LDCONFIG= yes > SP_VER= 68 >@@ -52,11 +52,6 @@ > > CONFIGURE_ENV+= LLVM_CONFIG=llvm-config${LLVM_DEFAULT} > >-CPP= ${LOCALBASE}/bin/clang-cpp${LLVM_DEFAULT} >-CC= ${LOCALBASE}/bin/clang${LLVM_DEFAULT} >-CXX= ${LOCALBASE}/bin/clang++${LLVM_DEFAULT} >-USES:= ${USES:Ncompiler\:*} # XXX avoid warnings >- > BINARY_ALIAS= python=${PYTHON_CMD} > > .include <bsd.port.pre.mk> >@@ -66,9 +61,14 @@ > .endif > > # Require newer Clang than what's in base system unless user opted out >-. if ${CC} == cc && ${CXX} == c++ && exists(/usr/lib/libc++.so) >+.if ${CHOSEN_COMPILER_TYPE} == gcc >+USE_GCC= yes >+.elif ${CC} == cc && ${CXX} == c++ && exists(/usr/lib/libc++.so) >+CPP= ${LOCALBASE}/bin/clang-cpp${LLVM_DEFAULT} >+CC= ${LOCALBASE}/bin/clang${LLVM_DEFAULT} >+CXX= ${LOCALBASE}/bin/clang++${LLVM_DEFAULT} > BUILD_DEPENDS+= ${LOCALBASE}/bin/clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} >-. endif >+.endif > > post-install: > ${RM} ${STAGEDIR}${PREFIX}/lib/libjs_static.ajs
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
koobs
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 248635
: 217181