aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2015-12-14 22:32:28 +0800
committermat <mat@FreeBSD.org>2015-12-14 22:32:28 +0800
commit85f883ce492b562af3c833b1d8a2838c3db10730 (patch)
tree9a5f81eb62297351613a366366d3668e279c540c
parent998cd548a8b82cdda60e841fa0871712fdb772eb (diff)
downloadfreebsd-ports-gnome-85f883ce492b562af3c833b1d8a2838c3db10730.tar.gz
freebsd-ports-gnome-85f883ce492b562af3c833b1d8a2838c3db10730.tar.zst
freebsd-ports-gnome-85f883ce492b562af3c833b1d8a2838c3db10730.zip
Fix build as a user, and while there, fix the more /var/run/watchman
should have. Sponsored by: Absolight
-rw-r--r--sysutils/watchman/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysutils/watchman/Makefile b/sysutils/watchman/Makefile
index 5829ee0b8b2d..0457a79f92ea 100644
--- a/sysutils/watchman/Makefile
+++ b/sysutils/watchman/Makefile
@@ -3,6 +3,7 @@
PORTNAME= watchman
PORTVERSION= 4.2.0
+PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= sysutils
@@ -25,7 +26,7 @@ CONFIGURE_ARGS+= --disable-silent-rules
.endif
PLIST_FILES= bin/${PORTNAME} \
- "@dir(,,777) /var/run/${PORTNAME}"
+ "@dir(,,2777) /var/run/${PORTNAME}"
PORTDOCS= README.markdown
OPTIONS_DEFINE= BACKTRACE PCRE
@@ -46,7 +47,7 @@ post-patch:
-e '\,/etc, { s//$$sysconfdir/; /=/s/^/eval /; }' \
${WRKSRC}/configure.ac
@${REINPLACE_CMD} -e '/^docdir = /d' \
- -e '/not-empty/d' \
+ -e '/not-empty/d; /chmod g+s/d;' \
${WRKSRC}/Makefile.am
.include <bsd.port.mk>