View | Details | Raw Unified | Return to bug 51360
Collapse All | Expand All

(-)comms/gsmlib/Makefile (-5 / +1 lines)
Lines 16-21 Link Here
16
16
17
LIB_DEPENDS=	intl.4:${PORTSDIR}/devel/gettext
17
LIB_DEPENDS=	intl.4:${PORTSDIR}/devel/gettext
18
18
19
USE_GETOPT_LONG=	yes
19
USE_REINPLACE=	yes
20
USE_REINPLACE=	yes
20
USE_GMAKE=	yes
21
USE_GMAKE=	yes
21
USE_LIBTOOL=	yes
22
USE_LIBTOOL=	yes
Lines 30-40 Link Here
30
CPPFLAGS=	-I${LOCALBASE}/include -DBROKEN_STRFTIME -DHAVE_DECL_GETOPT \
31
CPPFLAGS=	-I${LOCALBASE}/include -DBROKEN_STRFTIME -DHAVE_DECL_GETOPT \
31
		${PTHREAD_CFLAGS} 
32
		${PTHREAD_CFLAGS} 
32
LDFLAGS=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
33
LDFLAGS=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
33
34
.if !exists(/usr/include/getopt.h)
35
LIB_DEPENDS+=   gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
36
LDFLAGS+=       -lgnugetopt
37
.endif
38
34
39
post-patch:
35
post-patch:
40
	@${GREP} -lR "<malloc.h>" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
36
	@${GREP} -lR "<malloc.h>" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \

Return to bug 51360