diff options
author | ahze <ahze@FreeBSD.org> | 2005-05-12 09:53:28 +0800 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2005-05-12 09:53:28 +0800 |
commit | 2273cb3e06a325a4de5317e54762139e29dbae78 (patch) | |
tree | 4a9b18c3e06c1dac630fe0a504c60ad764b75b1a /multimedia/gavl/Makefile | |
parent | 922a1c155d42d41aa5312e1f9d71ab6f7b0aa833 (diff) | |
download | freebsd-ports-gnome-2273cb3e06a325a4de5317e54762139e29dbae78.tar.gz freebsd-ports-gnome-2273cb3e06a325a4de5317e54762139e29dbae78.tar.zst freebsd-ports-gnome-2273cb3e06a325a4de5317e54762139e29dbae78.zip |
- Use SCHAR_MAX [1]
- Only s/llrintf/rintf/ on 4.x and early 5.x
Requested by: gavl author [1]
Diffstat (limited to 'multimedia/gavl/Makefile')
-rw-r--r-- | multimedia/gavl/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/multimedia/gavl/Makefile b/multimedia/gavl/Makefile index 66742c5a1d81..974dd51d7427 100644 --- a/multimedia/gavl/Makefile +++ b/multimedia/gavl/Makefile @@ -29,6 +29,11 @@ PORTDOCS= README .include <bsd.port.pre.mk> +.if ${OSVERSION} < 504000 +EXTRA_PATCHES= ${PATCHDIR}/gavl-mix.c-patch \ + ${PATCHDIR}/gavl-c-_cmix_c.c-patch +.endif + pre-everything:: .if !defined(WITH_OPTIMIZED_CFLAGS) @${ECHO_MSG} "===>" @@ -39,8 +44,10 @@ pre-everything:: post-patch: # No llrintf in freebsd (yet) +.if ${OSVERSION} < 504000 @${REINPLACE_CMD} -e 's|llrintf|rintf|g' \ ${WRKSRC}/gavl/c/*.* +.endif .if !defined(WITH_OPTIMIZED_CFLAGS) @${REINPLACE_CMD} -e \ 's|-fomit-frame-pointer -funroll-all-loops -falign-functions=2 -falign-loops=2 -falign-jumps=2||; \ |