aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-03-11 17:17:50 +0800
committervs <vs@FreeBSD.org>2005-03-11 17:17:50 +0800
commitbdf3f73e2d5c7a4cb07d4801750f39aa96806096 (patch)
tree74b722484c989a6661a1c1eedb1afca887118976 /math
parent22acb2f1ba8586f1736d30d17542ffc534a85751 (diff)
downloadfreebsd-ports-graphics-bdf3f73e2d5c7a4cb07d4801750f39aa96806096.tar.gz
freebsd-ports-graphics-bdf3f73e2d5c7a4cb07d4801750f39aa96806096.tar.zst
freebsd-ports-graphics-bdf3f73e2d5c7a4cb07d4801750f39aa96806096.zip
Unbreak on 4.x by depending on readline from ports.
Diffstat (limited to 'math')
-rw-r--r--math/fityk/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/math/fityk/Makefile b/math/fityk/Makefile
index 03da1114985..324ee8f14a4 100644
--- a/math/fityk/Makefile
+++ b/math/fityk/Makefile
@@ -16,11 +16,15 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Free peak fitting software
BUILD_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot
-LIB_DEPENDS= wx_gtk2-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk2
+LIB_DEPENDS= wx_gtk2-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk2 \
+ readline.5:${PORTSDIR}/devel/readline
USE_GNOME= gnometarget
GNU_CONFIGURE= yes
+CPPFLAGS+= "-I${LOCALBASE}/include"
+LDFLAGS+= "-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --enable-optimization
+CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
USE_GMAKE= yes
MAN1= fityk.1