From owner-freebsd-ports@FreeBSD.ORG Fri Jul 3 20:38:02 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 6C5921065678 for ; Fri, 3 Jul 2009 20:38:02 +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 492BC8FC23 for ; Fri, 3 Jul 2009 20:38:02 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from localhost (localhost [127.0.0.1]) by aegis.hamla.org (Postfix) with ESMTP id BA4705C51; Fri, 3 Jul 2009 16:39:58 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tandon.net; h= date:subject:mime-version:x-mailer:content-transfer-encoding :content-type:in-reply-to:from:message-id:references:received: received; s=aegis; t=1246653598; bh=tiPmxrRs0M/xHjKYfWdZ6GTbiaHy TQoP7MMTqUBYGys=; b=qWoaOCRYF2DfECks4RtxCjDe/MHCmOuUYo5G3U0vqgj0 m4sVVtxKFmori2cEXG/bKiOgrmjlo7FB3C4wRvZ9YlTBmFH5lci/AAY40PnNLKbp XUwZVCzm4iXWPHgd2p/KiztRmuqScsr39X4qR05NFewn+p2s/VJ+goc94d3CqnQ= 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 iKuPp8JP4bPS; Fri, 3 Jul 2009 16:39:58 -0400 (EDT) Received: from [10.155.142.250] (unknown [32.137.156.137]) by aegis.hamla.org (Postfix) with ESMTPSA id C04625C50; Fri, 3 Jul 2009 16:39:57 -0400 (EDT) References: <23B9298D1A02526B4646B131@utd65257.utdallas.edu> <4A4E6ADB.6090605@p6m7g8.com> Message-Id: From: Sahil Tandon To: "Philip M. Gollucci" In-Reply-To: <4A4E6ADB.6090605@p6m7g8.com> Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Mailer: iPhone Mail (5H11) Mime-Version: 1.0 (iPhone Mail 5H11) Date: Fri, 3 Jul 2009 16:37:55 -0400 Cc: Paul Schmehl , "freebsd-ports@freebsd.org" , Alex Goncharov Subject: Re: Question about a failure report X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jul 2009 20:38:02 -0000 On Jul 3, 2009, at 4:32 PM, "Philip M. Gollucci" wrote: > Alex Goncharov wrote: >> ,--- You/Paul (Fri, 03 Jul 2009 18:18:02 +0000) ----* >> | I just got a failure report for one of my ports: >> | security/barnyard-squil. That port is a slave port to >> | security/barnyard. >> | >> | ********************************************** >> | ERROR: unable to find mysql headers (mysql.h) >> | checked in the following places >> | /mysql.h >> | ********************************************** >> | >> | How do I fix this since I'm using the builtin macro? >> >> If you don't want to use MySQL, run `make config' in >> `security/barnyard', and uncheck MySQL. >> >> But if you want to use MySQL (which is more likely), add >> MySQL to barnyard-sguil's BUILD_DEPENDS and RUN_DEPENDS. >> >> E.g. >> >> pantera/Makefile:23:BUILD_DEPENDS+= mysql:${PORTSDIR}/databases/ >> mysql${MYSQL_VER}-server > > Rather, you should use > USE_MYSQL=yes or some version see bsd.database.mk The OP already does this in the master port so AFAIK it is not required in the slave. I believe the problem is not that MySQL is not installed, but that the underlying configure script needs help in finding the headers.