summaryrefslogtreecommitdiff
path: root/lang/librep
diff options
context:
space:
mode:
authorjlam <jlam>2001-05-28 06:19:10 +0000
committerjlam <jlam>2001-05-28 06:19:10 +0000
commit60be23fe7317980e8f562bda7348b4728c0c65ca (patch)
treec1eee3611b115482f96d3e27f3f18c79d46d8656 /lang/librep
parent67493e1f70405f448648be573194c607cb6ca5ff (diff)
downloadpkgsrc-60be23fe7317980e8f562bda7348b4728c0c65ca.tar.gz
Use buildlink.mk files to get dependencies and to prevent unintended
linking against installed libraries or finding installed headers except for those that are explicitly linked into ${BUILDLINK_INCDIR} and ${BUILDLINK_LIBDIR}.
Diffstat (limited to 'lang/librep')
-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"