Question about a failure report

Sahil Tandon sahil at tandon.net
Fri Jul 3 19:57:56 UTC 2009


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 <sahil at tandon.net>


More information about the freebsd-ports mailing list