diff options
author | Gabor Kovesdan <gabor@FreeBSD.org> | 2007-08-04 11:41:30 +0000 |
---|---|---|
committer | Gabor Kovesdan <gabor@FreeBSD.org> | 2007-08-04 11:41:30 +0000 |
commit | 42542fb07642b8336e808272918f3ae46aa67e0b (patch) | |
tree | 98ff235c33c6493aa26457284f122652c38935f7 /mail/exim/pkg-install | |
parent | 4c9cd257fd4e6eca46807a43e128d298429ee3cd (diff) | |
download | ports-42542fb07642b8336e808272918f3ae46aa67e0b.tar.gz ports-42542fb07642b8336e808272918f3ae46aa67e0b.zip |
- Remove the DESTDIR modifications from individual ports as we have a new,
fully chrooted DESTDIR, which does not need such any more.
Sponsored by: Google Summer of Code 2007
Approved by: portmgr (pav)
Notes
Notes:
svn path=/head/; revision=197075
Diffstat (limited to 'mail/exim/pkg-install')
-rw-r--r-- | mail/exim/pkg-install | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/mail/exim/pkg-install b/mail/exim/pkg-install index ee9dbcead7f6..616ff41effd5 100644 --- a/mail/exim/pkg-install +++ b/mail/exim/pkg-install @@ -12,11 +12,10 @@ # PKG_PREFIX=${PKG_PREFIX:=%%PREFIX%%} -PKG_DESTDIR=${PKG_DESTDIR:=} user=%%EXIM_USER%% group=%%EXIM_GROUP%% -logdir=$PKG_DESTDIR%%LOGDIR%% +logdir=%%LOGDIR%% if [ "$2" = "PRE-INSTALL" ]; then if ! /usr/bin/id ${user} > /dev/null; then @@ -31,7 +30,7 @@ if [ "$2" = "PRE-INSTALL" ]; then fi if [ "$2" = "POST-INSTALL" ]; then - cf=$PKG_DESTDIR$PKG_PREFIX/etc/exim/configure + cf=$PKG_PREFIX/etc/exim/configure if [ -e $cf ]; then if /usr/bin/grep -q '^[^#]*hostlist.*relay_from_hosts.*=.*127.0.0.1' $cf then @@ -49,7 +48,7 @@ if [ "$2" = "POST-INSTALL" ]; then echo "============================================================" fi fi - if ! /usr/bin/grep -qs "^exim_enable" $PKG_DESTDIR/etc/rc.conf + if ! /usr/bin/grep -qs "^exim_enable" /etc/rc.conf then echo echo "Don't forget to add 'exim_enable=\"YES\"' to rc.conf(5)" |