summaryrefslogtreecommitdiff
path: root/games/xarchon/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/xarchon/Makefile')
-rw-r--r--games/xarchon/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/games/xarchon/Makefile b/games/xarchon/Makefile
index 237bdef9c7b..12fcdf8b33b 100644
--- a/games/xarchon/Makefile
+++ b/games/xarchon/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2000/06/30 10:04:46 agc Exp $
+# $NetBSD: Makefile,v 1.10 2000/07/10 10:40:40 agc Exp $
#
DISTNAME= xarchon-0.50
@@ -14,10 +14,13 @@ DEPENDS+= gtk+-1.2.*:../../x11/gtk
DEPENDS+= esound-*:../../audio/esound
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+=--with-xpm-prefix=${X11PREFIX} \
- --with-gtk-prefix=${X11PREFIX} \
+CONFIGURE_ARGS+=--with-xpm-prefix=${XPM_PREFIX} \
+ --with-gtk-prefix=${GTK_PREFIX} \
--with-esd-prefix=${LOCALBASE}
+GTK_PREFIX!= ${PKG_INFO} -qp gtk+ | ${AWK} '{print $$2}'
+XPM_PREFIX!= ${PKG_INFO} -qp xpm | ${AWK} '{print $$2}'
+
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"