Bug 184666 - [PATCH] mail/postfix dependency change after databases/tinycdb update
Summary: [PATCH] mail/postfix dependency change after databases/tinycdb update
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Sahil Tandon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-10 18:00 UTC by Pawel Pekala
Modified: 2013-12-10 18:32 UTC (History)
0 users

See Also:


Attachments
file.diff (2.26 KB, patch)
2013-12-10 18:00 UTC, Pawel Pekala
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pawel Pekala freebsd_committer freebsd_triage 2013-12-10 18:00:00 UTC
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.

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-12-10 18:00:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sahil

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-12-10 18:29:31 UTC
Author: pawel
Date: Tue Dec 10 18:29:23 2013
New Revision: 336075
URL: http://svnweb.freebsd.org/changeset/ports/336075

Log:
  Links dynamically to libcdb after databases/tinycdb update
  
  PR:		ports/184666
  Submitted by:	me
  Approved by:	bapt (portmgr)

Modified:
  head/mail/postfix-current/Makefile
  head/mail/postfix/Makefile
  head/mail/postfix27/Makefile
  head/mail/postfix28/Makefile
  head/mail/postfix29/Makefile

Modified: head/mail/postfix-current/Makefile
==============================================================================
--- head/mail/postfix-current/Makefile	Tue Dec 10 18:16:51 2013	(r336074)
+++ head/mail/postfix-current/Makefile	Tue Dec 10 18:29:23 2013	(r336075)
@@ -216,7 +216,7 @@ POSTFIX_CCARGS+=	-I${LOCALBASE}/include/
 .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

Modified: head/mail/postfix/Makefile
==============================================================================
--- head/mail/postfix/Makefile	Tue Dec 10 18:16:51 2013	(r336074)
+++ head/mail/postfix/Makefile	Tue Dec 10 18:29:23 2013	(r336075)
@@ -218,7 +218,7 @@ POSTFIX_CCARGS+=	-I${LOCALBASE}/include/
 .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

Modified: head/mail/postfix27/Makefile
==============================================================================
--- head/mail/postfix27/Makefile	Tue Dec 10 18:16:51 2013	(r336074)
+++ head/mail/postfix27/Makefile	Tue Dec 10 18:29:23 2013	(r336075)
@@ -198,7 +198,7 @@ _REQUIRE+=		slapd
 .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

Modified: head/mail/postfix28/Makefile
==============================================================================
--- head/mail/postfix28/Makefile	Tue Dec 10 18:16:51 2013	(r336074)
+++ head/mail/postfix28/Makefile	Tue Dec 10 18:29:23 2013	(r336075)
@@ -220,7 +220,7 @@ POSTFIX_CCARGS+=	-I${LOCALBASE}/include/
 .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

Modified: head/mail/postfix29/Makefile
==============================================================================
--- head/mail/postfix29/Makefile	Tue Dec 10 18:16:51 2013	(r336074)
+++ head/mail/postfix29/Makefile	Tue Dec 10 18:29:23 2013	(r336075)
@@ -220,7 +220,7 @@ POSTFIX_CCARGS+=	-I${LOCALBASE}/include/
 .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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Pawel Pekala freebsd_committer freebsd_triage 2013-12-10 18:32:31 UTC
State Changed
From-To: open->closed

Committed. Thanks!