From 2de15d8fa6ae328c6d9ca5fa487a1d7258adccf2 Mon Sep 17 00:00:00 2001 From: obache Date: Tue, 25 Feb 2014 09:32:57 +0000 Subject: 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. --- math/pari/options.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'math/pari') 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" -- cgit v1.2.3