summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2000-07-11 10:19:37 +0000
committeragc <agc@pkgsrc.org>2000-07-11 10:19:37 +0000
commit035c71114f27dfe3f1b75299a08f315131b7ad05 (patch)
tree0f8c55b26618de10ca571a0ef210d1a3aa08d664 /x11
parent6aaccb76f909b993bfa3ca44e3c4c001d9c12087 (diff)
downloadpkgsrc-035c71114f27dfe3f1b75299a08f315131b7ad05.tar.gz
Use pkg_info(1) to find the installed path of the gtk+ package.
Diffstat (limited to 'x11')
-rw-r--r--x11/asclock-gtk/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/x11/asclock-gtk/Makefile b/x11/asclock-gtk/Makefile
index 475e106d792..28d699f59ab 100644
--- a/x11/asclock-gtk/Makefile
+++ b/x11/asclock-gtk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 1999/10/28 19:06:21 jlam Exp $
+# $NetBSD: Makefile,v 1.4 2000/07/11 10:19:37 agc Exp $
#
DISTNAME= asclock-gtk-2.1.10beta
@@ -18,7 +18,7 @@ PLIST_SRC= ${PKGDIR}/PLIST \
${PKGDIR}/PLIST.themes
ALL_TARGET= asclock
-MAKE_ENV+= CONFIG_PATH="${X11BASE}/bin/" # for gtk-config
+MAKE_ENV+= CONFIG_PATH="`${PKG_INFO} -qp gtk+ | ${AWK} '{print $$2}'`/bin/" # for gtk-config
pre-configure:
cd ${WRKSRC}; ${LN} -sf themes/classic default_theme