aboutsummaryrefslogtreecommitdiff
path: root/net/beacon
diff options
context:
space:
mode:
Diffstat (limited to 'net/beacon')
-rw-r--r--net/beacon/Makefile4
-rw-r--r--net/beacon/files/patch-src__Makefile.in11
2 files changed, 11 insertions, 4 deletions
diff --git a/net/beacon/Makefile b/net/beacon/Makefile
index 069c09f93b3e..4d2997dc7d76 100644
--- a/net/beacon/Makefile
+++ b/net/beacon/Makefile
@@ -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}
diff --git a/net/beacon/files/patch-src__Makefile.in b/net/beacon/files/patch-src__Makefile.in
new file mode 100644
index 000000000000..7e03d6c26bcd
--- /dev/null
+++ b/net/beacon/files/patch-src__Makefile.in
@@ -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.