pkgsrc/math/clisp-pari/Makefile

29 lines
741 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.9 2019/11/02 16:16:18 rillig Exp $
#
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
CATEGORIES= devel
2013-04-06 16:09:32 +02:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=clisp/}
MAINTAINER= hans@NetBSD.org
HOMEPAGE= http://clisp.cons.org/
COMMENT= CLISP pari module
MAKE_JOBS_SAFE= no
.include "../../lang/clisp/module.mk"
.include "../../math/pari/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
ac_cv_libpari_libs= -L${BUILDLINK_PREFIX.pari}/lib -l${PARI_LIB}
.if ${PARI_LIB} == "pari-gmp"
ac_cv_libpari_libs+= -L${BUILDLINK_PREFIX.gmp}/lib -lgmp
.endif
2013-10-20 20:02:58 +02:00
CONFIGURE_ENV+= "ac_cv_libpari_libs=${ac_cv_libpari_libs} ${COMPILER_RPATH_FLAG}${LOCALBASE}/lib"
.include "../../mk/bsd.pkg.mk"