Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jan 2014 12:07:22 +0000 (UTC)
From:      Martin Matuska <mm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340270 - head/net/relayd
Message-ID:  <201401191207.s0JC7MEn087416@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mm
Date: Sun Jan 19 12:07:21 2014
New Revision: 340270
URL: http://svnweb.freebsd.org/changeset/ports/340270
QAT: https://qat.redports.org/buildarchive/r340270/

Log:
  Add STAGE support to net/relayd

Modified:
  head/net/relayd/Makefile

Modified: head/net/relayd/Makefile
==============================================================================
--- head/net/relayd/Makefile	Sun Jan 19 12:01:14 2014	(r340269)
+++ head/net/relayd/Makefile	Sun Jan 19 12:07:21 2014	(r340270)
@@ -30,7 +30,6 @@ GROUPS=		_relayd
 OPTIONS_DEFINE=	LIBEVENT_STATIC
 LIBEVENT_STATIC_DESC=	Build with static libevent
 
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
 .if ${PORT_OPTIONS:MLIBEVENT_STATIC}
@@ -54,8 +53,9 @@ post-patch:
 
 post-install:
 	@${INSTALL_DATA} ${WRKSRC}/../etc/relayd.conf \
-		${PREFIX}/etc/relayd.conf.sample
-	@${CP} -n ${PREFIX}/etc/relayd.conf.sample \
-		${PREFIX}/etc/relayd.conf || ${TRUE}
+		${STAGEDIR}${PREFIX}/etc/relayd.conf.sample
+	@${CP} -n ${STAGEDIR}${PREFIX}/etc/relayd.conf.sample \
+		${STAGEDIR}${PREFIX}/etc/relayd.conf || ${TRUE}
 
 .include <bsd.port.post.mk>
+



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