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

(-)Makefile (-1 / +10 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	gammu
8
PORTNAME=	gammu
9
PORTVERSION=	1.04.0
9
PORTVERSION=	1.04.0
10
PORTREVISION=	1
10
CATEGORIES=	comms
11
CATEGORIES=	comms
11
MASTER_SITES=	http://www.mwiacek.com/zips/gsm/gammu/stable/1_0x/
12
MASTER_SITES=	http://www.mwiacek.com/zips/gsm/gammu/stable/1_0x/
12
13
Lines 26-35 Link Here
26
CONFIGURE_ARGS=	--disable-bluerfsearch
27
CONFIGURE_ARGS=	--disable-bluerfsearch
27
CONFIGURE_ENV=	CFLAGS="${CFLAGS} -fPIC"
28
CONFIGURE_ENV=	CFLAGS="${CFLAGS} -fPIC"
28
29
30
.include <bsd.port.pre.mk>
31
29
post-patch:
32
post-patch:
33
.if ${OSVERSION} < 500000
34
	@${REINPLACE_CMD} -e 's|%zd|%d|g' -e 's|%zi|%i|g' \
35
		${WRKSRC}/common/phone/at/atgen.c \
36
		${WRKSRC}/common/phone/obex/obexgen.c \
37
		${WRKSRC}/gammu/depend/nokia/dct3trac/wmx-gsm.c
38
.endif
30
.if defined(NOPORTDOCS)
39
.if defined(NOPORTDOCS)
31
	@${REINPLACE_CMD} -e 's@ installdocs@@g' \
40
	@${REINPLACE_CMD} -e 's@ installdocs@@g' \
32
		${WRKSRC}/cfg/Makefile.glo
41
		${WRKSRC}/cfg/Makefile.glo
33
.endif
42
.endif
34
43
35
.include <bsd.port.mk>
44
.include <bsd.port.post.mk>

Return to bug 92421