aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2016-02-26 04:18:17 +0800
committerjkim <jkim@FreeBSD.org>2016-02-26 04:18:17 +0800
commit7cef89a039b0ad8907a8e030eb6bc3538137b9e2 (patch)
treef5547d8a5f039b9259370dba76829dcfc17b0c44 /textproc
parent9841ff93e72eb0cca806e3db047f80e13820c292 (diff)
downloadfreebsd-ports-gnome-7cef89a039b0ad8907a8e030eb6bc3538137b9e2.tar.gz
freebsd-ports-gnome-7cef89a039b0ad8907a8e030eb6bc3538137b9e2.tar.zst
freebsd-ports-gnome-7cef89a039b0ad8907a8e030eb6bc3538137b9e2.zip
- Add an upstream patch to fix build with Boost 1.59 and later. [1]
- Update the project URL. - Make portlint happy. PR: 207015 [1]
Diffstat (limited to 'textproc')
-rw-r--r--textproc/libabw/Makefile6
-rw-r--r--textproc/libabw/files/patch-libabw.pc.in6
-rw-r--r--textproc/libabw/files/patch-src_lib_Makefile.in19
-rw-r--r--textproc/libabw/pkg-descr2
4 files changed, 27 insertions, 6 deletions
diff --git a/textproc/libabw/Makefile b/textproc/libabw/Makefile
index 492a93904a2c..cb0551f1ac24 100644
--- a/textproc/libabw/Makefile
+++ b/textproc/libabw/Makefile
@@ -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@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>
diff --git a/textproc/libabw/files/patch-libabw.pc.in b/textproc/libabw/files/patch-libabw.pc.in
index 3b23aa17c66a..3033418f64b2 100644
--- a/textproc/libabw/files/patch-libabw.pc.in
+++ b/textproc/libabw/files/patch-libabw.pc.in
@@ -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-@ABW_MAJOR_VERSION@.@ABW_MINOR_VERSION@
Cflags: -I${includedir}/libabw-@ABW_MAJOR_VERSION@.@ABW_MINOR_VERSION@
diff --git a/textproc/libabw/files/patch-src_lib_Makefile.in b/textproc/libabw/files/patch-src_lib_Makefile.in
new file mode 100644
index 000000000000..aa85c42a1f39
--- /dev/null
+++ b/textproc/libabw/files/patch-src_lib_Makefile.in
@@ -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_@ABW_MAJOR_VERSION@_@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
diff --git a/textproc/libabw/pkg-descr b/textproc/libabw/pkg-descr
index dc11ad2f0f6a..20c6414a57b9 100644
--- a/textproc/libabw/pkg-descr
+++ b/textproc/libabw/pkg-descr
@@ -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