pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/libpsl libpsl: Switch to default runtime (not-icu-...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2e9525212711
branches:  trunk
changeset: 441610:2e9525212711
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat Nov 07 09:27:38 2020 +0000

description:
libpsl: Switch to default runtime (not-icu-based, libidn2-based)

- Dependencies never needed icu to link and run (according to the .pc file)
- Use tool.mk for python as a tool.
- Add missing gettext tools.

diffstat:

 www/libpsl/Makefile      |  13 +++++++------
 www/libpsl/buildlink3.mk |   4 +---
 2 files changed, 8 insertions(+), 9 deletions(-)

diffs (50 lines):

diff -r a2b3e7833108 -r 2e9525212711 www/libpsl/Makefile
--- a/www/libpsl/Makefile       Sat Nov 07 09:23:55 2020 +0000
+++ b/www/libpsl/Makefile       Sat Nov 07 09:27:38 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2020/11/05 09:07:13 ryoon Exp $
+# $NetBSD: Makefile,v 1.12 2020/11/07 09:27:38 nia Exp $
 
 DISTNAME=      libpsl-0.21.1
 PKGREVISION=   1
@@ -15,16 +15,17 @@
 USE_LANGUAGES=         c c++
 USE_LIBTOOL=           yes
 USE_TOOLS+=            gmake pkg-config
+USE_TOOLS+=            msgfmt msgmerge xgettext
 GNU_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --disable-gtk-doc
-CONFIGURE_ARGS+=       --enable-runtime=libicu
+CONFIGURE_ARGS+=       --enable-runtime=libidn2
 PKGCONFIG_OVERRIDE+=   libpsl.pc.in
 TEST_TARGET=           check
 
-PYTHON_FOR_BUILD_ONLY= yes
-REPLACE_PYTHON=                src/psl-make-dafsa
+PYTHON_FOR_BUILD_ONLY= tool
 
-.include "../../lang/python/application.mk"
+.include "../../lang/python/tool.mk"
 .include "../../devel/gettext-lib/buildlink3.mk"
-.include "../../textproc/icu/buildlink3.mk"
+.include "../../devel/libidn2/buildlink3.mk"
+.include "../../textproc/libunistring/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r a2b3e7833108 -r 2e9525212711 www/libpsl/buildlink3.mk
--- a/www/libpsl/buildlink3.mk  Sat Nov 07 09:23:55 2020 +0000
+++ b/www/libpsl/buildlink3.mk  Sat Nov 07 09:27:38 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2020/11/05 09:07:13 ryoon Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2020/11/07 09:27:38 nia Exp $
 
 BUILDLINK_TREE+=       libpsl
 
@@ -8,8 +8,6 @@
 BUILDLINK_API_DEPENDS.libpsl+= libpsl>=0.20.2
 BUILDLINK_ABI_DEPENDS.libpsl+= libpsl>=0.21.1nb1
 BUILDLINK_PKGSRCDIR.libpsl?=   ../../www/libpsl
-
-.include "../../textproc/icu/buildlink3.mk"
 .endif # LIBPSL_BUILDLINK3_MK
 
 BUILDLINK_TREE+=       -libpsl



Home | Main Index | Thread Index | Old Index