ports/57609: [Maintainer Patch] Port: lang/php4
Dirk Meyer
dirk.meyer at dinoex.sub.org
Mon Oct 6 03:40:30 UTC 2003
The following reply was made to PR ports/57609; it has been noted by GNATS.
From: dirk.meyer at dinoex.sub.org (Dirk Meyer)
To: FreeBSD-gnats-submit at FreeBSD.org (GNATS Filer)
Cc:
Subject: Re: ports/57609: [Maintainer Patch] Port: lang/php4
Date: Mon, 06 Oct 2003 05:34:50 +0200
Alex Dupre wrote:
> .if defined(WITH_MYSQL)
> -USE_MYSQL= yes
> +.if exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.10)
> +LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
> +.elif exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.14)
> +LIB_DEPENDS+= mysqlclient.14:${PORTSDIR}/databases/mysql41-client
> +.else
> +LIB_DEPENDS+= mysqlclient.12:${PORTSDIR}/databases/mysql40-client
> +.endif
> CONFIGURE_ARGS+=--with-mysql=${LOCALBASE}
> .endif
This breaks again all clean builds in a jail.
There is not option to build with anything elses beside mysql40-client.
Please use "USE_MYSQL" in the right place ...
or give an option to select the correct dependencies.
Please move this option before "bsd.port.pre.mk"
> .if defined(WITH_OPENLDAP)
> -USE_OPENLDAP= yes
> +.if exists(${LOCALBASE}/lib/libldap.so.1)
> +LIB_DEPENDS+= ldap.1:${PORTSDIR}/net/openldap12
> +.else
> +WANT_OPENLDAP_VER?= 21
> +LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap${WANT_OPENLDAP_VER}-client
> +.endif
> CONFIGURE_ARGS+=--with-ldap=${LOCALBASE}
> .endif
Same here.
Why set "WANT_OPENLDAP_VER", as "USE_OPENLDAP=yes" do the full job.
Please move this option before "bsd.port.pre.mk"
kind regards Dirk
- Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany
- [dirk.meyer at dinoex.sub.org],[dirk.meyer at guug.de],[dinoex at FreeBSD.org]
More information about the freebsd-ports-bugs
mailing list