diff options
author | jlam <jlam@pkgsrc.org> | 2000-09-06 15:02:09 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2000-09-06 15:02:09 +0000 |
commit | 22c5d3e951d646300a468e1ef46385e335c6e7c1 (patch) | |
tree | d705093c4853c900913cf5f8351b1d485e832404 /editors/xvile | |
parent | c3319f37a37d597678835f6e9940e12f52e30377 (diff) | |
download | pkgsrc-22c5d3e951d646300a468e1ef46385e335c6e7c1.tar.gz |
Respect the XAW_TYPE setting and actually link in correct libraries if
XAW_TYPE == 3d.
Diffstat (limited to 'editors/xvile')
-rw-r--r-- | editors/xvile/Makefile | 14 |
1 files changed, 12 insertions, 2 deletions
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} |