Date: Tue, 2 Aug 2022 22:48:34 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: d74caf697feb - main - lang/quilc: Correct BUILD_DEPENDS; Install previously missing file Message-ID: <202208022248.272MmYt5068258@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=d74caf697febb3e613a92a0e5426fd09d71c413e commit d74caf697febb3e613a92a0e5426fd09d71c413e Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-08-02 22:47:48 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-08-02 22:48:32 +0000 lang/quilc: Correct BUILD_DEPENDS; Install previously missing file --- lang/quilc/Makefile | 12 +++++++++--- lang/quilc/Makefile.deps | 2 ++ 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/lang/quilc/Makefile b/lang/quilc/Makefile index fccf7742b17a..77f1c1cddbe9 100644 --- a/lang/quilc/Makefile +++ b/lang/quilc/Makefile @@ -1,6 +1,7 @@ PORTNAME= quilc DISTVERSIONPREFIX= v DISTVERSION= 1.26.0 +PORTREVISION= 1 CATEGORIES= lang # quantum-computing DIST_SUBDIR= ${PORTNAME}-${DISTVERSION} # many files, some are unversioned EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} @@ -11,8 +12,7 @@ COMMENT= Optimizing Quil compiler (for quantum computing) LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt -BUILD_DEPENDS= curl:ftp/curl \ - sbcl:lang/sbcl \ +BUILD_DEPENDS= sbcl:lang/sbcl \ cppzmq>0:net/cppzmq LIB_DEPENDS= libblas.so:math/blas \ libffi.so:devel/libffi \ @@ -27,7 +27,8 @@ BINARY_ALIAS= cc=${FILESDIR}/cc \ gfortran=gfortran${GCC_DEFAULT} \ git=false -PLIST_FILES= bin/quilc +PLIST_FILES= bin/quilc \ + lib/libexpokit.so # # In order to update dependencies: @@ -40,6 +41,8 @@ PLIST_FILES= bin/quilc MAINTAINER_MODE= no .if (${MAINTAINER_MODE} == "yes") +BUILD_DEPENDS+= curl:ftp/curl + do-build: # build, download dependencies during build, and save build log with URLs in it @set -e; set -o pipefail; cd ${WRKSRC} && (${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${TARGET_ALL} 2>&1 | tee -a ${WRKDIR}/build.log) @@ -73,6 +76,9 @@ post-extract: # fixups: same effect as https://github.com/cffi/cffi/pull/332 @${REINPLACE_CMD} -e 's|:openbsd "libffi.so"|:freebsd "libffi.so"|' ${QL_DIR}/dists/quicklisp/software/cffi_0.24.1/libffi/libffi.lisp +post-install: + ${INSTALL_LIB} ${QL_DIR}/dists/quicklisp/software/magicl-v0.9.1/expokit/libexpokit.so ${STAGEDIR}${PREFIX}/lib + .endif .include <bsd.port.mk> diff --git a/lang/quilc/Makefile.deps b/lang/quilc/Makefile.deps index aff523868c9a..c992ecd4b4f9 100644 --- a/lang/quilc/Makefile.deps +++ b/lang/quilc/Makefile.deps @@ -3,6 +3,7 @@ ## (!!!) Please do not modify manually. ## (!!!) Instead please follow the instructions in Makefile on how to update the port. ## + MASTER_SITES_DEPS= \ http://beta.quicklisp.org/archive/alexa/2018-08-31/:alexa_20180831_git_tgz \ http://beta.quicklisp.org/archive/alexandria/2022-07-07/:alexandria_20220707_git_tgz \ @@ -136,3 +137,4 @@ quicklisp.sexp:quicklisp_sexp \ quicklisp.txt:quicklisp_txt \ releases.txt:releases_txt \ systems.txt:systems_txt \ +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202208022248.272MmYt5068258>