Index: head/lang/oo2c/Makefile =================================================================== --- head/lang/oo2c/Makefile (revision 566065) +++ head/lang/oo2c/Makefile (revision 566066) @@ -1,58 +1,54 @@ # Created by: Oliver Breuninger # $FreeBSD$ 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= 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 tar:bzip2 +USES= gmake libtool:build localbase:ldflags tar:bzip2 GNU_CONFIGURE= yes USE_LDCONFIG= yes USE_CSTD= gnu89 USE_GCC= any -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -THREADS_DESC= Build thread support (Must have pthread installed) - OPTIONS_DEFINE= DOCS THREADS -OPTIONS_DEFAULT=DOCS - 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 .if ${ARCH} == i386 BITS= 32 .else BITS= 64 .endif .if ${ARCH} == "powerpc64" # .if defined(PPC_ABI) && ${PPC_ABI} == ELFv1 CFLAGS+= -fnested-functions # .endif .endif .include