ports/125908: sysutils/tclsyslog does not build on pointyhat

Frank Fenor frank at fenor.de
Wed Jul 23 20:40:01 UTC 2008


>Number:         125908
>Category:       ports
>Synopsis:       sysutils/tclsyslog does not build on pointyhat
>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:   Wed Jul 23 20:40:01 UTC 2008
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list