freebsd-ports/textproc/domc/Makefile
Mark Linimon c08fa86ad8 Mark as broken on sparc64-8 due to duplicate definition of strlen.
Unclear if amd64-8 is affected as well.

Hat:		portmgr
2009-08-17 03:44:37 +00:00

43 lines
1004 B
Makefile

# ex:ts=8
# New ports collection makefile for: domc
# Date created: Oct 8, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= domc
PORTVERSION= 0.8.0
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= http://www.ioplex.com/~miallen/domc/dl/
MAINTAINER= ports@FreeBSD.org
COMMENT= A light weight implementation of the DOM in ANSI C
LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2 \
mba.0:${PORTSDIR}/devel/libmba
MAN3= DOM_CharacterData.3m DOM_Document.3m DOM_Element.3m \
DOM_Implementation.3m DOM_NamedNodeMap.3m DOM_Node.3m \
DOM_NodeList.3m DOM_Text.3m
MANCOMPRESSED= yes
SHLIB_MAJOR= 0
USE_GMAKE= yes
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
MAKE_ENV+= SHLIB_MAJOR="${SHLIB_MAJOR}" INSTDIR=${PREFIX} LDFLAGS="${LDFLAGS}"
USE_LDCONFIG= yes
PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}"
.include <bsd.port.pre.mk>
.if ${ARCH} == "sparc64" && ${OSVERSION} > 800000
BROKEN= Does not compile on sparc64-8: duplicate definition of strlen
.endif
.include <bsd.port.post.mk>