summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam>2001-06-15 07:59:32 +0000
committerjlam <jlam>2001-06-15 07:59:32 +0000
commitaad819744b0de76637f6abe3fee80382f99ec483 (patch)
treea28d0424bc3d57fb725fea956a93a62515b38c36
parent44b90d76f350a63875ebdf5feae604e1c0c89374 (diff)
downloadpkgsrc-aad819744b0de76637f6abe3fee80382f99ec483.tar.gz
Use devel/pth/buildlink to get dependency, CPPFLAGS, and LDFLAGS for pth.
-rw-r--r--devel/glib/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/devel/glib/Makefile b/devel/glib/Makefile
index a47d5e29a26..d7596a711e5 100644
--- a/devel/glib/Makefile
+++ b/devel/glib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2001/06/11 06:34:27 jlam Exp $
+# $NetBSD: Makefile,v 1.32 2001/06/15 07:59:32 jlam Exp $
# FreeBSD Id: Makefile,v 1.2 1998/08/06 14:55:12 vanilla Exp
#
@@ -19,7 +19,6 @@ GNU_CONFIGURE= yes
USE_LIBTOOL= yes
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
CONFIGURE_ARGS+= --includedir=${PREFIX}/include/glib
-CPPFLAGS+= -I${LOCALBASE}/include
INFO_FILES= glib.info
@@ -29,8 +28,9 @@ CFLAGS= -O0
.endif
.include "../../mk/bsd.prefs.mk"
+
.if (${OPSYS} != SunOS)
-DEPENDS+= pth>=1.3.2:../pth
+.include "../../devel/pth/buildlink.mk"
.endif
.include "../../mk/bsd.pkg.mk"