pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel "bl3ify": [v] to convert a package to use the bu...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/60be568edd31
branches:  trunk
changeset: 465730:60be568edd31
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Mon Jan 05 11:12:46 2004 +0000

description:
"bl3ify": [v] to convert a package to use the buildlink3 framework.

diffstat:

 devel/libtool-base/Makefile   |  12 +++++++++++-
 devel/libtool/Makefile.common |   6 ++++--
 2 files changed, 15 insertions(+), 3 deletions(-)

diffs (47 lines):

diff -r 60a8182a2d85 -r 60be568edd31 devel/libtool-base/Makefile
--- a/devel/libtool-base/Makefile       Mon Jan 05 11:05:44 2004 +0000
+++ b/devel/libtool-base/Makefile       Mon Jan 05 11:12:46 2004 +0000
@@ -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 @@
 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
diff -r 60a8182a2d85 -r 60be568edd31 devel/libtool/Makefile.common
--- a/devel/libtool/Makefile.common     Mon Jan 05 11:05:44 2004 +0000
+++ b/devel/libtool/Makefile.common     Mon Jan 05 11:12:46 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.38 2004/01/05 09:50:47 cube Exp $
+# $NetBSD: Makefile.common,v 1.39 2004/01/05 11:12:46 jlam Exp $
 #
 
 DISTNAME=      libtool-ml-20010614
@@ -13,8 +13,10 @@
 
 CONFLICTS=     glibtool-[0-9]*
 
+PKG_INSTALLATION_TYPES=        overwrite pkgviews
+
 GNU_CONFIGURE= # defined
-USE_BUILDLINK2=        # defined
+USE_BUILDLINK3=        # defined
 
 DISTINFO_FILE= ${.CURDIR}/../libtool/distinfo
 FILESDIR=      ${.CURDIR}/../libtool/files



Home | Main Index | Thread Index | Old Index