| @@ -1,43 +1,44 @@ | | | @@ -1,43 +1,44 @@ |
1 | # $NetBSD: Makefile,v 1.97 2008/10/16 13:31:57 drochner Exp $ | | 1 | # $NetBSD: Makefile,v 1.98 2008/10/17 16:06:04 drochner Exp $ |
2 | | | 2 | |
3 | DISTNAME= libxml2-2.7.2 | | 3 | DISTNAME= libxml2-2.7.2 |
| | | 4 | PKGREVISION= 1 |
4 | CATEGORIES= textproc | | 5 | CATEGORIES= textproc |
5 | MASTER_SITES= ftp://xmlsoft.org/libxml2/ \ | | 6 | MASTER_SITES= ftp://xmlsoft.org/libxml2/ \ |
6 | http://xmlsoft.org/sources/ | | 7 | http://xmlsoft.org/sources/ |
7 | #MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libxml2/2.7/} | | 8 | #MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libxml2/2.7/} |
8 | | | 9 | |
9 | MAINTAINER= recht@NetBSD.org | | 10 | MAINTAINER= recht@NetBSD.org |
10 | HOMEPAGE= http://xmlsoft.org/ | | 11 | HOMEPAGE= http://xmlsoft.org/ |
11 | COMMENT= XML parser library from the GNOME project | | 12 | COMMENT= XML parser library from the GNOME project |
12 | | | 13 | |
13 | PKG_INSTALLATION_TYPES= overwrite pkgviews | | 14 | PKG_INSTALLATION_TYPES= overwrite pkgviews |
14 | PKG_DESTDIR_SUPPORT= user-destdir | | 15 | PKG_DESTDIR_SUPPORT= user-destdir |
15 | | | 16 | |
16 | USE_TOOLS+= gmake | | 17 | USE_TOOLS+= gmake |
17 | USE_FEATURES= glob | | 18 | USE_FEATURES= glob |
18 | USE_LIBTOOL= yes | | 19 | USE_LIBTOOL= yes |
19 | PKGCONFIG_OVERRIDE= libxml-2.0.pc.in | | 20 | PKGCONFIG_OVERRIDE= libxml-2.0.pc.in |
20 | | | 21 | |
21 | GNU_CONFIGURE= yes | | 22 | GNU_CONFIGURE= yes |
22 | CONFIGURE_ARGS+= --with-iconv=${BUILDLINK_PREFIX.iconv} | | 23 | CONFIGURE_ARGS+= --with-iconv=${BUILDLINK_PREFIX.iconv} |
23 | CONFIGURE_ARGS+= --with-html-subdir=libxml2 | | 24 | CONFIGURE_ARGS+= --with-html-subdir=libxml2 |
24 | CONFIGURE_ARGS+= --without-python | | 25 | CONFIGURE_ARGS+= --without-python |
25 | | | 26 | |
26 | .include "options.mk" | | 27 | .include "options.mk" |
27 | | | 28 | |
28 | # Don't use threads - it's not apparent whether it's necessary or not, | | 29 | # Don't use threads - it's not apparent whether it's necessary or not, |
29 | # and this library needs to be usable by non-threaded applications too | | 30 | # and this library needs to be usable by non-threaded applications too |
30 | #CONFIGURE_ARGS+= --without-threads | | 31 | CONFIGURE_ARGS+= --without-threads |
31 | | | 32 | |
32 | MAKE_ENV+= PAX=${PAX:Q} | | 33 | MAKE_ENV+= PAX=${PAX:Q} |
33 | | | 34 | |
34 | .include "../../mk/bsd.prefs.mk" | | 35 | .include "../../mk/bsd.prefs.mk" |
35 | | | 36 | |
36 | .if !empty(PKGSRC_RUN_TEST:M[Yy][Ee][Ss]) | | 37 | .if !empty(PKGSRC_RUN_TEST:M[Yy][Ee][Ss]) |
37 | USE_TOOLS+= perl | | 38 | USE_TOOLS+= perl |
38 | TEST_TARGET= check | | 39 | TEST_TARGET= check |
39 | .endif | | 40 | .endif |
40 | | | 41 | |
41 | SUBST_CLASSES+= cat | | 42 | SUBST_CLASSES+= cat |
42 | SUBST_STAGE.cat= pre-configure | | 43 | SUBST_STAGE.cat= pre-configure |
43 | SUBST_FILES.cat= catalog.c xmlcatalog.c | | 44 | SUBST_FILES.cat= catalog.c xmlcatalog.c |