summaryrefslogtreecommitdiff
path: root/math/pari
diff options
context:
space:
mode:
authorobache <obache>2014-02-25 09:32:57 +0000
committerobache <obache>2014-02-25 09:32:57 +0000
commit2de15d8fa6ae328c6d9ca5fa487a1d7258adccf2 (patch)
tree7cfdf17eccdc5af31e9fd93c9e1394f9fd972e93 /math/pari
parentbc9e3228d8e9d4fd53a9b3de1017ae893e2ef90b (diff)
downloadpkgsrc-2de15d8fa6ae328c6d9ca5fa487a1d7258adccf2.tar.gz
Tell right prefix to configure for gmp and fltk, or builtin one or other one
using different prefix than this package will not be picked up.
Diffstat (limited to 'math/pari')
-rw-r--r--math/pari/options.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/math/pari/options.mk b/math/pari/options.mk
index 249535364e3..51994e963f0 100644
--- a/math/pari/options.mk
+++ b/math/pari/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.10 2014/02/25 09:16:49 wiz Exp $
+# $NetBSD: options.mk,v 1.11 2014/02/25 09:32:57 obache Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.pari
PKG_SUPPORTED_OPTIONS= doc gmp x11
@@ -21,7 +21,7 @@ MAKE_ENV+= PDFTEX=${LOCALBASE}/bin/pdftex
PLIST_VARS+= nogmp gmp
.if !empty(PKG_OPTIONS:Mgmp)
PLIST.gmp= yes
-CONFIGURE_ARGS+= --with-gmp=${PREFIX}
+CONFIGURE_ARGS+= --with-gmp=${BUILDLINK_PREFIX.gmp}
.include "../../devel/gmp/buildlink3.mk"
.else
PLIST.nogmp= yes
@@ -31,7 +31,7 @@ CONFIGURE_ARGS+= --without-gmp
.if !empty(PKG_OPTIONS:Mx11)
USE_TOOLS+= imake
CONFIGURE_ARGS+= --graphic=X11
-CONFIGURE_ARGS+= --with-fltk=${PREFIX}
+CONFIGURE_ARGS+= --with-fltk=${BUILDLINK_PREFIX.fltk}
CONFIGURE_ENV+= X11BASE=${X11BASE}
CONFIGURE_ENV+= Xincroot=${X11BASE}/include
.include "../../x11/libX11/buildlink3.mk"