summaryrefslogtreecommitdiff
path: root/lang/librep
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-12-23 04:25:01 +0000
committerjlam <jlam@pkgsrc.org>2002-12-23 04:25:01 +0000
commit20bfa340fba514f9cf36c496d38466cf213cb967 (patch)
treec69406f47fc5bf7259c4dd4704677c15c3e31f85 /lang/librep
parentdbbb22cec31b5f7c152b448323abf9978baae92d (diff)
downloadpkgsrc-20bfa340fba514f9cf36c496d38466cf213cb967.tar.gz
Bump PKGREVISION for lang/librep and update the buildlink2.mk dependency
to the latest librep. librep installs and uses its own libtool for use by rep-* packages. We replace librep's libtool with a symlink to ${LOCALBASE}/bin/libtool and add a dependency on libtool-base. This addresses PR 19495 by Bill Sommerfeld.
Diffstat (limited to 'lang/librep')
-rw-r--r--lang/librep/Makefile11
-rw-r--r--lang/librep/buildlink2.mk4
2 files changed, 11 insertions, 4 deletions
diff --git a/lang/librep/Makefile b/lang/librep/Makefile
index 05c2fbabe16..23f66d8d27d 100644
--- a/lang/librep/Makefile
+++ b/lang/librep/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.24 2002/12/11 14:03:40 drochner Exp $
+# $NetBSD: Makefile,v 1.25 2002/12/23 04:25:01 jlam Exp $
#
DISTNAME= librep-${REP_VERS}
REP_VERS= 0.15.1
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= lang devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=librep/}
@@ -11,12 +11,15 @@ MAINTAINER= danw@netbsd.org
HOMEPAGE= http://librep.sourceforge.net/
COMMENT= Emacs Lisp-like runtime library, interpreter, compiler and VM
+DEPENDS+= libtool-base>=${LIBTOOL_REQD}:../../devel/libtool-base
+
USE_GNU_READLINE= # uses rl_basic_quote_characters
USE_BUILDLINK2= # defined
USE_GMAKE= # defined
USE_LIBTOOL= # defined
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+REP_LIBTOOL= ${PREFIX}/libexec/rep/${MACHINE_GNU_PLATFORM}/libtool
GNU_CONFIGURE= # defined
CONFIGURE_ARGS+= --with-readline
@@ -27,6 +30,10 @@ TEXINFO_PATTERNS+= Makedefs.in
PLIST_SUBST+= REP_VERS=${REP_VERS}
+post-install:
+ ${RM} -f ${REP_LIBTOOL}
+ ${LN} -sf ${LIBTOOL} ${REP_LIBTOOL}
+
.include "../../databases/gdbm/buildlink2.mk"
.include "../../devel/gettext-lib/buildlink2.mk"
.include "../../devel/gmp/buildlink2.mk"
diff --git a/lang/librep/buildlink2.mk b/lang/librep/buildlink2.mk
index f2e2ce0b86e..ea2806bc0b4 100644
--- a/lang/librep/buildlink2.mk
+++ b/lang/librep/buildlink2.mk
@@ -1,11 +1,11 @@
-# $NetBSD: buildlink2.mk,v 1.1 2002/10/08 13:12:25 wiz Exp $
+# $NetBSD: buildlink2.mk,v 1.2 2002/12/23 04:25:01 jlam Exp $
#
.if !defined(LIBREP_BUILDLINK2_MK)
LIBREP_BUILDLINK2_MK= # defined
BUILDLINK_PACKAGES+= librep
-BUILDLINK_DEPENDS.librep?= librep>=0.15.1nb1
+BUILDLINK_DEPENDS.librep?= librep>=0.15.1nb3
BUILDLINK_PKGSRCDIR.librep?= ../../lang/librep
EVAL_PREFIX+= BUILDLINK_PREFIX.librep=librep