diff options
author | grant <grant> | 2005-07-21 03:06:13 +0000 |
---|---|---|
committer | grant <grant> | 2005-07-21 03:06:13 +0000 |
commit | 8824b1c2bd349663f2f703eecd32f6fdf2ee9e4b (patch) | |
tree | 0a3030f1ead7bc1dc1fedd2db9727bb2e145c645 /mail/exim | |
parent | ac07664d838e5be6c475e5cab53826d85fc646e6 (diff) | |
download | pkgsrc-8824b1c2bd349663f2f703eecd32f6fdf2ee9e4b.tar.gz |
use ${LDFLAGS} instead of building our own library rpath argument to
find the BerkeleyDB library.
Diffstat (limited to 'mail/exim')
-rw-r--r-- | mail/exim/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mail/exim/Makefile b/mail/exim/Makefile index 1688c0d2959..dbf6265267d 100644 --- a/mail/exim/Makefile +++ b/mail/exim/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.60 2005/07/20 06:32:29 grant Exp $ +# $NetBSD: Makefile,v 1.61 2005/07/21 03:06:13 grant Exp $ DISTNAME= exim-4.52 CATEGORIES= mail net @@ -48,19 +48,19 @@ BDB_ACCEPTED?= db1 db2 db3 db4 .if defined(EXIM_DB) && ${EXIM_DB} == "gdbm" . include "../../databases/gdbm/buildlink3.mk" EXIM_USE_DB_CONFIG= USE_GDBM=yes -EXIM_DBMLIB= DBMLIB=${COMPILER_RPATH_FLAG}${LOCALBASE}/${BUILDLINK_LIBDIRS.gdbm} -lgdbm +EXIM_DBMLIB= DBMLIB=${LDFLAGS} -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=${COMPILER_RPATH_FLAG}${LOCALBASE}/${BUILDLINK_LIBDIRS.db4} ${BDB_LIBS} +EXIM_DBMLIB= DBMLIB=${LDFLAGS} ${BDB_LIBS} EXIM_INCLUDE= -I${PREFIX}/${BUILDLINK_INCDIRS.db4} . elif ${BDB_TYPE} == "db3" -EXIM_DBMLIB= DBMLIB=${COMPILER_RPATH_FLAG}${LOCALBASE}/${BUILDLINK_LIBDIRS.db3} ${BDB_LIBS} +EXIM_DBMLIB= DBMLIB=${LDFLAGS} ${BDB_LIBS} EXIM_INCLUDE= -I${PREFIX}/${BUILDLINK_INCDIRS.db3} . elif ${BDB_TYPE} == "db2" -EXIM_DBMLIB= DBMLIB=${COMPILER_RPATH_FLAG}${LOCALBASE}/${BUILDLINK_LIBDIRS.db2} ${BDB_LIBS} +EXIM_DBMLIB= DBMLIB=${LDFLAGS} ${BDB_LIBS} EXIM_INCLUDE= -I${PREFIX}/${BUILDLINK_INCDIRS.db2} . else # using native EXIM_DBMLIB= # empty so use defaults |