diff options
author | Doug Barton <dougb@FreeBSD.org> | 2012-08-15 01:04:30 +0000 |
---|---|---|
committer | Doug Barton <dougb@FreeBSD.org> | 2012-08-15 01:04:30 +0000 |
commit | f9b6bb72bd478b12951f554e3e87ee3a3ad40716 (patch) | |
tree | b03e7cfe150ed1b6857b68211969a31d1b599c54 /mail/spamilter | |
parent | 0524788414f29b02c458de14f74d7870a4bd1e97 (diff) | |
download | ports-f9b6bb72bd478b12951f554e3e87ee3a3ad40716.tar.gz ports-f9b6bb72bd478b12951f554e3e87ee3a3ad40716.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.
Notes
Notes:
svn path=/head/; revision=302555
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=" \ |