1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Fix build with LZMA. All supported versions have liblzma in the base.

Approved by:	gnome (mezz)
Feature safe:	yes
This commit is contained in:
Jung-uk Kim 2013-04-18 22:40:33 +00:00
parent e4aa77680d
commit 879bb9b6c2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=316079
3 changed files with 20 additions and 3 deletions

View File

@ -4,7 +4,7 @@
PORTNAME= libxml2
PORTVERSION= 2.8.0
PORTREVISION?= 1
PORTREVISION?= 2
CATEGORIES?= textproc gnome
MASTER_SITES= ftp://xmlsoft.org/libxml2/ \
http://xmlsoft.org/sources/ \
@ -27,9 +27,8 @@ USE_LDCONFIG= yes
CONFIGURE_ARGS?=--with-iconv=${LOCALBASE} \
--with-html-dir=${PREFIX}/share/doc \
--with-html-subdir=${PORTNAME} \
--with-lzma=/usr \
--without-python
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.if !defined(MASTERDIR)
MAN1= xml2-config.1 xmllint.1 xmlcatalog.1

View File

@ -0,0 +1,9 @@
--- libxml-2.0-uninstalled.pc.in.orig 2009-07-30 11:24:34.000000000 -0400
+++ libxml-2.0-uninstalled.pc.in 2013-04-09 15:37:18.000000000 -0400
@@ -8,5 +8,5 @@
Version: @VERSION@
Description: libXML library version2.
Requires:
-Libs: -L${libdir} -lxml2 @THREAD_LIBS@ @Z_LIBS@ @ICONV_LIBS@ @M_LIBS@ @LIBS@
+Libs: -L${libdir} -lxml2 @THREAD_LIBS@ @Z_LIBS@ @LZMA_LIBS@ @ICONV_LIBS@ @M_LIBS@ @LIBS@
Cflags: -I${includedir} @XML_INCLUDEDIR@ @XML_CFLAGS@

View File

@ -0,0 +1,9 @@
--- libxml-2.0.pc.in.orig 2010-05-14 11:26:41.000000000 -0400
+++ libxml-2.0.pc.in 2013-04-09 15:35:53.000000000 -0400
@@ -9,5 +9,5 @@
Description: libXML library version2.
Requires:
Libs: -L${libdir} -lxml2
-Libs.private: @THREAD_LIBS@ @Z_LIBS@ @ICONV_LIBS@ @M_LIBS@ @WIN32_EXTRA_LIBADD@ @LIBS@
+Libs.private: @THREAD_LIBS@ @Z_LIBS@ @LZMA_LIBS@ @ICONV_LIBS@ @M_LIBS@ @WIN32_EXTRA_LIBADD@ @LIBS@
Cflags: @XML_INCLUDEDIR@ @XML_CFLAGS@