diff options
author | Sam Lawrance <lawrance@FreeBSD.org> | 2005-11-13 05:42:06 +0000 |
---|---|---|
committer | Sam Lawrance <lawrance@FreeBSD.org> | 2005-11-13 05:42:06 +0000 |
commit | dd9a2d2142b529a151f1ee1bf08d8502bd7f5ead (patch) | |
tree | 0fd779086d6100106180d63b840842d2ad0b9bc3 /net | |
parent | a6b71fa9f99e4101bebdfe97f26eb48d1c1c390a (diff) | |
download | ports-dd9a2d2142b529a151f1ee1bf08d8502bd7f5ead.tar.gz ports-dd9a2d2142b529a151f1ee1bf08d8502bd7f5ead.zip |
Fix build on 4.x (stdint.h -> inttypes.h)
Reported by: kris
Notes
Notes:
svn path=/head/; revision=148079
Diffstat (limited to 'net')
-rw-r--r-- | net/kiax/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/net/kiax/Makefile b/net/kiax/Makefile index 4c91ef3d6f6d..82446f83d8e3 100644 --- a/net/kiax/Makefile +++ b/net/kiax/Makefile @@ -22,6 +22,7 @@ USE_BZIP2= yes GNU_CONFIGURE= yes USE_PERL5_BUILD= yes USE_QT_VER= 3 +USE_REINPLACE= yes CONFIGURE_ENV+= QTDIR=${X11BASE} \ QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++ \ @@ -29,4 +30,11 @@ CONFIGURE_ENV+= QTDIR=${X11BASE} \ MAKE_ARGS+= QTDIR=${X11BASE} \ QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++ -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +post-patch: +.if ${OSVERSION} < 500000 + ${REINPLACE_CMD} 's/stdint\.h/inttypes.h/' ${WRKSRC}/lib/spandsp/plc.h +.endif + +.include <bsd.port.post.mk> |