[Bug 252350] comms/limesuite: Octave dependency does not replace %%CONFIGURE_TARGET%% in PLIST

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jan 5 03:27:49 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252350

--- Comment #3 from Tomasz "CeDeROM" CEDRO <tomek at cedro.info> ---
Allright, mystery solved, that full path is provided by the octave-config
utility that is part of the Octave suite, this magic path in Stage was taken
from a CMAKE and provided by octave-config binary, so we need to obtain it as
well in Port Makefile (I found VAR!=exec very handy) and then substitute that
full path in a pkg-plist. Now our port fully adapts to existing Octave Suite
:-)

CONFIGURE_TARGET is not even necessary here and works as expected it just needs
an assignment in a way:
PLIST_SUB+= CONFIGURE_TARGET=${CONFIGURE_TARGET}

Because at the moment we use this port mainly for debugging USB driver problem
I have also added and enabled by default DEBUG build option that will generate
unstripped binaries ready for easy debug with either gdb or lldb.

Feedback and Testing welcome :-)

Happy New Year :-)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list