For a crufty port of mine that I'm converting to staging, I'm trying
this in pkg-plist:

  @exec mkdir -pm 770 /var/spool/bsmtp; chown uucp:uucp /var/spool/bsmtp
  @dirrmtry /var/spool/bsmtp

Alas, it doesn't package:

  ===>  Building package for bsmtp-1.02_5
  pkg-static: lstat(/usr/ports/mail/bsmtp/work/stage/var/spool/bsmtp/):
  No such file or directory

This isn't meant to reference ${STAGEDIR}/var/spool/bsmtp, I really
want the absolute path /var/spool/bsmtp.  Adding @cwd / doesn't
help.

What's the correct way to handle this?

-- 
Christian "naddy" Weisgerber                          [email protected]

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[email protected]"

Reply via email to