Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148497445
D3261.id7548.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
3 KB
Referenced Files
None
Subscribers
None
D3261.id7548.diff
View Options
Index: textproc/libxml2/Makefile
===================================================================
--- textproc/libxml2/Makefile
+++ textproc/libxml2/Makefile
@@ -3,7 +3,7 @@
PORTNAME= libxml2
PORTVERSION= 2.9.2
-PORTREVISION?= 3
+PORTREVISION?= 4
CATEGORIES?= textproc gnome
MASTER_SITES= ftp://xmlsoft.org/libxml2/ \
http://xmlsoft.org/sources/ \
@@ -24,6 +24,9 @@
--with-html-subdir=${PORTNAME} \
--with-lzma=/usr \
--without-python
+CONFIGURE_ASRGS+= THREAD_LIBS="" # Null out because <insert-reason-here>
+MAKE_ENV+= V=1 # Verbose build
+
INSTALL_TARGET= install-strip
SHEBANG_FILES= *.py */*.py */*/*.py
@@ -65,6 +68,9 @@
@${RM} -rf ${STAGEDIR}${PREFIX}/share/gtk-doc
.endif
+regression-test: build
+ cd ${WRKSRC} && ${GMAKE} check
+
.include <bsd.port.mk>
.endif
Index: textproc/libxml2/files/patch-configure
===================================================================
--- textproc/libxml2/files/patch-configure
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.orig 2013-11-24 09:41:13.000000000 +0100
-+++ configure 2013-11-24 09:41:55.000000000 +0100
-@@ -14499,6 +14499,8 @@
- fi
- fi
- ;;
-+ *freebsd*) THREAD_LIBS=""
-+ ;;
- esac
- if test "$WITH_THREADS" = "1" ; then
- THREAD_CFLAGS="$THREAD_CFLAGS -D_REENTRANT"
Index: textproc/libxml2/files/patch-libxml-2.0-uninstalled.pc.in
===================================================================
--- textproc/libxml2/files/patch-libxml-2.0-uninstalled.pc.in
+++ /dev/null
@@ -1,9 +0,0 @@
---- 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@
Index: textproc/libxml2/files/patch-libxml-2.0.pc.in
===================================================================
--- textproc/libxml2/files/patch-libxml-2.0.pc.in
+++ /dev/null
@@ -1,9 +0,0 @@
---- 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@
Index: textproc/libxml2/files/patch-xml2-config.in
===================================================================
--- /dev/null
+++ textproc/libxml2/files/patch-xml2-config.in
@@ -0,0 +1,23 @@
+--- xml2-config.in.orig 2015-07-31 11:30:40 UTC
++++ xml2-config.in
+@@ -82,16 +82,11 @@ while test $# -gt 0; do
+ ;;
+
+ --libs)
+- if [ "`uname`" = "Linux" ]
+- then
+- if [ "@XML_LIBDIR@" = "-L/usr/lib" -o "@XML_LIBDIR@" = "-L/usr/lib64" ]
+- then
+- echo @XML_LIBS@ @MODULE_PLATFORM_LIBS@
+- else
+- echo @XML_LIBDIR@ @XML_LIBS@ @MODULE_PLATFORM_LIBS@
+- fi
++ if [ "$2" = "--static" ]
++ then
++ echo @XML_LIBDIR@ @XML_LIBS@ @MODULE_PLATFORM_LIBS@
+ else
+- echo @XML_LIBDIR@ @XML_LIBS@ @MODULE_PLATFORM_LIBS@ @WIN32_EXTRA_LIBADD@
++ echo @XML_LIBDIR@ -lxml2 @MODULE_PLATFORM_LIBS@ @WIN32_EXTRA_LIBADD@
+ fi
+ ;;
+
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 19, 6:39 AM (12 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29952269
Default Alt Text
D3261.id7548.diff (3 KB)
Attached To
Mode
D3261: textproc/libxml2: Hide private libs, Add --static support in xml2-config
Attached
Detach File
Event Timeline
Log In to Comment