From 22c5d3e951d646300a468e1ef46385e335c6e7c1 Mon Sep 17 00:00:00 2001 From: jlam Date: Wed, 6 Sep 2000 15:02:09 +0000 Subject: Respect the XAW_TYPE setting and actually link in correct libraries if XAW_TYPE == 3d. --- editors/xvile/Makefile | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'editors/xvile/Makefile') diff --git a/editors/xvile/Makefile b/editors/xvile/Makefile index e02a0327e8b..b6eaca9fb54 100644 --- a/editors/xvile/Makefile +++ b/editors/xvile/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.26 2000/09/06 08:16:15 jlam Exp $ +# $NetBSD: Makefile,v 1.27 2000/09/06 15:02:09 jlam Exp $ # FreeBSD Id: Makefile,v 1.13 1997/09/06 19:58:03 gj Exp # @@ -21,7 +21,6 @@ GNU_CONFIGURE= # defined CONFIGURE_ARGS+= --with-perl CONFIGURE_ARGS+= --datadir=${DATADIR} CONFIGURE_ARGS+= --with-libdir-path=${FILTERDIR} -CONFIGURE_ARGS+= --with-screen=Xaw --with-xpm # Until the source catches up to the current Perl API, we need PERL_POLLUTE # to look like an older perl. @@ -35,6 +34,17 @@ DATADIR= ${PREFIX}/share/xvile FILTERDIR= ${PREFIX}/libexec/xvile EGDIR= ${PREFIX}/share/examples/xvile +.include "../../mk/bsd.prefs.mk" + +.if ${XAW_TYPE} == "3d" +CONFIGURE_ARGS+= --with-screen=Xaw3d +CONFIGURE_ARGS+= --with-Xaw3d +.else +XAW_TYPE= standard +CONFIGURE_ARGS+= --with-screen=Xaw +.endif +CONFIGURE_ARGS+= --with-xpm + post-install: @${INSTALL_SCRIPT} ${WRKSRC}/perl/vileget ${PREFIX}/bin/xvileget @${INSTALL_DATA_DIR} ${EGDIR} -- cgit v1.2.3