pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/libltdl Split out libltdl into its own package, ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/886e40842a96
branches:  trunk
changeset: 481915:886e40842a96
user:      tv <tv%pkgsrc.org@localhost>
date:      Thu Oct 14 19:03:45 2004 +0000

description:
Split out libltdl into its own package, so that it can be used and updated
independently of the libtool script.

diffstat:

 devel/libltdl/DESCR         |   8 ++++++++
 devel/libltdl/Makefile      |  20 ++++++++++++++++++++
 devel/libltdl/PLIST         |   3 +++
 devel/libltdl/buildlink3.mk |  27 +++++++++++++++++++++++++++
 4 files changed, 58 insertions(+), 0 deletions(-)

diffs (74 lines):

diff -r 1510ccd2de28 -r 886e40842a96 devel/libltdl/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libltdl/DESCR       Thu Oct 14 19:03:45 2004 +0000
@@ -0,0 +1,8 @@
+This is GNU Libtool, a generic library support script.  Libtool hides
+the complexity of using shared libraries behind a consistent, portable
+interface.
+
+To use libtool, add the new generic library building commands to your
+Makefile, Makefile.in, or Makefile.am.
+
+This package includes the libltdl dynamic module abstraction library.
diff -r 1510ccd2de28 -r 886e40842a96 devel/libltdl/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libltdl/Makefile    Thu Oct 14 19:03:45 2004 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/10/14 19:03:45 tv Exp $
+#
+
+.include "../../devel/libtool/Makefile.common"
+
+PKGNAME=       ${DISTNAME:S/tool-/ltdl-/}
+SVR4_PKGNAME=  lltdl
+
+COMMENT=       Generic shared library support (libltdl abstraction library)
+
+CONFLICTS+=    libtool<=1.3.5nb11 libtool-base<=1.5.10nb4
+
+USE_LIBTOOL=   yes
+
+CONFIGURE_ARGS+=--enable-libltdl-install
+CONFIGURE_DIRS=        ${WRKSRC}/libltdl
+BUILD_DIRS=    ${WRKSRC}/libltdl
+
+.include "../../devel/dlcompat/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 1510ccd2de28 -r 886e40842a96 devel/libltdl/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libltdl/PLIST       Thu Oct 14 19:03:45 2004 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/10/14 19:03:45 tv Exp $
+include/ltdl.h
+lib/libltdl.la
diff -r 1510ccd2de28 -r 886e40842a96 devel/libltdl/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libltdl/buildlink3.mk       Thu Oct 14 19:03:45 2004 +0000
@@ -0,0 +1,27 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/10/14 19:03:45 tv Exp $
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
+LIBLTDL_BUILDLINK3_MK:=        ${LIBLTDL_BUILDLINK3_MK}+
+
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "NetBSD"
+.  if !exists(/usr/libexec/ld.so) && !exists(/usr/libexec/ld.elf_so)
+_SKIP_LIBLTDL=         yes
+.  endif
+.else
+
+.if !defined(_SKIP_LIBLTDL)
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    libltdl
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Nlibltdl}
+BUILDLINK_PACKAGES+=   libltdl
+
+.if !empty(LIBLTDL_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.libltdl+=    libltdl>=1.5.10
+BUILDLINK_PKGSRCDIR.libltdl?=  ../../devel/libltdl
+.endif # LIBLTDL_BUILDLINK3_MK
+.endif
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}



Home | Main Index | Thread Index | Old Index