pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/librep bl3ify



details:   https://anonhg.NetBSD.org/pkgsrc/rev/550b99df5954
branches:  trunk
changeset: 468295:550b99df5954
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Thu Feb 12 09:10:51 2004 +0000

description:
bl3ify

diffstat:

 lang/librep/Makefile      |  20 ++++++++++----------
 lang/librep/buildlink3.mk |  19 +++++++++++++++++++
 2 files changed, 29 insertions(+), 10 deletions(-)

diffs (68 lines):

diff -r 4bb758e6d5d2 -r 550b99df5954 lang/librep/Makefile
--- a/lang/librep/Makefile      Thu Feb 12 09:00:29 2004 +0000
+++ b/lang/librep/Makefile      Thu Feb 12 09:10:51 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2004/01/24 13:51:14 grant Exp $
+# $NetBSD: Makefile,v 1.33 2004/02/12 09:10:51 jlam Exp $
 #
 
 DISTNAME=              librep-${REP_VERS}
@@ -14,15 +14,15 @@
 
 DEPENDS+=              libtool-base>=${LIBTOOL_REQD}:../../devel/libtool-base
 
+USE_BUILDLINK3=                yes
+USE_GNU_TOOLS+=                make
 USE_GNU_READLINE=      # uses rl_basic_quote_characters
 
-USE_BUILDLINK2=                # defined
-USE_GNU_TOOLS+=                make
-USE_LIBTOOL=           # defined
+USE_LIBTOOL=           yes
 LIBTOOL_OVERRIDE=      ${WRKSRC}/libtool
 REP_LIBTOOL=           ${PREFIX}/libexec/rep/${MACHINE_GNU_PLATFORM}/libtool
 
-GNU_CONFIGURE=         # defined
+GNU_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --with-readline
 CONFIGURE_ARGS+=       --with-gmp
 CONFIGURE_ARGS+=       --enable-static
@@ -34,10 +34,10 @@
 
 post-install:
        ${RM} -f ${REP_LIBTOOL}
-       ${LN} -sf ${LIBTOOL} ${REP_LIBTOOL}
+       ${LN} -sf ${PKG_LIBTOOL} ${REP_LIBTOOL}
 
-.include "../../databases/gdbm/buildlink2.mk"
-.include "../../devel/gettext-lib/buildlink2.mk"
-.include "../../devel/gmp/buildlink2.mk"
-.include "../../devel/readline/buildlink2.mk"
+.include "../../databases/gdbm/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/gmp/buildlink3.mk"
+.include "../../devel/readline/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 4bb758e6d5d2 -r 550b99df5954 lang/librep/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/librep/buildlink3.mk Thu Feb 12 09:10:51 2004 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/12 09:10:51 jlam Exp $
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
+LIBREP_BUILDLINK3_MK:= ${LIBREP_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    librep
+.endif
+
+.if !empty(LIBREP_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+=           librep
+BUILDLINK_DEPENDS.librep+=     librep>=0.16.1nb1
+BUILDLINK_PKGSRCDIR.librep?=   ../../lang/librep
+
+.  include "../../devel/gettext-lib/buildlink3.mk"
+.  include "../../devel/gmp/buildlink3.mk"
+.endif # LIBREP_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}



Home | Main Index | Thread Index | Old Index