Date: Tue, 17 Mar 2009 22:30:02 GMT From: Mark Starovoytov <mark_sf@kikg.ifmo.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/132761: [patch] mail/dbmail23: fix build issues with the latest libzdb Message-ID: <200903172230.n2HMU2Jn053851@www.freebsd.org> Resent-Message-ID: <200903172240.n2HMe4tq038043@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 132761 >Category: ports >Synopsis: [patch] mail/dbmail23: fix build issues with the latest libzdb >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Mar 17 22:40:04 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Mark Starovoytov >Release: FreeBSD 6.2-STABLE i386 >Organization: >Environment: FreeBSD relay.rubinrelax.spb.ru 6.2-STABLE FreeBSD 6.2-STABLE #1: Mon Jun 4 15:45:56 MSD 2007 root@relay.rubinrelax.spb.ru:/usr/obj/usr/src/sys/2828_61_03 i386 >Description: In databases/libzdb 2.4 the shared library version changed and the header installation path changed also. This fix allows successful compilation of the mail/dbmail23 port with libzdb 2.4. >How-To-Repeat: Execute make >Fix: Patch attached with submission follows: diff -urN dbmail23.orig/Makefile dbmail23/Makefile --- dbmail23.orig/Makefile Tue Jan 27 01:03:54 2009 +++ dbmail23/Makefile Wed Mar 18 01:27:14 2009 @@ -7,6 +7,7 @@ PORTNAME= dbmail PORTVERSION= 2.3.5 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= http://www.dbmail.org/download/2.3/ @@ -16,7 +17,7 @@ LIB_DEPENDS+= event-1.4:${PORTSDIR}/devel/libevent LIB_DEPENDS+= gmime-2.0.4:${PORTSDIR}/mail/gmime2 LIB_DEPENDS+= mhash.2:${PORTSDIR}/security/mhash -LIB_DEPENDS+= zdb-2.3:${PORTSDIR}/databases/libzdb +LIB_DEPENDS+= zdb.6:${PORTSDIR}/databases/libzdb CONFLICTS= dbmail-*-2.0.* dbmail-2.1.* dbmail-2.2.* @@ -34,7 +35,7 @@ USE_GNOME= glib20 pkgconfig USE_OPENSSL= YES -CFLAGS+= -fPIC -I${LOCALBASE}/include ${PTHREAD_CFLAGS} +CFLAGS+= -fPIC -I${LOCALBASE}/include -I${LOCALBASE}/include/zdb ${PTHREAD_CFLAGS} LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" LOCALBASE=${LOCALBASE} CONFIGURE_ARGS+=--with-pkglibdir=${LOCALBASE}/lib/dbmail \ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903172230.n2HMU2Jn053851>