ports/115939: mail/nmh: needs CFLAGS=-O
Poul-Henning Kamp
phk at critter.freebsd.dk
Thu Aug 30 08:20:02 UTC 2007
>Number: 115939
>Category: ports
>Synopsis: mail/nmh: needs CFLAGS=-O
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Aug 30 08:20:00 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Poul-Henning Kamp
>Release: FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD critter.freebsd.dk 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Wed Aug 29 18:38:59 UTC 2007 root@:/usr/obj/freebsd/src/sys/C5 i386
>Description:
I just installed a -CURRENT machine, and the mail/nmh port
compiles but the programs do not work.
Adding CFLAGS=-O to the makefile of the port solved the problem.
In all likelyhood this is merely a band-aid, the problem could be
in either of nmh or GCC, but without this patch the port is useless.
>How-To-Repeat:
try using any of the commands "scan", "show" or "pick"
>Fix:
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/nmh/Makefile,v
retrieving revision 1.41
diff -u -r1.41 Makefile
--- Makefile 3 Mar 2007 09:33:56 -0000 1.41
+++ Makefile 30 Aug 2007 05:30:14 -0000
@@ -65,7 +65,7 @@
GNU_CONFIGURE= yes
USE_AUTOTOOLS= autoconf:259
CONFIGURE_ARGS= --libdir=${PREFIX}/libexec/nmh \
- --sysconfdir=${PREFIX}/etc/nmh
+ --sysconfdir=${PREFIX}/etc/nmh CFLAGS=-O
.ifdef NMH_EDITOR
CONFIGURE_ARGS+= --with-editor=${NMH_EDITOR}
.endif
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list