mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
Defines a variable LLVM_VERSION to ease updating to a newer LLVM version if
desired. Other changes: - fix EMACS_CONFIGURE option helper - fix %%ETC%% rendering and name of clang port in pkg-message - bump PORTREVISION to force a rebuild for the dependency change. Tested with 'poudriere bulk pure*' on 10.0-amd64, 8.3-i386, and 9.1-i386 (partially). devel/llvm (expired) should not have any consumers anymore at this point. PR: ports/185190 Submitted by: rene Approved by: maintainer timeout (lichray@gmail.com , 14 days)
This commit is contained in:
parent
e83650a25b
commit
a067cf2edf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=339074
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
PORTNAME= pure
|
PORTNAME= pure
|
||||||
PORTVERSION= 0.58
|
PORTVERSION= 0.58
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= lang
|
CATEGORIES= lang
|
||||||
MASTER_SITES= https://cdn.bitbucket.org/purelang/pure-lang/downloads/
|
MASTER_SITES= https://cdn.bitbucket.org/purelang/pure-lang/downloads/
|
||||||
DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.gz ${PORTNAME}-docs-${PORTVERSION}.tar.gz
|
DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.gz ${PORTNAME}-docs-${PORTVERSION}.tar.gz
|
||||||
@ -14,9 +15,11 @@ COMMENT= Modern-style functional programming language
|
|||||||
LICENSE= GPLv3 LGPL3
|
LICENSE= GPLv3 LGPL3
|
||||||
LICENSE_COMB= dual
|
LICENSE_COMB= dual
|
||||||
|
|
||||||
|
LLVM_VERSION= 32
|
||||||
|
|
||||||
LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp \
|
LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp \
|
||||||
libmpfr.so:${PORTSDIR}/math/mpfr
|
libmpfr.so:${PORTSDIR}/math/mpfr
|
||||||
BUILD_DEPENDS= llvm>=3.2:${PORTSDIR}/devel/llvm
|
BUILD_DEPENDS= llvm-config${LLVM_VERSION}:${PORTSDIR}/devel/llvm${LLVM_VERSION}
|
||||||
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
||||||
|
|
||||||
SUB_FILES= pkg-message
|
SUB_FILES= pkg-message
|
||||||
@ -24,7 +27,8 @@ SUB_FILES= pkg-message
|
|||||||
USES= gmake iconv pathfix pkgconfig
|
USES= gmake iconv pathfix pkgconfig
|
||||||
USE_AUTOTOOLS= libltdl
|
USE_AUTOTOOLS= libltdl
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CONFIGURE_ARGS= --with-libgmp-prefix=${LOCALBASE} --enable-release
|
CONFIGURE_ARGS= --with-libgmp-prefix=${LOCALBASE} --enable-release \
|
||||||
|
--with-tool-prefix=${LOCALBASE}/llvm${LLVM_VERSION}/bin
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
|
|
||||||
MAKE_ARGS+= prefix=${PREFIX} mandir=${PREFIX}/man \
|
MAKE_ARGS+= prefix=${PREFIX} mandir=${PREFIX}/man \
|
||||||
@ -45,8 +49,7 @@ OPTIONS_DEFAULT= ETC
|
|||||||
|
|
||||||
OPTIONS_SUB= yes
|
OPTIONS_SUB= yes
|
||||||
|
|
||||||
EMACS_CONFIGURE_ENABLE= --with-elisp
|
EMACS_CONFIGURE_WITH= elisp
|
||||||
EMACS_CONFIGURE_DISABLE= --without-elisp
|
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
@ -61,6 +64,12 @@ SUB_LIST+= NOCLANG=""
|
|||||||
SUB_LIST+= NOCLANG="@comment "
|
SUB_LIST+= NOCLANG="@comment "
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
.if ${PORT_OPTIONS:METC}
|
||||||
|
SUB_LIST+= ETC=""
|
||||||
|
.else
|
||||||
|
SUB_LIST+= ETC="@comment "
|
||||||
|
.endif
|
||||||
|
|
||||||
# automatically disable readline support if editline support is available
|
# automatically disable readline support if editline support is available
|
||||||
.if exists(/usr/include/edit/readline/readline.h)
|
.if exists(/usr/include/edit/readline/readline.h)
|
||||||
CONFIGURE_ARGS+= --without-readline
|
CONFIGURE_ARGS+= --without-readline
|
||||||
|
@ -12,7 +12,7 @@ interpreter. Check pure(1) for details.
|
|||||||
%%NOCLANG%%
|
%%NOCLANG%%
|
||||||
%%NOCLANG%%To enable the inline C/C++ code compilation,
|
%%NOCLANG%%To enable the inline C/C++ code compilation,
|
||||||
%%NOCLANG%%
|
%%NOCLANG%%
|
||||||
%%NOCLANG%% clang: lang/clang
|
%%NOCLANG%% clang: lang/clang32
|
||||||
%%NOCLANG%%
|
%%NOCLANG%%
|
||||||
%%NOCLANG%%is required.
|
%%NOCLANG%%is required.
|
||||||
====
|
====
|
||||||
|
Loading…
Reference in New Issue
Block a user