diff options
author | danfe <danfe@FreeBSD.org> | 2010-03-27 01:46:11 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2010-03-27 01:46:11 +0800 |
commit | 9c8b33281451fcc7e8e22d7a4c63361d53ccf526 (patch) | |
tree | 9286d2cb157bf450abea312157e27fe88dc4afd8 /graphics/darktable | |
parent | 9a1afc33365f71fb7cd2098bb14043e3c2cfb2c2 (diff) | |
download | freebsd-ports-gnome-9c8b33281451fcc7e8e22d7a4c63361d53ccf526.tar.gz freebsd-ports-gnome-9c8b33281451fcc7e8e22d7a4c63361d53ccf526.tar.zst freebsd-ports-gnome-9c8b33281451fcc7e8e22d7a4c63361d53ccf526.zip |
Fix the build on FreeBSD 6.X, which lacks posix_memalign(3).
Reported by: pavmail
Diffstat (limited to 'graphics/darktable')
-rw-r--r-- | graphics/darktable/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/graphics/darktable/Makefile b/graphics/darktable/Makefile index 0dde86975599..70a6d9c62294 100644 --- a/graphics/darktable/Makefile +++ b/graphics/darktable/Makefile @@ -37,5 +37,8 @@ post-patch: ${WRKSRC}/src/iop/Makefile.in \ ${WRKSRC}/src/views/Makefile.in \ ${WRKSRC}/src/libs/Makefile.in +# FreeBSD 6.X does not have posix_memalign(3) + @${REINPLACE_CMD} -e 's,__APPLE__),& || __FreeBSD_version < 700013,' \ + ${WRKSRC}/src/common/darktable.c .include <bsd.port.mk> |