Opened 21 years ago

Closed 21 years ago

Last modified 19 years ago

#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)

patch-jpeg-portfile (403 bytes) - added by bchesneau@… 21 years ago.
patch to correct it
files.tar.gz (75.7 KB) - added by drm@… 21 years ago.
patch files for new version
Portfile (1.3 KB) - added by drm@… 21 years ago.
new version of Portfile

Download all attachments as: .zip

Change History (9)

Changed 21 years ago by bchesneau@…

Attachment: patch-jpeg-portfile added

patch to correct it

comment:1 Changed 21 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 21 years ago by michaelm@…

blocked: 403

Changed 21 years ago by drm@…

Attachment: files.tar.gz added

patch files for new version

Changed 21 years ago by drm@…

Attachment: Portfile added

new version of Portfile

comment:3 Changed 21 years ago by michaelm@…

Resolution: fixed
Status: newclosed

fixed, with slightly simplified config.guess and config.sub patches

comment:4 Changed 21 years ago by drm@…

Resolution: fixed
Status: closedreopened

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 21 years ago by drm@…

Owner: changed from eric@… to michaelm@…
Status: reopenednew

comment:6 Changed 21 years ago by michaelm@…

Resolution: fixed
Status: newclosed

I think this all works now, so closing...

Note: See TracTickets for help on using tickets.