diff --git a/share/mk/bsd.port.mk b/share/mk/bsd.port.mk index af7bb33a3b62..dec44523d935 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)