1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-06 11:41:52 +00:00

Fix dependency

Fix install of optional patches.

PR:		54471
Submitted by:	Andrew <andrew@ugh.net.au>
This commit is contained in:
Tilman Keskinoz 2003-07-22 11:04:21 +00:00
parent 856d68616a
commit 101fa3e3f6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=85359

View File

@ -15,7 +15,7 @@ DIST_SUBDIR= ${PORTNAME}
MAINTAINER= shanali@yahoo.com
COMMENT= Radiator Radius Server by Open System Consultants
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/mach/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5
RUN_DEPENDS= ${BUILD_DEPENDS}
USE_PERL5= yes
@ -37,8 +37,8 @@ IGNORE= will not be automatically fetched due to licensing\
.endif
pre-configure:
.if exists(${DISTDIR}/patches-${PORTVERSION}.tar.gz)
${TAR} -xvzf ${DISTDIR}/patches-${PORTVERSION}.tar.gz -C ${WRKSRC}
.if exists(${DISTDIR}/${DIST_SUBDIR}/patches-${PORTVERSION}.tar.gz)
${TAR} -xvzf ${DISTDIR}/${DIST_SUBDIR}/patches-${PORTVERSION}.tar.gz -C ${WRKSRC}
.endif
.include <bsd.port.post.mk>