summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.port.mk
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1997-06-24 07:16:21 +0000
committerasami <asami@FreeBSD.org>1997-06-24 07:16:21 +0000
commit215421d3b1d803f7d757f7ff05242d52c1b8c2d6 (patch)
tree2b7a1621328ceec1eb2529dee701f88a6182b229 /share/mk/bsd.port.mk
parenta300c51544ec497cae3782cd0d483631e4d09cf7 (diff)
downloadFreeBSD-src-215421d3b1d803f7d757f7ff05242d52c1b8c2d6.zip
FreeBSD-src-215421d3b1d803f7d757f7ff05242d52c1b8c2d6.tar.gz
Add new variable USE_PERL5. It is similar to USE_GMAKE, except that
it also sets RUN_DEPENDS (USE_GMAKE is BUILD_DEPENDS only). The (immediate) purpose of this is to avoid having to change 70 zillion ports when the version of perl changes. Also, when perl5 is pulled into -current, this will become a no-op in -current's bsd.port.mk. Reviewed by: jfitz
Diffstat (limited to 'share/mk/bsd.port.mk')
-rw-r--r--share/mk/bsd.port.mk9
1 files changed, 7 insertions, 2 deletions
diff --git a/share/mk/bsd.port.mk b/share/mk/bsd.port.mk
index af7bb33..dec4452 100644
--- a/share/mk/bsd.port.mk
+++ b/share/mk/bsd.port.mk
@@ -1,7 +1,7 @@
#-*- mode: Fundamental; tab-width: 4; -*-
# ex:ts=4
#
-# $Id: bsd.port.mk,v 1.258 1997/06/04 00:12:19 asami Exp $
+# $Id: bsd.port.mk,v 1.259 1997/06/18 03:20:22 asami Exp $
# $NetBSD: $
#
# bsd.port.mk - 940820 Jordan K. Hubbard.
@@ -120,6 +120,7 @@ OpenBSD_MAINTAINER= imp@OpenBSD.ORG
# BROKEN - Port is broken. Set this string to the reason why.
# RESTRICTED - Port is restricted. Set this string to the reason why.
# USE_GMAKE - Says that the port uses gmake.
+# USE_PERL5 - Says that the port uses perl5 for building and running.
# USE_IMAKE - Says that the port uses imake.
# USE_X11 - Says that the port uses X11 (i.e., installs in ${X11BASE}).
# NO_INSTALL_MANPAGES - For imake ports that don't like the install.man
@@ -303,7 +304,11 @@ BUILD_DEPENDS+= ${EXEC_DEPENDS}
RUN_DEPENDS+= ${EXEC_DEPENDS}
.endif
.if defined(USE_GMAKE)
-BUILD_DEPENDS+= gmake:${PORTSDIR}/devel/gmake
+BUILD_DEPENDS+= gmake:${PORTSDIR}/devel/gmake
+.endif
+.if defined(USE_PERL5)
+BUILD_DEPENDS+= perl5.004:${PORTSDIR}/lang/perl5
+RUN_DEPENDS+= perl5.004:${PORTSDIR}/lang/perl5
.endif
.if exists(${PORTSDIR}/../Makefile.inc)
OpenPOWER on IntegriCloud