Bug 93270 - [PATCH] graphics/ocaml-images: jpeg support not working due to missing library path
Summary: [PATCH] graphics/ocaml-images: jpeg support not working due to missing librar...
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-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-13 09:20 UTC by Michael Winking
Modified: 2006-06-11 09:28 UTC (History)
1 user (show)

See Also:


Attachments
ocaml-images.diff (2.06 KB, patch)
2006-02-13 09:20 UTC, Michael Winking
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Winking 2006-02-13 09:20:07 UTC
	The configure script won't detect the installed jpeg, gif (and some
other) libs, since /usr/local/lib is not in the linker path. This would later
lead to a error  message, that jpeg is not supported, when one tries to load a
jpeg image with 'let img = OImages.load "filename.jpg" [];;'.

Fix: I have attached a diff to the Makefile which corrects the LDFLAGS, so
that the library search path is correct.

	I have also modified the Makefile, so that the documentation gets
installed	
How-To-Repeat: 	when doing a "make build", looking at the configure output there will
be "checking for jpeg_read_header in -ljpeg... no" because the linker won't
search for libjpeg in /usr/local/lib.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-02-13 09:32:24 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback
Comment 2 Ion-Mihai "IOnut" Tetcu freebsd_committer freebsd_triage 2006-06-08 16:26:59 UTC
State Changed
From-To: feedback->open

Maintainer time-out, fix Synopsis.
Comment 3 Pav Lucistnik freebsd_committer freebsd_triage 2006-06-11 09:28:44 UTC
State Changed
From-To: open->closed

Committed, thanks!