mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 01:20:25 +00:00
Ports/gnuplot: Explicitly specify which optional dependencies to enable
This change explicitly enables support for `libgd` and the lua terminal in `gnuplot`, while explicitly disabling `cairo` terminals, which don't work with our `cairo` port. Adding `libgd` as a dependency requires us to manually link against the dependencies of `libgd`, as this is not done automatically by the configure script. This fixes an issue where building `gnuplot` would fail if `libgd` was already installed.
This commit is contained in:
parent
673d6bf2d2
commit
2512544b6b
Notes:
sideshowbarker
2024-07-17 05:23:40 +09:00
Author: https://github.com/tcl3 Commit: https://github.com/SerenityOS/serenity/commit/2512544b6b Pull-request: https://github.com/SerenityOS/serenity/pull/20750 Reviewed-by: https://github.com/timschumi ✅
1 changed files with 12 additions and 1 deletions
|
@ -6,7 +6,18 @@ useconfigure=true
|
|||
files=(
|
||||
"https://github.com/gnuplot/gnuplot/archive/${version}.tar.gz 2b0c1841640b2e33f8421ac83cd91d972d8b0c6acf9753f16385d5eec8a61a73"
|
||||
)
|
||||
configopts=("--prefix=${SERENITY_INSTALL_ROOT}/usr/local" "--with-readline=builtin" "--without-latex")
|
||||
depends=(
|
||||
'libgd'
|
||||
'lua'
|
||||
)
|
||||
configopts=(
|
||||
"--prefix=${SERENITY_INSTALL_ROOT}/usr/local"
|
||||
'--with-qt=no'
|
||||
"--with-readline=builtin"
|
||||
'--without-cairo'
|
||||
"--without-latex"
|
||||
'libgd_LIBS=-liconv -lfreetype -lfontconfig -lpng'
|
||||
)
|
||||
|
||||
pre_configure() {
|
||||
run ./prepare
|
||||
|
|
Loading…
Reference in a new issue