diff options
author | tv <tv@pkgsrc.org> | 2004-10-14 19:03:45 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2004-10-14 19:03:45 +0000 |
commit | 2a239730026bdbc170994996572035dc7a049bc5 (patch) | |
tree | deeede07d8675009fc65e12ab32df6d964b35b54 | |
parent | 4542d5325f1107a403ec104d6082eb7254136eba (diff) | |
download | pkgsrc-2a239730026bdbc170994996572035dc7a049bc5.tar.gz |
Split out libltdl into its own package, so that it can be used and updated
independently of the libtool script.
-rw-r--r-- | devel/libltdl/DESCR | 8 | ||||
-rw-r--r-- | devel/libltdl/Makefile | 20 | ||||
-rw-r--r-- | devel/libltdl/PLIST | 3 | ||||
-rw-r--r-- | devel/libltdl/buildlink3.mk | 27 |
4 files changed, 58 insertions, 0 deletions
diff --git a/devel/libltdl/DESCR b/devel/libltdl/DESCR new file mode 100644 index 00000000000..950ec3d9263 --- /dev/null +++ b/devel/libltdl/DESCR @@ -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 --git a/devel/libltdl/Makefile b/devel/libltdl/Makefile new file mode 100644 index 00000000000..03e32e7966e --- /dev/null +++ b/devel/libltdl/Makefile @@ -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 --git a/devel/libltdl/PLIST b/devel/libltdl/PLIST new file mode 100644 index 00000000000..c76c7c9f0a6 --- /dev/null +++ b/devel/libltdl/PLIST @@ -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 --git a/devel/libltdl/buildlink3.mk b/devel/libltdl/buildlink3.mk new file mode 100644 index 00000000000..d7263aa55fc --- /dev/null +++ b/devel/libltdl/buildlink3.mk @@ -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/+$//} |