1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-03 12:35:02 +00:00

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
This commit is contained in:
Satoshi Asami 1997-06-24 07:16:21 +00:00
parent 601fc2b92f
commit 0c3a571ce3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=26884

View File

@ -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)