aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libelf
diff options
context:
space:
mode:
authorroam <roam@FreeBSD.org>2001-04-19 01:36:11 +0800
committerroam <roam@FreeBSD.org>2001-04-19 01:36:11 +0800
commit6c594df404105fa5517b1c7201b7cd10317f8135 (patch)
tree2c9d15f922b4c32f7037e96ad2db55e6a9efdd7b /devel/libelf
parent8eb12ca6bd29fb00997ddb61b07efbe541a0f7b8 (diff)
downloadfreebsd-ports-graphics-6c594df404105fa5517b1c7201b7cd10317f8135.tar.gz
freebsd-ports-graphics-6c594df404105fa5517b1c7201b7cd10317f8135.tar.zst
freebsd-ports-graphics-6c594df404105fa5517b1c7201b7cd10317f8135.zip
libelf is a public library for manipulation of ELF files.
PR: 26190 Submitted by: Kevin Van Maren <vanmaren@fast.cs.utah.edu>
Diffstat (limited to 'devel/libelf')
-rw-r--r--devel/libelf/Makefile26
-rw-r--r--devel/libelf/distinfo1
-rw-r--r--devel/libelf/files/patch-configure20
-rw-r--r--devel/libelf/pkg-comment1
-rw-r--r--devel/libelf/pkg-descr9
-rw-r--r--devel/libelf/pkg-plist9
6 files changed, 66 insertions, 0 deletions
diff --git a/devel/libelf/Makefile b/devel/libelf/Makefile
new file mode 100644
index 00000000000..0cff46def63
--- /dev/null
+++ b/devel/libelf/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: libelf
+# Date created: 18 Apr 2001
+# Whom: roam@FreeBSD.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= libelf
+PORTVERSION= 0.7.0
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_SUNSITE} \
+ http://www.stud.uni-hannover.de/~michael/software/ \
+ ftp://ftp.stud.uni-hannover.de/pub/users/michael/
+MASTER_SITE_SUBDIR= libs .
+
+MAINTAINER= roam@FreeBSD.org
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --enable-shared
+INSTALLS_SHLIB= yes
+PLIST_SUB+= LIBVER=${PORTVERSION} \
+ LIBVER_SHORT=${PORTVERSION:R}
+
+NOMAN= defined
+
+.include <bsd.port.mk>
diff --git a/devel/libelf/distinfo b/devel/libelf/distinfo
new file mode 100644
index 00000000000..8d2649df820
--- /dev/null
+++ b/devel/libelf/distinfo
@@ -0,0 +1 @@
+MD5 (libelf-0.7.0.tar.gz) = 0a831d024d42cf2dcb94f696452219a6
diff --git a/devel/libelf/files/patch-configure b/devel/libelf/files/patch-configure
new file mode 100644
index 00000000000..1489b14b900
--- /dev/null
+++ b/devel/libelf/files/patch-configure
@@ -0,0 +1,20 @@
+--- configure Wed Apr 18 13:20:42 2001
++++ configure Wed Apr 18 13:20:56 2001
+@@ -1038,7 +1038,7 @@
+
+ fi
+
+-for ac_hdr in unistd.h elf.h sys/elf.h
++for ac_hdr in unistd.h sys/elf.h
+ do
+ ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+ echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+@@ -2692,7 +2692,7 @@
+ fi
+
+ case "$host" in
+- *-linux*)
++ *-linux*|*-freebsd*)
+ if test "$GCC" = yes; then
+
+
diff --git a/devel/libelf/pkg-comment b/devel/libelf/pkg-comment
new file mode 100644
index 00000000000..445e91e8976
--- /dev/null
+++ b/devel/libelf/pkg-comment
@@ -0,0 +1 @@
+A public ELF file access library
diff --git a/devel/libelf/pkg-descr b/devel/libelf/pkg-descr
new file mode 100644
index 00000000000..b2e84fab5bd
--- /dev/null
+++ b/devel/libelf/pkg-descr
@@ -0,0 +1,9 @@
+From the libelf README file:
+
+ This is the public release of libelf-0.7.0, a free ELF object
+ file access library. If you have problems with applications
+ that use libelf and work with the commercial (SVR4, Solaris)
+ version but not with this one, please contact me.
+
+WWW: http://www.stud.uni-hannover.de/~michael/software/
+Author: Michael Riepe <michael@stud.uni-hannover.de>
diff --git a/devel/libelf/pkg-plist b/devel/libelf/pkg-plist
new file mode 100644
index 00000000000..0ff3652314f
--- /dev/null
+++ b/devel/libelf/pkg-plist
@@ -0,0 +1,9 @@
+include/libelf/libelf.h
+include/libelf/nlist.h
+include/libelf/sys_elf.h
+include/libelf/elf_repl.h
+lib/libelf.a
+lib/libelf.so
+lib/libelf.so.%%LIBVER_SHORT%%
+lib/libelf.so.%%LIBVER%%
+@dirrm include/libelf