diff --git a/Ports/gnuplot/package.sh b/Ports/gnuplot/package.sh index 9ce4a50cd74..a568e610c47 100755 --- a/Ports/gnuplot/package.sh +++ b/Ports/gnuplot/package.sh @@ -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