ports/184666: [PATCH] mail/postfix dependency change after databases/tinycdb update
Pawel Pekala
pawel at FreeBSD.org
Tue Dec 10 18:00:00 UTC 2013
>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 at 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:
More information about the freebsd-ports-bugs
mailing list