ports/158881: comms/fldigi: Does not support CPU optimizations

Stephen Hurd shurd at sasktel.net
Thu Jul 14 01:20:08 UTC 2011


>Number:         158881
>Category:       ports
>Synopsis:       comms/fldigi: Does not support CPU optimizations
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 14 01:20:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Stephen Hurd
>Release:        8.2-RELEASE
>Organization:
>Environment:
FreeBSD stephen.hurd.local 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011     root at almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
The fldigi build system supports CPU optimizations, but the port does not.  This results in a fldigi running significantly slower than possible.
>How-To-Repeat:
Run ``make configure'' and view the output
>Fix:
Add an option to enable native optimizations like so:

OPTIONS=        NATIVE_OPT      "Enable Native Optimizations"   off

.include <bsd.port.pre.mk>
.if defined(WITH_NATIVE_OPT)
CONFIGURE_ARGS+=--enable-optimizations=native
.else
CONFIGURE_ARGS+=--enable-optimizations=none
.endif

I performed this with my local copy and the resulting binary runs with significantly less load (I also upated to .12)

Sorry I don't have a patch, but I didn't back up the original Makefile.

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list