Bug 36013 - --enable-maxmem for libjpeg port
Summary: --enable-maxmem for libjpeg port
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-17 17:20 UTC by Seva Gluschenko
Modified: 2002-03-18 03:39 UTC (History)
0 users

See Also:


Attachments
file.diff (406 bytes, patch)
2002-03-17 17:20 UTC, Seva Gluschenko
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Seva Gluschenko 2002-03-17 17:20:01 UTC
	Working on with libjpeg I found that FreeBSD port does not provide
	any usage of --enable-maxmem configure option. The proposed patch
	solves this issue.

Fix: Apply this patch to port Makefile:

	cd /usr/ports/graphics/jpeg
	patch < /path/to/this/file

	Then use "make J_MAXMEM=nn" to limit memory usage to nn MBytes.
How-To-Repeat: 	Try to make libjpeg from ports with maxmem limit. You won't be able
	to do this without digging into Makefile.
Comment 1 Ying-Chieh Liao freebsd_committer freebsd_triage 2002-03-18 03:36:51 UTC
State Changed
From-To: open->closed

committed, thanks