summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2016-01-06 15:33:22 +0000
committermarcus <marcus@FreeBSD.org>2016-01-06 15:33:22 +0000
commita194bedd17ca7ebdde68ae5ad8a13d5611840be4 (patch)
treec13b4e16f3990a78b21a24c2a6d2b2dee94ef8a8
parent9316b87f739cfb21161a7da9e61be2bd57414c44 (diff)
downloadFreeBSD-ports-a194bedd17ca7ebdde68ae5ad8a13d5611840be4.zip
FreeBSD-ports-a194bedd17ca7ebdde68ae5ad8a13d5611840be4.tar.gz
Only do the Perl fix if Perl is enabled.
Reported by: Mike Harding <mvharding@gmail.com>
-rw-r--r--net-im/pidgin/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/net-im/pidgin/Makefile b/net-im/pidgin/Makefile
index 7e86482..9f9f6c5 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
OpenPOWER on IntegriCloud