summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitri Goutnik <dmgk@FreeBSD.org>2019-12-27 12:44:47 +0000
committerDmitri Goutnik <dmgk@FreeBSD.org>2019-12-27 12:44:47 +0000
commit821c26373a8e69fdf08839d2408debed5ca8107f (patch)
treef3b558a45c0c3ed3b8b67b15175413321117e7bb
parentnet/wireguard: Update to 1.0.20191226 and switch to the new wireguard-tools r... (diff)
misc/libpostal: Unbreak on aarch64
- Unbreak build: test_expand.c:105:118: error: passing 'void *' to parameter of incompatible type 'va_list' (aka '__builtin_va_list') CHECK_CALL(test_expansion_contains_phrase_option_with_languages(input, output, options, root, num_languages, NULL)); - Pet portclippy while here
Notes
Notes: svn path=/head/; revision=520985
-rw-r--r--misc/libpostal/Makefile20
-rw-r--r--misc/libpostal/distinfo4
2 files changed, 17 insertions, 7 deletions
diff --git a/misc/libpostal/Makefile b/misc/libpostal/Makefile
index ef05eb1464da..188ee5750b4a 100644
--- a/misc/libpostal/Makefile
+++ b/misc/libpostal/Makefile
@@ -4,8 +4,12 @@ PORTNAME= libpostal
DISTVERSIONPREFIX= v
DISTVERSION= 1.1
DISTVERSIONSUFFIX= -alpha
+PORTREVISION= 1
CATEGORIES= misc geography
+PATCH_SITES= https://github.com/${GH_ACCOUNT}/${PORTNAME}/commit/
+PATCHFILES= 21601eb4b8941b8d6d9b795b1d6db4bd376f5b28.patch:-p1
+
MAINTAINER= dmgk@FreeBSD.org
COMMENT= Library for parsing/normalizing street addresses around the world
@@ -19,27 +23,29 @@ RUN_DEPENDS= curl:ftp/curl
USES= autoreconf libtool localbase
-GNU_CONFIGURE= yes
+USE_GITHUB= yes
+GH_ACCOUNT= openvenues
+
USE_LDCONFIG= yes
+
+GNU_CONFIGURE= yes
CONFIGURE_ARGS= --datadir=${LIBPOSTAL_DATADIR} \
--disable-data-download \
--disable-static
-USE_GITHUB= yes
-GH_ACCOUNT= openvenues
TEST_TARGET= check
-LIBPOSTAL_DATADIR?= /var/db/${PORTNAME}
-
SUB_FILES= pkg-message
SUB_LIST= PORTNAME=${PORTNAME} \
LIBPOSTAL_DATADIR=${LIBPOSTAL_DATADIR}
PORTDOCS= README.md
+
OPTIONS_DEFINE= CBLAS DOCS SSE2
+OPTIONS_SUB= yes
+
CBLAS_DESC= Build with CBLAS/OPENBLAS
SSE2_DESC= Enable SSE2 optimization
-OPTIONS_SUB= yes
CBLAS_BUILD_DEPENDS= ${LOCALBASE}/include/cblas.h:math/cblas
CBLAS_LIB_DEPENDS= libopenblas.so:math/openblas
@@ -47,6 +53,8 @@ CBLAS_CONFIGURE_WITH= cblas=${LOCALBASE}/lib/libopenblas.so
SSE2_CONFIGURE_ENABLE= sse2
+LIBPOSTAL_DATADIR?= /var/db/${PORTNAME}
+
pre-configure:
@cd ${WRKSRC} && ${SH} bootstrap.sh
diff --git a/misc/libpostal/distinfo b/misc/libpostal/distinfo
index 0fac96a5aed2..cc418f3bc1a7 100644
--- a/misc/libpostal/distinfo
+++ b/misc/libpostal/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1554382755
+TIMESTAMP = 1577449742
SHA256 (openvenues-libpostal-v1.1-alpha_GH0.tar.gz) = c8a88eed70d8c09f68e1e69bcad35cb397e6ef11b3314e18a87b314c0a5b4e3a
SIZE (openvenues-libpostal-v1.1-alpha_GH0.tar.gz) = 5602195
+SHA256 (21601eb4b8941b8d6d9b795b1d6db4bd376f5b28.patch) = 523539ca2f537b3eacbb339998d08633c47153ccba3c4b8cdfe9662c0f910830
+SIZE (21601eb4b8941b8d6d9b795b1d6db4bd376f5b28.patch) = 2593