aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libelf
diff options
context:
space:
mode:
authorroam <roam@FreeBSD.org>2003-02-20 22:52:11 +0800
committerroam <roam@FreeBSD.org>2003-02-20 22:52:11 +0800
commit15713cf6c08904db9e413252a9932b10cd95550b (patch)
tree1250ca61c0f1cb067c237f71e359f629ab32b3e3 /devel/libelf
parentedd5d0c1eb00e6f5e8d65b5a3a025a72923aab89 (diff)
downloadfreebsd-ports-graphics-15713cf6c08904db9e413252a9932b10cd95550b.tar.gz
freebsd-ports-graphics-15713cf6c08904db9e413252a9932b10cd95550b.tar.zst
freebsd-ports-graphics-15713cf6c08904db9e413252a9932b10cd95550b.zip
Update to 0.8.0.
Partially submitted by: archie
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 0f7af3a9064..b51a3377d8a 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 8d2649df820..0033ce663b6 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 1489b14b900..b4699b52e8c 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 b2e84fab5bd..bfd911cb568 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 0ff3652314f..b3b74416c7b 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