Skip site navigation (1)Skip section navigation (2)
Date:      24 Dec 2006 05:32:11 -0200
From:      Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        ume@FreeBSD.org
Subject:   ports/107164: [patch:fix] sysutils/gkrellm2: CC/CXX safeness
Message-ID:  <20061224073234.81537.qmail@exxodus.fedaykin.here>
Resent-Message-ID: <200612240800.kBO80Q2l074584@freefall.freebsd.org>

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

>Number:         107164
>Category:       ports
>Synopsis:       [patch:fix] sysutils/gkrellm2: CC/CXX safeness
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 24 08:00:25 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Mario Sergio Fujikawa Ferreira
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD exxodus.fedaykin.here 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #19: Thu Dec 21 19:00:25 BRST 2006 lioux@exxodus:/usr/src-6.x/sys/i386/compile/LIOUX i386

>Description:

	Enforce CC/CXX safeness when building the port.

>How-To-Repeat:

	Just rebuild the port sysutils/gkrellm2 with CC set to
anything different than CC=cc inside /etc/make.conf to verify that
the port does not honor CC.

>Fix:

--- patch begins here ---
--- Makefile.orig	Sun Dec 24 05:26:33 2006
+++ Makefile	Sun Dec 24 05:27:06 2006
@@ -22,6 +22,8 @@
 
 USE_RC_SUBR=	gkrellmd.sh
 
+MAKE_ENV+=	CC=${CC} \
+		CXX=${CXX}
 WRKSRC=		${WRKDIR}/${DISTNAME:C/[a-z]$//}
 
 .if defined(WITH_GNUTLS) && defined(WITH_OPENSSL)
--- patch ends here ---

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



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