diff options
author | sobomax <sobomax@FreeBSD.org> | 2002-05-22 20:08:01 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2002-05-22 20:08:01 +0800 |
commit | 0534cc8fb3e3e4ffbbe1a4813bcf3542c8c7813b (patch) | |
tree | 8f32c20ffa421c0d075aaaf6c33277bdf666961e /devel/openzz/Makefile | |
parent | 2337a550f79a73271dcf2cc52cee0fb410d9922d (diff) | |
download | freebsd-ports-gnome-0534cc8fb3e3e4ffbbe1a4813bcf3542c8c7813b.tar.gz freebsd-ports-gnome-0534cc8fb3e3e4ffbbe1a4813bcf3542c8c7813b.tar.zst freebsd-ports-gnome-0534cc8fb3e3e4ffbbe1a4813bcf3542c8c7813b.zip |
Fix on 4-STABLE.
PR: 38410
Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Diffstat (limited to 'devel/openzz/Makefile')
-rw-r--r-- | devel/openzz/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/openzz/Makefile b/devel/openzz/Makefile index dad17ceea07f..ff482a134861 100644 --- a/devel/openzz/Makefile +++ b/devel/openzz/Makefile @@ -18,7 +18,13 @@ USE_LIBTOOL= yes GNU_CONFIGURE= yes INSTALLS_SHLIB= yes +.include <bsd.port.pre.mk> + post-patch: @${PERL} -pi -e "s/cfree/free/g" ${WRKSRC}/src/list.c +.if ${OSVERSION} <= 500027 + @${FIND} ${WRKSRC}/src -type f | ${XARGS} ${PERL} -pi \ + -e 's|<stdint.h>|<inttypes.h>|' +.endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |