diff options
author | jlam <jlam> | 2004-01-05 11:12:46 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-01-05 11:12:46 +0000 |
commit | bf3388e0fa21d432e0c8169366836fbf306412e3 (patch) | |
tree | 8572fd3df2cd8b7ec42b004bae272ab1b536618e /devel/libtool-base | |
parent | b503f9ffc57a2018c9fd3bd73464cdba9093fa70 (diff) | |
download | pkgsrc-bf3388e0fa21d432e0c8169366836fbf306412e3.tar.gz |
"bl3ify": [v] to convert a package to use the buildlink3 framework.
Diffstat (limited to 'devel/libtool-base')
-rw-r--r-- | devel/libtool-base/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/devel/libtool-base/Makefile b/devel/libtool-base/Makefile index 54791a93d9c..58735fc1d0b 100644 --- a/devel/libtool-base/Makefile +++ b/devel/libtool-base/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2003/09/18 16:25:12 jmmv Exp $ +# $NetBSD: Makefile,v 1.18 2004/01/05 11:12:46 jlam Exp $ # .include "../../devel/libtool/Makefile.common" @@ -35,6 +35,16 @@ CONFIGURE_ARGS= --enable-ltdl-install BUILD_SHLIBTOOL?= YES BUILDING_SHLIBTOOL?= NO +.PHONY: fix-libtool +fix-libtool: + cd ${WRKSRC}; for f in libtool; do \ + ${SED} -e "s,-L${BUILDLINK_DIR}/lib,," $$f > $$f.new; \ + if [ -x $$f ]; then ${CHMOD} +x $$f.new; fi; \ + ${MV} -f $$f.new $$f; \ + done + +post-build: fix-libtool + .if ${BUILDING_SHLIBTOOL} == "YES" CONFIGURE_ARGS+= --disable-static .else |