summaryrefslogtreecommitdiff
path: root/graphics/jpeg-mmx
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-03-18 03:36:35 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-03-18 03:36:35 +0000
commit4d0de816997fd7b9af7ba64b29957c598ab62e63 (patch)
treef63654244e9fc9f3b76ec22ee451a41958aa0680 /graphics/jpeg-mmx
parentFix typo. (diff)
add "--enable-maxmem" configure option
PR: 36013 Submitted by: Seva Gluschenko <gvs@rinet.ru>
Notes
Notes: svn path=/head/; revision=56281
Diffstat (limited to 'graphics/jpeg-mmx')
-rw-r--r--graphics/jpeg-mmx/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/graphics/jpeg-mmx/Makefile b/graphics/jpeg-mmx/Makefile
index 45e9f8fb3788..1c66d07ee418 100644
--- a/graphics/jpeg-mmx/Makefile
+++ b/graphics/jpeg-mmx/Makefile
@@ -24,6 +24,11 @@ CONFIGURE_ARGS= --enable-shared --enable-static
ADDITIONAL_HEADER= jinclude.h jpegint.h
+# define J_MAXMEM like "make J_MAXMEM=32" to limit max processing memory to 32Mb
+.if defined(J_MAXMEM)
+CONFIGURE_ARGS+= --enable-maxmem=$(J_MAXMEM)
+.endif
+
MAN1= cjpeg.1 djpeg.1 jpegtran.1 rdjpgcom.1 wrjpgcom.1
post-install: