aboutsummaryrefslogtreecommitdiff
path: root/graphics/jpeg/Makefile
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/Makefile
parent09510a1fd1fe5967f768c88fc8f2d4e2e686448d (diff)
downloadports-4d0de816997fd7b9af7ba64b29957c598ab62e63.tar.gz
ports-4d0de816997fd7b9af7ba64b29957c598ab62e63.zip
Notes
Diffstat (limited to 'graphics/jpeg/Makefile')
-rw-r--r--graphics/jpeg/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/graphics/jpeg/Makefile b/graphics/jpeg/Makefile
index 45e9f8fb3788..1c66d07ee418 100644
--- a/graphics/jpeg/Makefile
+++ b/graphics/jpeg/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: