Created attachment 145933 [details] patch Some ports create their pkg-plist from post-install. USES=libtool removes .la files after that so pkg-plist contains .la files that don't exist when the package is created. The attached patch moves the patch-lafiles target in front of post-stage such that these ports can create their pkg-plist in post-stage. An example port is lang/gcc-aux and other lang/gcc* ports.
Created attachment 145953 [details] patch2 This patch changes both _STAGE_SUSEQ and _STAGE_SEQ.
Patch approved, I will notify you if there are some fallout
A commit references this bug: Author: tijl Date: Thu Aug 21 13:09:15 UTC 2014 New revision: 365554 URL: http://svnweb.freebsd.org/changeset/ports/365554 Log: Some ports create their pkg-plist from post-install. USES=libtool removes .la files after that so pkg-plist ends up containing .la files that don't exist when the package is created. Move the patch-lafiles target in front of post-stage such that these ports can create their pkg-plist in post-stage. PR: 192753 Approved by: portmgr (antoine) Changes: head/Mk/bsd.port.mk