pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail The Exim db tools were missing rpath to db librar...
details: https://anonhg.NetBSD.org/pkgsrc/rev/14f182e29840
branches: trunk
changeset: 476184:14f182e29840
user: reed <reed%pkgsrc.org@localhost>
date: Fri Jun 04 23:21:34 2004 +0000
description:
The Exim db tools were missing rpath to db library (when not using native).
This modifies Makefile.common to add "-Wl,${RPATH_FLAG}" to the location
of the chosen library (DB implementation). For example:
-Wl,${RPATH_FLAG}${LOCALBASE}/${BUILDLINK_LIBDIRS.db2}
Also bump PKGREVISIONs for this.
diffstat:
mail/exim-exiscan/Makefile | 4 ++--
mail/exim/Makefile | 4 ++--
mail/exim/Makefile.common | 10 +++++-----
3 files changed, 9 insertions(+), 9 deletions(-)
diffs (59 lines):
diff -r f8f4bfd29125 -r 14f182e29840 mail/exim-exiscan/Makefile
--- a/mail/exim-exiscan/Makefile Fri Jun 04 23:18:47 2004 +0000
+++ b/mail/exim-exiscan/Makefile Fri Jun 04 23:21:34 2004 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.10 2004/06/04 00:10:34 reed Exp $
+# $NetBSD: Makefile,v 1.11 2004/06/04 23:21:34 reed Exp $
DISTNAME= exim-${EXIM_VERSION}
-PKGREVISION= 2
+PKGREVISION= 3
PKGNAME= exim-exiscan-${EXIM_VERSION}_${EXISCAN_VERSION}
CATEGORIES= mail net
diff -r f8f4bfd29125 -r 14f182e29840 mail/exim/Makefile
--- a/mail/exim/Makefile Fri Jun 04 23:18:47 2004 +0000
+++ b/mail/exim/Makefile Fri Jun 04 23:21:34 2004 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.48 2004/06/04 00:10:34 reed Exp $
+# $NetBSD: Makefile,v 1.49 2004/06/04 23:21:34 reed Exp $
DISTNAME= exim-${EXIM_VERSION}
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= mail net
MAINTAINER= abs%NetBSD.org@localhost
diff -r f8f4bfd29125 -r 14f182e29840 mail/exim/Makefile.common
--- a/mail/exim/Makefile.common Fri Jun 04 23:18:47 2004 +0000
+++ b/mail/exim/Makefile.common Fri Jun 04 23:21:34 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.9 2004/06/04 17:19:56 reed Exp $
+# $NetBSD: Makefile.common,v 1.10 2004/06/04 23:21:34 reed Exp $
MASTER_SITES= ftp://ftp.exim.org/pub/exim/exim4/ \
ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/exim4/ \
@@ -41,19 +41,19 @@
.if defined(EXIM_DB) && ${EXIM_DB} == "gdbm"
. include "../../databases/gdbm/buildlink3.mk"
EXIM_USE_DB_CONFIG= USE_GDBM=yes
-EXIM_DBMLIB= DBMLIB=-lgdbm
+EXIM_DBMLIB= DBMLIB=-Wl,${RPATH_FLAG}${LOCALBASE}/${BUILDLINK_LIBDIRS.gdbm} -lgdbm
EXIM_INCLUDE= -I${PREFIX}/include
.else # use native or Berkeley DB as defined by BDB_DEFAULT and BDB_ACCEPTED
. include "../../mk/bdb.buildlink3.mk"
EXIM_USE_DB_CONFIG= USE_DB=yes # the default
. if ${BDB_TYPE} == "db4"
-EXIM_DBMLIB= DBMLIB=-ldb4
+EXIM_DBMLIB= DBMLIB=-Wl,${RPATH_FLAG}${LOCALBASE}/${BUILDLINK_LIBDIRS.db4} -ldb4
EXIM_INCLUDE= -I${PREFIX}/${BUILDLINK_INCDIRS.db4}
. elif ${BDB_TYPE} == "db3"
-EXIM_DBMLIB= DBMLIB=-ldb3
+EXIM_DBMLIB= DBMLIB=-Wl,${RPATH_FLAG}${LOCALBASE}/${BUILDLINK_LIBDIRS.db3} -ldb3
EXIM_INCLUDE= -I${PREFIX}/${BUILDLINK_INCDIRS.db3}
. elif ${BDB_TYPE} == "db2"
-EXIM_DBMLIB= DBMLIB=-ldb2
+EXIM_DBMLIB= DBMLIB=-Wl,${RPATH_FLAG}${LOCALBASE}/${BUILDLINK_LIBDIRS.db2} -ldb2
EXIM_INCLUDE= -I${PREFIX}/${BUILDLINK_INCDIRS.db2}
. else # using native
EXIM_DBMLIB= # empty so use defaults
Home |
Main Index |
Thread Index |
Old Index