aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2009-06-19 12:30:33 +0800
committerpgollucci <pgollucci@FreeBSD.org>2009-06-19 12:30:33 +0800
commit7484410292cdc63d5684fb2a3bebd00def615c77 (patch)
tree32c567a48084b6cb15ccbc5655e5a8777ed04891
parent4b88bc7479eb118da1a6368cd27be055b70598cd (diff)
downloadfreebsd-ports-gnome-7484410292cdc63d5684fb2a3bebd00def615c77.tar.gz
freebsd-ports-gnome-7484410292cdc63d5684fb2a3bebd00def615c77.tar.zst
freebsd-ports-gnome-7484410292cdc63d5684fb2a3bebd00def615c77.zip
- Fix Build with custom LOCALBASE/PREFIX
Reported by: QATty
-rw-r--r--mail/p5-Clamd/Makefile3
1 files changed, 3 insertions, 0 deletions
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 <bsd.port.mk>