summaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-11-08 04:44:53 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-11-08 04:44:53 +0800
commitd2aa129e4b4c0b5f8cd58c51819e8b740659385c (patch)
treecb8cb75a568408bf26b2971a5bbd30846e771941 /sysutils
parente68ab0e6788bc720a66cb7d3a691c091fda11594 (diff)
downloadmarcuscom-ports-d2aa129e4b4c0b5f8cd58c51819e8b740659385c.tar.gz
marcuscom-ports-d2aa129e4b4c0b5f8cd58c51819e8b740659385c.tar.zst
marcuscom-ports-d2aa129e4b4c0b5f8cd58c51819e8b740659385c.zip
Only do the Perl script hack if we're running Perl 5.00503.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3042 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/gnome-system-tools/Makefile2
-rw-r--r--sysutils/gnomesystemtools/Makefile2
2 files changed, 4 insertions, 0 deletions
diff --git a/sysutils/gnome-system-tools/Makefile b/sysutils/gnome-system-tools/Makefile
index 80519dd8b..ea712a90a 100644
--- a/sysutils/gnome-system-tools/Makefile
+++ b/sysutils/gnome-system-tools/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>
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>