libelf installs with perms 555 and stripped libs. This diff makes libelf install with perms 444 and not stripped libs.
Index: Makefile =================================================================== RCS file: /cvs/ports/devel/libelf/Makefile,v retrieving revision 1.5 diff -u -p -r1.5 Makefile --- Makefile 8 Apr 2010 15:07:51 -0000 1.5 +++ Makefile 18 May 2012 17:15:34 -0000 @@ -3,6 +3,7 @@ COMMENT= read, modify, create ELF files on any arch DISTNAME= libelf-0.8.13 +REVISION= 0 SHARED_LIBS= elf 1.1 Index: patches/patch-aclocal_m4 =================================================================== RCS file: /cvs/ports/devel/libelf/patches/patch-aclocal_m4,v retrieving revision 1.2 diff -u -p -r1.2 patch-aclocal_m4 --- patches/patch-aclocal_m4 13 Oct 2009 00:00:37 -0000 1.2 +++ patches/patch-aclocal_m4 18 May 2012 17:15:34 -0000 @@ -11,7 +11,7 @@ $OpenBSD: patch-aclocal_m4,v 1.2 2009/10 + SHLINK_SFX='$(SHLIB_SFX)' + SONAME_SFX='$(SHLIB_SFX)' + LINK_SHLIB='$(CC) -shared' -+ INSTALL_SHLIB='$(INSTALL_PROGRAM)' ++ INSTALL_SHLIB='$(INSTALL_DATA)' + ;; sparc-sun-solaris2*) if test "$GCC" = yes; then