summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
Diffstat (limited to 'lang')
-rw-r--r--lang/librep/Makefile24
1 files changed, 15 insertions, 9 deletions
diff --git a/lang/librep/Makefile b/lang/librep/Makefile
index 45c544b23c6..56cdbad99e2 100644
--- a/lang/librep/Makefile
+++ b/lang/librep/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2001/05/22 06:59:25 jlam Exp $
+# $NetBSD: Makefile,v 1.10 2001/05/28 06:19:10 jlam Exp $
#
DISTNAME= librep-${REP_VERS}
@@ -10,22 +10,28 @@ MAINTAINER= danw@netbsd.org
HOMEPAGE= http://librep.sourceforge.net/
COMMENT= Emacs Lisp-like runtime library, interpreter, compiler and VM
-DEPENDS+= gmp>=3.0:../../devel/gmp
-DEPENDS+= gdbm>=1.8.0:../../databases/gdbm
-
-# Uses GNU readline's rl_basic_quote_characters.
-DEPENDS+= readline>=4.0:../../devel/readline
+GDBM_REQD= 1.8.0
+USE_GNU_READLINE= # uses rl_basic_quote_characters
USE_GMAKE= # defined
-USE_LIBINTL= # defined
USE_LIBTOOL= # defined
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
GNU_CONFIGURE= # defined
CONFIGURE_ARGS+= --with-readline
-CONFIGURE_ARGS+= --with-gmp-prefix=${LOCALBASE}
-CONFIGURE_ARGS+= --with-gdbm-prefix=${LOCALBASE}
+CONFIGURE_ARGS+= --with-gmp
+CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
+
+.include "../../databases/gdbm/buildlink.mk"
+.include "../../devel/gettext-lib/buildlink.mk"
+.include "../../devel/gmp/buildlink.mk"
+.include "../../devel/readline/buildlink.mk"
+
+CPPFLAGS+= -I${BUILDLINK_INCDIR}
+LDFLAGS+= -L${BUILDLINK_LIBDIR}
PLIST_SUBST+= REP_VERS=${REP_VERS}
+pre-configure: ${BUILDLINK_TARGETS}
+
.include "../../mk/bsd.pkg.mk"