summaryrefslogtreecommitdiff
path: root/devel/libiberty
diff options
context:
space:
mode:
authorshannonjr <shannonjr>2004-06-02 11:28:38 +0000
committershannonjr <shannonjr>2004-06-02 11:28:38 +0000
commit30bab79d698a50d44f6ab0470f30d8bf01765146 (patch)
treeb60c85d75c1941341c397b646abe49573b19c47b /devel/libiberty
parent58f5ac3be2b27569550d6fe8b93e194e4558d56d (diff)
downloadpkgsrc-30bab79d698a50d44f6ab0470f30d8bf01765146.tar.gz
libiberty-1.0 This package provides the GNU liberty library of "missing"
functions. The functions in liberty are normally included, as needed, by GNU packages to make up for functions not found in the operating system. This copy of liberty has been extracted from the gcc-3.4.0 release distribution.
Diffstat (limited to 'devel/libiberty')
-rw-r--r--devel/libiberty/DESCR16
-rw-r--r--devel/libiberty/Makefile19
-rw-r--r--devel/libiberty/PLIST3
-rw-r--r--devel/libiberty/buildlink3.mk18
-rw-r--r--devel/libiberty/distinfo4
5 files changed, 60 insertions, 0 deletions
diff --git a/devel/libiberty/DESCR b/devel/libiberty/DESCR
new file mode 100644
index 00000000000..559b474b2f7
--- /dev/null
+++ b/devel/libiberty/DESCR
@@ -0,0 +1,16 @@
+This package provides the -liberty library of "missing" functions.
+It is a collection of subroutines used by various GNU programs.
+Current members include:
+
+ getopt -- get options from command line
+ obstack -- stacks of arbitrarily-sized objects
+ strerror -- error message strings corresponding to errno
+ strtol -- string-to-long conversion
+ strtoul -- string-to-unsigned-long conversion
+
+The functions in liberty are normally included, as needed, by
+GNU packages to make up for functions not found in the operating
+system.
+
+This copy of liberty has been extracted from the gcc-3.4.0
+release distribution.
diff --git a/devel/libiberty/Makefile b/devel/libiberty/Makefile
new file mode 100644
index 00000000000..9e31c7b949b
--- /dev/null
+++ b/devel/libiberty/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/06/02 11:28:38 shannonjr Exp $
+#
+
+DISTNAME= libiberty-1.0
+CATEGORIES= devel
+MASTER_SITES= http://www.johnrshannon.com/NetBSD/
+
+MAINTAINER= john@johnrshannon.com
+COMMENT= This package provides the GNU liberty library of "missing" functions
+
+USE_BUILDLINK3= yes
+USE_GNU_TOOLS+= make
+GNU_CONFIGURE= yes
+
+do-install:
+ ${INSTALL_LIB} ${WRKSRC}/libiberty/libiberty.a ${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/include/libiberty.h ${PREFIX}/include
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/libiberty/PLIST b/devel/libiberty/PLIST
new file mode 100644
index 00000000000..189e8f44b3d
--- /dev/null
+++ b/devel/libiberty/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/06/02 11:28:38 shannonjr Exp $
+include/libiberty.h
+lib/libiberty.a
diff --git a/devel/libiberty/buildlink3.mk b/devel/libiberty/buildlink3.mk
new file mode 100644
index 00000000000..4b73ffa4591
--- /dev/null
+++ b/devel/libiberty/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/06/02 11:28:38 shannonjr Exp $
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBIBERTY_BUILDLINK3_MK:= ${LIBIBERTY_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libiberty
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibiberty}
+BUILDLINK_PACKAGES+= libiberty
+
+.if !empty(LIBIBERTY_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.libiberty+= libiberty>=1.0
+BUILDLINK_PKGSRCDIR.libiberty?= ../../devel/libiberty
+.endif # LIBIBERTY_BUILDLINK3_MK
+BUILDLINK_DEPMETHOD.libiberty?= build
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/devel/libiberty/distinfo b/devel/libiberty/distinfo
new file mode 100644
index 00000000000..1591a578cfd
--- /dev/null
+++ b/devel/libiberty/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/06/02 11:28:38 shannonjr Exp $
+
+SHA1 (libiberty-1.0.tar.gz) = e0ad9a4ae0e1d2be67a14d03e7e8840ab01dc2d5
+Size (libiberty-1.0.tar.gz) = 1210416 bytes