From owner-freebsd-ports@FreeBSD.ORG Fri Jul 3 19:57:56 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F8511065672 for ; Fri, 3 Jul 2009 19:57:56 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from aegis.hamla.org (aegis.hamla.org [206.251.255.39]) by mx1.freebsd.org (Postfix) with ESMTP id 5C06C8FC1E for ; Fri, 3 Jul 2009 19:57:56 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from localhost (localhost [127.0.0.1]) by aegis.hamla.org (Postfix) with ESMTP id A01235C52 for ; Fri, 3 Jul 2009 15:59:52 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tandon.net; h= user-agent:in-reply-to:content-disposition:content-type :mime-version:references:reply-to:message-id:subject:from:date :received:received:received; s=aegis; t=1246651192; bh=/KV2GT7hc WmpX3vrRpWNpWAhpGPc7p7mGMbKB1MB8Vs=; b=pfU0IOl0s4ULg4QBmbO97Z6QX fE6fJJjV2W3B+jpiddBajr8IO49FMoQFn6ztBviixfw80HmEmFZVE6v77QuppEe0 tMESYDFFmm3ENFw9lEAIWcAon9jc4heiCQdVRIxQ8JZ0UuknhNPOCTvPu6dPtSZA iD7IbuU9GEpzmbg4JQ= Received: from aegis.hamla.org ([127.0.0.1]) by localhost (aegis.hamla.org [127.0.0.1]) (amavisd-new, port 10027) with LMTP id 24i5G4Ar0J9J for ; Fri, 3 Jul 2009 15:59:52 -0400 (EDT) Received: from shepherd.hamla.org (cpe-68-174-170-210.nyc.res.rr.com [68.174.170.210]) by aegis.hamla.org (Postfix) with ESMTPSA id 5B6405C50 for ; Fri, 3 Jul 2009 15:59:52 -0400 (EDT) Received: by shepherd.hamla.org (Postfix, from userid 501) id 129BC19F9449; Fri, 3 Jul 2009 15:57:52 -0400 (EDT) Date: Fri, 3 Jul 2009 15:57:52 -0400 From: Sahil Tandon To: freebsd-ports@freebsd.org Message-ID: <20090703195752.GA37686@tandon.net> References: <23B9298D1A02526B4646B131@utd65257.utdallas.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <23B9298D1A02526B4646B131@utd65257.utdallas.edu> User-Agent: Mutt/1.5.19 (2009-01-05) Subject: Re: Question about a failure report X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-ports@freebsd.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jul 2009 19:57:56 -0000 On Fri, 03 Jul 2009, Paul Schmehl wrote: > I just got a failure report for one of my ports: security/barnyard-squil. s/squil/sguil/ :-) > That port is a slave port to security/barnyard. > > The error is: > ********************************************** > ERROR: unable to find mysql headers (mysql.h) > checked in the following places > /mysql.h > ********************************************** The configure script needs some direction. > This is what I have in the Makefile of security/barnyard: > > .if defined(WITH_MYSQL) > USE_MYSQL= yes > CONFIGURE_ARGS+= --enable-mysql > .endif > > How do I fix this since I'm using the builtin macro? In security/barnyard/Makefile, try: CONFIGURE_ARGS+= --enable-mysql \ --with-mysql-includes=${LOCALBASE}/include/mysql \ --with-mysql-libraries=${LOCALBASE}/lib/mysql -- Sahil Tandon