1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/comms/gsmlib/Makefile
John Marino f4d2e9d5d0 2 ports categories: Remove $PTHREAD_LIBS
Categories: net-p2p, comms

Note that qrq was not properly staged, it failed stage-QA.
aprsd failed check-plist; it had a plist orphan.  Now it fails stage-QA
with a fs violation, but it may be acceptable.  Fixes added to both.

approved by:	PTHREAD blanket
2015-03-24 23:45:41 +00:00

35 lines
794 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= gsmlib
PORTVERSION= 1.10
PORTREVISION= 7
CATEGORIES= comms
MASTER_SITES= DEBIAN
#TODO: examine the Debian patches, and changes in the Mandrake
#gsmlib-1.11-0.2mdv2007.0.src.rpm, for use in this port
DISTFILES= gsmlib_1.10.orig.tar.gz
MAINTAINER= ports@FreeBSD.org
COMMENT= Library to access GSM mobile phones through GSM modems
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
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
post-patch:
@${GREP} -lR "<malloc.h>" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
's|<malloc\.h>|<stdlib.h>|g'
.include <bsd.port.mk>