aboutsummaryrefslogtreecommitdiff
path: root/x11/mlterm/Makefile
diff options
context:
space:
mode:
authorMANTANI Nobutaka <nobutaka@FreeBSD.org>2010-10-16 10:27:00 +0000
committerMANTANI Nobutaka <nobutaka@FreeBSD.org>2010-10-16 10:27:00 +0000
commit07d315c641307d5c8f880dc8fbeec0daf0e31ae6 (patch)
tree4d96b4beba7e2195c82a848cda27d6b095ecb573 /x11/mlterm/Makefile
parented8ec97f7a224cf6f7edd0608b817e07515ac604 (diff)
downloadports-07d315c641307d5c8f880dc8fbeec0daf0e31ae6.tar.gz
ports-07d315c641307d5c8f880dc8fbeec0daf0e31ae6.zip
Fix build error and use --with-imagelib=gdk-pixbuf2, --enable-optimize-redrawing configure options.
PR: ports/149391, ports/150495, ports/150496 Submitted by: Timothy Beyer <beyert@cs.ucr.edu>, Kenji Rikitake <kenji.rikitake@acm.org>
Notes
Notes: svn path=/head/; revision=263086
Diffstat (limited to 'x11/mlterm/Makefile')
-rw-r--r--x11/mlterm/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/x11/mlterm/Makefile b/x11/mlterm/Makefile
index 41fb0dea164e..71be8e104b71 100644
--- a/x11/mlterm/Makefile
+++ b/x11/mlterm/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mlterm
PORTVERSION= 3.0.1
+PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= SF/${PORTNAME}/01release/${PORTNAME}-${PORTVERSION}
@@ -21,7 +22,8 @@ USE_AUTOTOOLS= libtool:22
LIBTOOLFILES= configure kiklib/configure mkf/configure
USE_PERL5_BUILD=yes
USE_GETTEXT= yes
-CONFIGURE_ARGS= --with-imagelib=gdk-pixbuf --enable-utmp \
+CONFIGURE_ARGS= --with-imagelib=gdk-pixbuf2 --enable-utmp \
+ --mandir="${LOCALBASE}/man" --enable-optimize-redrawing \
--with-tools="mlclient,mlconfig,mlterm-menu,mlcc,w3mmlconfig" \
--with-type-engines="xcore,xft"
CONFIGURE_ENV= LIBS="${LIBS} -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lintl" CFLAGS="${CFLAGS} -I${LOCALBASE}/include -I${LOCALBASE}/include/iiim"
@@ -82,6 +84,9 @@ PLIST_SUB+= SCIM="@comment "
.if ${OSVERSION} >= 900004
MAKE_ENV= LIBS_LOCAL=-lutempter
+.else
+MAKE_ENV= LIBS_LOCAL=-L${LOCALBASE}/lib
+LIB_DEPENDS+= utempter.0:${PORTSDIR}/sysutils/libutempter
.endif
USE_LDCONFIG= yes