819f25b36d
The conflict checks compare the patterns first against the package names without version (as reported by "pkg query "%n"), then - if there was no match - agsinst the full package names including the version (as reported by "pkg query "%n-%v"). Many CONFLICTS definitions used patterns like "bash-[0-9]*" to filter for the bash package in any version. But that pattern is functionally identical with just "bash". Approved by: portmgr (blanket)
42 lines
805 B
Makefile
42 lines
805 B
Makefile
# Created by: gahr
|
|
|
|
PORTNAME= io
|
|
PORTVERSION= 20180807
|
|
PORTREVISION= 2
|
|
CATEGORIES= lang
|
|
PKGNAMESUFFIX= -devel
|
|
|
|
MAINTAINER= gahr@FreeBSD.org
|
|
COMMENT= Small prototype-based programming language (devel version)
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
CONFLICTS= io
|
|
|
|
USES= cmake:noninja compiler:c11
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= IoLanguage
|
|
GH_TAGNAME= 9bfac31d
|
|
|
|
GH_TUPLE+= kgabis:parson:4f3eaa6:parson/deps/parson
|
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
CMAKE_ARGS= -DWITHOUT_EERIE:BOOL=ON
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
# disable SSE on non-x86 archs
|
|
.if ${ARCH} != amd64 && ${ARCH} != i386
|
|
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-CMakeLists.txt
|
|
.endif
|
|
|
|
do-test:
|
|
cd ${BUILD_WRKSRC} && \
|
|
./_build/binaries/io ${WRKSRC}/libs/iovm/tests/correctness/run.io
|
|
|
|
.include <bsd.port.post.mk>
|