aboutsummaryrefslogtreecommitdiff
path: root/devel/libelf
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2003-02-20 14:52:11 +0000
committerPeter Pentchev <roam@FreeBSD.org>2003-02-20 14:52:11 +0000
commit41a4ab296a4c14f71464de6d8dc40adbaa2f8f17 (patch)
tree7390e0f74acd9b6c650366a7af83ad92f4f6cea9 /devel/libelf
parent34d739d4dd467b21d9bca8e0de324bfaa43652f7 (diff)
downloadports-41a4ab296a4c14f71464de6d8dc40adbaa2f8f17.tar.gz
ports-41a4ab296a4c14f71464de6d8dc40adbaa2f8f17.zip
Update to 0.8.0.
Partially submitted by: archie
Notes
Notes: svn path=/head/; revision=75939
Diffstat (limited to 'devel/libelf')
-rw-r--r--devel/libelf/Makefile10
-rw-r--r--devel/libelf/distinfo2
-rw-r--r--devel/libelf/files/patch-configure21
-rw-r--r--devel/libelf/pkg-descr2
-rw-r--r--devel/libelf/pkg-plist4
5 files changed, 27 insertions, 12 deletions
diff --git a/devel/libelf/Makefile b/devel/libelf/Makefile
index 0f7af3a9064e..b51a3377d8a8 100644
--- a/devel/libelf/Makefile
+++ b/devel/libelf/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= libelf
-PORTVERSION= 0.7.0
+PORTVERSION= 0.8.0
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SUNSITE} \
http://www.stud.uni-hannover.de/~michael/software/ \
@@ -14,10 +14,14 @@ MASTER_SITES= ${MASTER_SITE_SUNSITE} \
MASTER_SITE_SUBDIR= libs .
MAINTAINER= roam@FreeBSD.org
-COMMENT= "A public ELF file access library"
+COMMENT= "A public ELF file access library similar to libelf(3) in Solaris"
+
+LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --enable-shared
+CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib -lintl"
+CONFIGURE_ARGS+= --enable-shared --disable-compat
INSTALLS_SHLIB= yes
PLIST_SUB+= LIBVER=${PORTVERSION} \
LIBVER_SHORT=${PORTVERSION:R}
diff --git a/devel/libelf/distinfo b/devel/libelf/distinfo
index 8d2649df820b..0033ce663b63 100644
--- a/devel/libelf/distinfo
+++ b/devel/libelf/distinfo
@@ -1 +1 @@
-MD5 (libelf-0.7.0.tar.gz) = 0a831d024d42cf2dcb94f696452219a6
+MD5 (libelf-0.8.0.tar.gz) = 248461984f2b9c46cf46cf905938a9e2
diff --git a/devel/libelf/files/patch-configure b/devel/libelf/files/patch-configure
index 1489b14b900a..b4699b52e8c9 100644
--- a/devel/libelf/files/patch-configure
+++ b/devel/libelf/files/patch-configure
@@ -1,15 +1,24 @@
---- configure Wed Apr 18 13:20:42 2001
-+++ configure Wed Apr 18 13:20:56 2001
-@@ -1038,7 +1038,7 @@
+--- configure.old Thu Feb 20 16:26:13 2003
++++ configure Thu Feb 20 16:28:04 2003
+@@ -1123,7 +1123,7 @@
fi
--for ac_hdr in unistd.h elf.h sys/elf.h
-+for ac_hdr in unistd.h sys/elf.h
+-for ac_hdr in unistd.h fcntl.h elf.h sys/elf.h link.h sys/link.h
++for ac_hdr in unistd.h fcntl.h sys/elf.h link.h sys/link.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 @@
+@@ -1220,7 +1220,7 @@
+ # Check whether --enable-compat or --disable-compat was given.
+ if test "${enable_compat+set}" = set; then
+ enableval="$enable_compat"
+- libelf_enable_compat="$enableval"
++ DO_COMPAT="$enableval"
+ else
+
+ if test "$ac_cv_header_libelf_h$ac_cv_header_nlist_h$ac_cv_header_gelf_h" = yesyesyes
+@@ -3039,7 +3039,7 @@
fi
case "$host" in
diff --git a/devel/libelf/pkg-descr b/devel/libelf/pkg-descr
index b2e84fab5bd6..bfd911cb568e 100644
--- a/devel/libelf/pkg-descr
+++ b/devel/libelf/pkg-descr
@@ -1,6 +1,6 @@
From the libelf README file:
- This is the public release of libelf-0.7.0, a free ELF object
+ This is the public release of libelf, 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.
diff --git a/devel/libelf/pkg-plist b/devel/libelf/pkg-plist
index 0ff3652314f1..b3b74416c7b4 100644
--- a/devel/libelf/pkg-plist
+++ b/devel/libelf/pkg-plist
@@ -1,9 +1,11 @@
+include/libelf/gelf.h
include/libelf/libelf.h
include/libelf/nlist.h
include/libelf/sys_elf.h
include/libelf/elf_repl.h
+@dirrm include/libelf
lib/libelf.a
lib/libelf.so
lib/libelf.so.%%LIBVER_SHORT%%
lib/libelf.so.%%LIBVER%%
-@dirrm include/libelf
+share/locale/de/LC_MESSAGES/libelf.mo