Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jul 2018 19:11:51 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r473851 - head/comms/gsmlib
Message-ID:  <201807031911.w63JBplI045624@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Jul  3 19:11:51 2018
New Revision: 473851
URL: https://svnweb.freebsd.org/changeset/ports/473851

Log:
  - Add LICENSE
  - Switch to USES=localbase
  - Fix build with clang 6

Modified:
  head/comms/gsmlib/Makefile

Modified: head/comms/gsmlib/Makefile
==============================================================================
--- head/comms/gsmlib/Makefile	Tue Jul  3 17:53:51 2018	(r473850)
+++ head/comms/gsmlib/Makefile	Tue Jul  3 19:11:51 2018	(r473851)
@@ -13,18 +13,22 @@ DISTFILES=	gsmlib_1.10.orig.tar.gz
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Library to access GSM mobile phones through GSM modems
 
+LICENSE=	LGPL20
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 USES=		gmake libtool
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
-
-CPPFLAGS+=	-I${LOCALBASE}/include -DBROKEN_STRFTIME -DHAVE_DECL_GETOPT
-LDFLAGS+=	-lpthread -L${LOCALBASE}/lib
 INSTALL_TARGET=	install-strip
 
+CPPFLAGS+=	-DBROKEN_STRFTIME -DHAVE_DECL_GETOPT
+LDFLAGS+=	-lpthread
+CXXFLAGS+=	-Wno-c++11-narrowing
+
 OPTIONS_DEFINE=	NLS
 OPTIONS_SUB=	yes
 
-NLS_USES=	gettext
+NLS_USES=	gettext localbase:ldflags
 NLS_CONFIGURE_ENABLE=	nls
 
 post-patch:



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