summaryrefslogtreecommitdiff
path: root/devel/ptl2/buildlink2.mk
diff options
context:
space:
mode:
authorjlam <jlam>2002-09-23 02:28:36 +0000
committerjlam <jlam>2002-09-23 02:28:36 +0000
commit8e3c0b518ab6a3dc4abe9ceaea21f6bc4ae2f847 (patch)
tree7ac3618e33c321d755fe47402f01bfe3d298ac56 /devel/ptl2/buildlink2.mk
parent0aaa8f53ea26fcfb8b56310093efbf6dc544ac65 (diff)
downloadpkgsrc-8e3c0b518ab6a3dc4abe9ceaea21f6bc4ae2f847.tar.gz
Use BUILDLINK_CPPFLAGS.<pkg> and BUILDLINK_LDFLAGS.<pkg> as standard names
for the extra CPPFLAGS and LDFLAGS needed by packages that include these buildlink2.mk files.
Diffstat (limited to 'devel/ptl2/buildlink2.mk')
-rw-r--r--devel/ptl2/buildlink2.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/ptl2/buildlink2.mk b/devel/ptl2/buildlink2.mk
index 7d9b67d610f..70807285707 100644
--- a/devel/ptl2/buildlink2.mk
+++ b/devel/ptl2/buildlink2.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 19:22:38 jlam Exp $
+# $NetBSD: buildlink2.mk,v 1.3 2002/09/23 02:28:38 jlam Exp $
.if !defined(PTL2_BUILDLINK2_MK)
PTL2_BUILDLINK2_MK= # defined
@@ -14,6 +14,8 @@ BUILDLINK_FILES.ptl2+= PTL/include/*/*.h
BUILDLINK_FILES.ptl2+= PTL/include/*.h
BUILDLINK_FILES.ptl2+= lib/libPTL.*
+BUILDLINK_CPPFLAGS.ptl2= -I${BUILDLINK_PREFIX.ptl2}/PTL/include
+
BUILDLINK_TARGETS+= ptl2-buildlink
ptl2-buildlink: _BUILDLINK_USE