pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/libelf The PLIST was far from complete [hi recht...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2c5e1b812c7c
branches:  trunk
changeset: 479353:2c5e1b812c7c
user:      cube <cube%pkgsrc.org@localhost>
date:      Fri Aug 13 07:09:01 2004 +0000

description:
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:

 devel/libelf/Makefile      |   7 ++++++-
 devel/libelf/PLIST         |   9 +++++----
 devel/libelf/buildlink3.mk |  19 +++++++++++++++++++
 3 files changed, 30 insertions(+), 5 deletions(-)

diffs (61 lines):

diff -r fe720d2f6e96 -r 2c5e1b812c7c devel/libelf/Makefile
--- a/devel/libelf/Makefile     Fri Aug 13 04:38:02 2004 +0000
+++ b/devel/libelf/Makefile     Fri Aug 13 07:09:01 2004 +0000
@@ -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_PKGLOCALEDIR=      yes
 GNU_CONFIGURE=         yes
 
+CONFIGURE_ARGS+=       --disable-shared
+CONFIGURE_ARGS+=       --disable-compat
+CONFIGURE_ARGS+=       --disable-nls
+
 .include "../../mk/bsd.pkg.mk"
diff -r fe720d2f6e96 -r 2c5e1b812c7c devel/libelf/PLIST
--- a/devel/libelf/PLIST        Fri Aug 13 04:38:02 2004 +0000
+++ b/devel/libelf/PLIST        Fri Aug 13 07:09:01 2004 +0000
@@ -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 -r fe720d2f6e96 -r 2c5e1b812c7c devel/libelf/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libelf/buildlink3.mk        Fri Aug 13 07:09:01 2004 +0000
@@ -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/+$//}



Home | Main Index | Thread Index | Old Index