diff options
author | anray <anray@FreeBSD.org> | 2006-02-14 19:22:34 +0800 |
---|---|---|
committer | anray <anray@FreeBSD.org> | 2006-02-14 19:22:34 +0800 |
commit | 1bd79ec86e66dfc75389a3e22d590e099638afc2 (patch) | |
tree | 3b3be5126520fa9de40ec5e8be0c5b8e5577f2cc /comms/gammu | |
parent | 23a7f95e2951a8cf5fd28e7df80a5a6a1e7a7e0f (diff) | |
download | freebsd-ports-gnome-1bd79ec86e66dfc75389a3e22d590e099638afc2.tar.gz freebsd-ports-gnome-1bd79ec86e66dfc75389a3e22d590e099638afc2.tar.zst freebsd-ports-gnome-1bd79ec86e66dfc75389a3e22d590e099638afc2.zip |
Fix works on 4.x systems.
PR: ports/92421
Approved by: maintainer timeout(18 days)
Diffstat (limited to 'comms/gammu')
-rw-r--r-- | comms/gammu/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
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> |