diff options
author | Peter Pentchev <roam@FreeBSD.org> | 2006-09-23 12:38:02 +0000 |
---|---|---|
committer | Peter Pentchev <roam@FreeBSD.org> | 2006-09-23 12:38:02 +0000 |
commit | c4e176be24fb66edc7e70f87c8cc12b964abdceb (patch) | |
tree | a425e0d65704ce6c67b620b10933239421d73c93 /mail/vpopmail | |
parent | 3b090ca1b09bafe48e1689df7fabab604a7c47f2 (diff) | |
download | ports-c4e176be24fb66edc7e70f87c8cc12b964abdceb.tar.gz ports-c4e176be24fb66edc7e70f87c8cc12b964abdceb.zip |
Notes
Diffstat (limited to 'mail/vpopmail')
-rw-r--r-- | mail/vpopmail/Makefile | 2 | ||||
-rw-r--r-- | mail/vpopmail/pkg-install | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/mail/vpopmail/Makefile b/mail/vpopmail/Makefile index ca793c5159a8..c54b3678e423 100644 --- a/mail/vpopmail/Makefile +++ b/mail/vpopmail/Makefile @@ -296,7 +296,7 @@ CONFIGURE_ARGS+= --enable-spamassassin=${LOCALBASE}/bin/spamc \ # pre-configure: - @PKG_PREFIX=${PREFIX}/vpopmail ${PERL5} ${PKGINSTALL} + @PKG_PREFIX=${PREFIX} ${PERL5} ${PKGINSTALL} .if defined(WITH_PGSQL) .if defined(WITH_PGSQL_DB) ${REINPLACE_CMD} -E -e "s/(#define DB.*)vpopmail(.*)/\1${WITH_PGSQL_DB}\2/" ${WRKSRC}/vpgsql.h diff --git a/mail/vpopmail/pkg-install b/mail/vpopmail/pkg-install index 101602472771..f435231eea4c 100644 --- a/mail/vpopmail/pkg-install +++ b/mail/vpopmail/pkg-install @@ -50,7 +50,7 @@ if (! getpwnam ("alias")) { do checkrpw; # May exit $x = "-u $uids{'alias'}"; - $result = system ("/usr/sbin/pw useradd alias -g qnofiles -d \"$ENV{PKG_PREFIX}/alias\" -s /nonexistent $x"); + $result = system ("/usr/sbin/pw useradd alias -g qnofiles -d \"$ENV{PKG_PREFIX}/vpopmail/alias\" -s /nonexistent $x"); if ($result) { die "Failed to add user alias as uid $uids{'alias'}\n"; } @@ -61,7 +61,7 @@ foreach $user (keys %users) { do checkrpw; # May exit $x = "-u $uids{$user}"; - $result = system ("/usr/sbin/pw useradd $user -g $users{$user} -d \"$ENV{PKG_PREFIX}\" -s /nonexistent $x"); + $result = system ("/usr/sbin/pw useradd $user -g $users{$user} -d \"$ENV{PKG_PREFIX}/vpopmail\" -s /nonexistent $x"); if ($result) { die "Failed to add user $user as uid $uids{$user}\n"; } |