diff options
author | dougb <dougb@FreeBSD.org> | 2012-08-20 15:50:25 +0800 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2012-08-20 15:50:25 +0800 |
commit | 4566128f437b2caf218814f8bcff5181db040b23 (patch) | |
tree | 5f485948c9c69a0e81edc005244c79fe886b9c96 /sysutils | |
parent | 9c003ccd9dc1ef55d16b788353481255593a3463 (diff) | |
download | freebsd-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/Makefile | 4 |
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 |