pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/liblangtag Revised package (rev 1) - there is a ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/851ca87e3930
branches: trunk
changeset: 634049:851ca87e3930
user: jaapb <jaapb%pkgsrc.org@localhost>
date: Wed May 07 18:44:07 2014 +0000
description:
Revised package (rev 1) - there is a problem with dlopen detection on
NetBSD that results in modules not being built (as opposed to other OSes).
Patch solves problem - reported by Richard Palo (and confirmed fixed).
diffstat:
devel/liblangtag/Makefile | 8 ++++++--
devel/liblangtag/PLIST | 4 +++-
devel/liblangtag/distinfo | 3 ++-
devel/liblangtag/patches/patch-configure.ac | 24 ++++++++++++++++++++++++
4 files changed, 35 insertions(+), 4 deletions(-)
diffs (85 lines):
diff -r 594d1cfebbb6 -r 851ca87e3930 devel/liblangtag/Makefile
--- a/devel/liblangtag/Makefile Wed May 07 18:23:43 2014 +0000
+++ b/devel/liblangtag/Makefile Wed May 07 18:44:07 2014 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2014/05/04 17:01:30 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2014/05/07 18:44:07 jaapb Exp $
DISTNAME= liblangtag-0.5.3
+PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= https://bitbucket.org/tagoh/liblangtag/downloads/
EXTRACT_SUFX= .tar.bz2
@@ -11,11 +12,14 @@
LICENSE= gnu-lgpl-v3 OR mpl-2.0
GNU_CONFIGURE= yes
-USE_TOOLS+= pkg-config
+USE_TOOLS+= autoconf pkg-config
USE_LIBTOOL= yes
USE_LANGUAGES+= c
PKGCONFIG_OVERRIDE+= liblangtag.pc.in
+pre-configure:
+ cd ${WRKSRC} && autoconf
+
.include "../../devel/glib2/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 594d1cfebbb6 -r 851ca87e3930 devel/liblangtag/PLIST
--- a/devel/liblangtag/PLIST Wed May 07 18:23:43 2014 +0000
+++ b/devel/liblangtag/PLIST Wed May 07 18:44:07 2014 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2013/08/24 16:15:10 jaapb Exp $
+@comment $NetBSD: PLIST,v 1.2 2014/05/07 18:44:07 jaapb Exp $
include/liblangtag/langtag.h
include/liblangtag/lt-database.h
include/liblangtag/lt-error.h
@@ -25,6 +25,8 @@
include/liblangtag/lt-variant-db.h
include/liblangtag/lt-variant.h
lib/liblangtag.la
+lib/liblangtag/liblangtag-ext-ldml-t.la
+lib/liblangtag/liblangtag-ext-ldml-u.la
lib/pkgconfig/liblangtag.pc
share/gtk-doc/html/liblangtag/Container.html
share/gtk-doc/html/liblangtag/Module.html
diff -r 594d1cfebbb6 -r 851ca87e3930 devel/liblangtag/distinfo
--- a/devel/liblangtag/distinfo Wed May 07 18:23:43 2014 +0000
+++ b/devel/liblangtag/distinfo Wed May 07 18:44:07 2014 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2014/05/04 17:01:30 wiz Exp $
+$NetBSD: distinfo,v 1.3 2014/05/07 18:44:07 jaapb Exp $
SHA1 (liblangtag-0.5.3.tar.bz2) = 789b3ece44a17924e8a8c6e0621a1d4198afecbd
RMD160 (liblangtag-0.5.3.tar.bz2) = 133d3ff1d4b325c5e3bc89042503ee642bad137c
Size (liblangtag-0.5.3.tar.bz2) = 661015 bytes
+SHA1 (patch-configure.ac) = 8f822aa72d7c142d9d1cd9d0d84912f0d16d8e3c
diff -r 594d1cfebbb6 -r 851ca87e3930 devel/liblangtag/patches/patch-configure.ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/liblangtag/patches/patch-configure.ac Wed May 07 18:44:07 2014 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-configure.ac,v 1.1 2014/05/07 18:44:07 jaapb Exp $
+
+--- configure.ac.orig 2014-04-09 09:05:39.000000000 +0000
++++ configure.ac
+@@ -325,14 +325,16 @@ if test "x$enable_modules" != "xno"; the
+ AC_MSG_ERROR(Unable to determine shared libreary suffix from libtool)
+ fi
+ use_modules=0
+- AC_CHECK_LIB([dl], [dlopen],
+- [AC_CHECK_LIB([dl], [dlsym], [MODULE_LIBS=-ldl; use_modules=1])])
++
++ AC_CHECK_FUNC([dlopen], [use_modules=1],
++ [AC_CHECK_LIB([dl], [dlopen],
++ [AC_CHECK_LIB([dl], [dlsym], [MODULE_LIBS=-ldl; use_modules=1])])])
+
+ AC_SUBST(MODULE_LIBS)
+ AC_DEFINE_UNQUOTED(ENABLE_MODULE, $use_modules, [Use modules])
+ AC_DEFINE_UNQUOTED(LT_MODULE_SUFFIX, "$lt_module_suffix", [Shared library suffix])
+ fi
+-AM_CONDITIONAL(ENABLE_MODULE, test x$MODULE_LIBS != x)
++AM_CONDITIONAL(ENABLE_MODULE, test $use_modules = 1)
+
+ dnl ======================================================================
+ dnl options - rebuild-data
Home |
Main Index |
Thread Index |
Old Index