summaryrefslogtreecommitdiff
path: root/graphics/openjpeg/Makefile
diff options
context:
space:
mode:
authorpho <pho>2015-01-23 17:15:09 +0000
committerpho <pho>2015-01-23 17:15:09 +0000
commitbaf10ec5da5e6a4095cb2d444f804b25c04f3ad7 (patch)
tree0964ce5b5299e1ea6fea1aca7cc43742cc7f82bd /graphics/openjpeg/Makefile
parentb820ea283c2a18517eaa66c8eef3effa98a40fa7 (diff)
downloadpkgsrc-baf10ec5da5e6a4095cb2d444f804b25c04f3ad7.tar.gz
Check for aligned memory functions with cmake
Not all platforms have posix_memalign(3) so we need to check if it exists. This fixes build failure on Darwin 9. See: https://www.gnu.org/software/gnulib/manual/html_node/posix_005fmemalign.html
Diffstat (limited to 'graphics/openjpeg/Makefile')
-rw-r--r--graphics/openjpeg/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/graphics/openjpeg/Makefile b/graphics/openjpeg/Makefile
index f4b41c3e663..38d38ab3106 100644
--- a/graphics/openjpeg/Makefile
+++ b/graphics/openjpeg/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2014/05/15 14:14:54 adam Exp $
+# $NetBSD: Makefile,v 1.11 2015/01/23 17:15:09 pho Exp $
DISTNAME= openjpeg-2.1.0
CATEGORIES= graphics
@@ -12,8 +12,6 @@ LICENSE= 2-clause-bsd
USE_CMAKE= yes
CMAKE_ARGS+= -DOPENJPEG_INSTALL_MAN_DIR=${PKGMANDIR}
-CFLAGS+= -DHAVE_POSIX_MEMALIGN
-
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/lcms2/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"