Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Oct 2002 11:02:22 +0200 (CEST)
From:      Volker Stolz <vs@foldr.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        edwin@mavetju.org
Subject:   ports/44375: [patch] net/freenet6 doesn't honour CC/CFLAGS
Message-ID:  <200210220902.g9M92MQq088908@lambda.foldr.org>

next in thread | raw e-mail | index | archive | help

>Number:         44375
>Category:       ports
>Synopsis:       [patch] net/freenet6 doesn't honour CC/CFLAGS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 22 02:10:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Volker Stolz
>Release:        FreeBSD 4.5-RELEASE i386
>Organization:
Lambda Core Research Facility
>Environment:
System: FreeBSD lambda.foldr.org 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Mon Aug 12 20:33:20 PDT 2002 user@jail2.johncompanies.com:/usr/src/sys/compile/6300 i386


	
>Description:
net/freenet6 has hardcoded 'gcc' in Makefile doesn't care about CFLAGS at all.
>How-To-Repeat:
>Fix:
Patch src/Makefile even some more:

--- files/patch-src-Makefile.orig	Tue Oct 22 10:55:09 2002
+++ files/patch-src-Makefile	Tue Oct 22 10:57:03 2002
@@ -1,5 +1,14 @@
---- src/Makefile.orig	Sat Sep  8 01:52:26 2001
-+++ src/Makefile	Thu Oct 11 13:01:53 2001
+--- src/Makefile.orig	Wed Dec  5 20:06:55 2001
++++ src/Makefile	Tue Oct 22 10:57:01 2002
+@@ -11,7 +11,7 @@
+ INC=.
+ BIN=../bin
+ 
+-CC=gcc -g -I$(INC) -Wall
++CC+= $(CFLAGS) -g -I$(INC) -Wall
+ 
+ pre-clean:
+ 	@if [ -f $(BIN)/tspc.conf ]; then rm -f $(BIN)/tspc.conf; fi
 @@ -22,7 +22,7 @@
  	@echo Installing tspc
  	mkdir -p $(install_bin)

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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210220902.g9M92MQq088908>