aboutsummaryrefslogtreecommitdiff
path: root/sysutils/symon
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2012-08-20 07:50:25 +0000
committerDoug Barton <dougb@FreeBSD.org>2012-08-20 07:50:25 +0000
commitf6c773adf1beb66a28e2de95bb26f7790432fb90 (patch)
tree5f485948c9c69a0e81edc005244c79fe886b9c96 /sysutils/symon
parenta57b4ac929bf576782cd3eb94f25f044d6ccafe5 (diff)
downloadports-f6c773adf1beb66a28e2de95bb26f7790432fb90.tar.gz
ports-f6c773adf1beb66a28e2de95bb26f7790432fb90.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=302788
Diffstat (limited to 'sysutils/symon')
-rw-r--r--sysutils/symon/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysutils/symon/Makefile b/sysutils/symon/Makefile
index 90e31c342526..64b32217f970 100644
--- a/sysutils/symon/Makefile
+++ b/sysutils/symon/Makefile
@@ -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