aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@FreeBSD.org>2007-08-29 12:51:01 +0800
committerMarc G. Fournier <scrappy@FreeBSD.org>2007-08-29 12:51:01 +0800
commit08220bb0f6e2e90e9a464ea87fadbcf7c0bba73c (patch)
tree8f7dadf1497b90fb898b5698ccef8448e928f22a
parent2f430cefa8e170282678ca85427c82ed0fc4301a (diff)
downloadfreebsd-ports-gnome-08220bb0f6e2e90e9a464ea87fadbcf7c0bba73c.tar.gz
freebsd-ports-gnome-08220bb0f6e2e90e9a464ea87fadbcf7c0bba73c.tar.zst
freebsd-ports-gnome-08220bb0f6e2e90e9a464ea87fadbcf7c0bba73c.zip
fix problem where, when you try and run on install, it gives error because
LOCALBASE isn't set ...
-rw-r--r--sysutils/bsdstats/Makefile2
-rw-r--r--sysutils/bsdstats/pkg-install4
2 files changed, 3 insertions, 3 deletions
diff --git a/sysutils/bsdstats/Makefile b/sysutils/bsdstats/Makefile
index 8ffc32108d38..2597c73332ef 100644
--- a/sysutils/bsdstats/Makefile
+++ b/sysutils/bsdstats/Makefile
@@ -7,7 +7,7 @@
PORTNAME= bsdstats
PORTVERSION= 5.3
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= sysutils
DISTFILES=
diff --git a/sysutils/bsdstats/pkg-install b/sysutils/bsdstats/pkg-install
index afec6afef4b8..1b05fa7b3e99 100644
--- a/sysutils/bsdstats/pkg-install
+++ b/sysutils/bsdstats/pkg-install
@@ -45,7 +45,7 @@ if [ ":$2" = ":POST-INSTALL" ]; then
echo "monthly_statistics_report_ports=\"YES\"" >> /etc/periodic.conf
fi
if yesno "Would you like to run it now" y; then
- ${LOCALBASE}/etc/periodic/monthly/300.statistics -nodelay
+ ${PKG_PREFIX}/etc/periodic/monthly/300.statistics -nodelay
fi
fi
else
@@ -66,7 +66,7 @@ if [ ":$2" = ":POST-INSTALL" ]; then
echo "monthly_statistics_report_ports=\"YES\"" >> /etc/periodic.conf
fi
if yesno "Would you like to run it now" y; then
- ${LOCALBASE}/etc/periodic/monthly/300.statistics -nodelay
+ ${PKG_PREFIX}/etc/periodic/monthly/300.statistics -nodelay
fi
fi
fi