Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Dec 2013 17:50:02 GMT
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/184666: [PATCH] mail/postfix dependency change after databases/tinycdb update
Message-ID:  <201312101750.rBAHo2Ze053954@oldred.freebsd.org>
Resent-Message-ID: <201312101800.rBAI00MH004937@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         184666
>Category:       ports
>Synopsis:       [PATCH] mail/postfix dependency change after databases/tinycdb update
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 10 18:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Pawel Pekala
>Release:        11.0-CURRENT
>Organization:
>Environment:
FreeBSD blaviken.slowicza.org 11.0-CURRENT FreeBSD 11.0-CURRENT #6 r259064M: Sat Dec  7 11:24:24 CET 2013     corn@blaviken.slowicza.org:/usr/obj/old/src/sys/GENERIC  amd64

>Description:
http://svnweb.freebsd.org/changeset/ports/335935

After this commits mail/postfix* ports link to libcdb.so dynamically
when built with CDB=on.

Proposed patch sets library dependencies to current state.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: postfix/Makefile
===================================================================
--- postfix/Makefile	(wersja 336068)
+++ postfix/Makefile	(kopia robocza)
@@ -218,7 +218,7 @@
 .endif
 
 .if ${PORT_OPTIONS:MCDB}
-BUILD_DEPENDS+=		${LOCALBASE}/lib/libcdb.a:${PORTSDIR}/databases/tinycdb
+LIB_DEPENDS+=		libcdb.so:${PORTSDIR}/databases/tinycdb
 POSTFIX_CCARGS+=	-DHAS_CDB -I${LOCALBASE}/include
 POSTFIX_AUXLIBS+=	-L${LOCALBASE}/lib -lcdb
 .endif
Index: postfix-current/Makefile
===================================================================
--- postfix-current/Makefile	(wersja 336068)
+++ postfix-current/Makefile	(kopia robocza)
@@ -216,7 +216,7 @@
 .endif
 
 .if ${PORT_OPTIONS:MCDB}
-BUILD_DEPENDS+=		${LOCALBASE}/lib/libcdb.a:${PORTSDIR}/databases/tinycdb
+LIB_DEPENDS+=		libcdb.so:${PORTSDIR}/databases/tinycdb
 POSTFIX_CCARGS+=	-DHAS_CDB -I${LOCALBASE}/include
 POSTFIX_AUXLIBS+=	-L${LOCALBASE}/lib -lcdb
 .endif
Index: postfix27/Makefile
===================================================================
--- postfix27/Makefile	(wersja 336068)
+++ postfix27/Makefile	(kopia robocza)
@@ -198,7 +198,7 @@
 .endif
 
 .if ${PORT_OPTIONS:MCDB}
-BUILD_DEPENDS+=		${LOCALBASE}/lib/libcdb.a:${PORTSDIR}/databases/tinycdb
+LIB_DEPENDS+=		libcdb.so:${PORTSDIR}/databases/tinycdb
 POSTFIX_CCARGS+=	-DHAS_CDB -I${LOCALBASE}/include
 POSTFIX_AUXLIBS+=	-L${LOCALBASE}/lib -lcdb
 .endif
Index: postfix28/Makefile
===================================================================
--- postfix28/Makefile	(wersja 336068)
+++ postfix28/Makefile	(kopia robocza)
@@ -220,7 +220,7 @@
 .endif
 
 .if ${PORT_OPTIONS:MCDB}
-BUILD_DEPENDS+=		${LOCALBASE}/lib/libcdb.a:${PORTSDIR}/databases/tinycdb
+LIB_DEPENDS+=		libcdb.so:${PORTSDIR}/databases/tinycdb
 POSTFIX_CCARGS+=	-DHAS_CDB -I${LOCALBASE}/include
 POSTFIX_AUXLIBS+=	-L${LOCALBASE}/lib -lcdb
 .endif
Index: postfix29/Makefile
===================================================================
--- postfix29/Makefile	(wersja 336068)
+++ postfix29/Makefile	(kopia robocza)
@@ -220,7 +220,7 @@
 .endif
 
 .if ${PORT_OPTIONS:MCDB}
-BUILD_DEPENDS+=		${LOCALBASE}/lib/libcdb.a:${PORTSDIR}/databases/tinycdb
+LIB_DEPENDS+=		libcdb.so:${PORTSDIR}/databases/tinycdb
 POSTFIX_CCARGS+=	-DHAS_CDB -I${LOCALBASE}/include
 POSTFIX_AUXLIBS+=	-L${LOCALBASE}/lib -lcdb
 .endif


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312101750.rBAHo2Ze053954>