ports/122449: [maintainer update] irc/epic4 breaks with system default CFLAGS

Josh Paetzel josh at tcbug.org
Fri Apr 4 16:20:04 UTC 2008


>Number:         122449
>Category:       ports
>Synopsis:       [maintainer update] irc/epic4 breaks with system default CFLAGS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 04 16:20:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Josh Paetzel
>Release:        6.3-RELEASE
>Organization:
>Environment:
FreeBSD homebase.tcbug.org 6.3-RELEASE FreeBSD 6.3-RELEASE #1: Mon Feb 11 03:00:24 UTC 2008     jpaetzel at homebase.tcbug.org:/usr/obj/usr/src/sys/HOMEBASE  i386
>Description:
epic4 breaks in strange ways with -O2, the FreeBSD default.
>How-To-Repeat:
compile epic from ports, note strange buggy behavior, /exec can cause segfaults on amd64 among other things
>Fix:
--- Makefile.old        2008-04-04 11:05:17.000000000 -0500
+++ Makefile    2008-04-04 11:07:10.000000000 -0500
@@ -7,6 +7,7 @@

 PORTNAME=      epic4
 PORTVERSION=   2.10
+PORTREVISION=  1
 CATEGORIES=    irc ipv6
 MASTER_SITES=  http://ftp.epicsol.org/pub/epic/EPIC4-PRODUCTION/ \
                http://tehran.lain.pl/epic-mirror/EPIC4-PRODUCTION/ \
@@ -28,6 +29,7 @@
 SUB_FILES=     pkg-message
 PLIST_SUB+=    PORTVERSION=${PORTVERSION}
 USE_BZIP2=     yes
+CFLAGS:=       ${CFLAGS:C/-O2/-g -O/g}

 OPTIONS=       IPV6    "IPv6 support"          on \
                TCL     "TCL support"           on \


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



More information about the freebsd-ports-bugs mailing list