aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/opendchub/Makefile
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2020-08-27 19:30:54 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2020-08-27 19:30:54 +0000
commit050fb031235091cbd0506cbe58f2c4a56fdfaf30 (patch)
tree63c5408f81b302d95a25b423db3dae36bcb6872c /net-p2p/opendchub/Makefile
parent0c40ddb2c8ba7d0011e24e05b51838c80b5c3889 (diff)
downloadports-050fb031235091cbd0506cbe58f2c4a56fdfaf30.tar.gz
ports-050fb031235091cbd0506cbe58f2c4a56fdfaf30.zip
Notes
Diffstat (limited to 'net-p2p/opendchub/Makefile')
-rw-r--r--net-p2p/opendchub/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/net-p2p/opendchub/Makefile b/net-p2p/opendchub/Makefile
index 1de165ac7072..79e5e1f18911 100644
--- a/net-p2p/opendchub/Makefile
+++ b/net-p2p/opendchub/Makefile
@@ -9,17 +9,19 @@ MASTER_SITES= SF/${PORTNAME}/Open%20DC%20Hub/${PORTVERSION}
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