Bug 57644

Summary: [PATCH] changing CFLAGS and CPUTYPE respection of databases/mysql40-server
Product: Ports & Packages Reporter: Jens Rehsack <rehsack>
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me CC: rehsack
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch-optimized none

Description Jens Rehsack 2003-10-06 14:50:18 UTC
	This patch corrects 3 (IMHO) little issues of databases/mysql40-server
	1) "-O3 ..." is added to CFLAGS only when optimized build is wished
	   The machine admin may have reasons for wanting lower optimization.
	2) If gcc3 < 3.4 is used on x86 architecture, gcse is disabled because
	   of bugs in gcc3 < 3.4
	3) -mcpu in CFLAGS is changed into CPUTYPE?=, because the admin
	   may have it's CPUTYPE already defined in /etc/make.conf (etc.)
	   and the -mcpu flag to gcc is included in -march= which is generated
	   by bsd.cpu.mk (/usr/share/mk/). Furthermore the admin may have
	   the chance to avoid using of cpu based optimization by setting
	   NO_CPU_CFLAGS in /etc/make.conf.
Comment 1 Peter Pentchev freebsd_committer freebsd_triage 2003-10-07 10:10:49 UTC
State Changed
From-To: open->feedback

Awaiting maintainer approval.
Comment 2 Alex Dupre freebsd_committer freebsd_triage 2003-12-29 10:05:01 UTC
State Changed
From-To: feedback->closed

Patch committed, thanks! 


Comment 3 Alex Dupre freebsd_committer freebsd_triage 2003-12-29 10:05:01 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

I'm the maintainer :)