gnuplot configure use -laquaterm to check aquaterm support, which is not work for AquaTerm v1.1.1. see https://github.com/Homebrew/homebrew/commit/486ec37 Reproducible: Always Steps to Reproduce: 1. install AquaTerm v1.1.1 2. emerge gnuplot-4.6.4 with aqua USE 3. Actual Results: gnuplot build without aquaterm support Expected Results: gnuplot has aquaterm support Use sed to modify configure script of gnuplot will works, see the simple patch below: --- ../../usr/portage/sci-visualization/gnuplot/gnuplot-4.6.4.ebuild 2013-11-08 12:12:20.000000000 +0800 +++ sci-visualization/gnuplot/gnuplot-4.6.4.ebuild 2014-02-11 21:05:43.000000000 +0800 @@ -94,6 +94,10 @@ # of the gnuplot license sed -i -e "1s/.*/& (Gentoo revision ${PR})/" PATCHLEVEL || die + # for aqua term + sed -i -e 's/-laquaterm/-framework AquaTerm/g' "${WORKDIR}"/${P}/configure || die + + # hacky workaround # Please hack the buildsystem if you like if use prefix && use qt4; then
This should be reported upstream and fixed there! (In reply to Changyuan Yu from comment #0) > --- ../../usr/portage/sci-visualization/gnuplot/gnuplot-4.6.4.ebuild > 2013-11-08 12:12:20.000000000 +0800 > +++ sci-visualization/gnuplot/gnuplot-4.6.4.ebuild 2014-02-11 > 21:05:43.000000000 +0800 > @@ -94,6 +94,10 @@ > # of the gnuplot license > sed -i -e "1s/.*/& (Gentoo revision ${PR})/" PATCHLEVEL || die > > + # for aqua term > + sed -i -e 's/-laquaterm/-framework AquaTerm/g' > "${WORKDIR}"/${P}/configure || die > + > + > # hacky workaround > # Please hack the buildsystem if you like > if use prefix && use qt4; then Wouldn't that break older version of aquaterm on Darwin?
(In reply to Christoph Junghans from comment #1) > This should be reported upstream and fixed there! I just find similar bug already report to upstream, but sadly the status is "closed-out-of-date" http://sourceforge.net/p/gnuplot/patches/572/ > > (In reply to Changyuan Yu from comment #0) > > --- ../../usr/portage/sci-visualization/gnuplot/gnuplot-4.6.4.ebuild > > 2013-11-08 12:12:20.000000000 +0800 > > +++ sci-visualization/gnuplot/gnuplot-4.6.4.ebuild 2014-02-11 > > 21:05:43.000000000 +0800 > > @@ -94,6 +94,10 @@ > > # of the gnuplot license > > sed -i -e "1s/.*/& (Gentoo revision ${PR})/" PATCHLEVEL || die > > > > + # for aqua term > > + sed -i -e 's/-laquaterm/-framework AquaTerm/g' > > "${WORKDIR}"/${P}/configure || die > > + > > + > > # hacky workaround > > # Please hack the buildsystem if you like > > if use prefix && use qt4; then > Wouldn't that break older version of aquaterm on Darwin? I am sorry to forget to consider this, and I am not sure about this, probably will break old version. And my Mac OSX version is 10.9, so this hack maybe also not work on older version of the OS. PS: I just find the macport also do similar things, http://trac.macports.org/ticket/34423
Got fixed upstream. Please try gnuplot-5.0 !