pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/49563: ABI used by dovecot2 and its plugins must match



On Wed, Jan 14, 2015 at 03:20:00PM +0000, Thomas Klausner wrote:
>  
>  Use case: you need a newer version of dovecot-foo-plugin but don't
>  want to update dovecot. You update pkgsrc and build the plugin with
>  "USE_ABI_DEPENDS=no".

Thanks for the explanation.

Is there a way to use DISTNAME of a package in its buildlink3
BUILDLINK_ABI_DEPENDS variable?

If not:

diff -u -r1.7 buildlink3.mk
--- buildlink3.mk       12 Feb 2014 23:18:07 -0000      1.7
+++ buildlink3.mk       14 Jan 2015 20:51:43 -0000
@@ -5,8 +5,11 @@
 .if !defined(DOVECOT_BUILDLINK3_MK)
 DOVECOT_BUILDLINK3_MK:=
 
+# The ABI used by dovecot2 and its plugins must match.  Therefore,
+# keep BUILDLINK_ABI_DEPENDS in sync with DISTNAME.
+#
 BUILDLINK_API_DEPENDS.dovecot+=                dovecot>=2.2.0
-BUILDLINK_ABI_DEPENDS.dovecot+=                dovecot>=2.2.10nb1
+BUILDLINK_ABI_DEPENDS.dovecot+=                dovecot>=2.2.15
 BUILDLINK_PKGSRCDIR.dovecot?=          ../../mail/dovecot2
 
 pkgbase:=      dovecot

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index