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.
This commit is contained in:
Doug Barton 2012-08-20 07:50:25 +00:00
parent a57b4ac929
commit f6c773adf1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=302788

View File

@ -16,7 +16,6 @@ MASTER_SITE_SUBDIR= uqs
MAINTAINER= uqs@FreeBSD.org
COMMENT= Performance and information monitoring tool
WRKSRC= ${WRKDIR}/${PORTNAME}
SUB_FILES= pkg-message
USE_PERL5_BUILD= yes
@ -57,6 +56,9 @@ MAKE_ARGS+= SUBDIR="${SUBDIR}" RRDDIR="${LOCALBASE}"
.include <bsd.port.pre.mk>
post-extract:
@${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC}
.if ${OSVERSION} < 700000
post-patch:
@${REINPLACE_CMD} 's/^LIBS+=/LIBS= -pthread /' ${WRKSRC}/symux/Makefile