installing into alternate directory?

Adam Weinberger adamw at adamw.org
Fri Oct 13 23:11:03 UTC 2017


Cc: kde

> On 13 Oct, 2017, at 17:00, Steve Kargl <sgk at troutmask.apl.washington.edu> wrote:
> 
> On Fri, Oct 13, 2017 at 04:50:54PM -0600, Adam Weinberger wrote:
> 
>> Given that the error comes from the port's build and not
>> bsd.port.mk, and given that there is no math/octave42 ini
>> the ports tree,
> 
> Sigh.
> 
> cd /usr/ports/math
> cp -pR octave octave42
> cd octave42
> 
> Spend 2 days working on updating from octave 4.0.3 to 4.2.1.
> Finally get 'make' to complete.  Now, install into an alternate
> location to prevent uninstalling the octave-4.0.3 to new
> octave-gui binary.
> 
> It looks like qtchooser is using PREFIX instead of LOCALBASE.

Yeah, everything in bsd.qt.mk that is based off of QT_BINDIR is looking in PREFIX, not LOCALBASE.

[adamw at apnoea /usr/ports/math/octave] make -V BUILD_DEPENDS PREFIX=/foo
[...] /foo/lib/qt4/bin/linguist:devel/qt4-linguist /foo/lib/qt4/bin/moc:devel/qt4-moc /foo/lib/qt4/bin/rcc:devel/qt4-rcc /foo/lib/qt4/bin/uic:devel/qt4-uic

KDE team, can you weigh in here?

# Adam


-- 
Adam Weinberger
adamw at adamw.org
https://www.adamw.org




More information about the freebsd-ports mailing list