Bug 109640

Summary: Mk/bsd.scons.mk: add important hind for porters
Product: Ports & Packages Reporter: Dmitry Marakasov <amdmi3>
Component: Individual Port(s)Assignee: Alexander Botero-Lowry <alexbl>
Status: Closed FIXED    
Severity: Affects Only Me CC: alexbl
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
bsd.scons.mk.patch none

Description Dmitry Marakasov 2007-02-27 19:50:04 UTC
SCons does not automatically import settings affecting build (that is, CC/CXX/CFLAGS/CXXFLAGS and others) from it's parameters nor environment, and FreeBSD ports are required to respect those settings. There is a feature, though, that makes scons import all parameters given in command line to build environment easily. Judging from scons-using ports that I've seen till now, this feature is not well known, and it is not mentioned in scons manual either, so I guess it'll be wise to mention it bsd.scons.mk as easiest and fastest way to make third party SConstruct support FreeBSD ports collection and respect system compiler/flags settings.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-02-27 19:50:14 UTC
Responsible Changed
From-To: freebsd-ports-bugs->alexbl

bsd.scons.mk is alexbl territory
Comment 2 dfilter service freebsd_committer freebsd_triage 2007-03-17 12:51:17 UTC
pav         2007-03-17 12:51:12 UTC

  FreeBSD doc repository

  Modified files:
    en_US.ISO8859-1/books/porters-handbook book.sgml 
  Log:
  - Add note about Environment to Using SCons section
  
  PR:             ports/109640
  Submitted by:   Dmitry Marakasov <amdmi3@amdmi3.ru>
  
  Revision  Changes    Path
  1.809     +13 -0     doc/en_US.ISO8859-1/books/porters-handbook/book.sgml
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Alexander Botero-Lowry freebsd_committer freebsd_triage 2007-03-17 12:54:29 UTC
State Changed
From-To: open->closed

This has been added to the Porter's handbook instead