summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2014-02-25 09:32:57 +0000
committerobache <obache@pkgsrc.org>2014-02-25 09:32:57 +0000
commit518ac504122cb707fb58b9a518f4a3b05f186c3c (patch)
tree7cfdf17eccdc5af31e9fd93c9e1394f9fd972e93 /math
parent2c06a9b1aa168bec021d47c97954ee2f5251e9c2 (diff)
downloadpkgsrc-518ac504122cb707fb58b9a518f4a3b05f186c3c.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')
-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"