mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
d09ed096c4
USE_GCC=any has been equivalent to USE_GCC=yes in most cases (such
as i386 and amd64 since 12.x and depending on configuration 11.x,
most newer installations on other platforms, and 13.x across the
board).
Since commit 96c17633d9
Mk/bsd.gcc.mk is treating them as
different spellings of the same, so continue the deorbiting of the
USE_GCC=any form and simply replace it with USE_GCC=yes.
This should not make any functional difference at all.
Discussed with: mat, linimon, pkubaj
52 lines
1.1 KiB
Makefile
52 lines
1.1 KiB
Makefile
# Created by: Oliver Breuninger <ob@seicom.NET>
|
|
|
|
PORTNAME= oo2c
|
|
PORTVERSION= 2.1.11
|
|
PORTREVISION= 13
|
|
CATEGORIES= lang
|
|
MASTER_SITES= SF/ooc/ooc2/${PORTVERSION}
|
|
DISTNAME= ${PORTNAME}_${BITS}-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Optimizing Oberon-2 compiler of University of Kaiserslautern, Germany
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BUILD_DEPENDS= xsltproc:textproc/libxslt
|
|
RUN_DEPENDS= libtool:devel/libtool
|
|
LIB_DEPENDS= libgc.so:devel/boehm-gc
|
|
|
|
DOCSDIR= lib/${PORTNAME}
|
|
USES= gmake libtool:build localbase:ldflags tar:bzip2
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
USE_CSTD= gnu89
|
|
USE_GCC= yes
|
|
|
|
OPTIONS_DEFINE= DOCS THREADS
|
|
OPTIONS_SUB= yes
|
|
|
|
THREADS_DESC= Build thread support
|
|
THREADS_CONFIGURE_ON= --enable-threads=pthreads
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} 's/dir=@/dir=$${DESTDIR}@/' \
|
|
${WRKSRC}/Makefile.config.in
|
|
@${REINPLACE_CMD} -e 's|@PERL@|${LOCALBASE}/bin/perl|' \
|
|
${WRKSRC}/rsrc/OOC/oobacktrace.in
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == i386
|
|
BITS= 32
|
|
.else
|
|
BITS= 64
|
|
.endif
|
|
|
|
.if defined(PPC_ABI) && ${PPC_ABI} == ELFv1
|
|
CFLAGS+= -fnested-functions
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|