From 62bc98e8b706d04159efb402e109d73de0b0d34f Mon Sep 17 00:00:00 2001 From: "Philip M. Gollucci" Date: Fri, 19 Jun 2009 04:30:33 +0000 Subject: [PATCH] - Fix Build with custom LOCALBASE/PREFIX Reported by: QATty --- mail/p5-Clamd/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mail/p5-Clamd/Makefile b/mail/p5-Clamd/Makefile index d17f6e6afc29..643f828e59b3 100644 --- a/mail/p5-Clamd/Makefile +++ b/mail/p5-Clamd/Makefile @@ -30,4 +30,7 @@ PLIST_FILES= %%SITE_PERL%%/Clamd.pm \ PLIST_DIRS= %%SITE_PERL%%/%%PERL_ARCH%%/auto/Clamd +post-patch: + @${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' ${WRKSRC}/Makefile.PL + .include