aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorscrappy <scrappy@FreeBSD.org>2007-08-29 12:51:01 +0800
committerscrappy <scrappy@FreeBSD.org>2007-08-29 12:51:01 +0800
commit57f90585357181ea3524ad541928dbc6286fdd50 (patch)
treecb57864e1113b49d4dc78c9c34b43aab4a8594a2
parent5193438f946aa76fb30e13380295db2e1d3a3f8b (diff)
downloadfreebsd-ports-gnome-57f90585357181ea3524ad541928dbc6286fdd50.tar.gz
freebsd-ports-gnome-57f90585357181ea3524ad541928dbc6286fdd50.tar.zst
freebsd-ports-gnome-57f90585357181ea3524ad541928dbc6286fdd50.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