diff options
author | lawrance <lawrance@FreeBSD.org> | 2005-11-13 13:42:06 +0800 |
---|---|---|
committer | lawrance <lawrance@FreeBSD.org> | 2005-11-13 13:42:06 +0800 |
commit | eb1735afa5a4fdf9ccd0cc3f7aadf926891d5d8d (patch) | |
tree | dbd2d172411ad4c41c22391ddef8be28a28907bb /net/kiax | |
parent | 8612b6359fdb7243ce8aa06b0b815c2a8203425e (diff) | |
download | freebsd-ports-gnome-eb1735afa5a4fdf9ccd0cc3f7aadf926891d5d8d.tar.gz freebsd-ports-gnome-eb1735afa5a4fdf9ccd0cc3f7aadf926891d5d8d.tar.zst freebsd-ports-gnome-eb1735afa5a4fdf9ccd0cc3f7aadf926891d5d8d.zip |
Fix build on 4.x (stdint.h -> inttypes.h)
Reported by: kris
Diffstat (limited to 'net/kiax')
-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> |