svn commit: r409554 - in head/textproc/libabw: . files
Jung-uk Kim
jkim at FreeBSD.org
Thu Feb 25 20:18:18 UTC 2016
Author: jkim
Date: Thu Feb 25 20:18:17 2016
New Revision: 409554
URL: https://svnweb.freebsd.org/changeset/ports/409554
Log:
- Add an upstream patch to fix build with Boost 1.59 and later. [1]
- Update the project URL.
- Make portlint happy.
PR: 207015 [1]
Added:
head/textproc/libabw/files/patch-src_lib_Makefile.in (contents, props changed)
Modified:
head/textproc/libabw/Makefile
head/textproc/libabw/files/patch-libabw.pc.in
head/textproc/libabw/pkg-descr
Modified: head/textproc/libabw/Makefile
==============================================================================
--- head/textproc/libabw/Makefile Thu Feb 25 20:14:40 2016 (r409553)
+++ head/textproc/libabw/Makefile Thu Feb 25 20:18:17 2016 (r409554)
@@ -2,8 +2,10 @@
PORTNAME= libabw
PORTVERSION= 0.1.1
+PORTREVISION= 1
CATEGORIES= textproc
-MASTER_SITES= http://dev-www.libreoffice.org/src/${PORTNAME}/
+MASTER_SITES= LODEV
+MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= office at FreeBSD.org
COMMENT= Library providing ability to interpret Abiword documents
@@ -21,7 +23,7 @@ GNU_CONFIGURE= yes
USE_PERL5= build
INSTALL_TARGET= install-strip
-CPPFLAGS= -I${LOCALBASE}/include
CONFIGURE_ARGS= -disable-werror --without-docs
+CPPFLAGS+= -I${LOCALBASE}/include
.include <bsd.port.mk>
Modified: head/textproc/libabw/files/patch-libabw.pc.in
==============================================================================
--- head/textproc/libabw/files/patch-libabw.pc.in Thu Feb 25 20:14:40 2016 (r409553)
+++ head/textproc/libabw/files/patch-libabw.pc.in Thu Feb 25 20:18:17 2016 (r409554)
@@ -1,6 +1,6 @@
---- ./libabw.pc.in.orig 2014-04-16 19:04:09.000000000 +0200
-+++ ./libabw.pc.in 2014-06-10 15:56:35.070672055 +0200
-@@ -10,4 +10,4 @@
+--- libabw.pc.in.orig 2014-04-16 17:04:09 UTC
++++ libabw.pc.in
+@@ -10,4 +10,4 @@ Requires: librevenge-0.0 librevenge-stre
Libs: -L${libdir} -labw- at ABW_MAJOR_VERSION@. at ABW_MINOR_VERSION@
Cflags: -I${includedir}/libabw- at ABW_MAJOR_VERSION@. at ABW_MINOR_VERSION@
Added: head/textproc/libabw/files/patch-src_lib_Makefile.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/libabw/files/patch-src_lib_Makefile.in Thu Feb 25 20:18:17 2016 (r409554)
@@ -0,0 +1,19 @@
+--- src/lib/Makefile.in.orig 2014-12-20 13:23:18 UTC
++++ src/lib/Makefile.in
+@@ -364,7 +364,15 @@ libabw_ at ABW_MAJOR_VERSION@_ at ABW_MINOR_VE
+ $(top_srcdir)/inc/libabw/libabw.h \
+ $(top_srcdir)/inc/libabw/AbiDocument.h
+
+-AM_CXXFLAGS = -I$(top_srcdir)/inc $(REVENGE_CFLAGS) $(LIBXML_CFLAGS) $(ZLIB_CFLAGS) $(DEBUG_CXXFLAGS) -DLIBABW_BUILD=1
++AM_CXXFLAGS = -I$(top_srcdir)/inc \
++ $(REVENGE_CFLAGS) \
++ $(LIBXML_CFLAGS) \
++ $(ZLIB_CFLAGS) \
++ $(DEBUG_CXXFLAGS) \
++ -DLIBABW_BUILD=1 \
++ -DBOOST_ERROR_CODE_HEADER_ONLY \
++ -DBOOST_SYSTEM_NO_DEPRECATED
++
+ generated_files = \
+ $(top_builddir)/src/lib/tokens.h \
+ $(top_builddir)/src/lib/tokenhash.h
Modified: head/textproc/libabw/pkg-descr
==============================================================================
--- head/textproc/libabw/pkg-descr Thu Feb 25 20:14:40 2016 (r409553)
+++ head/textproc/libabw/pkg-descr Thu Feb 25 20:18:17 2016 (r409554)
@@ -1,4 +1,4 @@
Libabw is library providing ability to interpret and import AbiWord documents
into various applications
-WWW: http://www.freedesktop.org/wiki/Software/libabw/
+WWW: https://wiki.documentfoundation.org/DLP/Libraries/libabw
More information about the svn-ports-all
mailing list