From 3f87044852a0785f0611e03e93643a3ad5b5c711 Mon Sep 17 00:00:00 2001 From: marcus Date: Fri, 22 Oct 2004 06:45:51 +0000 Subject: Fix this port with Perl < 5.6. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3006 df743ca5-7f9a-e211-a948-0013205c9059 --- sysutils/gnome-system-tools/Makefile | 6 +++++- sysutils/gnomesystemtools/Makefile | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/sysutils/gnome-system-tools/Makefile b/sysutils/gnome-system-tools/Makefile index 8b5f34a6b..80519dd8b 100644 --- a/sysutils/gnome-system-tools/Makefile +++ b/sysutils/gnome-system-tools/Makefile @@ -7,7 +7,7 @@ PORTNAME= gnomesystemtools PORTVERSION= 1.0.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/gnome-system-tools/1.0 @@ -35,4 +35,8 @@ PLIST_SUB+= SERVICES="" PLIST_SUB+= SERVICES="@comment " .endif +post-configure: + @${FIND} ${WRKSRC}/backends \( -name "*.pl" -or -name "*-conf" \) | \ + ${XARGS} ${REINPLACE_CMD} -e 's|@scriptsdir|[@]scriptsdir|g' + .include diff --git a/sysutils/gnomesystemtools/Makefile b/sysutils/gnomesystemtools/Makefile index 8b5f34a6b..80519dd8b 100644 --- a/sysutils/gnomesystemtools/Makefile +++ b/sysutils/gnomesystemtools/Makefile @@ -7,7 +7,7 @@ PORTNAME= gnomesystemtools PORTVERSION= 1.0.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/gnome-system-tools/1.0 @@ -35,4 +35,8 @@ PLIST_SUB+= SERVICES="" PLIST_SUB+= SERVICES="@comment " .endif +post-configure: + @${FIND} ${WRKSRC}/backends \( -name "*.pl" -or -name "*-conf" \) | \ + ${XARGS} ${REINPLACE_CMD} -e 's|@scriptsdir|[@]scriptsdir|g' + .include -- cgit v1.2.3