summaryrefslogtreecommitdiff
path: root/devel/libelf
diff options
context:
space:
mode:
authorcube <cube@pkgsrc.org>2004-08-13 07:09:01 +0000
committercube <cube@pkgsrc.org>2004-08-13 07:09:01 +0000
commit73a56e13c4e72eb3a3201fed1a43a99c70d293f4 (patch)
tree8958bd54e3a21d55472d9400a4c27c49bc7590a7 /devel/libelf
parent9bdf67046618b9b91df62d3ca930171715bdc166 (diff)
downloadpkgsrc-73a56e13c4e72eb3a3201fed1a43a99c70d293f4.tar.gz
The PLIST was far from complete [hi recht!] (package installed files in
include/ and a locale file). But since the package's configure script is rather dumb about shared libraries and gettext catalogs, the best is to simply disable all of it. While I'm here, add a buildlink file since it will soon be used by a package in -wip.
Diffstat (limited to 'devel/libelf')
-rw-r--r--devel/libelf/Makefile7
-rw-r--r--devel/libelf/PLIST9
-rw-r--r--devel/libelf/buildlink3.mk19
3 files changed, 30 insertions, 5 deletions
diff --git a/devel/libelf/Makefile b/devel/libelf/Makefile
index c57b300587b..bc890749652 100644
--- a/devel/libelf/Makefile
+++ b/devel/libelf/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2004/04/27 03:09:58 snj Exp $
+# $NetBSD: Makefile,v 1.3 2004/08/13 07:09:01 cube Exp $
#
DISTNAME= libelf-0.8.5
+PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://www.stud.uni-hannover.de/~michael/software/
@@ -13,4 +14,8 @@ USE_BUILDLINK3= yes
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --disable-shared
+CONFIGURE_ARGS+= --disable-compat
+CONFIGURE_ARGS+= --disable-nls
+
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/libelf/PLIST b/devel/libelf/PLIST
index 5ce448577d6..5bbd936c258 100644
--- a/devel/libelf/PLIST
+++ b/devel/libelf/PLIST
@@ -1,7 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2004/03/04 11:27:59 recht Exp $
-lib/libelf.a
+@comment $NetBSD: PLIST,v 1.2 2004/08/13 07:09:01 cube Exp $
+include/libelf/elf_repl.h
+include/libelf/gelf.h
include/libelf/libelf.h
include/libelf/nlist.h
-include/libelf/gelf.h
include/libelf/sys_elf.h
-include/libelf/elf_repl.h
+lib/libelf.a
+@dirrm include/libelf
diff --git a/devel/libelf/buildlink3.mk b/devel/libelf/buildlink3.mk
new file mode 100644
index 00000000000..7dd845e4de8
--- /dev/null
+++ b/devel/libelf/buildlink3.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/08/13 07:09:01 cube Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBELF_BUILDLINK3_MK:= ${LIBELF_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libelf
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibelf}
+BUILDLINK_PACKAGES+= libelf
+
+.if !empty(LIBELF_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.libelf+= libelf>=0.8.5
+BUILDLINK_PKGSRCDIR.libelf?= ../../devel/libelf
+BUILDLINK_DEPMETHOD.libelf?= build
+.endif # LIBELF_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}