From 52658afe21edf70b6d1df84f754ff52276b4c4e0 Mon Sep 17 00:00:00 2001 From: arved Date: Tue, 22 Jul 2003 11:04:21 +0000 Subject: Fix dependency Fix install of optional patches. PR: 54471 Submitted by: Andrew --- net/radiator/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'net') diff --git a/net/radiator/Makefile b/net/radiator/Makefile index 276dbb59213..06780b314ce 100644 --- a/net/radiator/Makefile +++ b/net/radiator/Makefile @@ -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 -- cgit