ports/52413: [Unbreak Port] net/mydns (fix LIB_DEPENDS)

Alex Dupre sysadmin at alexdupre.com
Sun May 18 22:10:03 UTC 2003


>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:



More information about the freebsd-ports-bugs mailing list