mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
a9f015d155
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t GCC 8.2 under most circumstances. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, as a double check, everything INDEX-11 showed depending on lang/gcc7. PR: 231590
48 lines
999 B
Makefile
48 lines
999 B
Makefile
# Created by: Oliver Breuninger <ob@seicom.NET>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= oo2c
|
|
PORTVERSION= 2.1.11
|
|
PORTREVISION= 12
|
|
CATEGORIES= lang
|
|
MASTER_SITES= SF/ooc/ooc2/${PORTVERSION}
|
|
DISTNAME= ${PORTNAME}_${BITS}-${PORTVERSION}
|
|
|
|
MAINTAINER= johans@FreeBSD.org
|
|
COMMENT= Optimizing Oberon-2 compiler of University of Kaiserslautern, Germany
|
|
|
|
LICENSE= GPLv2
|
|
|
|
BUILD_DEPENDS= xsltproc:textproc/libxslt
|
|
RUN_DEPENDS= libtool:devel/libtool
|
|
LIB_DEPENDS= libgc.so:devel/boehm-gc
|
|
|
|
ONLY_FOR_ARCHS= amd64 i386
|
|
|
|
DOCSDIR= lib/${PORTNAME}
|
|
USES= gmake libtool:build tar:bzip2
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
USE_CSTD= gnu89
|
|
USE_GCC= any
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
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
|
|
|
|
.include <bsd.port.post.mk>
|