aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2012-08-20 15:50:25 +0800
committerdougb <dougb@FreeBSD.org>2012-08-20 15:50:25 +0800
commit4566128f437b2caf218814f8bcff5181db040b23 (patch)
tree5f485948c9c69a0e81edc005244c79fe886b9c96 /sysutils
parent9c003ccd9dc1ef55d16b788353481255593a3463 (diff)
downloadfreebsd-ports-gnome-4566128f437b2caf218814f8bcff5181db040b23.tar.gz
freebsd-ports-gnome-4566128f437b2caf218814f8bcff5181db040b23.tar.zst
freebsd-ports-gnome-4566128f437b2caf218814f8bcff5181db040b23.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.
Diffstat (limited to 'sysutils')
-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