#402 closed defect (fixed)
problem with jpeg-6a
Reported by: | bchesneau@… | Owned by: | michaelm@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | ||
Port: |
Description
when you try to compile php with jpeg, libjpeg.a is not found.
Attachments (3)
Change History (9)
Changed 22 years ago by bchesneau@…
Attachment: | patch-jpeg-portfile added |
---|
comment:1 Changed 22 years ago by drm@…
I'd like to propose a different solution to the problem.
If you run configure with the two flags --enable-shared and --enable-static, then both shared and static libraries are build (you don't have to do it "by hand" like in the current Portfile).
If you then do the installation with something like "make install prefix="${destdir}/${prefix}", then the installation will go in the right place AND ranlib will be run on the static library after installation, which solves the current bug.
In other words, this package is already set up to do the right thing, and the Portfile which does the right thing would be simpler.
comment:2 Changed 22 years ago by michaelm@…
blocked: | → 403 |
---|
comment:3 Changed 22 years ago by michaelm@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
fixed, with slightly simplified config.guess and config.sub patches
comment:4 Changed 22 years ago by drm@…
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Michael,
You simplified the Portfile too much!
The Makefile fails to create installation directories, so this needs to be done in "pre-install", as in both the original Portfile and my version.
The Portfile you committed fails to install.
-- Dave
comment:5 Changed 22 years ago by drm@…
Owner: | changed from eric@… to michaelm@… |
---|---|
Status: | reopened → new |
comment:6 Changed 21 years ago by michaelm@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
I think this all works now, so closing...
patch to correct it