diff options
author | sketch <sketch@pkgsrc.org> | 2009-09-22 08:37:15 +0000 |
---|---|---|
committer | sketch <sketch@pkgsrc.org> | 2009-09-22 08:37:15 +0000 |
commit | 2549845952f05cc4a62b19d94c6ba4d6ce746e74 (patch) | |
tree | 4625477b6d850e464a6b1e50ea687db499956fe7 /misc/rpm | |
parent | 0be7aaeab8d939d10676e7d5830410267c759097 (diff) | |
download | pkgsrc-2549845952f05cc4a62b19d94c6ba4d6ce746e74.tar.gz |
Add an hack to get this building on platforms with USE_DB185.
Diffstat (limited to 'misc/rpm')
-rw-r--r-- | misc/rpm/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/misc/rpm/Makefile b/misc/rpm/Makefile index 4fe6b39374c..98b69cb4c14 100644 --- a/misc/rpm/Makefile +++ b/misc/rpm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.66 2008/01/12 23:43:53 heinz Exp $ +# $NetBSD: Makefile,v 1.67 2009/09/22 08:37:15 sketch Exp $ DISTNAME= rpm-2.5.4 PKGREVISION= 6 @@ -33,6 +33,13 @@ MAKE_FLAGS+= ROOT=${DESTDIR} RPMDIR= ${RPM_DB_PREFIX}/lib/rpm FILES_SUBST+= RPMDIR=${RPMDIR:Q} +.include "../../mk/bdb.buildlink3.mk" + +# Ugly hack, but easier than fixing our bdb handling / rpm configure for now +.if defined(USE_DB185) && !empty(USE_DB185:M[yY][eE][sS]) +LDFLAGS+= -ldb +.endif + .include "../../mk/bsd.prefs.mk" post-configure: @@ -55,5 +62,4 @@ BROKEN_GETTEXT_DETECTION= yes .include "../../devel/popt/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" -.include "../../mk/bdb.buildlink3.mk" .include "../../mk/bsd.pkg.mk" |