openbsd-ports/textproc/libxml1/Makefile
sthen b3336cc89f Patch to #include more headers to fix missing prototypes, which
resulted in pointer truncation on LP64 arch.

patch-debugXML_c - string.h is wrapped in #ifdef, but the macro is
never set by autoconf. Most other source here unconditionally includes
string.h, so follow suit - fgsch@ would prefer mending configure.in.
Explanatory notes added to patch. ok martynas@.

patch-xmlmemory_h - stdlib.h missing. ok fgsch@ martynas@.
2008-07-14 20:42:41 +00:00

29 lines
627 B
Makefile

# $OpenBSD: Makefile,v 1.17 2008/07/14 20:42:41 sthen Exp $
COMMENT= XML parsing library for GNOME
VERSION= 1.8.17
DISTNAME= libxml-${VERSION}
PKGNAME= libxml1-${VERSION}p3
SHARED_LIBS= xml 9.17
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libxml/1.8/}
HOMEPAGE= http://xmlsoft.org/
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= z
USE_LIBTOOL= Yes
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-static
CONFIGURE_ARGS+= --with-html-dir="${PREFIX}/share"
.include <bsd.port.mk>