aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Engberg <diizzy@FreeBSD.org>2023-08-26 16:42:51 +0000
committerDaniel Engberg <diizzy@FreeBSD.org>2023-08-26 16:42:55 +0000
commita4b6c50994e5c0981c6380a6ad54720e48d6e431 (patch)
tree9d8e2cfe0b1a8c65e8cfccf4feaed513bcdb5aaa
parentab5c140696c7a5f4d3eb45b689b276c52133521d (diff)
downloadports-a4b6c50994e5c0981c6380a6ad54720e48d6e431.tar.gz
ports-a4b6c50994e5c0981c6380a6ad54720e48d6e431.zip
textproc/raptor2: Clean up port and backport upstream commit
- Backport upstream commit 4dbc4c1da2a033c497d84a1291c46f416a9cac51 to fix build with newer versions of libxml2 - Use USES= localbase and remove unnecessary CONFIGURE_ARGS - Move USE_LDCONFIG PR: 273116 Approved by: kde (jhale) Sponsored by: Blinkinblox
-rw-r--r--textproc/raptor2/Makefile16
-rw-r--r--textproc/raptor2/distinfo4
2 files changed, 10 insertions, 10 deletions
diff --git a/textproc/raptor2/Makefile b/textproc/raptor2/Makefile
index bdc681119a41..ebf5c0bd2986 100644
--- a/textproc/raptor2/Makefile
+++ b/textproc/raptor2/Makefile
@@ -2,8 +2,10 @@ PORTNAME= raptor2
DISTVERSION= 2.0.16
PORTREVISION= 1
CATEGORIES= textproc
-MASTER_SITES= http://download.librdf.org/source/ \
- SF/librdf/${PORTNAME}/${PORTVERSION}
+MASTER_SITES= https://download.librdf.org/source/
+
+PATCH_SITES= https://github.com/dajobe/raptor/commit/
+PATCHFILES= 4dbc4c1da2a033c497d84a1291c46f416a9cac51.patch:-p1
MAINTAINER= kde@FreeBSD.org
COMMENT= RDF Parser Toolkit for Redland
@@ -20,15 +22,11 @@ LIB_DEPENDS= libcurl.so:ftp/curl \
CONFLICTS= raptor-1.4.1[0-9]* raptor-1.4.21
+USES= gnome libtool:keepla localbase pathfix pkgconfig
USE_GNOME= libxml2 libxslt
-USES= gnome libtool:keepla pathfix pkgconfig
+USE_LDCONFIG= yes
+
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-xml2-config=${LOCALBASE}/bin/xml2-config \
- --with-curl-config=${LOCALBASE}/bin/curl-config \
- --with-icu-config=${LOCALBASE}/bin/icu-config \
- --with-www=curl
INSTALL_TARGET= install-strip
-USE_LDCONFIG= yes
-
.include <bsd.port.mk>
diff --git a/textproc/raptor2/distinfo b/textproc/raptor2/distinfo
index 00bd0e7c09e6..cf35d8bd6fd6 100644
--- a/textproc/raptor2/distinfo
+++ b/textproc/raptor2/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1677909926
+TIMESTAMP = 1691830822
SHA256 (raptor2-2.0.16.tar.gz) = 089db78d7ac982354bdbf39d973baf09581e6904ac4c92a98c5caadb3de44680
SIZE (raptor2-2.0.16.tar.gz) = 1750726
+SHA256 (4dbc4c1da2a033c497d84a1291c46f416a9cac51.patch) = 5059dcfb1b4694584f2c8fbf75a02b5cd2bfe4f92b0b15e1cc2bd1ff023e4244
+SIZE (4dbc4c1da2a033c497d84a1291c46f416a9cac51.patch) = 1166