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 /dns | |
parent | Change configuration directory to ${PREFIX}/etc/c-icap (diff) |
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 'dns')
-rw-r--r-- | dns/dualserver/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dns/dualserver/Makefile b/dns/dualserver/Makefile index e9266018788a..f329d2aa8337 100644 --- a/dns/dualserver/Makefile +++ b/dns/dualserver/Makefile @@ -14,11 +14,13 @@ COMMENT= Combined DHCP/DNS server for small LANs USE_DOS2UNIX= yes USE_RC_SUBR= dualserver -WRKSRC= ${WRKDIR}/${PORTNAME} PLIST_FILES= sbin/dualserver etc/dualserver.conf.sample .include <bsd.port.pre.mk> +post-extract: + @${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC} + pre-patch: ${REINPLACE_CMD} 's|/etc/dualserver.ini|${PREFIX}/etc/dualserver.conf|' ${WRKSRC}/dualserver.cpp ${REINPLACE_CMD} 's|/etc/dualserver.state|/var/run/dualserver.state|' ${WRKSRC}/dualserver.cpp |