diff options
author | grant <grant@pkgsrc.org> | 2004-07-10 03:08:32 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2004-07-10 03:08:32 +0000 |
commit | 2930904cd5c2af7396201379dbcbdfc3e1b1b641 (patch) | |
tree | 7a4cd974319c6b0003cdf30d537ea98b44477fd8 /mail/exim3 | |
parent | 326493c37f47aff6c4f50ad5ed3e28ab54e6ba95 (diff) | |
download | pkgsrc-2930904cd5c2af7396201379dbcbdfc3e1b1b641.tar.gz |
use BUILDLINK_{CPPFLAGS,LDFLAGS,LIBS}.bdb. makes this build on Linux
again with various db implementations.
Diffstat (limited to 'mail/exim3')
-rw-r--r-- | mail/exim3/Makefile | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/mail/exim3/Makefile b/mail/exim3/Makefile index d6fb72fec39..bead532fe44 100644 --- a/mail/exim3/Makefile +++ b/mail/exim3/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2004/07/08 00:14:05 reed Exp $ +# $NetBSD: Makefile,v 1.10 2004/07/10 03:08:32 grant Exp $ DISTNAME= exim-3.36 PKGREVISION= 2 @@ -68,17 +68,10 @@ MAKE_ENV+= LOOKUP_PGSQL=YES # buildlink3 decides which libdb to use on this platform. .include "../../mk/bdb.buildlink3.mk" -.if ${BDB_TYPE} == "db3" -DBMLIB+= -Wl,${RPATH_FLAG}${LOCALBASE}/${BUILDLINK_LIBDIRS.db3} -DBMLIB+= -L${LOCALBASE}/${BUILDLINK_LIBDIRS.db3} -ldb3 -DBMLIB+= -I${PREFIX}/${BUILDLINK_INCDIRS.db3} -.elif ${BDB_TYPE} == "db2" -DBMLIB+= -Wl,${RPATH_FLAG}${LOCALBASE}/${BUILDLINK_LIBDIRS.db2} -DBMLIB+= -L${LOCALBASE}/${BUILDLINK_LIBDIRS.db2} -ldb2 -DBMLIB+= -I${PREFIX}/${BUILDLINK_INCDIRS.db2} -. else # using native -DBMLIB+= "-I/usr/${BUILDLINK_INCDIRS.db-native}" -.endif +DBMLIB+= ${BUILDLINK_CPPFLAGS.bdb} +DBMLIB+= ${BUILDLINK_LDFLAGS.bdb} +DBMLIB+= ${BUILDLINK_LIBS.bdb} + MAKE_ENV+= DBMLIB=${DBMLIB:Q} MAKE_ENV+= LOOKUP_INCLUDE="${LOOKUP_INCLUDE}" MAKE_ENV+= LOOKUP_LIBS="${LOOKUP_LIBS}" |