summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorgrant <grant>2003-06-14 21:13:13 +0000
committergrant <grant>2003-06-14 21:13:13 +0000
commit855bc99def550aac0f736789438620c9dc84a429 (patch)
treef977d28cba491aee57e6b59061826063aca8340e /mk
parent781c3db52b68e4d077eca9593af96126e07a4082 (diff)
downloadpkgsrc-855bc99def550aac0f736789438620c9dc84a429.tar.gz
if defined, add CXX and CPP to the make environment, as per CC.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index bd097afa2fd..86b1627a0fb 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1198 2003/06/14 18:52:46 atatat Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1199 2003/06/14 21:13:13 grant Exp $
#
# This file is in the public domain.
#
@@ -306,6 +306,12 @@ MAKE_ENV+= X11PREFIX=${X11PREFIX}
.if defined(CC)
MAKE_ENV+= CC="${CC}"
.endif
+.if defined(CXX)
+MAKE_ENV+= CXX="${CXX}"
+.endif
+.if defined(CPP)
+MAKE_ENV+= CPP="${CPP}"
+.endif
.if exists(${ZOULARISBASE}/bin/ftp) # Zoularis
FETCH_CMD?= ${ZOULARISBASE}/bin/ftp