summaryrefslogtreecommitdiff
path: root/devel/cdecl
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 /devel/cdecl
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 'devel/cdecl')
-rw-r--r--devel/cdecl/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/devel/cdecl/Makefile b/devel/cdecl/Makefile
index 173649ccd8f..4af91257d34 100644
--- a/devel/cdecl/Makefile
+++ b/devel/cdecl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2001/05/22 05:50:51 jlam Exp $
+# $NetBSD: Makefile,v 1.7 2001/05/24 08:53:55 jlam Exp $
#
DISTNAME= cdecl-2.5
@@ -14,14 +14,14 @@ COMMENT= utility to explain and compose C and C++ declarations
ALL_TARGET= cdecl
-.include "../../devel/readline/Makefile.readline"
+.include "../../devel/readline/buildlink.mk"
-CFLAGS+= -I${WRKINCDIR}
-LDFLAGS+= -L${WRKLIBDIR}
+CFLAGS+= -I${BUILDLINK_INCDIR}
+LDFLAGS+= -L${BUILDLINK_LIBDIR}
EGDIR= ${PREFIX}/share/examples/cdecl
-pre-configure: link-readline-headers link-readline-libs
+pre-configure: ${BUILDLINK_TARGETS}
post-install:
${INSTALL_DATA_DIR} ${EGDIR}