From owner-freebsd-ports@FreeBSD.ORG Sat Apr 17 06:20:01 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C63716A4CE for ; Sat, 17 Apr 2004 06:20:01 -0700 (PDT) Received: from mail.ebit.ca (ebit.ca [207.136.103.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FA6643D1F for ; Sat, 17 Apr 2004 06:20:01 -0700 (PDT) (envelope-from jason+lists.freebsd@lixfeld.ca) Received: from [192.168.100.66] (trek.lixfeld.ca [216.7.194.254]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mail.ebit.ca (Postfix) with ESMTP id DD1973C8013 for ; Sat, 17 Apr 2004 10:01:17 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v613) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed To: freebsd-ports@freebsd.org From: Jason Lixfeld Date: Sat, 17 Apr 2004 09:19:57 -0400 X-Mailer: Apple Mail (2.613) Subject: Modifying CPPFLAGS for a port X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Apr 2004 13:20:01 -0000 I've been digging around trying to debug an issue with OpenLDAP and I need to compile the port with -g and without -O. I can add -g into the CPPFLAGS by exporting the variable before running make, however I can't figure out where the CPPFLAGS are passed from make to the configure script for the actual source code. Can anyone give me some pointers? Thanks in advance.