summaryrefslogtreecommitdiffstats
path: root/sysutils/gnomesystemtools/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/gnomesystemtools/Makefile')
-rw-r--r--sysutils/gnomesystemtools/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysutils/gnomesystemtools/Makefile b/sysutils/gnomesystemtools/Makefile
index 80519dd8b..ea712a90a 100644
--- a/sysutils/gnomesystemtools/Makefile
+++ b/sysutils/gnomesystemtools/Makefile
@@ -35,8 +35,10 @@ PLIST_SUB+= SERVICES=""
PLIST_SUB+= SERVICES="@comment "
.endif
+.if ${PERL_LEVEL} < 500600
post-configure:
@${FIND} ${WRKSRC}/backends \( -name "*.pl" -or -name "*-conf" \) | \
${XARGS} ${REINPLACE_CMD} -e 's|@scriptsdir|[@]scriptsdir|g'
+.endif
.include <bsd.port.post.mk>