From 80d6bd47bb9a4ef4f26a5dd7c8404ca2114ae75b Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Wed, 6 Jan 2016 15:33:22 +0000 Subject: [PATCH] Only do the Perl fix if Perl is enabled. Reported by: Mike Harding --- net-im/pidgin/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net-im/pidgin/Makefile b/net-im/pidgin/Makefile index 7e86482f7edb..9f9f6c597247 100644 --- a/net-im/pidgin/Makefile +++ b/net-im/pidgin/Makefile @@ -29,9 +29,11 @@ CONFIGURE_ARGS= --disable-consoleui \ --enable-screensaver \ --with-dynamic_prpls=${PRPL_MODULES:S/,$//} +.if ${PORT_OPTIONS:MPERL} post-stage: @${SED} -i '' -e 's|^${STAGEDIR}||g' \ ${STAGEDIR}${PREFIX}/lib/pidgin/perl/auto/Pidgin/.packlist +.endif post-install: ${INSTALL_MAN} ${WRKSRC}/doc/pidgin.1 ${STAGEDIR}${MAN1PREFIX}/man/man1