Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Aug 2012 07:50:26 +0000 (UTC)
From:      Doug Barton <dougb@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r302788 - head/sysutils/symon
Message-ID:  <201208200750.q7K7oQdr003467@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208200750.q7K7oQdr003467>