diff options
author | dougb <dougb@FreeBSD.org> | 2012-08-15 09:04:30 +0800 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2012-08-15 09:04:30 +0800 |
commit | 320cd1ea2d17c86179fa69a8da5584397ab2a2e1 (patch) | |
tree | b03e7cfe150ed1b6857b68211969a31d1b599c54 /mail/spamilter | |
parent | 5a2fb644bcdcc0667463dfc374adb0058abbdd9d (diff) | |
download | freebsd-ports-gnome-320cd1ea2d17c86179fa69a8da5584397ab2a2e1.tar.gz freebsd-ports-gnome-320cd1ea2d17c86179fa69a8da5584397ab2a2e1.tar.zst freebsd-ports-gnome-320cd1ea2d17c86179fa69a8da5584397ab2a2e1.zip |
Fix problem introduced in r302141. The directory for the unpacked source
files is unversioned, so it conflicts with the name of the rc.d script in
WRKDIR after SUB_FILES is applied.
Diffstat (limited to 'mail/spamilter')
-rw-r--r-- | mail/spamilter/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/spamilter/Makefile b/mail/spamilter/Makefile index 25153ba6d592..d473a697ceb0 100644 --- a/mail/spamilter/Makefile +++ b/mail/spamilter/Makefile @@ -23,7 +23,6 @@ HAS_CONFIGURE= yes CONFIGURE_ARGS= --have-resn USE_RC_SUBR= spamilter -WRKSRC= ${WRKDIR}/${PORTNAME} CFLAGS+= ${PTHREAD_CFLAGS:S=""==} LDFLAGS+= ${PTHREAD_LIBS} MAKE_ENV+= __MAKE_CONF=/dev/null @@ -64,6 +63,9 @@ PLIST_FILES+= bin/dnsblchk bin/dnsblupd bin/ipfwmtad bin/mxlookup \ PORTDOCS= Changelog INSTALL LICENSE docs.html docs.txt db.rcpt \ db.rdnsbl db.sndr policy.html spamilter.rc +post-extract: + @${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC} + pre-configure: ${REINPLACE_CMD} \ -e "s=/etc/spamilter.rc=${PREFIX}/etc/spamilter.rc=" \ |