From ce43f83affd43882a1dd844e9ca756cfd0bbcac9 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Tue, 3 Jul 2018 19:11:51 +0000 Subject: [PATCH] - Add LICENSE - Switch to USES=localbase - Fix build with clang 6 --- comms/gsmlib/Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/comms/gsmlib/Makefile b/comms/gsmlib/Makefile index 28e73e1f055c..b590418f0854 100644 --- a/comms/gsmlib/Makefile +++ b/comms/gsmlib/Makefile @@ -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: