svn commit: r302788 - head/sysutils/symon

Doug Barton dougb at FreeBSD.org
Mon Aug 20 07:50:26 UTC 2012


Author: dougb
Date: Mon Aug 20 07:50:25 2012
New Revision: 302788
URL: http://svn.freebsd.org/changeset/ports/302788

Log:
  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.

Modified:
  head/sysutils/symon/Makefile

Modified: head/sysutils/symon/Makefile
==============================================================================
--- head/sysutils/symon/Makefile	Mon Aug 20 07:26:12 2012	(r302787)
+++ head/sysutils/symon/Makefile	Mon Aug 20 07:50:25 2012	(r302788)
@@ -16,7 +16,6 @@ MASTER_SITE_SUBDIR=	uqs
 MAINTAINER=	uqs at 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="$
 
 .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



More information about the svn-ports-all mailing list