- Fix build with clang 11

- Add LICENSE
- Add localbase to USES and remove CPP/LD FLAGS
This commit is contained in:
Danilo Egea Gondolfo 2020-08-27 19:30:54 +00:00
parent 0c40ddb2c8
commit 050fb03123
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=546672

View File

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