# Created by: David O'Brien # $FreeBSD: head/lang/pcc/Makefile 549043 2020-09-19 16:55:18Z se $ PORTNAME= pcc PORTVERSION= 1.1.0 PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= ftp://pcc.ludd.ltu.se/pub/pcc-releases/ \ http://pcc.ludd.ltu.se/ftp/pub/pcc-releases/ \ ftp://226.net120.skekraft.net/pcc-releases/ MAINTAINER= joel@FreeBSD.org COMMENT= Portable C Compiler LICENSE= BSDCOMPATIBLE BSD2CLAUSE BSD3CLAUSE LICENSE_COMB= multi LICENSE_NAME_BSDCOMPATIBLE= BSD-style compatible licenses LICENSE_TEXT_BSDCOMPATIBLE= The license: BSDCOMPATIBLE (${LICENSE_NAME_BSDCOMPATIBLE}),\ please read from the web: http://pcc.ludd.ltu.se/licenses/ LICENSE_PERMS_BSDCOMPATIBLE= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept RUN_DEPENDS= pcc-libs>=${PORTVERSION}:devel/pcc-libs ONLY_FOR_ARCHS= i386 amd64 USES= gmake tar:tgz GNU_CONFIGURE= yes CONFIGURE_ENV= YACC=${YACC} PLIST_FILES= bin/pcc bin/pcpp \ libexec/ccom libexec/cxxcom libexec/cpp \ man/man1/ccom.1.gz man/man1/cpp.1.gz \ man/man1/pcc.1.gz MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= THREADS OPTIONS_DEFAULT= THREADS THREADS_DESC= Enable Thread-local storage (TLS) THREADS_CONFIGURE_ENABLE= tls .include post-patch: # Don't make empty directories, which created by devel/pcc-libs port @${REINPLACE_CMD} -e '/mkdir -p.*PCC.*DIR/d' \ ${WRKSRC}/cc/cc/Makefile.in .if ${OPSYS} == FreeBSD @${REINPLACE_CMD} -e '/targmach=amd64/s/x86_64/amd64/' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e 's,\" MKS(TARGOSVER),${OSREL:R}\",' \ ${WRKSRC}/os/freebsd/ccconfig.h .endif .include