mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 14:07:45 +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
1 changed files with 12 additions and 1 deletions
|
@ -6,7 +6,18 @@ useconfigure=true
|
||||||
files=(
|
files=(
|
||||||
"https://github.com/gnuplot/gnuplot/archive/${version}.tar.gz 2b0c1841640b2e33f8421ac83cd91d972d8b0c6acf9753f16385d5eec8a61a73"
|
"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() {
|
pre_configure() {
|
||||||
run ./prepare
|
run ./prepare
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue