summaryrefslogtreecommitdiff
path: root/print/tcl-pdflib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'print/tcl-pdflib/Makefile')
-rw-r--r--print/tcl-pdflib/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/print/tcl-pdflib/Makefile b/print/tcl-pdflib/Makefile
index bf62d498e5e..c4a88c496a6 100644
--- a/print/tcl-pdflib/Makefile
+++ b/print/tcl-pdflib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2002/03/13 17:37:38 fredb Exp $
+# $NetBSD: Makefile,v 1.4 2002/08/25 21:50:34 jlam Exp $
.include "../pdflib/Makefile.common"
@@ -6,12 +6,12 @@ PKGNAME= tcl-pdflib-${PDFLIB_BASE_VERS}
PKGREVISION= 1
COMMENT= Tcl interface to PDFlib for generating PDF files
-USE_BUILDLINK_ONLY= YES
BUILDLINK_DEPENDS.pdflib= pdflib>=${PDFLIB_BASE_VERS}
+USE_BUILDLINK2= YES
CONFIGURE_ARGS+= --with-tcl=${TCLSH}
-CONFIGURE_ARGS+= --with-tclincl="${BUILDLINK_DIR}/include"
-TCLSH= ${LOCALBASE}/bin/tclsh
+CONFIGURE_ARGS+= --with-tclincl="${BUILDLINK_PREFIX.tcl}/include"
+TCLSH= ${BUILDLINK_PREFIX.tcl}/bin/tclsh
DIRS_TO_BUILD= bind/tcl
@@ -30,6 +30,7 @@ do-install:
${MAKE_PROGRAM} ${MAKE_FLAGS} ${INSTALL_TARGET}
.endfor
-.include "../pdflib/buildlink.mk"
-.include "../../lang/tcl/buildlink.mk"
+.include "../pdflib/buildlink2.mk"
+.include "../../lang/tcl/buildlink2.mk"
+
.include "../../mk/bsd.pkg.mk"