1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/devel/cxxtools/Makefile
Muhammad Moinur Rahman cc7172dc8e devel/cxxtools: Fix build with llvm16
- Pet portclippy

Sponsored by:	The FreeBSD Foundation
2023-07-23 18:08:16 +02:00

68 lines
1.5 KiB
Makefile

PORTNAME= cxxtools
PORTVERSION= 2.2.1
PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= http://www.tntnet.org/download/
MAINTAINER= ports@FreeBSD.org
COMMENT= Collection of general-purpose C++ classes
WWW= https://www.tntnet.org/cxxtools.html
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_aarch64= does not configure: error: check for atomictype failed
BROKEN_mips= does not configure: in section .data.rel.ro of csvdeserializer-test.o: defined in discarded section
BROKEN_mips64= does not configure: in section .data.rel.ro of csvdeserializer-test.o: defined in discarded section
BROKEN_riscv64= does not configure: error: check for atomictype failed
BROKEN_sparc64= does not configure
USES= cpe iconv libtool localbase pathfix
CPE_VENDOR= tntnet
USE_CSTD= gnu89
USE_CXXSTD= c++14
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
.include <bsd.port.pre.mk>
.if ${ARCH} == amd64
PLIST_SUB+= X86_64_ONLY=""
.else
PLIST_SUB+= X86_64_ONLY="@comment "
.endif
.if ${ARCH} == i386
PLIST_SUB+= I386_ONLY=""
.else
PLIST_SUB+= I386_ONLY="@comment "
.endif
.if (${ARCH} == amd64) || (${ARCH} == i386)
PLIST_SUB+= X86_ONLY=""
.else
PLIST_SUB+= X86_ONLY="@comment "
.endif
.if ${ARCH} == aarch64 || ${ARCH:Marm*}
PLIST_SUB+= ARM_ONLY=""
.else
PLIST_SUB+= ARM_ONLY="@comment "
.endif
.if ${ARCH:Mmips*}
PLIST_SUB+= MIPS_ONLY=""
.else
PLIST_SUB+= MIPS_ONLY="@comment "
.endif
.if ${ARCH:Mpowerpc*}
PLIST_SUB+= PPC_ONLY=""
.else
PLIST_SUB+= PPC_ONLY="@comment "
.endif
.include <bsd.port.post.mk>