Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Sep 2014 22:43:51 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r368070 - in head/net/beacon: . files
Message-ID:  <201409122243.s8CMhpCu007476@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Fri Sep 12 22:43:50 2014
New Revision: 368070
URL: http://svnweb.freebsd.org/changeset/ports/368070
QAT: https://qat.redports.org/buildarchive/r368070/

Log:
  Do not violate stagedir (and allow staging as a regular user)

Added:
  head/net/beacon/files/
  head/net/beacon/files/patch-src__Makefile.in   (contents, props changed)
Modified:
  head/net/beacon/Makefile

Modified: head/net/beacon/Makefile
==============================================================================
--- head/net/beacon/Makefile	Fri Sep 12 22:39:11 2014	(r368069)
+++ head/net/beacon/Makefile	Fri Sep 12 22:43:50 2014	(r368070)
@@ -30,12 +30,8 @@ IPV6_DESC=		Enable IPv6 PTR lookups
 IPV6_CONFIGURE_ENABLE=	ipv6
 IPV6_BUILD_DEPENDS=	p5-Socket6>=0:${PORTSDIR}/net/p5-Socket6
 
-.include <bsd.port.options.mk>
-
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/auto/Net/Multicast/Beacon/Beacon.so
-	cd ${WRKSRC}/src/FreeBSD/ && \
-		${INSTALL_DATA} beacon ${STAGEDIR}${PREFIX}/etc/rc.d
 	${RM} ${STAGEDIR}${PREFIX}/lib/perl5/${PERL_VER}/${PERL_ARCH}/perllocal*
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}/
 	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}

Added: head/net/beacon/files/patch-src__Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/beacon/files/patch-src__Makefile.in	Fri Sep 12 22:43:50 2014	(r368070)
@@ -0,0 +1,11 @@
+--- src/Makefile.in.orig	2011-02-05 03:32:41 UTC
++++ src/Makefile.in
+@@ -397,7 +397,7 @@
+ 	@if test -f $(DESTDIR)$(sysconfdir)/beacon.conf; then :; else \
+ 	    $(INSTALL_DATA) -v beacon.conf $(DESTDIR)$(sysconfdir); \
+ 	fi
+-@HAVE_FREEBSD_TRUE@	@$(INSTALL_SCRIPT) -v FreeBSD/beacon $(prefix)/etc/rc.d
++@HAVE_FREEBSD_TRUE@	@$(INSTALL_SCRIPT) -v FreeBSD/beacon $(DESTDIR)$(prefix)/etc/rc.d
+ 
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.



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