summaryrefslogtreecommitdiff
path: root/x11/gdm
diff options
context:
space:
mode:
authoragc <agc>2000-07-11 14:53:35 +0000
committeragc <agc>2000-07-11 14:53:35 +0000
commit05692df58e5b6df12ead64953f810dacb961d423 (patch)
tree07c067a284dd27eed2ac53c0ec79e856fd2442d9 /x11/gdm
parentd2de6f19d28f70dc6b4d55367215a0590aa8a05e (diff)
downloadpkgsrc-05692df58e5b6df12ead64953f810dacb961d423.tar.gz
Make the determination of the pre-req package's installed directory be
a bit more user-friendly. Introduce a show-{gtk+,imlib,kdebase,qt1,qt2,xpm}-prefix target in bsd.pkg.mk, and use "${MAKE} show-*-prefix" in package Makefiles.
Diffstat (limited to 'x11/gdm')
-rw-r--r--x11/gdm/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/x11/gdm/Makefile b/x11/gdm/Makefile
index 4ebe8b2daa5..f0d0f7402e1 100644
--- a/x11/gdm/Makefile
+++ b/x11/gdm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2000/07/11 10:30:43 agc Exp $
+# $NetBSD: Makefile,v 1.11 2000/07/11 14:53:46 agc Exp $
DISTNAME= gdm-2.0beta4
PKGNAME= gdm-2.0b4
@@ -62,7 +62,7 @@ post-build:
cd ${WRKSRC}/config; \
${RM} -f KDE Xsession; \
${ECHO} '#! ${SH}' >KDE; \
- ${ECHO} "export KDEDIR=`${PKG_INFO} -qp kdebase | ${AWK} '{print $$2}'`" >>KDE; \
+ ${ECHO} "export KDEDIR=`${MAKE} show-kdebase-prefix`" >>KDE; \
${ECHO} 'exec $${KDEDIR}/bin/startkde $$@' >>KDE; \
${ECHO} '#! ${SH}' >Xsession; \
${ECHO} 'exec ${X11BASE}/lib/X11/xdm/Xsession $$@' >>Xsession; \