svn commit: r546672 - head/net-p2p/opendchub

Danilo Egea Gondolfo danilo at FreeBSD.org
Thu Aug 27 19:30:55 UTC 2020


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 at 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


More information about the svn-ports-head mailing list