freebsd-ports/x11/eterm/Makefile
Mark Linimon a8693b8dee Force numerous ports that fail to build with clang over to instead always
rely on gcc.  The patch uses the new USE_GCC=any code in Mk/bsd.gcc.mk to
accomplish this.

The ports chosen were ports that blocked 2 or more ports from building with
clang.  (There are several hundred other ports that still fail to build with
clang, even with this patch.  This is merely one step along the way.)

Those interested in fixing these ports with clang, and have clang as their
default compiler, can simply set FORCE_BASE_CC_FOR_TESTING=yes.

For those who have gcc as their default compiler, this change is believed
to cause no change.

Hat:		portmgr
Tested with:	multiple runs on amd64-8-exp-bcm and 9-exp-clang, with various
		combinations of patch/no-patch and flag settings.
2012-10-09 22:12:13 +00:00

53 lines
1.2 KiB
Makefile

# Created by: Murray Stokely <murray@freebsd.org>
# $FreeBSD$
PORTNAME= eterm
PORTVERSION= 0.9.6
PORTREVISION= 1
CATEGORIES+= x11
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Eterm-${PORTVERSION}
DISTNAME= Eterm-${PORTVERSION}
MAINTAINER?= olgeni@FreeBSD.org
COMMENT?= X11 terminal emulator based on rxvt/xterm
BUILD_DEPENDS= man2html:${PORTSDIR}/textproc/man2html
LIB_DEPENDS= ast:${PORTSDIR}/devel/libast
USE_AUTOTOOLS= libtool
USE_GCC= any
USE_LDCONFIG= yes
CONFIGURE_ARGS?=--enable-trans --enable-utmp \
--enable-xim --with-theme-update \
--with-backspace=bs --without-terminfo \
--enable-multi-charset
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= MMX
USE_XORG= x11 xt
USE_ICONV= yes
USE_EFL= imlib2
MAN1= Eterm.1
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MMMX} && (${ARCH} == "i386")
CONFIGURE_ARGS+=--enable-mmx
.endif
post-patch:
@${FIND} ${WRKSRC} -name '*.orig' -delete
post-install:
@${CHMOD} 4711 ${PREFIX}/bin/Eterm
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/ReleaseNotes ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/doc/Eterm_reference.html ${DOCSDIR}
.endif
.include <bsd.port.post.mk>