diff options
author | agc <agc> | 2000-07-10 13:29:38 +0000 |
---|---|---|
committer | agc <agc> | 2000-07-10 13:29:38 +0000 |
commit | c791577d21af7eb14a23ce736d04088d699ffb2e (patch) | |
tree | 8ccedfb0e66ea4f1f5fe663ddaa99c7fb7d28271 /games/xarchon | |
parent | 7a8e47fa4ff18de53a4db9f8b27e1b006acad1de (diff) | |
download | pkgsrc-c791577d21af7eb14a23ce736d04088d699ffb2e.tar.gz |
Work out in which directory xpm and gtk are installed as part of the
shell command, rather than as a make(1) preprocessor-like directive.
Pointed out by Thomas Klausner.
Diffstat (limited to 'games/xarchon')
-rw-r--r-- | games/xarchon/Makefile | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/games/xarchon/Makefile b/games/xarchon/Makefile index 12fcdf8b33b..0d78d4feb8a 100644 --- a/games/xarchon/Makefile +++ b/games/xarchon/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2000/07/10 10:40:40 agc Exp $ +# $NetBSD: Makefile,v 1.11 2000/07/10 13:29:39 agc Exp $ # DISTNAME= xarchon-0.50 @@ -14,13 +14,10 @@ DEPENDS+= gtk+-1.2.*:../../x11/gtk DEPENDS+= esound-*:../../audio/esound GNU_CONFIGURE= yes -CONFIGURE_ARGS+=--with-xpm-prefix=${XPM_PREFIX} \ - --with-gtk-prefix=${GTK_PREFIX} \ +CONFIGURE_ARGS+=--with-xpm-prefix=`${PKG_INFO} -qp xpm | ${AWK} '{print $$2}'` \ + --with-gtk-prefix=`${PKG_INFO} -qp gtk+ | ${AWK} '{print $$2}'` \ --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" |