summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/zoneminder/Makefile.patch
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-01-19 08:00:36 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-01-19 08:00:36 (GMT)
commit6f90626a0bf289be8f0497fd6b135c7ef831e0fd (patch)
treea6bb8ed23d252765f1a7888ed079ec156cd68e81 /abs/core-testing/zoneminder/Makefile.patch
parent100915fd681da7bd7d56311c6f866003d88e6141 (diff)
downloadlinhes_pkgbuild-6f90626a0bf289be8f0497fd6b135c7ef831e0fd.zip
linhes_pkgbuild-6f90626a0bf289be8f0497fd6b135c7ef831e0fd.tar.gz
linhes_pkgbuild-6f90626a0bf289be8f0497fd6b135c7ef831e0fd.tar.bz2
MythZoneMinder, ZoneMinder and deps.
Diffstat (limited to 'abs/core-testing/zoneminder/Makefile.patch')
-rw-r--r--abs/core-testing/zoneminder/Makefile.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/abs/core-testing/zoneminder/Makefile.patch b/abs/core-testing/zoneminder/Makefile.patch
new file mode 100644
index 0000000..d033e72
--- /dev/null
+++ b/abs/core-testing/zoneminder/Makefile.patch
@@ -0,0 +1,13 @@
+--- ZoneMinder-1.23.3.orig/Makefile 2008-03-13 17:41:47.000000000 -0700
++++ ZoneMinder-1.23.3/Makefile 2008-03-15 06:21:22.000000000 -0700
+@@ -687,8 +687,8 @@
+ # Yes, you are correct. This is a HACK!
+ install-data-hook:
+ ( cd $(DESTDIR)$(sysconfdir); chown $(webuser):$(webgroup) $(sysconf_DATA); chmod 600 $(sysconf_DATA) )
+- -( if ! test -e $(RUNDIR); then mkdir $(RUNDIR); fi )
+- ( if ! test -e $(ZM_RUNDIR); then mkdir $(ZM_RUNDIR); fi; chown $(webuser):$(webgroup) $(ZM_RUNDIR); chmod u+w $(ZM_RUNDIR) )
++ -( if ! test -e$(DESTDIR)$(RUNDIR); then mkdir -p $(DESTDIR)$(RUNDIR); fi )
++ ( if ! test -e $(DESTDIR)$(ZM_RUNDIR); then mkdir -p $(DESTDIR)$(ZM_RUNDIR); fi; chown $(webuser):$(webgroup) $(DESTDIR)$(ZM_RUNDIR); chmod u+w $(DESTDIR)$(ZM_RUNDIR) )
+
+ uninstall-hook:
+ @-( cd $(DESTDIR)$(webdir); rm -rf events graphics images sounds temp )