Date: Mon, 19 May 2003 00:06:31 +0200 (CEST) From: Alex Dupre <sysadmin@alexdupre.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/52413: [Unbreak Port] net/mydns (fix LIB_DEPENDS) Message-ID: <200305182206.h4IM6VlD004423@vaio.alexdupre.com> Resent-Message-ID: <200305182210.h4IMA1qX026372@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 52413 >Category: ports >Synopsis: [Unbreak Port] net/mydns (fix LIB_DEPENDS) >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun May 18 15:10:01 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Alex Dupre >Release: FreeBSD 4.8-ALEXDUPRE i386 >Organization: >Environment: System: FreeBSD 4.8-ALEXDUPRE i386 >Description: Correctly use += instead of = for LIB_DEPENDS. >How-To-Repeat: >Fix: --- mydns.diff begins here --- --- Makefile.orig Sun May 18 13:47:17 2003 +++ Makefile Mon May 19 00:03:05 2003 @@ -29,22 +29,21 @@ .include <bsd.port.pre.mk> -.if ${OSVERSION} >= 500113 -BROKEN= "Installation fails" -.endif - .if defined (WITH_PGSQL) -LIB_DEPENDS= pq.3:${PORTSDIR}/databases/postgresql7 +LIB_DEPENDS+= pq.3:${PORTSDIR}/databases/postgresql7 CONFIGURE_ARGS+=--without-mysql PKGNAMESUFFIX= -pg .else -#LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client CONFIGURE_ARGS+=--without-pgsql PKGNAMESUFFIX= -mysql .if exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.10) -LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client +LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client +.else +.if exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.14) +LIB_DEPENDS+= mysqlclient.14:${PORTSDIR}/databases/mysql41-client .else -LIB_DEPENDS= mysqlclient.12:${PORTSDIR}/databases/mysql40-client +LIB_DEPENDS+= mysqlclient.12:${PORTSDIR}/databases/mysql40-client +.endif .endif .endif --- mydns.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305182206.h4IM6VlD004423>