summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2001-02-03 05:26:03 +0000
committerhubertf <hubertf@pkgsrc.org>2001-02-03 05:26:03 +0000
commita070d54635d053fb0d8322f3a3cd34151dfe3866 (patch)
tree5ebcac8bdce3de98ecdee41672bed362ee8568cd /devel
parent025f8c46384a39cab6549142bcfedfad3d56a0e0 (diff)
downloadpkgsrc-a070d54635d053fb0d8322f3a3cd34151dfe3866.tar.gz
Rip libtool apart into "base" pkg and "info" pages.
This is the base system that's enough to do work (and bootstrap a system!)
Diffstat (limited to 'devel')
-rw-r--r--devel/libtool-base/Makefile26
-rw-r--r--devel/libtool-base/pkg/COMMENT1
-rw-r--r--devel/libtool-base/pkg/DESCR8
-rw-r--r--devel/libtool-base/pkg/PLIST30
4 files changed, 65 insertions, 0 deletions
diff --git a/devel/libtool-base/Makefile b/devel/libtool-base/Makefile
new file mode 100644
index 00000000000..e6abdb0026d
--- /dev/null
+++ b/devel/libtool-base/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/02/03 05:26:03 hubertf Exp $
+#
+
+.include "../libtool/Makefile.common"
+
+PKGNAME= ${DISTNAME:C/-/-base-/}${PKGREV}
+
+test: build
+ cd ${WRKSRC} && ${MAKE} check
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${MACHINE_PLATFORM:MNetBSD-1.4-sparc} != "" || \
+ ${MACHINE_PLATFORM:MNetBSD-1.4.[12]-sparc} != ""
+DEPENDS+= c++rt0>=1.0:../../sysutils/c++rt0
+.endif
+
+.if ${OPSYS} == "NetBSD"
+.if !exists(/usr/libexec/ld.so) && !exists(/usr/libexec/ld.elf_so)
+CONFIGURE_ARGS= --disable-shared
+.endif
+.else
+CONFIGURE_ARGS= --enable-ltdl-install
+.endif
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/libtool-base/pkg/COMMENT b/devel/libtool-base/pkg/COMMENT
new file mode 100644
index 00000000000..5c6cf15b772
--- /dev/null
+++ b/devel/libtool-base/pkg/COMMENT
@@ -0,0 +1 @@
+Generic shared library support script (the script itself)
diff --git a/devel/libtool-base/pkg/DESCR b/devel/libtool-base/pkg/DESCR
new file mode 100644
index 00000000000..e0a9e52ed51
--- /dev/null
+++ b/devel/libtool-base/pkg/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 libtool script and support files.
diff --git a/devel/libtool-base/pkg/PLIST b/devel/libtool-base/pkg/PLIST
new file mode 100644
index 00000000000..5941dc06fc0
--- /dev/null
+++ b/devel/libtool-base/pkg/PLIST
@@ -0,0 +1,30 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/02/03 05:26:03 hubertf Exp $
+bin/libtool
+bin/libtoolize
+include/ltdl.h
+lib/libltdl.a
+lib/libltdl.la
+lib/libltdl.so
+lib/libltdl.so.1
+lib/libltdl.so.1.2
+share/aclocal/libtool.m4
+share/libtool/config.guess
+share/libtool/config.sub
+share/libtool/libltdl/COPYING.LIB
+share/libtool/libltdl/Makefile.am
+share/libtool/libltdl/Makefile.in
+share/libtool/libltdl/README
+share/libtool/libltdl/acconfig.h
+share/libtool/libltdl/acinclude.m4
+share/libtool/libltdl/aclocal.m4
+share/libtool/libltdl/config.h.in
+share/libtool/libltdl/configure
+share/libtool/libltdl/configure.in
+share/libtool/libltdl/ltdl.c
+share/libtool/libltdl/ltdl.h
+share/libtool/libltdl/stamp-h.in
+share/libtool/ltconfig
+share/libtool/ltmain.sh
+@dirrm share/libtool/libltdl
+@dirrm share/libtool
+@unexec rmdir %D/share/aclocal 2>/dev/null || true