Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Aug 2020 19:30:54 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r546672 - head/net-p2p/opendchub
Message-ID:  <202008271930.07RJUsex076799@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Thu Aug 27 19:30:54 2020
New Revision: 546672
URL: https://svnweb.freebsd.org/changeset/ports/546672

Log:
  - Fix build with clang 11
  - Add LICENSE
  - Add localbase to USES and remove CPP/LD FLAGS

Modified:
  head/net-p2p/opendchub/Makefile

Modified: head/net-p2p/opendchub/Makefile
==============================================================================
--- head/net-p2p/opendchub/Makefile	Thu Aug 27 19:19:14 2020	(r546671)
+++ head/net-p2p/opendchub/Makefile	Thu Aug 27 19:30:54 2020	(r546672)
@@ -9,16 +9,18 @@ MASTER_SITES=	SF/${PORTNAME}/Open%20DC%20Hub/${PORTVER
 MAINTAINER=	danilo@FreeBSD.org
 COMMENT=	Unofficial Unix version of the Direct Connect Hub software
 
-USES=		perl5 gmake ssl
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+USES=		perl5 gmake localbase ssl
 GNU_CONFIGURE=	yes
+# Fix build with clang 11
+CFLAGS+=	-fcommon
 
 OPTIONS_DEFINE=	DOCS
 
 PORTDOCS=	README configfiles general scriptdoc
 PLIST_FILES=	bin/${PORTNAME}
-
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
 
 pre-install:
 	@${CHMOD} a+rx ${WRKSRC}/install-sh



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008271930.07RJUsex076799>