diff options
Diffstat (limited to 'sysutils')
| -rw-r--r-- | sysutils/gnome-system-tools/Makefile | 2 | ||||
| -rw-r--r-- | sysutils/gnomesystemtools/Makefile | 2 |
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> |
