Brokenness caused by libpng update

Dagobert Michelsen dam at opencsw.org
Thu May 7 09:03:58 CEST 2015


Hi Riccardo,

> Am 06.05.2015 um 22:30 schrieb Riccardo Mottola <rmottola at opencsw.org>:
> 
> Hi,
> 
> On 05/05/15 19:11, Peter FELECAN wrote:
>> Riccardo Mottola <rmottola at opencsw.org> writes:
>> 
>>> perhaps I need to remove the file
>>> after the build stage or before the installation stage?
>> after the installation and before the merge
> 
> I suppose I need to try my luck in post-install:
> I am pretty sure this is the right place, but what directory should search the files in? $(WRKSRC) is wrong, DESTDIR too

DESTDIR should be right, something like

post-install:
	rm -f $(DESTDIR)$(libdir)/libpng.so
	@$(MAKECOOKIE)

Reminder: configure and build take place inside $(WORKSRC), the installation is
done from $(WORKSRC) to $(DESTDIR), all the $(DESTDIR)s from all modulations
are merged together to $(PKGROOT) from where the package is made.


Best regards

  — Dago


-- 
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2418 bytes
Desc: not available
URL: <http://lists.opencsw.org/pipermail/maintainers/attachments/20150507/93e9e19d/attachment.p7s>


More information about the maintainers mailing list