diff options
author | reed <reed@pkgsrc.org> | 2004-06-04 23:21:34 +0000 |
---|---|---|
committer | reed <reed@pkgsrc.org> | 2004-06-04 23:21:34 +0000 |
commit | 2623db08d90f5da5afff3fb47be32759bb7d4e5a (patch) | |
tree | 1f20066fadcf2e33c93abea2805b4eb1132ce00e /mail/exim/Makefile.common | |
parent | 2bf9a0ec97ca11e8499d2a6e554204ada46cf525 (diff) | |
download | pkgsrc-2623db08d90f5da5afff3fb47be32759bb7d4e5a.tar.gz |
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 (limited to 'mail/exim/Makefile.common')
-rw-r--r-- | mail/exim/Makefile.common | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mail/exim/Makefile.common b/mail/exim/Makefile.common index 92cd8bf7a82..1d49ca9561c 100644 --- a/mail/exim/Makefile.common +++ b/mail/exim/Makefile.common @@ -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 @@ CFLAGS+= ${_STRIPFLAG_CC} .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 |