diff options
author | Andrey Slusar <anray@FreeBSD.org> | 2006-02-14 11:22:34 +0000 |
---|---|---|
committer | Andrey Slusar <anray@FreeBSD.org> | 2006-02-14 11:22:34 +0000 |
commit | a0e2cc32738a82ac50aa0fce2f64691456425d55 (patch) | |
tree | e65ed38a5fe438e6da4b8512dadcbe9c7df55a62 /comms | |
parent | 1f7b85d1413993b18c7b9bf2faed898084a92784 (diff) | |
download | ports-a0e2cc32738a82ac50aa0fce2f64691456425d55.tar.gz ports-a0e2cc32738a82ac50aa0fce2f64691456425d55.zip |
Notes
Diffstat (limited to 'comms')
-rw-r--r-- | comms/gammu-devel/Makefile | 11 | ||||
-rw-r--r-- | comms/gammu/Makefile | 11 |
2 files changed, 20 insertions, 2 deletions
diff --git a/comms/gammu-devel/Makefile b/comms/gammu-devel/Makefile index ddbb4810dd9e..9a92e897621b 100644 --- a/comms/gammu-devel/Makefile +++ b/comms/gammu-devel/Makefile @@ -7,6 +7,7 @@ PORTNAME= gammu PORTVERSION= 1.04.0 +PORTREVISION= 1 CATEGORIES= comms MASTER_SITES= http://www.mwiacek.com/zips/gsm/gammu/stable/1_0x/ @@ -26,10 +27,18 @@ PORTDOCS= * CONFIGURE_ARGS= --disable-bluerfsearch CONFIGURE_ENV= CFLAGS="${CFLAGS} -fPIC" +.include <bsd.port.pre.mk> + post-patch: +.if ${OSVERSION} < 500000 + @${REINPLACE_CMD} -e 's|%zd|%d|g' -e 's|%zi|%i|g' \ + ${WRKSRC}/common/phone/at/atgen.c \ + ${WRKSRC}/common/phone/obex/obexgen.c \ + ${WRKSRC}/gammu/depend/nokia/dct3trac/wmx-gsm.c +.endif .if defined(NOPORTDOCS) @${REINPLACE_CMD} -e 's@ installdocs@@g' \ ${WRKSRC}/cfg/Makefile.glo .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/comms/gammu/Makefile b/comms/gammu/Makefile index ddbb4810dd9e..9a92e897621b 100644 --- a/comms/gammu/Makefile +++ b/comms/gammu/Makefile @@ -7,6 +7,7 @@ PORTNAME= gammu PORTVERSION= 1.04.0 +PORTREVISION= 1 CATEGORIES= comms MASTER_SITES= http://www.mwiacek.com/zips/gsm/gammu/stable/1_0x/ @@ -26,10 +27,18 @@ PORTDOCS= * CONFIGURE_ARGS= --disable-bluerfsearch CONFIGURE_ENV= CFLAGS="${CFLAGS} -fPIC" +.include <bsd.port.pre.mk> + post-patch: +.if ${OSVERSION} < 500000 + @${REINPLACE_CMD} -e 's|%zd|%d|g' -e 's|%zi|%i|g' \ + ${WRKSRC}/common/phone/at/atgen.c \ + ${WRKSRC}/common/phone/obex/obexgen.c \ + ${WRKSRC}/gammu/depend/nokia/dct3trac/wmx-gsm.c +.endif .if defined(NOPORTDOCS) @${REINPLACE_CMD} -e 's@ installdocs@@g' \ ${WRKSRC}/cfg/Makefile.glo .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |