aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2010-12-07 05:05:20 +0800
committerpav <pav@FreeBSD.org>2010-12-07 05:05:20 +0800
commite3d663dbadc27cbbf44ad5c66cd028a4487a3bf2 (patch)
tree1d01aa8117dfbd907c5ef111551ea3088c9223c8 /lang
parent575bf139c19504eddfe15f2bb9b2c67fdfd47d36 (diff)
downloadfreebsd-ports-gnome-e3d663dbadc27cbbf44ad5c66cd028a4487a3bf2.tar.gz
freebsd-ports-gnome-e3d663dbadc27cbbf44ad5c66cd028a4487a3bf2.tar.zst
freebsd-ports-gnome-e3d663dbadc27cbbf44ad5c66cd028a4487a3bf2.zip
- Fix build with new tix
Diffstat (limited to 'lang')
-rw-r--r--lang/ohugs/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/lang/ohugs/Makefile b/lang/ohugs/Makefile
index 6e1cb69d3168..4fed82fe5447 100644
--- a/lang/ohugs/Makefile
+++ b/lang/ohugs/Makefile
@@ -6,7 +6,7 @@
PORTNAME= ohugs
PORTVERSION= 0.5
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= lang haskell
MASTER_SITES= http://www.math.chalmers.se/~nordland/ohugs/
DISTNAME= ${PORTNAME}-${PORTVERSION}.src
@@ -16,7 +16,7 @@ COMMENT= Interpreter for Haskell with object-oriented features
LIB_DEPENDS= readline.6:${PORTSDIR}/devel/readline
.if !defined(WITHOUT_X11)
-LIB_DEPENDS+= tix8184:${PORTSDIR}/x11-toolkits/tix
+LIB_DEPENDS= Tix8.4.3.0:${PORTSDIR}/x11-toolkits/tix
.endif
WRKSRC= ${WRKDIR}/${DISTNAME:S/.src//}
@@ -24,8 +24,9 @@ BUILD_WRKSRC= ${WRKSRC}/src
USE_BISON= build
LDFLAGS+= -lm -lreadline -ltermcap
.if !defined(WITHOUT_X11)
-CFLAGS+= -I${LOCALBASE}/include/tk8.4 -I${LOCALBASE}/include/tcl8.4 -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib -ltk84 -ltcl84 -ltix8184
+USE_TK= 84+
+CFLAGS+= -I${TK_INCLUDEDIR} -I${TCL_INCLUDEDIR} -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib -ltk${TK_VER:S/.//} -ltcl${TCL_VER:S/.//} -lTix8.4.3
.endif
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \
INSTBIN=${PREFIX}/bin INSTLIB=${PREFIX}/lib/ohugs