diff --git a/devel/libtool/Makefile b/devel/libtool/Makefile index ca4c1f793c5..d30b221c064 100644 --- a/devel/libtool/Makefile +++ b/devel/libtool/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.72 2009/11/11 10:47:08 sthen Exp $ +# $OpenBSD: Makefile,v 1.73 2009/11/17 10:15:35 espie Exp $ # $FreeBSD: Makefile,v 1.2 1998/09/23 16:15:53 vanilla Exp $ COMMENT-main= generic shared library support script @@ -7,8 +7,8 @@ COMMENT-ltdl= GNU libtool system independent dlopen wrapper VERSION= 1.5.26 DISTNAME= libtool-${VERSION} PKGNAME-main= ${DISTNAME}p2 -PKGNAME-ltdl= libltdl-${VERSION} -SHARED_LIBS= ltdl 4.4 +PKGNAME-ltdl= libltdl-${VERSION}p0 +SHARED_LIBS= ltdl 4.5 MODGNU_SHARED_LIBS= ltdl '-no-undefined' CATEGORIES= devel diff --git a/devel/libtool/patches/patch-libltdl_ltdl_c b/devel/libtool/patches/patch-libltdl_ltdl_c new file mode 100644 index 00000000000..126455d2aae --- /dev/null +++ b/devel/libtool/patches/patch-libltdl_ltdl_c @@ -0,0 +1,12 @@ +$OpenBSD: patch-libltdl_ltdl_c,v 1.4 2009/11/17 10:15:35 espie Exp $ +--- libltdl/ltdl.c.orig Mon Nov 16 19:39:41 2009 ++++ libltdl/ltdl.c Mon Nov 16 19:39:54 2009 +@@ -3225,7 +3225,7 @@ try_dlopen (phandle, filename) + } + #endif + } +- if (!file) ++ else + { + file = fopen (filename, LT_READTEXT_MODE); + }