diff options
author | jtb <jtb@pkgsrc.org> | 2001-05-02 14:49:37 +0000 |
---|---|---|
committer | jtb <jtb@pkgsrc.org> | 2001-05-02 14:49:37 +0000 |
commit | 74291604c748dc0aae1a13b747a6e65510f0cc1b (patch) | |
tree | 06ded344afd4af5bef61dbf3bf1d09c1896227c5 /graphics/geomview | |
parent | 151c811bc68bfbdb0dfb767cea96854ba2aa857e (diff) | |
download | pkgsrc-74291604c748dc0aae1a13b747a6e65510f0cc1b.tar.gz |
Determine MESABASE using EVAL_PREFIX so that it works correctly with
xpkgwedge. Thanks to Johnny C. Lam for noticing the problem and
Alistair G. Crooks for the suggested solution.
Diffstat (limited to 'graphics/geomview')
-rw-r--r-- | graphics/geomview/Makefile | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/graphics/geomview/Makefile b/graphics/geomview/Makefile index 722a7a34af6..0eafc285c52 100644 --- a/graphics/geomview/Makefile +++ b/graphics/geomview/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2001/05/01 22:37:13 jtb Exp $ +# $NetBSD: Makefile,v 1.9 2001/05/02 14:49:37 jtb Exp $ DISTNAME= geomview-1.8.1 CATEGORIES= graphics math @@ -10,13 +10,19 @@ COMMENT= Interactive geometry viewing program CONFLICTS= ImageMagick-* # both have a program named 'animate' -GNU_CONFIGURE= YES -USE_X11= YES -USE_MOTIF= YES -USE_MESA= YES +GNU_CONFIGURE= yes +USE_X11= yes +USE_MOTIF= yes +USE_MESA= yes + +.if ${HAVE_BUILTIN_MESA} == "NO" +EVAL_PREFIX+= MESABASE=Mesa +.else +MESABASE= ${X11BASE} +.endif CONFIGURE_ARGS+= --without-xforms -CONFIGURE_ARGS+= --with-opengl=${X11BASE} +CONFIGURE_ARGS+= --with-opengl=${MESABASE} CONFIGURE_ARGS+= --with-motif=${MOTIFBASE} CONFIGURE_ENV+= CPPFLAGS="-Dunix -Dalloca=__builtin_alloca" |