svn commit: r566066 - head/lang/oo2c

Dmitry Marakasov amdmi3 at FreeBSD.org
Fri Feb 19 14:25:28 UTC 2021


Author: amdmi3
Date: Fri Feb 19 14:25:27 2021
New Revision: 566066
URL: https://svnweb.freebsd.org/changeset/ports/566066

Log:
  - Fix LICENSE
  - Add LICENSE_FILE
  - Switch to USES=localbase
  - Fix options statement order and description

Modified:
  head/lang/oo2c/Makefile

Modified: head/lang/oo2c/Makefile
==============================================================================
--- head/lang/oo2c/Makefile	Fri Feb 19 13:46:59 2021	(r566065)
+++ head/lang/oo2c/Makefile	Fri Feb 19 14:25:27 2021	(r566066)
@@ -11,28 +11,24 @@ DISTNAME=	${PORTNAME}_${BITS}-${PORTVERSION}
 MAINTAINER=	ports at 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:


More information about the svn-ports-all mailing list