svn commit: r351855 - head/comms/gsmlib
Baptiste Daroussin
bapt at FreeBSD.org
Tue Apr 22 15:50:12 UTC 2014
Author: bapt
Date: Tue Apr 22 15:50:11 2014
New Revision: 351855
URL: http://svnweb.freebsd.org/changeset/ports/351855
QAT: https://qat.redports.org/buildarchive/r351855/
Log:
USES=libtool
Use options helpers
Modified:
head/comms/gsmlib/Makefile
head/comms/gsmlib/pkg-plist
Modified: head/comms/gsmlib/Makefile
==============================================================================
--- head/comms/gsmlib/Makefile Tue Apr 22 15:44:37 2014 (r351854)
+++ head/comms/gsmlib/Makefile Tue Apr 22 15:50:11 2014 (r351855)
@@ -13,26 +13,20 @@ DISTFILES= gsmlib_1.10.orig.tar.gz
MAINTAINER= ports at FreeBSD.org
COMMENT= Library to access GSM mobile phones through GSM modems
-USE_GNOME= lthack
-USES= gmake
-USE_AUTOTOOLS= libtool
+USES= gmake libtool
USE_LDCONFIG= yes
+GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include -DBROKEN_STRFTIME -DHAVE_DECL_GETOPT \
${PTHREAD_CFLAGS}
LDFLAGS+= ${PTHREAD_LIBS} -L${LOCALBASE}/lib
+INSTALL_TARGET= install-strip
OPTIONS_DEFINE= NLS
+OPTIONS_SUB= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-USES+= gettext
-PLIST_SUB+= NLS=""
-.else
-CONFIGURE_ARGS+= --disable-nls
-PLIST_SUB+= NLS="@comment "
-.endif
+NLS_USES= gettext
+NLS_CONFIGURE_ENABLE= nls
post-patch:
@${GREP} -lR "<malloc.h>" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
Modified: head/comms/gsmlib/pkg-plist
==============================================================================
--- head/comms/gsmlib/pkg-plist Tue Apr 22 15:44:37 2014 (r351854)
+++ head/comms/gsmlib/pkg-plist Tue Apr 22 15:50:11 2014 (r351855)
@@ -27,10 +27,12 @@ lib/libgsmext.a
lib/libgsmext.la
lib/libgsmext.so
lib/libgsmext.so.1
+lib/libgsmext.so.1.0.4
lib/libgsmme.a
lib/libgsmme.la
lib/libgsmme.so
lib/libgsmme.so.1
+lib/libgsmme.so.1.0.4
man/man1/gsmctl.1.gz
man/man1/gsmpb.1.gz
man/man1/gsmsendsms.1.gz
More information about the svn-ports-all
mailing list