pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/gnome-libs Support using BDB_TYPEs other than native.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6eaed36593b7
branches:  trunk
changeset: 470900:6eaed36593b7
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Fri Mar 12 21:33:28 2004 +0000

description:
Support using BDB_TYPEs other than native.

diffstat:

 x11/gnome-libs/Makefile |  22 +++++++++++++---------
 1 files changed, 13 insertions(+), 9 deletions(-)

diffs (48 lines):

diff -r f0790e8ed371 -r 6eaed36593b7 x11/gnome-libs/Makefile
--- a/x11/gnome-libs/Makefile   Fri Mar 12 21:24:58 2004 +0000
+++ b/x11/gnome-libs/Makefile   Fri Mar 12 21:33:28 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.99 2004/03/10 18:07:16 jlam Exp $
+# $NetBSD: Makefile,v 1.100 2004/03/12 21:33:28 jlam Exp $
 
 DISTNAME=              gnome-libs-1.4.2
 PKGREVISION=           3
@@ -25,6 +25,7 @@
 CONFIGURE_ENV+=                LOCALBASE=${LOCALBASE} \
                        X11BASE=${X11BASE} \
                        PKGLOCALEDIR=${PKGLOCALEDIR}
+CONFIGURE_ENV+=                ${CONFIGURE_ENV.db-${BDB_TYPE}}
 
 USE_BUILDLINK3=                YES
 USE_PKGLOCALEDIR=      YES
@@ -35,6 +36,17 @@
                        LOCALEDIR=${LOCALEDIR} \
                        LOCALSTATEDIR=${LOCALSTATEDIR}
 
+.include "../../audio/esound/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../graphics/imlib/buildlink3.mk"
+.include "../../graphics/xpm/buildlink3.mk"
+.include "../../net/ORBit/buildlink3.mk"
+.include "../../x11/gtk/buildlink3.mk"
+.include "../../mk/bdb.buildlink3.mk"
+
+CONFIGURE_ENV.db-${BDB_TYPE}?= ac_cv_func_dbopen=no
+CONFIGURE_ENV.db-native=       # empty
+
 post-extract:
 .for file in gnome-app-helper-convenience-macros.htm                   \
             gnome-app-helper-keybindings-config.htm
@@ -60,12 +72,4 @@
        ${LN} -fs ${PREFIX}/share/aclocal/libart.m4 \
                ${LOCALBASE}/share/aclocal/libart.m4
 
-.include "../../audio/esound/buildlink3.mk"
-.include "../../devel/gettext-lib/buildlink3.mk"
-.include "../../graphics/imlib/buildlink3.mk"
-.include "../../graphics/xpm/buildlink3.mk"
-.include "../../net/ORBit/buildlink3.mk"
-.include "../../x11/gtk/buildlink3.mk"
-.include "../../mk/bdb.buildlink3.mk"
-
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index