svn commit: r473851 - head/comms/gsmlib
Dmitry Marakasov
amdmi3 at FreeBSD.org
Tue Jul 3 19:11:52 UTC 2018
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 at 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:
More information about the svn-ports-all
mailing list