1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

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.

PR:		ports/170592
Submitted by:	Eugene Grosbein <eugen@eg.sd.rdtc.ru>
This commit is contained in:
Doug Barton 2012-08-13 10:22:57 +00:00
parent 6b1e478173
commit e835f4e22e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=302462

View File

@ -25,7 +25,7 @@ OPTIONS= MEM_ZONE "Use UMA zone allocator (>= 5.x only)" on
KMODDIR= /boot/modules
PLIST_SUB+= KMODDIR=${KMODDIR:S!^/!!}
WRKSRC= ${WRKDIR}/${PORTNAME}
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAKE_ENV= BINDIR="${PREFIX}/sbin" KMODDIR=${KMODDIR}
MAN8= ipacctctl.8
@ -41,6 +41,9 @@ SUB_FILES= pkg-message
CFLAGS+= -DMEM_USE_ZONE
.endif
post-extract:
@${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC}
post-install:
@${MKDIR} ${PREFIX}/include/netgraph
${INSTALL_DATA} ${WRKSRC}/ng_ipacct/ng_ipacct.h ${PREFIX}/include/netgraph