From nobody@FreeBSD.org  Wed Jul 23 20:39:50 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 36F0B1065675
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 23 Jul 2008 20:39:50 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 321078FC14
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 23 Jul 2008 20:39:50 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m6NKdntg063205
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 23 Jul 2008 20:39:49 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m6NKdn0v063204;
	Wed, 23 Jul 2008 20:39:49 GMT
	(envelope-from nobody)
Message-Id: <200807232039.m6NKdn0v063204@www.freebsd.org>
Date: Wed, 23 Jul 2008 20:39:49 GMT
From: Frank Fenor <frank@fenor.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: sysutils/tclsyslog does not build on pointyhat
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         125908
>Category:       ports
>Synopsis:       sysutils/tclsyslog does not build on pointyhat
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    beech
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 23 20:40:01 UTC 2008
>Closed-Date:    Thu Jul 24 19:46:01 UTC 2008
>Last-Modified:  Thu Jul 24 19:50:03 UTC 2008
>Originator:     Frank Fenor
>Release:        FreeBSD 7.0-PRERELEASE
>Organization:
>Environment:
>Description:
pointyhat reports the following:


====================<phase 4: make build>====================
add_pkg tcl-8.4.19,1.tbz
adding dependencies
pkg_add tcl-8.4.19,1.tbz
===>   tclsyslog-2.1 depends on shared library: tcl84 - found
===>  Configuring for tclsyslog-2.1
===>  Building for tclsyslog-2.1
cc -O2 -pipe  -fno-strict-aliasing-Wall -fPIC -I/usr/local/include/tcl8.4 -DVERSION=\"2.1\" -c tclsyslog.c
cc1: error: unrecognized command line option "-fno-strict-aliasing-Wall"
*** Error code 1

Stop in /work/a/ports/sysutils/tclsyslog/work/tclsyslog.
*** Error code 1

Stop in /a/ports/sysutils/tclsyslog.
================================================================


I am unsure, why the space between the two options is missing when pointyhat builds the port, but is in place when building this port on my 6.2 and 7.0 servers.
I attached a patch that simply adds a space in that position. I could not verify if this actually fixes the problem since I can not reproduce it.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -Nru tclsyslog.orig/Makefile tclsyslog/Makefile
--- tclsyslog.orig/Makefile	2008-04-17 16:20:23.000000000 +0200
+++ tclsyslog/Makefile	2008-07-23 22:26:59.000000000 +0200
@@ -27,7 +27,7 @@
 	@${REINPLACE_CMD} -E \
 		-e 's|CC=gcc|CC=${CC}|' \
 		-e 's|	gcc|	$${CC} $${CFLAGS}|' \
-		-e 's|CFLAGS=|CFLAGS=${CFLAGS}|' \
+		-e 's|CFLAGS=|CFLAGS=${CFLAGS} |' \
 		-e 's|LDFLAGS=-shared -L/usr/local/lib|LDFLAGS=-shared -L${PREFIX}/lib|' \
 		-e 's|PREFIX=/usr/local|PREFIX=${PREFIX}|' \
 		-e 's|INCLUDES=-I/usr/local/include|INCLUDES=-I${TCL_INCLUDEDIR}|' \


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->beech 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Jul 23 20:40:26 UTC 2008 
Responsible-Changed-Why:  
beech@ wants his PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=125908 
State-Changed-From-To: open->closed 
State-Changed-By: beech 
State-Changed-When: Thu Jul 24 19:45:50 UTC 2008 
State-Changed-Why:  
Committed, Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=125908 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/125908: commit references a PR
Date: Thu, 24 Jul 2008 19:45:32 +0000 (UTC)

 beech       2008-07-24 19:45:23 UTC
 
   FreeBSD ports repository
 
   Modified files:
     sysutils/tclsyslog   Makefile 
   Log:
   - Fix reinplace CFLAGS line
   
   PR:             ports/125908
   Submitted by:   Frank Fenor <frank@fenor.de> (maintainer)
   Reported by:    pointyhat
   
   Revision  Changes    Path
   1.2       +1 -1      ports/sysutils/tclsyslog/Makefile
 _______________________________________________
 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"
 
>Unformatted:
