2019-11-02 17:16:18 +01:00
|
|
|
# $NetBSD: Makefile,v 1.9 2019/11/02 16:16:18 rillig Exp $
|
2011-04-20 20:44:56 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
CLISP_MODULE= pari
|
|
|
|
|
2013-04-06 16:09:32 +02:00
|
|
|
PKGNAME= clisp-${CLISP_MODULE}-${CLISP_VERSION}
|
2011-11-26 00:47:16 +01:00
|
|
|
PKGREVISION= 1
|
2011-04-20 20:44:56 +02:00
|
|
|
CATEGORIES= devel
|
2013-04-06 16:09:32 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=clisp/}
|
2011-04-20 20:44:56 +02:00
|
|
|
|
2013-04-06 15:09:24 +02:00
|
|
|
MAINTAINER= hans@NetBSD.org
|
2011-04-20 20:44:56 +02:00
|
|
|
HOMEPAGE= http://clisp.cons.org/
|
|
|
|
COMMENT= CLISP pari module
|
|
|
|
|
|
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
|
|
|
|
.include "../../lang/clisp/module.mk"
|
|
|
|
.include "../../math/pari/buildlink3.mk"
|
2011-12-18 11:07:54 +01:00
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
2011-04-20 20:44:56 +02:00
|
|
|
|
2019-11-02 17:16:18 +01:00
|
|
|
ac_cv_libpari_libs= -L${BUILDLINK_PREFIX.pari}/lib -l${PARI_LIB}
|
2011-04-20 20:44:56 +02:00
|
|
|
.if ${PARI_LIB} == "pari-gmp"
|
2019-11-02 17:16:18 +01:00
|
|
|
ac_cv_libpari_libs+= -L${BUILDLINK_PREFIX.gmp}/lib -lgmp
|
2011-04-20 20:44:56 +02:00
|
|
|
.endif
|
|
|
|
|
2013-10-20 20:02:58 +02:00
|
|
|
CONFIGURE_ENV+= "ac_cv_libpari_libs=${ac_cv_libpari_libs} ${COMPILER_RPATH_FLAG}${LOCALBASE}/lib"
|
2011-04-20 20:44:56 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|