MFH: r498224

Add USES=compiler:c11 to fix build on GCC-based architectures:

  /usr/local/include/gnutls/gnutls.h:482: error: expected identifier or '(' before '/' token

While here, also add USES=gnome localbase:ldflags.

PR:		237037
Submitted by:	Piotr Kubaj
Approved by:	portmgr (tier-2 blanket)
This commit is contained in:
Mark Linimon 2019-04-07 01:28:59 +00:00
parent 66ebd0f389
commit 6da26f5e8f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2019Q2/; revision=498226

View File

@ -13,15 +13,12 @@ COMMENT= Flexible IRC proxy
LIB_DEPENDS= libgnutls.so:security/gnutls
USES= compiler:c11 gmake gnome localbase:ldflags pathfix pkgconfig
USE_GNOME= glib20
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
USES= gmake pathfix pkgconfig
PATHFIX_MAKEFILEIN= Makefile
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= DOCS
post-install: