aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/jpeg-mmx
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-03-18 11:36:35 +0800
committerijliao <ijliao@FreeBSD.org>2002-03-18 11:36:35 +0800
commitb599af65fc8f66e5cbbb12fd712bb15a0553cf11 (patch)
treefced3b1440b381f8d8dc7007fd03ea8cd63a1fef /graphics/jpeg-mmx
parentb0f637799bba881302461b9134ca8045dcb7b45b (diff)
downloadfreebsd-ports-gnome-b599af65fc8f66e5cbbb12fd712bb15a0553cf11.tar.gz
freebsd-ports-gnome-b599af65fc8f66e5cbbb12fd712bb15a0553cf11.tar.zst
freebsd-ports-gnome-b599af65fc8f66e5cbbb12fd712bb15a0553cf11.zip
add "--enable-maxmem" configure option
PR: 36013 Submitted by: Seva Gluschenko <gvs@rinet.ru>
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: