freebsd-ports/finance/libofx/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: Glenn Johnson <glennpj@charter.net>
# $FreeBSD$
PORTNAME= libofx
PORTVERSION= 0.9.5
CATEGORIES= finance
MASTER_SITES= SF
MAINTAINER= jhale@FreeBSD.org
COMMENT= OpenSource implementation of the OFX (Open Financial eXchange)
LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl \
xml\\+\\+-2.6.2:${PORTSDIR}/textproc/libxml++26 \
osp.5:${PORTSDIR}/textproc/opensp
USE_GCC= any
USE_ICONV= yes
USE_GMAKE= yes
USE_AUTOTOOLS= aclocal autoheader automake autoconf libtool
ACLOCAL_ARGS= -I m4
CONFIGURE_ARGS= --disable-doxygen --disable-dot --disable-gengetopt \
--with-opensp-includes=${LOCALBASE}/include/OpenSP \
--with-opensp-libs=${LOCALBASE}/lib
MAKE_JOBS_SAFE= yes
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
LICENSE= GPLv2
MAN1= ofxconnect.1 \
ofxdump.1
PORTDOCS= *
OPTIONS_DEFINE= APIDOC
APIDOC_DESC= Install full API documentation
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for file in AUTHORS ChangeLog INSTALL NEWS README totest.txt
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.if ${PORT_OPTIONS:MAPIDOC}
@(cd ${WRKSRC}/doc; ${COPYTREE_SHARE} html ${DOCSDIR})
.endif
.endif
.include <bsd.port.mk>