Opened 15 years ago
Closed 15 years ago
#20320 closed defect (duplicate)
cdparanoia-10.2_0 build failure if older version is installed
Reported by: | mtalexander (Mike Alexander) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.1 |
Keywords: | Cc: | ||
Port: | cdparanoia |
Description
If you have cdparanoia-0.9.8_0 installed when you try to build version 10.2_0 the build fails since it links against ${destroot}/lib before the directories containing the dynamic libraries it just built. It would be possible to fix the Makefile to avoid this (and perhaps best to do so) but since it doesn't need anything from ${destroot}/lib the easy fix is to make it ignore it. The attached port file does this, and also drops -O2 from CFLAGS since the make file provides that in cases where it is needed and including it in CFLAGS causes it to be included inappropriately (for example in the debug target of the make file).
Attachments (1)
Change History (2)
Changed 15 years ago by mtalexander (Mike Alexander)
comment:1 Changed 15 years ago by jmroot (Joshua Root)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Dupe of #19831. Could you please attach a diff there (rather than the complete portfile)?
Revised portfile that works when previous version of cdparanoia is installed