From 49b8fc95af4f5d3c0273d795c2af52abc0a57c7f Mon Sep 17 00:00:00 2001 From: wiz Date: Wed, 31 Jul 2002 16:16:48 +0000 Subject: Solaris fix (needs databases/db) from Julien T. Letessier in pkg/17783. --- devel/libglade/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'devel') diff --git a/devel/libglade/Makefile b/devel/libglade/Makefile index 13f5d273d98..c0523a7e43b 100644 --- a/devel/libglade/Makefile +++ b/devel/libglade/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.36 2002/04/09 23:05:42 jlam Exp $ +# $NetBSD: Makefile,v 1.37 2002/07/31 16:16:48 wiz Exp $ # DISTNAME= libglade-0.17 @@ -19,6 +19,13 @@ GNU_CONFIGURE= YES USE_LIBTOOL= YES LIBTOOL_OVERRIDE= ${WRKSRC}/libtool +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "SunOS" +.include "../../databases/db/buildlink.mk" +CPPFLAGS+= -I${BUILDLINK_DIR}/include/db2 +.endif + pre-configure: ${RM} ${WRKSRC}/libgladeConf.sh -- cgit v1.2.3