svn commit: r368070 - in head/net/beacon: . files

Antoine Brodin antoine at FreeBSD.org
Fri Sep 12 22:43:51 UTC 2014


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
+- at HAVE_FREEBSD_TRUE@	@$(INSTALL_SCRIPT) -v FreeBSD/beacon $(prefix)/etc/rc.d
++ at 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.


More information about the svn-ports-head mailing list