FreeBSD Bugzilla – Attachment 208562 Details for
Bug 241463
devel/scons: flavor scons for python3
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Changes to Mk/Uses/scons.mk for suppport of the :py3 argument.
scons-uses.mk.diff (text/plain), 930 bytes, created by
Ronald Klop
on 2019-10-24 12:22:32 UTC
(
hide
)
Description:
Changes to Mk/Uses/scons.mk for suppport of the :py3 argument.
Filename:
MIME Type:
Creator:
Ronald Klop
Created:
2019-10-24 12:22:32 UTC
Size:
930 bytes
patch
obsolete
>--- Mk/Uses/scons.mk.orig 2019-10-24 14:13:28.190937000 +0200 >+++ Mk/Uses/scons.mk 2019-10-24 14:08:14.983317000 +0200 >@@ -10,13 +10,28 @@ > .if !defined(_INCLUDE_USES_SCONS_MK) > _INCLUDE_USES_SCONS_MK= yes > >-.if !empty(scons_ARGS) >-IGNORE= Incorrect 'USES+= scons:${scons_ARGS}' scons takes no arguments >+# Make sure that no dependency or some other environment variable >+# pollutes the build/run dependency detection >+.undef _SCONS_PYTHON3_DEP >+_SCONS_ARGS= ${scons_ARGS:S/,/ /g} >+.if ${_SCONS_ARGS:Mpy3} >+_SCONS_PYTHON3_DEP= yes >+_SCONS_ARGS:= ${_SCONS_ARGS:Npy3} > .endif > >+_SCONS_PYTHON3_DEP=no >+ >+.if !empty(_SCONS_ARGS) >+IGNORE= Incorrect 'USES+= scons:${_SCONS_ARGS}' unknown argument >+.endif >+ > SCONS= ${LOCALBASE}/bin/scons > >+.if ${_SCONS_PYTHON3_DEP} == "yes" >+BUILD_DEPENDS+= ${SCONS}:devel/scons-py3 >+.else > BUILD_DEPENDS+= ${SCONS}:devel/scons >+.endif > > ALL_TARGET= # > CCFLAGS?= ${CFLAGS}
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
Actions:
View
|
Diff
Attachments on
bug 241463
:
208562
|
208563
|
208564
|
208682
|
208730
|
208731
|
210285
|
212879
|
213623