diff options
Diffstat (limited to 'devel/libtool-base')
-rw-r--r-- | devel/libtool-base/Makefile | 10 | ||||
-rw-r--r-- | devel/libtool-base/files/shlibtool.in | 4 |
2 files changed, 9 insertions, 5 deletions
diff --git a/devel/libtool-base/Makefile b/devel/libtool-base/Makefile index 1bb65155c16..526ee06f234 100644 --- a/devel/libtool-base/Makefile +++ b/devel/libtool-base/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.73 2005/11/09 18:05:57 tv Exp $ +# $NetBSD: Makefile,v 1.74 2006/01/30 22:19:56 tv Exp $ ########################################################################### ########################################################################### @@ -26,7 +26,7 @@ .include "../../devel/libtool/Makefile.common" PKGNAME= ${DISTNAME:S/-/-base-/} -PKGREVISION= 6 +#PKGREVISION= SVR4_PKGNAME= ltoob COMMENT= Generic shared library support script (the script itself) @@ -83,10 +83,10 @@ PLIST_SUBST+= SHLIBTOOL="@comment " .else PLIST_SUBST+= SHLIBTOOL= +USE_PKGINSTALL= YES # for FILES_SUBST defaults + post-build: - cd ${WRKSRC} && \ - ${SED} -e '/^# Whether or not to build static/{n;s/yes/no/;}' \ - < libtool > shlibtool + @${SED} ${FILES_SUBST_SED} <${FILESDIR}/shlibtool.in >${WRKSRC}/shlibtool post-install: ${INSTALL_SCRIPT} ${WRKSRC}/shlibtool ${PREFIX}/bin/shlibtool diff --git a/devel/libtool-base/files/shlibtool.in b/devel/libtool-base/files/shlibtool.in new file mode 100644 index 00000000000..b8df96e5113 --- /dev/null +++ b/devel/libtool-base/files/shlibtool.in @@ -0,0 +1,4 @@ +#!@SH@ +# $NetBSD: shlibtool.in,v 1.1 2006/01/30 22:19:57 tv Exp $ + +exec @PREFIX@/bin/libtool --tag=disable-static "$@" |