summaryrefslogtreecommitdiff
path: root/math/capc-calc
diff options
context:
space:
mode:
authorjlam <jlam>2001-05-24 08:53:54 +0000
committerjlam <jlam>2001-05-24 08:53:54 +0000
commitea9a943426ae849f8671eeb8718e501bfeadb315 (patch)
tree5f91b7729fd1bdb67af0af17bb78b53ca29f8bd6 /math/capc-calc
parenteb8ff3e130393605c7f87cc5adb1b7df003f0849 (diff)
downloadpkgsrc-ea9a943426ae849f8671eeb8718e501bfeadb315.tar.gz
Standardize name of file to include for build-links to be "buildlink.mk".
Use BUILDLINK_INCDIR, BUILDLINK_LIBDIR for locations of linked headers and libraries. Create a variable BUILDLINK_TARGETS whose value is the list of build-link targets to execute.
Diffstat (limited to 'math/capc-calc')
-rw-r--r--math/capc-calc/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/math/capc-calc/Makefile b/math/capc-calc/Makefile
index 900b04ed903..c4f65623afe 100644
--- a/math/capc-calc/Makefile
+++ b/math/capc-calc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2001/05/16 20:28:40 jlam Exp $
+# $NetBSD: Makefile,v 1.6 2001/05/24 08:53:57 jlam Exp $
#
DISTNAME= calc-2.11.4t2
@@ -13,12 +13,12 @@ COMMENT= C arbitrary precision calculator
NO_CONFIGURE= # defined
-.include "../../devel/readline/Makefile.readline"
+.include "../../devel/readline/buildlink.mk"
MAKE_ENV+= CPPFLAGS="${CPPFLAGS}"
-CPPFLAGS+= -I${WRKINCDIR}
-LDFLAGS+= -L${WRKLIBDIR}
+CPPFLAGS+= -I${BUILDLINK_INCDIR}
+LDFLAGS+= -L${BUILDLINK_LIBDIR}
-pre-build: link-readline-headers link-readline-libs
+pre-build: ${BUILDLINK_TARGETS}
.include "../../mk/bsd.pkg.mk"