1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

- Add LICENSE

- Switch to USES=localbase
- Fix build with clang 6
This commit is contained in:
Dmitry Marakasov 2018-07-03 19:11:51 +00:00
parent f61b3fe565
commit ce43f83aff
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=473851

View File

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