Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Sep 1998 23:14:14 +0200
From:      axl@iafrica.com
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/8037: ports/security/krb5 ignores CFLAGS
Message-ID:  <E0zLwEo-00024N-00@axl.training.iafrica.com>

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

>Number:         8037
>Category:       ports
>Synopsis:       ports/security/krb5 ignores CFLAGS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 23 14:20:00 PDT 1998
>Last-Modified:
>Originator:     Sheldon Hearn
>Organization:
UUNET Internet Africa
>Release:        FreeBSD 2.2.7-STABLE i386
>Environment:

	Any system where a global CFLAGS is defined, either as an envar
	or in /etc/make.conf .

>Description:

	The krb5 port ignores local CFLAGS, whether set as an envar or
	in /etc/make.conf . The configure script supplied with the
	distfile has an option for specifying local optimization flags,
	but the port's Makefile doesn't tickle this option.

>How-To-Repeat:

	N/A

>Fix:
	
	The following patch teaches ports/security/krb5 to honour local
	CFLAGS optimizations:

Index: security/krb5/Makefile
===================================================================
RCS file: /home/ncvs/ports/security/krb5/Makefile,v
retrieving revision 1.5
diff -u -d -r1.5 Makefile
--- Makefile	1998/09/14 19:23:42	1.5
+++ Makefile	1998/09/23 21:00:17
@@ -39,7 +39,7 @@
 
 USE_GMAKE=		yes
 GNU_CONFIGURE=		yes
-CONFIGURE_ARGS?=	--enable-shared
+CONFIGURE_ARGS?=	--enable-shared --with-ccopts="${CFLAGS}"
 KRB5_KRB4_COMPAT?=	YES
 
 .if !defined(KRB5_KRB4_COMPAT) || ${KRB5_KRB4_COMPAT} == "NO"
>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?E0zLwEo-00024N-00>