Files
pkgsrc-ng/security/zoneminder/patches/patch-src_Makefile_am
2016-01-21 23:41:46 +01:00

16 lines
583 B
Plaintext

$NetBSD: patch-src_Makefile_am,v 1.3 2015/04/05 08:51:08 dsainty Exp $
Don't pointlessly chown zms.
--- src/Makefile.am.orig 2015-02-05 15:52:37.000000000 +1300
+++ src/Makefile.am 2015-04-01 19:33:05.628602430 +1300
@@ -128,7 +128,7 @@
# Yes, you are correct. This is a HACK!
install-exec-hook:
( cd $(DESTDIR)@bindir@; mkdir -p $(DESTDIR)$(cgidir); mv zms $(DESTDIR)$(cgidir) )
- ( cd $(DESTDIR)$(cgidir); chown $(webuser):$(webgroup) zms; ln -f zms nph-zms )
+ ( cd $(DESTDIR)$(cgidir); ln -f zms nph-zms )
uninstall-hook:
( cd $(DESTDIR)$(cgidir); rm -f zms nph-zms )