From owner-freebsd-ports Wed Sep 23 14:20:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA17572 for freebsd-ports-outgoing; Wed, 23 Sep 1998 14:20:16 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA17497 for ; Wed, 23 Sep 1998 14:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id OAA18403; Wed, 23 Sep 1998 14:20:01 -0700 (PDT) Received: from axl.training.iafrica.com (axl.training.iafrica.com [196.31.1.175]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA16440 for ; Wed, 23 Sep 1998 14:14:19 -0700 (PDT) (envelope-from sheldonh@axl.training.iafrica.com) Received: from sheldonh by axl.training.iafrica.com with local (Exim 2.02 #1) id 0zLwEo-00024N-00 for FreeBSD-gnats-submit@freebsd.org; Wed, 23 Sep 1998 23:14:14 +0200 Message-Id: Date: Wed, 23 Sep 1998 23:14:14 +0200 From: axl@iafrica.com Reply-To: axl@iafrica.com To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: ports/8037: ports/security/krb5 ignores CFLAGS Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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