summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjlam <jlam>2001-06-19 07:38:33 +0000
committerjlam <jlam>2001-06-19 07:38:33 +0000
commite4e9146a94acaccbd77ff875021f3d5fe0b6eb6c (patch)
treeecc5cf423594df3207f47101c50228d0b2f4ff28 /x11
parenta164b92fe7fefc2a130a956f156e9e64bbab3832 (diff)
downloadpkgsrc-e4e9146a94acaccbd77ff875021f3d5fe0b6eb6c.tar.gz
Use db/buildlink.mk to make this compile under Solaris with
USE_BUILDLINK_ONLY defined.
Diffstat (limited to 'x11')
-rw-r--r--x11/gnome-libs/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/x11/gnome-libs/Makefile b/x11/gnome-libs/Makefile
index 49af800f5b3..56601633377 100644
--- a/x11/gnome-libs/Makefile
+++ b/x11/gnome-libs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.64 2001/06/19 04:56:34 jlam Exp $
+# $NetBSD: Makefile,v 1.65 2001/06/19 07:38:33 jlam Exp $
DISTNAME= gnome-libs-1.2.13
CATEGORIES= x11 gnome
@@ -41,8 +41,9 @@ PLIST_SUBST+= LOCALBASE=${LOCALBASE} \
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
-DEPENDS+= db-*:../../databases/db
-CPPFLAGS+= -I${LOCALBASE}/include/db2
+.include "../../databases/db/buildlink.mk"
+
+CPPFLAGS+= -I${BUILDLINK_DIR}/include/db2
pre-configure:
${MV} ${WRKSRC}/configure ${WRKSRC}/configure-pre-db-sub && \