summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-03-12 21:33:28 +0000
committerjlam <jlam@pkgsrc.org>2004-03-12 21:33:28 +0000
commitb8392225d2201ebe185d5a076c6adb6ba590622b (patch)
tree411cd480871598231a6d267b1fb2e2a07efb2aba /x11
parent0a0687fb3812715e56a6f1f7a5135fad4d34f5fd (diff)
downloadpkgsrc-b8392225d2201ebe185d5a076c6adb6ba590622b.tar.gz
Support using BDB_TYPEs other than native.
Diffstat (limited to 'x11')
-rw-r--r--x11/gnome-libs/Makefile22
1 files changed, 13 insertions, 9 deletions
diff --git a/x11/gnome-libs/Makefile b/x11/gnome-libs/Makefile
index 1e7d8d6fb24..b8304692e85 100644
--- a/x11/gnome-libs/Makefile
+++ b/x11/gnome-libs/Makefile
@@ -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_ARGS+= --localstatedir=${LOCALSTATEDIR} \
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 @@ PLIST_SUBST+= LOCALBASE=${LOCALBASE} \
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 @@ post-install:
${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"